Changes

Jump to: navigation, search

How to create a bootable microSD card (XELK)

460 bytes added, 08:19, 24 January 2020
no edit summary
total 362M
drwxr-xr-x 2 dave dave 4.0K Jun 25 17:09 binaries
-rw-r--r-- 1 dave dave 362M Jun 8 15:53 davexelk-4.0.0_dave-image-devel.rootfs.tar.bz2
-rwxr-xr-x 1 dave dave 2.0K Jun 21 10:57 mksd.sh
-rw-r--r-- 1 dave dave 47K Jun 25 17:12 SPLxelk-4.mmc0.0_mx6qdlaxel_SPL-rw-r--r-- 1 dave dave 480K Jun 25 17:12 uxelk-4.0.0_mx6qdlaxel_u-boot.img.mmc
</pre>
You can now run the script, by passing the following parameters:
*Archive of the target's root file system (compressed as <code>.tar.bz2</code> file).
<pre>
# ./mksd.sh /dev/sdc uxelk-4.0.0_mx6qdlaxel_u-boot.imgxelk-4.mmc SPL0.mmc 0_mx6qdlaxel_SPL binaries/ davexelk-4.0.0_dave-image-devel.rootfs.tar.bz2
All data on /dev/sdc now will be destroyed! Continue? [y/n]
y
[Copying files...]
‘binaries/boot.scr’ -> ‘/mnt/boot.scr’
‘binaries/imx6dlxelk-4.0.0_imx6dl-sbcx-cb0012.dtb’ -> ‘/mnt/imx6dlxelk-4.0.0_imx6dl-sbcx-cb0012.dtb’‘binaries/imx6dlxelk-4.0.0_imx6dl-sbcx-cb0013.dtb’ -> ‘/mnt/imx6dlxelk-4.0.0_imx6dl-sbcx-cb0013.dtb’‘binaries/imx6dlxelk-4.0.0_imx6dl-xelk-l.dtb’ -> ‘/mnt/imx6dlxelk-4.0.0_imx6dl-xelk-l.dtb’‘binaries/imx6qxelk-4.0.0_imx6q-sbcx-cb0012.dtb’ -> ‘/mnt/imx6qxelk-4.0.0_imx6q-sbcx-cb0012.dtb’‘binaries/imx6qxelk-4.0.0_imx6q-xelk-l-2.0.0.dtb’ -> ‘/mnt/imx6qxelk-4.0.0_imx6q-xelk-l-2.0.0.dtb’‘binaries/SPLxelk-4.mmc’ 0.0_mx6qdlaxel_SPL’ -> ‘/mnt/SPLxelk-4.mmc’0.0_mx6qdlaxel_SPL’‘binaries/SPLxelk-4.0.nand’ 0_mx6qdlaxel_nand_SPL’ -> ‘/mnt/SPLxelk-4.0.nand’0_mx6qdlaxel_nand_SPL’‘binaries/SPLxelk-4.spi’ 0.0_mx6qdlaxel_spi_SPL’ -> ‘/mnt/SPLxelk-4.spi’0.0_mx6qdlaxel_spi_SPL’‘binaries/uxelk-4.0.0_mx6qdlaxel_u-boot.img.mmc’ img’ -> ‘/mnt/uxelk-4.0.0_mx6qdlaxel_u-boot.img.mmc’img’‘binaries/uxelk-4.0.0_mx6qdlaxel_nand_u-boot.img.nand’ img’ -> ‘/mnt/uxelk-4.0.0_mx6qdlaxel_nand_u-boot.img.nand’img’‘binaries/uxelk-4.0.0_mx6qdlaxel_spi_u-boot.img.spi’ img’ -> ‘/mnt/uxelk-4.0.0_mx6qdlaxel_spi_u-boot.img.spi’img’‘binaries/uImage’ xelk-4.0.0_uImage’ -> ‘/mnt/uImage’xelk-4.0.0_uImage’
[Extracting rfs (this may take a while...)]
[Programming SPL]
8,154
edits

Navigation menu