diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-01-25 22:00:32 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2016-06-06 20:39:04 +0200 |
commit | ad1b49dc80baebc51a7a04c5b07b7b1ae983bf73 (patch) | |
tree | 756aab6a0bb3f74a4b875bc9e0477bc9445ac75e /configs/platform-rpi/barebox-defaultenv | |
parent | b506b0058fabee97c3507205464de9aad620214c (diff) | |
download | DistroKit-ad1b49dc80baebc51a7a04c5b07b7b1ae983bf73.tar.gz DistroKit-ad1b49dc80baebc51a7a04c5b07b7b1ae983bf73.tar.xz |
config: initial import rpi
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-rpi/barebox-defaultenv')
-rw-r--r-- | configs/platform-rpi/barebox-defaultenv/boot/sd | 11 | ||||
-rw-r--r-- | configs/platform-rpi/barebox-defaultenv/config | 19 |
2 files changed, 30 insertions, 0 deletions
diff --git a/configs/platform-rpi/barebox-defaultenv/boot/sd b/configs/platform-rpi/barebox-defaultenv/boot/sd new file mode 100644 index 0000000..b212386 --- /dev/null +++ b/configs/platform-rpi/barebox-defaultenv/boot/sd @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$1" = menu ]; then + boot-menu-add-entry "$0" "kernel & rootfs on SD card" + exit +fi + +global.bootm.image="/boot/linuximage" +global.bootm.oftree="/boot/bcm2835-rpi-b.dtb" +global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw ptxdist-devel" + diff --git a/configs/platform-rpi/barebox-defaultenv/config b/configs/platform-rpi/barebox-defaultenv/config new file mode 100644 index 0000000..411e054 --- /dev/null +++ b/configs/platform-rpi/barebox-defaultenv/config @@ -0,0 +1,19 @@ +#!/bin/sh + +# change network settings in /env/network/eth0 +# change mtd partition settings and automountpoints in /env/init/* + +# set to false if you do not want to have colors +global.allow_color=true + +# user (used for network filenames) +global.user=none + +# timeout in seconds before the default boot entry is started +global.autoboot_timeout=3 + +# default boot entry (one of /env/boot/*) +global.boot.default=sd + +# base bootargs +global.linux.bootargs.base="console=ttyAMA0,115200" |