pmaports/device/device-purism-librem5dev/flash_script.lst
Clayton Craft dc18bfba2e
purism-librem5dev: rebase on upstream flasher script & uboot image format, new kernel/uboot (!869)
This updates the uuu flasher script to conform to what Purism uses, and
changes the package to use the new M4 + uboot image that is generated by
the librem5 u-boot package.

It also changes the kernel/uboot to the 'generic' librem5 kernel/uboot.
2020-01-19 11:58:47 +01:00

23 lines
772 B
Text
Executable file

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-librem5dev/usr/share/firmware/librem5/devkit-boot.img
SDPU: delay 1000
SDPU: write -f /mnt/rootfs_purism-librem5dev/usr/share/firmware/librem5/devkit-boot.img -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f /mnt/rootfs_purism-librem5dev/usr/share/firmware/librem5/devkit-boot.img -skipspl
SDPV: jump
SDPS: boot -f /mnt/rootfs_purism-librem5dev/usr/share/firmware/librem5/devkit-boot.img
FB: ucmd mmc dev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: flash -raw2sparse all /home/pmos/rootfs/purism-librem5dev.img
FB: Done