summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-vexpress-defaultenv/boot
diff options
context:
space:
mode:
authorChris Fiege <c.fiege@pengutronix.de>2017-07-03 16:09:11 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-07-04 15:41:06 +0200
commit0a09093d9f1c2daed02673cdaa5740ea17143d85 (patch)
treeec152702e1113e1a6054acb3a0fcbd9721d2dd91 /configs/platform-v7a/barebox-vexpress-defaultenv/boot
parentef189b9c3e0c9e3fed8983bdc663907ccd21a592 (diff)
downloadDistroKit-0a09093d9f1c2daed02673cdaa5740ea17143d85.tar.gz
DistroKit-0a09093d9f1c2daed02673cdaa5740ea17143d85.tar.xz
platform-v7a: vexpress: create own barebox defaultenv
Using this change the barebox-vexpress package has its own defaultenv directory. Signed-off-by: Chris Fiege <c.fiege@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-vexpress-defaultenv/boot')
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/boot/9p10
-rw-r--r--configs/platform-v7a/barebox-vexpress-defaultenv/boot/bootchoser3
2 files changed, 13 insertions, 0 deletions
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/boot/9p b/configs/platform-v7a/barebox-vexpress-defaultenv/boot/9p
new file mode 100644
index 0000000..264ffec
--- /dev/null
+++ b/configs/platform-v7a/barebox-vexpress-defaultenv/boot/9p
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+addpart /dev/nor0 "8M@32M(kernel)"
+addpart /dev/nor0 "512k@40M(dtb)"
+global.bootm.image="/dev/nor0.kernel"
+global.bootm.oftree="/dev/nor0.dtb"
+
+global linux.bootargs.base="console=ttyAMA0,115200 loglevel=5 ptxdist-devel"
+
+global linux.bootargs.root="root=/dev/root rootfstype=9p rootflags=trans=virtio" \ No newline at end of file
diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/boot/bootchoser b/configs/platform-v7a/barebox-vexpress-defaultenv/boot/bootchoser
new file mode 100644
index 0000000..3b2e19a
--- /dev/null
+++ b/configs/platform-v7a/barebox-vexpress-defaultenv/boot/bootchoser
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+bootchoser -d