9
0
Fork 0
barebox/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/spi

12 lines
288 B
Bash

#!/bin/sh
if [ "$1" = menu ]; then
boot-menu-add-entry "$0" "SPI NOR Flash"
exit
fi
global.bootm.image="/dev/m25p0.kernel"
# Use rootfs form NAND for now as rootfs partition < 4MB
global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root,2048 rootfstype=ubifs"