Newer
Older
barebox / arch / arm / boards / phytec-phycore-am335x / env / boot / spi
@Sascha Hauer Sascha Hauer on 3 Feb 2014 288 bytes ARM: rename boards to more consistent naming
#!/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"