summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-vexpress-defaultenv/boot
diff options
context:
space:
mode:
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