127 | | If your primary boot won't boot for some reason (ie, you corrupted it during development) you can boot from a microSD (see [#bootdevice here]). |
128 | | |
129 | | To create a bootable microSD meant for recovery purposes only needing the Bootloader you can use [http://dev.gateworks.com/newport/boot_firmware/firmware-newport.img firmware-newport.img]: |
130 | | * On a Linux host: |
131 | | {{{#!bash |
132 | | DEVICE=/dev/sdc # set to the microSD on your host |
133 | | sudo dd if=firmware-newport.img of=$DEVICE |
134 | | }}} |
135 | | - '''Be careful to set the DEVICE above to the device the microSD appears as on your Linux host - you do not want to overwrite part of your hosts filesystem''' |
136 | | * On a Newport board booted from eMMC from U-Boot: |
137 | | {{{#!bash |
138 | | mmc list # if booted from eMMC you should see microSD as dev 1 |
139 | | mmc dev 1 # select microSD |
140 | | tftpboot ${loadaddr} firmware-newport.img && mmc write ${loadaddr} 0 8000 |
141 | | }}} |
| 127 | [wiki:/newport/firmware#CreatingamicroSDrecoveryimage Click Here] |