11 lines
358 B
Bash
11 lines
358 B
Bash
#!/bin/sh
|
|
|
|
global bootm.image=/mnt/rescue/boot/uImage
|
|
if [ -e /mnt/rescue/devicetree ]; then
|
|
global bootm.oftree=/mnt/rescue/devicetree
|
|
fi
|
|
#global bootm.initrd=<path to initrd>
|
|
|
|
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root rootfstype=ubifs ro rauc.slot=rescue"
|
|
global linux.bootargs.dyn.mtd="mtdparts=davinci_nand.0:${nand0.partitions}"
|