[yocto] FrameBuffer support
Jonathan Vervaeke
jonathan.vervaeke at basalte.be
Mon Sep 19 03:01:37 PDT 2016
Hi,
I'm trying to make framebuffers work on imx6(ul) using yocto.
I suppose I need to make changes in the following:
1) Kernel modules
2) Device tree
3) U-Boot bootargs
I've build my kernel with the following modules
********************************************
FB_TFT=y
CONFIG_FB_TFT_ILI9325=m
********************************************
I added the following to the device tree
********************************************
/ {
itdb28 {
compatible = "ilitek,ili9325";
status = "okay";
rotate = <0>;
bgr;
buswidth = <8>;
reset-gpios = <&gpio3 23 0>;
dc-gpios = <&gpio3 5 0>;
cs-gpios = <&gpio3 1 0>;
wr-gpios = <&gpio3 0 0>;
db-gpios = <&gpio3 7 0>,
<&gpio3 8 0>,
<&gpio3 9 0>,
<&gpio3 10 0>,
<&gpio3 11 0>,
<&gpio3 15 0>,
<&gpio3 16 0>,
<&gpio3 17 0>;
/* LED pin drives backlight directly. Use transistor (50mA) */
/* led-gpios = <&gpio 4 1>; */
debug = <7>;
};
framebuffer {
compatible = "simple-framebuffer";
reg = <0x1d385000 (240 * 320 * 2)>;
width = <240>;
height = <320>;
stride = <(240 * 2)>;
format = "r5g6b5";
};
};
********************************************
When I boot, I get the following error:
********************************************
Error opening /dev/fb0: No such file or directory
********************************************
Did I forget something or is there a decent manual available?
Thanks!
Jonathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160919/d7facbf1/attachment.html>
More information about the yocto
mailing list