aboutsummaryrefslogtreecommitdiff
path: root/targets/bbb/boot
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-09-25 15:24:03 +0200
committerKarel Kočí <cynerd@email.cz>2015-09-25 15:32:29 +0200
commitf1bd89f141acb53333135c86940d1d1c0549b4bd (patch)
treedb7ffdebebc0a1b0b6226029de2185630a68512a /targets/bbb/boot
parent47669028715fd1319219862e12a4ad5698409a6b (diff)
downloadlinux-conf-perf-f1bd89f141acb53333135c86940d1d1c0549b4bd.tar.gz
linux-conf-perf-f1bd89f141acb53333135c86940d1d1c0549b4bd.tar.bz2
linux-conf-perf-f1bd89f141acb53333135c86940d1d1c0549b4bd.zip
Add bbb target for BeagleBone Black
Buildroot configuration is now generated from base configuration and configuration defined by specified target. And initram is now build automatically for test target and all target.
Diffstat (limited to 'targets/bbb/boot')
-rw-r--r--targets/bbb/boot/.gitignore2
-rw-r--r--targets/bbb/boot/.novaboot1
-rw-r--r--targets/bbb/boot/am335x-boneblack.dtbbin0 -> 27260 bytes
-rwxr-xr-xtargets/bbb/boot/boot8
-rw-r--r--targets/bbb/boot/nbscript4
5 files changed, 15 insertions, 0 deletions
diff --git a/targets/bbb/boot/.gitignore b/targets/bbb/boot/.gitignore
new file mode 100644
index 0000000..99e8155
--- /dev/null
+++ b/targets/bbb/boot/.gitignore
@@ -0,0 +1,2 @@
+rootfs.cpio.uboot
+uImage
diff --git a/targets/bbb/boot/.novaboot b/targets/bbb/boot/.novaboot
new file mode 100644
index 0000000..ef394da
--- /dev/null
+++ b/targets/bbb/boot/.novaboot
@@ -0,0 +1 @@
+$default_target="bbb"
diff --git a/targets/bbb/boot/am335x-boneblack.dtb b/targets/bbb/boot/am335x-boneblack.dtb
new file mode 100644
index 0000000..276e5c4
--- /dev/null
+++ b/targets/bbb/boot/am335x-boneblack.dtb
Binary files differ
diff --git a/targets/bbb/boot/boot b/targets/bbb/boot/boot
new file mode 100755
index 0000000..29a77a8
--- /dev/null
+++ b/targets/bbb/boot/boot
@@ -0,0 +1,8 @@
+#!/bin/bash
+cd `dirname $0`
+
+cp -f ../../../jobfiles/linuxImage uImage
+cp -f ../../../tests/cyclictest/root/images/rootfs.cpio.uboot rootfs.cpio.uboot
+
+novaboot nbscript --exiton="NOVABOOT EXIT LINUX-CONF-PERF" --exiton-timeout=120 \
+ --exiton="Kernel panic" --append="rdinit=/sbin/lcpinit"
diff --git a/targets/bbb/boot/nbscript b/targets/bbb/boot/nbscript
new file mode 100644
index 0000000..92888a2
--- /dev/null
+++ b/targets/bbb/boot/nbscript
@@ -0,0 +1,4 @@
+#!/usr/bin/env novaboot
+load uImage console=tty0 console=ttyO0,115200n8 ro fixrtc
+load am335x-boneblack.dtb
+load rootfs.cpio.uboot