board: add support for Intel Galileo Gen 2
Kinsella
PATCH v2 1/1 board: add support for Intel Galileo Gen 2
Initial version of Galileo Gen 2 support.
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
* Mdev configuration
* Script to automatically create SD for Galileo
* Patch to binutils to omit LOCK prefix
Signed-off-by rkinsell <[email protected]>
--- board/intel/galileo/S10mdev | 25 + board/intel/galileo/create-boot-sd.sh | 86 + board/intel/galileo/force_hotplug | 3 + board/intel/galileo/grub.cfg | 14 + board/intel/galileo/linux-3.8.config | 3067 ++++++++++++++++++++ board/intel/galileo/mdev.conf | 38 + .../binutils/2.25/default-lock-prefix.patch | 11 + board/intel/galileo/post-build.sh | 5 + configs/galileo_defconfig | 18 + 9 files changed, 3267 insertions(+) create mode 100644 board/intel/galileo/S10mdev create mode 100755 board/intel/galileo/create-boot-sd.sh create mode 100755 board/intel/galileo/force_hotplug create mode 100644 board/intel/galileo/grub.cfg create mode 100644 board/intel/galileo/linux-3.8.config create mode 100644 board/intel/galileo/mdev.conf create mode 100644 board/intel/galileo/patches/binutils/2.25/default-lock-prefix.patch create mode 100755 board/intel/galileo/post-build.sh create mode 100644 configs/galileo_defconfig
board/intel/galileo/S10mdev new file +25 -0
@@ -0,0 +1,25 @@ +#!/bin/sh +# +# Start mdev.... +# + +case "$1" in + start) + echo "Starting mdev..." + echo /sbin/mdev >/proc/sys/kernel/hotplug + echo "Triggering pci hotplug events" + cd /sys/devices/pci0000:00 + find . -name uevent -exec /sbin/force_hotplug {} \; + /sbin/mdev -s + ;; + stop) + ;; + restart|reload) + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? +
board/intel/galileo/create-boot-sd.sh new file +86 -0
86 lines not on this page · raw message
board/intel/galileo/force_hotplug new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +echo add > $1
board/intel/galileo/grub.cfg new file +14 -0
@@ -0,0 +1,14 @@ +set default="0" +set timeout="1" + +#assumes that dos partition table is being used. +#assumes linux is on the second partion of the sdcard + +menuentry "Buildroot" { + #Grub2 supports fat/ext2, its safe to put the kernel on the Linux parition + #set root tells grub to seach 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 console=ttyS1,115200n8 reboot=efi,warm apic=debug rw +}
board/intel/galileo/linux-3.8.config new file +3067 -0
2,872 lines not on this page · raw message
board/intel/galileo/mdev.conf new file +38 -0
Lines of this file are not shown. View the raw message.
board/intel/galileo/patches/binutils/2.25/default-lock-prefix.patch new file +11 -0
Lines of this file are not shown. View the raw message.
board/intel/galileo/post-build.sh new file +5 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.1.0
Part of the diff is not shown here. View the raw message.