BRoy98 / pandroid

Automatically exported from code.google.com/p/pandroid
0 stars 0 forks source link

Reboot while trying to change the video output to DSI in kernel 3.0 Icecream Sandwich #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.- We start downloading the kernel and file system, and proceed to Compile and 
load the kernel and file system to our panda board following the next page 
steps:

http://www.omappedia.com/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Panda_Notes

2.- We create a new driver that loads I2C and DSI drivers.

3.- with the I2C driver we configure our device to receive DSI video.

In the file "board-omap4panda.c" we modifiy in the next struct to switch the 
video output to DSI

static struct omap_dss_device *omap4_panda_dss_devices[] = {
    &omap4_panda_dvi_device,
    &omap4_panda_hdmi_device,
/*we add this line for the DSI video output.*/
    &omap4_panda_lcd_device, 
};

static struct omap_dss_board_info omap4_panda_dss_data = {
    .num_devices    = ARRAY_SIZE(omap4_panda_dss_devices),
    .devices    = omap4_panda_dss_devices,
/*we add this line for enable the DSI video output.*/
    .default_device = &omap4_panda_lcd_device,
/*we comment this line to disable the dvi video output.*/
    //.default_device = &omap4_panda_dvi_device,
/*we comment this line to disable hdmi video output.*/
    //.default_device = &omap4_panda_hdmi_device, 
};

When we change the code to use the DSI video output we successfully configure 
the DSI device but when the system tries to send video, the system shows the 
next error:

[    4.866668] Unable to handle kernel NULL pointer dereference at virtual 
address 00000000

And the panda reboots.

We are using IceCream sandwich 4AI.1.4 kernel 3.0.

Attached you can find the complete boot log.

Thanks and regards,
Luis Gallegos.

Original issue reported on code.google.com by plastics...@gmail.com on 23 Aug 2013 at 3:27

Attachments: