From b9b0c009c873758eacb9683575c863cf55cc638a Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 3 Jul 2012 19:35:10 +0300 Subject: [PATCH] linux-raspberrypi: Add CMDLINE for raspberrypi Because CONFIG_EXT4_USE_FOR_EXT23 is built in, use rootfstype=ext4 to mount ext2/3/4. Signed-off-by: Andrei Gherzan --- recipes-kernel/linux/linux-raspberrypi_3.1.9.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-raspberrypi_3.1.9.bb b/recipes-kernel/linux/linux-raspberrypi_3.1.9.bb index 14b25f2..d9929dd 100755 --- a/recipes-kernel/linux/linux-raspberrypi_3.1.9.bb +++ b/recipes-kernel/linux/linux-raspberrypi_3.1.9.bb @@ -4,7 +4,7 @@ require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" -PR = "r2" +PR = "r3" # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. # This is on the rpi-patches branch @@ -22,6 +22,9 @@ S = "${WORKDIR}/git" KERNEL_DEFCONFIG = "bcmrpi_defconfig" +# CMDLINE fro raspberypi +CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" + PARALLEL_MAKEINST = "" do_configure_prepend() {