Hi, On 02/07/2015 12:32 AM, Craig Lanning wrote: > Does Rawhide have any code to deal with the LDC panel for Olimex boards > (Allwinner A10s CPU)? > > I thought I saw somewhere that it has some early support for the LCD > panel. > > I downloaded the Xfce rawhide image (in hopes that it would use the > LCD), wrote it to an SD card, installed the uboot image, and booted it. > > It started running through its boot messages on the console. Asked me > the Setup questions. Finally it continued to a login prompt on the > console. I logged in and can use the console. I looked through the > output from "dmesg" but didn't see anything about the LCD. > > I have a 7 inch LCD (800x480) and an HDMI port that I could hook to an > HD monitor (1920x1080). I am glad that even though I used a "graphical" > image, when it didn't find a display device, it used the console. > > Was I mistaken about it doing anything with the LCD panel, or is there > some additional configuration that I need to do for it to work? > > If it doesn't support the LCD, does it support the HDMI port? Rawhide as of today supports the hdmi port with 1024x768, once rawhide gets u-boot v2015.04-rc1 it will also support EDID and use your monitors native resolution. The LCD will work, but you need to build your own u-boot: dnf install gcc-arm-linux-gnu git clone https://github.com/jwrdegoede/u-boot-sunxi.git cd u-boot-sunxi git checkout -B sunxi-wip origin/sunxi-wip Then edit configs/A10s-OLinuXino-M_defconfig and configs/A13-OLinuXino_defconfig in the latter you will find a number of CONFIG_VIDEO_LCD_... lines in there, copy those over to the configs/A10s-OLinuXino-M_defconfig file. Then replace CONFIG_VIDEO_LCD_POWER="AXP0-0" with CONFIG_VIDEO_LCD_POWER="PB9" And then do the following to build / install: make -j4 CROSS_COMPILE=arm-linux-gnu- A10s-OLinuXino-M_defconfig make -j4 CROSS_COMPILE=arm-linux-gnu- sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8 You will also need an updated dtb, I've attached it for you, simply drop the .dtb file into the dtb-3.... dir on the boot partition. After this u-boot should light up the lcd showin the u-boot tux on gray waterdrop background and some boot messages, and the kernel should take over the lcd framebuffer. Regards, Hans
Attachment:
sun5i-a10s-olinuxino-micro.dtb
Description: Binary data
Attachment:
sun5i-a10s-olinuxino-micro.dts
Description: audio/vnd.dts
_______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm