This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
do_gentoo_on_usd_for_iot-gate-imx7 [2017/11/05 00:22] admin |
do_gentoo_on_usd_for_iot-gate-imx7 [2017/11/11 14:59] admin |
||
---|---|---|---|
Line 34: | Line 34: | ||
I change into: | I change into: | ||
#System for CL-SOM-iMX7 | #System for CL-SOM-iMX7 | ||
- | | ||
- | # Next run parameters | ||
- | setenv bootcmd_next ${bootcmd} | ||
- | setenv bootcmd 'setenv bootcmd $bootcmd_next; setenv bootcmd_next ""; saveenv; run emmcboot; run nandboot; run defaultboot' | ||
- | saveenv | ||
| | ||
# Parameters | # Parameters | ||
Line 62: | Line 57: | ||
echo "Starting uSD system ..." | echo "Starting uSD system ..." | ||
bootz ${loadaddr} ${fdtaddr} | bootz ${loadaddr} ${fdtaddr} | ||
+ | | ||
+ | After install the package **dev-embedded/u-boot-tools** I do: | ||
+ | mkimage -C none -A arm -T script -d boot.script boot.scr | ||
- | After I do my ext4 part with rootfs.tar.bz2 content into my second uSD partition. Or other system keeping the **/lib/modules/** at the first time util I do my own kernel. | + | After I do my ext4 part with rootfs.tar.bz2 content into my second uSD partition. Or other system keeping the **/lib/modules/** at the first time util I do my own kernel. FAT32 on first part with: |
+ | * boot.scr | ||
+ | * kernel.img | ||
+ | * imx7d-sbc-iot-imx7.dtb |