Bananian Linux - Bananian Linux
View Issue Details
0000151Bananian Linux[All Projects] Hardwarepublic2015-08-14 21:272015-08-16 21:20
Nico 
Nico 
normalmajoralways
resolvedfixed 
 
15.08 
15.0815.08 
0000151: LCD support is broken with mainline U-Boot 2015.07
With mainline u-boot 2015.07 it is not possible to use the LCD display connected to CON2.

u-boot-sunxi works fine.
No tags attached.
related to 0000149resolved Nico prepare for mainline Kernel 4.x 
Issue History
2015-08-14 21:27NicoNew Issue
2015-08-14 21:27NicoStatusnew => assigned
2015-08-14 21:27NicoAssigned To => Nico
2015-08-14 21:27NicoRelationship addedrelated to 0000149
2015-08-14 21:31NicoNote Added: 0000268
2015-08-14 22:26NicoNote Edited: 0000268bug_revision_view_page.php?bugnote_id=268#r150
2015-08-14 22:27NicoNote Edited: 0000268bug_revision_view_page.php?bugnote_id=268#r151
2015-08-14 22:29NicoSummaryLCD support is broken with Mainline U-Boot 2015.07 => LCD support is broken with mainline U-Boot 2015.07
2015-08-14 22:36NicoStatusassigned => resolved
2015-08-14 22:36NicoFixed in Version => 15.08
2015-08-14 22:36NicoResolutionopen => fixed
2015-08-16 21:20NicoNote Added: 0000269

Notes
(0000268)
Nico   
2015-08-14 21:31   
(edited on: 2015-08-14 22:27)
The latest mainline U-Boot 2015.10-rc1-00597-gbbc1b99 works fine with both, sunxi 3.4 and mainline kernel.

We will switch to this version, with no default settings for LCD.

1.) On sunxi you can enable LCD with FEX.

2.) On mainline you have to recompile U-Boot with these settings:
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:55000,le:100,ri:170,up:10,lo:15,hs:50,vs:10,sync:3,vmode:0"
CONFIG_VIDEO_LCD_POWER="PH12"
CONFIG_VIDEO_LCD_BL_EN="PH8"
CONFIG_VIDEO_LCD_BL_PWM="PB2"
CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW=n
CONFIG_VIDEO_LCD_PANEL_LVDS=y

See https://linux-sunxi.org/LCD#Bulk_automatic_conversion_of_all_FEX_files_from_the_sunxi-boards_repository [^]

(0000269)
Nico   
2015-08-16 21:20   
Updated to U-Boot 2015.10-rc1-00655-g632093b