| 164 | | This assumes the bootloader will remain on the eMMC, but then we switch to the microSD for the kernel/rootfs. |
| 165 | | |
| 166 | | Run the following commands in the uboot bootloader command prompt on the Newport SBC bootloader serial console: |
| 167 | | {{{ |
| 168 | | |
| 169 | | #This sets the bootargs, make special note of the root = and adjust partition as necessary |
| 170 | | setenv bootargs 'cma=64M coherent_pool=16M net.ifnames=0 root=/dev/mmcblk1p1 rw rootwait console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000' |
| 171 | | |
| 172 | | #This loads the kernel file (Image) from folder boot (on microSD) into memory |
| 173 | | ext4load mmc 1:1 ${kernel_addr_r} boot/Image |
| 174 | | |
| 175 | | #This boots the board |
| 176 | | booti ${kernel_addr_r} - ${fdtcontroladdr} |
| 177 | | }}} |
| 178 | | |
| 179 | | Troubleshooting: |
| 180 | | * Use the ext4ls to confirm you can read the microSD and see the kernel in the boot folder |
| 181 | | {{{ |
| 182 | | GW6304-B> ext4ls mmc 1:1 boot |
| 183 | | <DIR> 4096 . |
| 184 | | <DIR> 4096 .. |
| 185 | | 12066824 Image |
| 186 | | }}} |
| 187 | | |
| | 164 | |
| | 165 | [wiki:/newport/firmware#BootingtoakernelrootfsonthemicroSD Click Here] |