Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

gianluca gianlucarenzi at eurekelettronica.it
Wed Jun 21 08:18:15 PDT 2017


On 06/21/2017 01:50 PM, Lucas Stach wrote:

> The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want
> to change this you need to provide the module parameter
> "legacyfb_depth=32".
>

>
> Debian GNU/Linux 8 edelin ttymxc2
>
> edelin login: root
> Password:
> Linux edelin 4.9.7-EK20170621 #1 SMP Wed Jun 21 15:23:57 CEST 2017 armv7l
>
> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
> root at edelin:~# fbset
>
> mode "1280x800"
>     geometry 1280 800 1280 800 16
>     timings 0 0 0 0 0 0 0
>     accel true
>     rgba 5/11,6/5,5/0,0/0
> endmode
>
> root at edelin:~# cat /proc/cmdline
> console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 \
 > root=/dev/mmcblk1p3 fec.macaddr=0x7a,0x3f,0x03,0xe3,0xa2,0xff \
 > system_rev=0xe3600000 system_serialnr=0x00000000 \
 > lcd_type=am1280800n3tz fastboot quiet loglevel=3 console=tty0 \
 > video=mxcfb0:dev=ldb,if=RGB24,bpp=32 \
 > fbmem=32M vmalloc=400M imx-drm.legacyfb_depth=32

As you can see imx-drm.legacy_depth=32 is passed to the kernel from 
bootloader.

The CONFIG for FrameBuffer Emulation with DRM and HELPERS are enabled.

But fbset is telling me 16 bpp... :-(

Any help?
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212



More information about the barebox mailing list