sysmocom-odu: use slot layout for the rescue volume
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
208d53ef9e
commit
28484c4c06
|
@ -1,9 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
global bootm.image=/mnt/rescue/boot/uImage
|
||||
global bootm.image=/mnt/rescue/kernel
|
||||
global bootm.image.loadaddr=0x81000000
|
||||
#global bootm.oftree=<path to oftree>
|
||||
#global bootm.initrd=<path to initrd>
|
||||
if [ -e /mnt/rescue/devicetree ]; then
|
||||
global bootm.oftree=/mnt/rescue/devicetree
|
||||
fi
|
||||
global bootm.initrd=/mnt/rescue/initramfs
|
||||
|
||||
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root,2048 rootfstype=ubifs ro rauc.slot=rescue"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions}"
|
||||
global linux.bootargs.dyn.root="rdinit=/sbin/init rauc.slot=rescue"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions} ubi.mtd=root,2048"
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
global bootm.image=/mnt/tftp/linux/arch/arm/boot/zImage
|
||||
global bootm.image.loadaddr=0x81000000
|
||||
#global bootm.oftree=<path to oftree>
|
||||
#global bootm.initrd=<path to initrd>
|
||||
if [ -e /mnt/rescue/devicetree ]; then
|
||||
global bootm.oftree=/mnt/rescue/devicetree
|
||||
fi
|
||||
global bootm.initrd=/mnt/rescue/initramfs
|
||||
|
||||
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root,2048 rootfstype=ubifs ro rauc.slot=rescue"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions}"
|
||||
global linux.bootargs.dyn.root="rdinit=/sbin/init rauc.slot=rescue"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions} ubi.mtd=root,2048"
|
||||
|
|
|
@ -7,5 +7,5 @@ if [ -e /mnt/system0/devicetree ]; then
|
|||
fi
|
||||
global bootm.initrd=/mnt/system0/initramfs
|
||||
|
||||
global linux.bootargs.dyn.root="root=ubi0:system0 ubi.mtd=root,2048 rootfstype=ubifs ro rauc.slot=system0"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions}"
|
||||
global linux.bootargs.dyn.root="root=ubi0:system0 rootfstype=ubifs ro rauc.slot=system0"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions} ubi.mtd=root,2048"
|
||||
|
|
|
@ -7,5 +7,5 @@ if [ -e /mnt/system1/devicetree ]; then
|
|||
fi
|
||||
global bootm.initrd=/mnt/system1/initramfs
|
||||
|
||||
global linux.bootargs.dyn.root="root=ubi0:system1 ubi.mtd=root,2048 rootfstype=ubifs ro rauc.slot=system1"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions}"
|
||||
global linux.bootargs.dyn.root="root=ubi0:system1 rootfstype=ubifs ro rauc.slot=system1"
|
||||
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions} ubi.mtd=root,2048"
|
||||
|
|
Loading…
Reference in New Issue