Для обновления версии u-boot необходимо:
- Записать на SD карту скрипт обновления 6x_upgrade.ull и новую версию u-boot.nano6ull.ХХХ.imx
- Открыть консоль u-boot
Hit any key to stop autoboot: 0 =>
- Установить переменное окружение
setenv bootfile u-boot.nano6ull.XXX.imx где XXX - размер DDR памяти 512 или 256 Мб.
- Запустить обновление
run upgrade
- В случае успешного обновления в консоли выведется
=> run upgradeu switch to partitions #0, OK mmc0 is current device reading /6x_upgrade.ull 1894 bytes read in 13 ms (141.6 KiB/s) ## Executing script at 80008000 Select u-boot.nano6ull.512.imx ## Error inserting "stdout" variable, errno=22 Started u-boot updater for imx6ul/im6ull check U-Boot reading u-boot.nano6ull.512.imx 662528 bytes read in 43 ms (14.7 MiB/s) read a1c00 bytes from SD card board_spi_cs_gpio bus 0 cs 0 SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB probed SPI ROM device 0 offset 0x400, size 0xa1c00 SF: 662528 bytes @ 0x400 Read: OK byte at 0x82000025 (0x20) != byte at 0x82400025 (0x50) Total of 37 byte(s) were the same Need U-Boot upgrade Program in 5 seconds 5 4 3 2 1 erasing SF: 786432 bytes @ 0x0 Erased: OK programming device 0 offset 0x400, size 0xa1c00 SF: 662528 bytes @ 0x400 Written: OK verifying device 0 offset 0x400, size 0xa1c00 SF: 662528 bytes @ 0x400 Read: OK Total of 662528 byte(s) were the same ---- U-Boot upgraded. reset Saving Environment to SPI Flash... board_spi_cs_gpio bus 0 cs 0 SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB Erasing SPI flash...Writing to SPI flash...done resetting ...