Changes

Jump to: navigation, search

Axel Embedded Linux Kit (XELK)

251 bytes added, 11:48, 11 May 2018
Binary images on SD card
XELK SD card contains all binary images required for booting the system completely from kernel/dtb to root file system on <code>ext3</code> SD partition.
Once you got the new binay binaries compiled from your modified sosurcesources, they have to be installed on first SD partition preserving the original file names usde used into <code>boot.scr</code> u-boot bootscript.
Otherwise, you may create a new '''boot.scr''' file using file names. Here below there is an example on how to create a boot.scr file for booting from SD card: The '''bootscript.txt''' is the binary text version of the txt file which can be built using the <codei>mkimageboot.scr</codei>file:
<pre>
echo 'bootscript generated with command "mkimage -A ARM -T script -C none -n XELK -d bootscript.txt boot.scr"'
 
setenv fdtfile imx6q-xelk-l.dtb
setenv bootfile uImage
setenv mmc_loadfdt 'fatload mmc ${mmcdev}:1 ${fdtaddr} ${fdtfile}'
setenv mmcboot 'run mmc_loadk mmc_loadfdt mmcargs addip addcons addmisc adddisp0; bootm ${loadaddr} - ${fdtaddr}'
 
echo Booting AxelLite-XELK via mmcboot
mkimage -A ARM -T script -C none -n XELK -d bootscript.txt boot.scr
</pre>
 
Then copy the kernel, dtb and boot.scr into the SD card first partion (the FAT one) and boot XELK with eth new images.
==Related Documents ==
8,154
edits

Navigation menu