Requirements for Plasma Mobile at CyanogenModBase and Neon for other devices

Bhushan Shah bhush94 at gmail.com
Mon May 9 13:44:24 UTC 2016


On Monday, May 9, 2016 5:34:14 PM IST, Gerold Jens Wucherpfennig wrote:
>
> Am 09.05.2016 um 08:15 schrieb Bhushan Shah:
>> On Monday, May 9, 2016 11:14:23 AM IST, Gerold Jens 
>> Wucherpfennig wrote: ...
>
> I think that I need to recompile the kernel with
> some additional kernel features again.
>

You need to enable the VT console in the kernel config,

CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y

In specific, for hammerhead config,

% grep "CONSOLE" cyanogenmod_hammerhead_defconfig | grep '^CONFIG.*'
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_MSM_HSL_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_ANDROID_RAM_CONSOLE=y

>
> Here is /proc/cmdline:
>
> console=ttySAC2,115200 consoleblank=0 androidboot.selinux=permissive
> loglevel=4 console=ram androidboot.serialno=000934b07d3f2f
> sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5
> sec_log=0x100000 at 0x4d900000 s3cfb.bootloaderfb=0x5ec00000
> ld9040.get_lcdtype=0x0 consoleblank=0 lpj=3981312 vmalloc=144m
>

You will also need to change the BoardConfig.mk for your device to have,

console=tty0 instead of console=ttySAC2,115200 in the device tree, see 
patch to hammerhead device tree.

diff --git a/BoardConfig.mk b/BoardConfig.mk
index a9f4b65..1d0b27f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -26,7 +26,7 @@ TARGET_NO_BOOTLOADER := true
 BOARD_KERNEL_BASE := 0x00000000
 BOARD_KERNEL_PAGESIZE := 2048
 
-BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 
androidboot.hardware=hammerhead user_debug=31 maxcpus=2 
msm_watchdog_v2.enable=1 androidboot.bootdevice=msm_sdcc.1
+BOARD_KERNEL_CMDLINE := console=tty0 androidboot.hardware=hammerhead 
user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 
androidboot.bootdevice=msm_sdcc.1
 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02900000 --tags_offset 
0x02700000
 BOARD_KERNEL_IMAGE_NAME := zImage-dtb


>
> I thank you in advance...
>

Cheers.


More information about the Plasma-devel mailing list