359 | | = Booting to a kernel/rootfs on the microSD |
360 | | This assumes the bootloader will remain on the eMMC, but then we switch to the microSD for the kernel/rootfs. |
361 | | |
362 | | Run the following commands in the uboot bootloader command prompt on the Newport SBC bootloader serial console: |
363 | | {{{ |
364 | | |
365 | | #This sets the bootargs, make special note of the root = and adjust partition as necessary |
366 | | setenv bootargs 'cma=64M coherent_pool=16M net.ifnames=0 root=/dev/mmcblk1p1 rw rootwait console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000' |
367 | | |
368 | | #This loads the kernel file (Image) from folder boot (on microSD) into memory |
369 | | ext4load mmc 1:1 ${kernel_addr_r} boot/Image |
370 | | |
371 | | #This boots the board |
372 | | booti ${kernel_addr_r} - ${fdtcontroladdr} |
373 | | }}} |
374 | | |
375 | | Troubleshooting: |
376 | | * Use the ext4ls to confirm you can read the microSD and see the kernel in the boot folder |
377 | | {{{ |
378 | | GW6304-B> ext4ls mmc 1:1 boot |
379 | | <DIR> 4096 . |
380 | | <DIR> 4096 .. |
381 | | 12066824 Image |
382 | | }}} |