#!/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 if [ -e /mnt/system1/initramfs ]; then global bootm.initrd=/mnt/system1/initramfs fi 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"