This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
do_gentoo_on_usd_for_iot-gate-imx7 [2017/11/06 16:11] admin |
do_gentoo_on_usd_for_iot-gate-imx7 [2017/11/21 17:49] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | == Parted == | ||
| + | parted /dev/sdX | ||
| + | mklabel msdos | ||
| + | mkpart primary fat32 2048s 150M | ||
| + | mkpart primary ext4 150M -1 | ||
| + | | ||
| + | mkfs.vfat -F 32 /dev/sdX1 | ||
| + | mkfs.ext4 -L root -m 0.1 /dev/sdX2 | ||
| + | |||
| == Understand the firmware == | == Understand the firmware == | ||
| When I open the folder **install/** into **cl-som-imx7-linux.zip**, I scan with ''file'' command to understand what I have, usually ARM hardware use uboot, then I hope uboot system + linux kernel + ramdisk. | When I open the folder **install/** into **cl-som-imx7-linux.zip**, I scan with ''file'' command to understand what I have, usually ARM hardware use uboot, then I hope uboot system + linux kernel + ramdisk. | ||
| Line 34: | Line 43: | ||
| 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 | ||