summaryrefslogtreecommitdiffstats
path: root/board/intel/galileo/grub.cfg
diff options
context:
space:
mode:
authorRay Kinsella <ray.kinsella@intel.com>2015-11-17 16:38:50 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-17 23:24:32 +0100
commit8715e18e9327cbde4e6b30cfab3982138b727e56 (patch)
tree4c468450d3ca75a052201d831ae3580956e8bd11 /board/intel/galileo/grub.cfg
parentc3d65a4dad707db83122ac082202f3e8dc70e60f (diff)
downloadbuildroot-8715e18e9327cbde4e6b30cfab3982138b727e56.tar.gz
buildroot-8715e18e9327cbde4e6b30cfab3982138b727e56.zip
board: add support for Intel Galileo Gen 2
Board support package includes: * Toplevel build root configuration * Github based 3.8.7 Kernel * Upstream 3.8.7 * Linux 3.8.7 Kernel Driver Patches * Linux 3.8.7 configuration * Grub configuration * Init Script to load modules * genimage config to create sdcard image. [Thomas: simplify post-image script since there is now only one call to genimage.] Signed-off-by: Ray Kinsella <ray.kinsella@intel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/intel/galileo/grub.cfg')
-rw-r--r--board/intel/galileo/grub.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/intel/galileo/grub.cfg b/board/intel/galileo/grub.cfg
new file mode 100644
index 0000000000..dde2f762f0
--- /dev/null
+++ b/board/intel/galileo/grub.cfg
@@ -0,0 +1,11 @@
+set default="0"
+set timeout="0"
+
+menuentry "Buildroot" {
+ # Grub2 supports ext4, load the kernel from the Linux rootfs partition
+ # Set root tells grub to search the 2nd partition for the bzImage
+ set root=(hd0,msdos2)
+
+ # Set Linux to boot from the 2nd partition, SD/MMC support is baked into the kernel
+ linux /boot/bzImage root=/dev/mmcblk0p2 rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw
+}
OpenPOWER on IntegriCloud