pmaports/device/archived/device-purism-librem5dev/uboot-script.cmd
Clayton Craft e362b66af2
purism-librem5dev: archive (MR 6000)
This is the port for the Librem 5 devkit, I still have one but haven't
booted it in years and it's unlikely anyone else is using this (since
this port is super outdated and almost certainly not functional as-is).
Let's archive it so that it doesn't cause any confusion.

[ci:skip-vercheck]
[ci:skip-build]: we don't actually want to build test this thing
2025-01-07 09:09:15 +01:00

20 lines
532 B
Batchfile

setenv bootargs init=/init.sh rw console=ttymxc0,115200 cma=256M PMOS_FORCE_PARTITION_RESIZE
setenv mmcdev 0
setenv mmcpart 1
printenv
echo Loading DTB
ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} imx8mq-librem5-devkit.dtb
echo Loading Initramfs
ext2load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr_r} uInitrd
echo Loading Kernel
ext2load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} vmlinuz
echo Resizing FDT
fdt addr ${fdt_addr_r}
fdt resize
echo Booting kernel
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}