9
0
Fork 0
barebox/arch/arm/boards/phytec-som-am335x/defaultenv-gsmk-owhw/boot/system1

12 lines
405 B
Bash

#!/bin/sh
global bootm.image=/mnt/system1/kernel
global bootm.image.loadaddr=0x81000000
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 rootfstype=ubifs ro rauc.slot=system1"
global linux.bootargs.dyn.mtd="mtdparts=omap2-nand.0:${nand0.partitions} ubi.mtd=root,2048"