#!/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}"