flash_sd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
flash_sd [2017/03/08 11:33] – created damien | flash_sd [2018/05/22 10:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Flash SD ====== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | < | ||
+ | $ git clone ssh:// | ||
+ | $ cd buildroot-quimesis | ||
+ | $ make O=build_quimbrain quimesis_imx6dl_quimbrain_defconfig | ||
+ | $ cd build_quimbrain | ||
+ | $ make | ||
+ | </ | ||
+ | |||
+ | Once the build has succeeded, flash an SD card as follow((''< | ||
+ | |||
+ | - create a rootfs partition< | ||
+ | sed -e ' | ||
+ | d # clear the in memory partition table | ||
+ | n # new partition | ||
+ | # default - primary partition | ||
+ | # default - partition number 1 | ||
+ | # default - first sector : 2048 | ||
+ | # default - last sector : 7744511 | ||
+ | w # write the partition table | ||
+ | q # and we're done | ||
+ | EOF | ||
+ | </ | ||
+ | - format the //rootfs// partition in ext-2< | ||
+ | $ sudo mkfs.ext2 < | ||
+ | </ | ||
+ | - copy the SPL and u-boot to the SD card< | ||
+ | $ cd images | ||
+ | $ sudo dd if=SPL of=< | ||
+ | $ sudo dd if=u-boot.img of=< | ||
+ | </ | ||
+ | - copy the rootfs to the //rootfs// partition< | ||
+ | $ sudo tar xvf rootfs.tar -C </ | ||
+ | </ | ||
flash_sd.txt · Last modified: 2018/05/22 10:33 by 127.0.0.1