2020-01-13 19:55:23 -08:00
|
|
|
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.
|
|
|
|
|
2021-03-12 11:55:48 -08:00
|
|
|
SDP: boot -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img
|
2020-01-13 19:55:23 -08:00
|
|
|
|
|
|
|
SDPU: delay 1000
|
2021-03-12 11:55:48 -08:00
|
|
|
SDPU: write -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img -offset 0x57c00
|
2020-01-13 19:55:23 -08:00
|
|
|
SDPU: jump
|
|
|
|
|
|
|
|
SDPV: delay 1000
|
2021-03-12 11:55:48 -08:00
|
|
|
SDPV: write -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img -skipspl
|
2020-01-13 19:55:23 -08:00
|
|
|
SDPV: jump
|
|
|
|
|
2021-03-12 11:55:48 -08:00
|
|
|
SDPS: boot -f /mnt/rootfs_purism-librem5/usr/share/u-boot/librem5/phone-boot.img
|
2020-01-13 19:55:23 -08:00
|
|
|
|
|
|
|
FB: ucmd mmc dev 0
|
2022-03-07 17:07:36 -08:00
|
|
|
FB: flash -raw2sparse mmc0 /home/pmos/rootfs/purism-librem5.img
|
2020-01-13 19:55:23 -08:00
|
|
|
FB: Done
|