blob: 4e9f3d2b377bd289c369ba178af239c8278f6a16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
inherit kernel
require linux.inc
LINUX_VERSION ?= "2.6.36.2"
SRCREV = "70b151768728d3f372b2895a1497f3297c8e2bbb"
PV = "2.6.36.2+gitr${SRCREV}"
PR = "V1.0b5"
S = "${WORKDIR}/git"
SRC_URI = "\
git://gitorious.org/colibri-t20-embedded-linux-bsp/colibri_t20-linux-kernel.git;protocol=git;branch=master \
"
#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 linux-tools.inc
|