Hi,

On 21-12-14 19:52, Simon Glass wrote:
Hi,

I ran up a banana PI and noticed that HDMI works in U-Boot. Great!

Scrolling seems very slow though - is the L2 cache disabled perhaps?

I don't think so, but it could be, I think the scrolling code is just
very inefficient. Feel free to poke things a bit around this, ARM
cache management is not my forte.

Also are there instructions for getting an LCD running in U-Boot? I
have an Olimex A20-OLinuxion-MICRO (what a mouthful!) with a 7 inch
display if that matters. I can't find any useful information so far.

He he, your in luck I've been working on LCD support the last few days,
and I just got the olimex 7" lcd running on olimex boards :)

If you use my current wip tree:

https://github.com/jwrdegoede/u-boot-sunxi/tree/sunxi-wip

And build for the A20-OLinuXino_MICRO-lcd7_defconfig things should
just work, assuming you are using the standard olimex 7" lcd with
a standard 40 pins pata cable.

Note in order for the kernel to take over the fb you need a small
kernel patch on top of 3.19, I've attached the patch.

Regards,

Hans



>From 202588ef72ee94d07c79c2836cbf2d53c1c73452 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdego...@redhat.com>
Date: Mon, 22 Dec 2014 17:38:02 +0100
Subject: [PATCH v3] ARM: dts: sunxi: Add simplefb nodes for "de_be0-lcd0"
 display pipeline

Add simplefb nodes for "de_be0-lcd0" display pipeline for when u-boot has
set up a pipeline to drive a LCD rather then the HDMI output. The difference
with the existing simplefb node is that this one keeps the HDMI encoder clock
gated.

Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index d54d684..d16a4a9 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -76,6 +76,13 @@
 				 <&ahb_gates 44>;
 			status = "disabled";
 		};
+
+		framebuffer@1 {
+			compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+			allwinner,pipeline = "de_be0-lcd0";
+			clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>;
+			status = "disabled";
+		};
 	};
 
 	cpus {
-- 
2.1.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to