summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-22 20:08:39 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-22 20:08:39 -0300
commitaf5db9bb56f91f13f0ba11de09e0ecbf2199062e (patch)
tree5e12a3c511d35c6936f159677c409da602070a3a /libre-testing
parentdfe00a727ad11d7589b8de4105c01017fcaa5e0c (diff)
uboot-am335x_bone: add kernels examples in extlinux.conf
Diffstat (limited to 'libre-testing')
-rw-r--r--libre-testing/uboot-am335x_bone/PKGBUILD2
-rw-r--r--libre-testing/uboot-am335x_bone/extlinux.conf40
-rw-r--r--libre-testing/uboot-am335x_bone/uboot-am335x_bone.install6
3 files changed, 47 insertions, 1 deletions
diff --git a/libre-testing/uboot-am335x_bone/PKGBUILD b/libre-testing/uboot-am335x_bone/PKGBUILD
index 08d13286b..360de9456 100644
--- a/libre-testing/uboot-am335x_bone/PKGBUILD
+++ b/libre-testing/uboot-am335x_bone/PKGBUILD
@@ -22,7 +22,7 @@ source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
'uEnv.txt')
md5sums=('570bdc2c47270c2a98ca60ff6c5c74cd'
'35111b3cfe545ce3a3fb37fafda43cc7'
- '38c8428bdc765410193f2ea98297523f'
+ '778611dd03b67e7164081228a1ac93b3'
'ccb79775b81654e16fca18825c7f2506')
prepare() {
diff --git a/libre-testing/uboot-am335x_bone/extlinux.conf b/libre-testing/uboot-am335x_bone/extlinux.conf
index bac084c69..843c60b60 100644
--- a/libre-testing/uboot-am335x_bone/extlinux.conf
+++ b/libre-testing/uboot-am335x_bone/extlinux.conf
@@ -4,3 +4,43 @@ label Parabola GNU/Linux-libre w/ linux-libre kernel
kernel /boot/vmlinuz-linux-libre
append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
fdtdir /boot/dtbs/linux-libre
+
+#label Parabola GNU/Linux-libre w/ linux-libre-lts kernel
+# kernel /boot/vmlinuz-linux-libre-lts
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-lts
+
+#label Parabola GNU/Linux-libre w/ linux-libre-knock kernel
+# kernel /boot/vmlinuz-linux-libre-knock
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-knock
+
+#label Parabola GNU/Linux-libre w/ linux-libre-lts-knock kernel
+# kernel /boot/vmlinuz-linux-libre-lts-knock
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-lts-knock
+
+#label Parabola GNU/Linux-libre w/ linux-libre-grsec kernel
+# kernel /boot/vmlinuz-linux-libre-grsec
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-grsec
+
+#label Parabola GNU/Linux-libre w/ linux-libre-grsec-knock kernel
+# kernel /boot/vmlinuz-linux-libre-grsec-knock
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-grsec-knock
+
+#label Parabola GNU/Linux-libre w/ linux-libre-audit kernel
+# kernel /boot/vmlinuz-linux-libre-audit
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-audit
+
+#label Parabola GNU/Linux-libre w/ linux-libre-pck kernel
+# kernel /boot/vmlinuz-linux-libre-pck
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-pck
+
+#label Parabola GNU/Linux-libre w/ linux-libre-rt kernel
+# kernel /boot/vmlinuz-linux-libre-rt
+# append ro root=/dev/mmcblk0p1 console=ttyS0,115200n8 LANG=en_US.UTF-8
+# fdtdir /boot/dtbs/linux-libre-rt
diff --git a/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install b/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install
index 24ccc1acb..0a71c804a 100644
--- a/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install
+++ b/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install
@@ -3,6 +3,10 @@ flash_instructions() {
echo "# dd if=/boot/u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k"
}
+extlinux_warning() {
+ echo ">>> WARNING: for new entries, edit /boot/extlinux/extlinux.conf"
+}
+
flash_uboot() {
root=$(mount | awk '/ on \/ / { print $1; }')
if [[ $root =~ ^/dev/mmcblk.*$ ]]; then
@@ -25,8 +29,10 @@ flash_uboot() {
post_install() {
flash_uboot
+ extlinux_warning
}
post_upgrade() {
flash_uboot
+ extlinux_warning
}