9
0
Fork 0
barebox/arch/arm/boards/phytec-som-am335x/defaultenv-sysmocom-odu/boot/system1

11 lines
366 B
Bash

#!/bin/sh
global bootm.image=/mnt/system1/kernel
if [ -e /mnt/system1/devicetree ]; then
global bootm.oftree=/mnt/system1/devicetree
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}"