aboutsummaryrefslogtreecommitdiff
path: root/96boards-hikey
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-11-18 12:00:24 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-11-18 12:04:51 +0200
commit7132125ee2eb9e0537a476b3c15cd9229f5baacf (patch)
treebcd898389d6e8b2736ce0c78611770f71a63d16d /96boards-hikey
parent27d46a25f11e0e289c97116d161b20cc970885e3 (diff)
96boards-hikey: move grub.cfg out of build job configuration
Instead of writing grub.cfg inline, copy the file. Remove duplicated clone of configs and lci-build-tools. Change-Id: I36b4ab27db79cc490ed55d08f180ae978c67fefa Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to '96boards-hikey')
-rw-r--r--96boards-hikey/boot/grub.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/96boards-hikey/boot/grub.cfg b/96boards-hikey/boot/grub.cfg
new file mode 100644
index 00000000..3c4d19d2
--- /dev/null
+++ b/96boards-hikey/boot/grub.cfg
@@ -0,0 +1,23 @@
+set default="0"
+set timeout=1
+
+menuentry 'Debian GNU/Linux (eMMC)' {
+ search.fs_label rootfs root
+ set root=($root)
+ linux /boot/Image console=tty0 console=ttyAMA3,115200 root=/dev/disk/by-partlabel/system rootwait rw quiet efi=noruntime
+ initrd /boot/initrd.img
+ devicetree /boot/hi6220-hikey.dtb
+}
+
+menuentry 'Debian GNU/Linux (SD card)' {
+ search.fs_label rootfs root
+ set root=($root)
+ linux /boot/Image console=tty0 console=ttyAMA3,115200 root=/dev/mmcblk1p2 rootwait rw quiet efi=noruntime
+ initrd /boot/initrd.img
+ devicetree /boot/hi6220-hikey.dtb
+}
+
+menuentry 'Fastboot' {
+ search.fs_label boot root
+ chainloader ($root)/EFI/BOOT/fastboot.efi
+}