Skip to content
Snippets Groups Projects

Wip/martyn/u boot installer

Merged Martyn Welch requested to merge WIP/martyn/u-boot_installer into apertis/v2019dev0
All threads resolved!
Compare and
2 files
+ 101
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 12
0
echo "Copying U-Boot from SD card to RAM"
# mmc dev 0
# mmc read 0x12000000 0x400 0xc0000
load mmc 0:1 0x12000000 /deb-binaries/usr/lib/u-boot/mx6qsabrelite/u-boot.imx
echo "Probing SPI-NOR"
sf probe 0
echo "Erasing SPI_NOR"
sf erase 0x0 0xc0000
echo "Writing U-Boot to SPI-NOR"
sf write 0x12000000 0x400 0xc0000
echo "Rebooting"
reset
Loading