362 | | If your ubi image is on a [wiki:tftpserver tftp server] as {{{image.ubi}}} you can use the following to update the 'rootfs' NAND FLASH partition in U-Boot (update the ip addresses as appropriate for your network environment): |
| 362 | If your ubi image is on a [wiki:tftpserver tftp server] as {{{image.ubi}}} you can use the following to update the 'rootfs' NAND FLASH partition in U-Boot: |
| 363 | |
| 364 | Preferred method using the {{{nand_update}}} script will perform the update for you using the image name specified in the {{{image_rootfs}}} env variable. |
| 365 | Run the following commands in the bootloader: |
| 366 | {{{#!bash |
| 367 | setenv ipaddr 192.168.1.1 |
| 368 | setenv serverip 192.168.1.254 |
| 369 | setenv image_rootfs image.ubi; |
| 370 | run nand_update |
| 371 | }}} |
| 372 | |
| 373 | |
| 374 | The more manual method without using the {{{nand_update}}} script, if your ubi image is on a tftp server as image.ubi you can use the following to update the 'rootfs' NAND FLASH partition in U-Boot (update the ip addresses as appropriate for your network environment): |