pmaports/device/main/device-purism-librem5/flash_script.lst
Clayton Craft d2ff4c16f2
device-purism-librem5: update boot.scr and uboot flash script (MR 2983)
- updates the boot.scr to support SD card boot

- updates the uboot flash script to support the latest librem5-uboot
  package changes
2022-04-06 09:11:56 +02:00

21 lines
688 B
Text

uuu_version 1.0.1
# Note: This script is meant to be used by uuu running in the native chroot, so
# all paths are relative to the native chroot and not to the device rootfs
# chroot.
SDP: boot -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img
SDPU: delay 1000
SDPU: write -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img -skipspl
SDPV: jump
SDPS: boot -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img
FB: ucmd mmc dev 0
FB: flash -raw2sparse mmc0 /home/pmos/rootfs/purism-librem5.img
FB: Done