From 075e33ca803378fa42187ecf5fd44a57e061a84a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 3 Jun 2012 10:07:58 +0200 Subject: Initial commit --- recipes-kernel/linux/linux-colibri-t20_git.bb~ | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-kernel/linux/linux-colibri-t20_git.bb~ (limited to 'recipes-kernel/linux/linux-colibri-t20_git.bb~') diff --git a/recipes-kernel/linux/linux-colibri-t20_git.bb~ b/recipes-kernel/linux/linux-colibri-t20_git.bb~ new file mode 100644 index 0000000..233f087 --- /dev/null +++ b/recipes-kernel/linux/linux-colibri-t20_git.bb~ @@ -0,0 +1,36 @@ +inherit kernel +require recipes-kernel/linux/linux.inc + +LINUX_VERSION ?= "2.6.36.2" + +SRCREV = "99003b6bd73fd8ce4f2bd63a1c7b63f8c3d0cf68" + +PV = "2.6.36.2+gitr${SRCREV}" +PR = "V1.0b6" +S = "${WORKDIR}/git" +SRC_URI = "\ + git://gitorious.org/colibri-t20-embedded-linux-bsp/colibri_t20-linux-kernel.git;protocol=git;branch=master \ + file://bcm4329_warning.patch " + +#SVN_REV = 190 +#PV = "2.6.36.2" +#PR = "${SVN_REV}" +#S = "${WORKDIR}/kernel" +#SRC_URI = "svn://tegradev:tegra123!@mammut.toradex.int:8090/colibri_tegra_linux/trunk;module=kernel;rev=${SVN_REV};proto=http \ +# file://bcm4329_warning.patch " + +COMPATIBLE_MACHINE = "colibri-t20" + +CMDLINE="mem=148M@0M fbmem=12M@148M nvmem=96M@160M vmalloc=248M video=tegrafb root=/dev/nfs ip=:::::eth0:on rw netdevwait mtdparts=tegra_nand:1018368K@28160K(userspace) console=ttyS0,115200n8 usb_high_speed=0" + +do_configure_prepend_colibri-t20() { + #use the defconfig provided in the kernel source tree + install -m 0644 ${S}/arch/arm/configs/colibri_t20_defconfig ${WORKDIR}/defconfig + + #compile with -O2, 4.5. compiler seems to fail with -Os + sed -i -e /CONFIG_CC_OPTIMIZE_FOR_SIZE/d ${WORKDIR}/defconfig + echo "CONFIG_CC_OPTIMIZE_FOR_SIZE=n" >> ${WORKDIR}/defconfig +} + +#require recipes-kernel/linux/linux-tools.inc + -- cgit v1.2.3