diff options
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb new file mode 100644 index 0000000..caee7f2 --- /dev/null +++ b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | require linux.inc | ||
| 2 | |||
| 3 | DESCRIPTION = "Linux kernel for the RaspberryPi board" | ||
| 4 | COMPATIBLE_MACHINE = "raspberrypi" | ||
| 5 | |||
| 6 | PR = "r6" | ||
| 7 | PV_append = "+git${SRCREV}" | ||
| 8 | |||
| 9 | SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3" | ||
| 10 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \ | ||
| 11 | " | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | # NOTE: For now we pull in the default config from the RPi kernel GIT tree. | ||
| 15 | KERNEL_DEFCONFIG = "bcmrpi_defconfig" | ||
| 16 | |||
| 17 | # CMDLINE for raspberrypi | ||
| 18 | CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" | ||
| 19 | |||
| 20 | UDEV_GE_141 ?= "1" | ||
| 21 | |||
| 22 | do_configure_prepend() { | ||
| 23 | install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." | ||
| 24 | } | ||
| 25 | |||
| 26 | do_install_prepend() { | ||
| 27 | install -d ${D}/lib/firmware | ||
| 28 | } | ||
| 29 | |||
| 30 | do_deploy_append() { | ||
| 31 | # Deploy cmdline.txt | ||
| 32 | install -d ${DEPLOYDIR}/bcm2835-bootfiles | ||
| 33 | echo "${CMDLINE}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt | ||
| 34 | } | ||
