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

Lucas Stach l.stach at pengutronix.de
Wed Jun 21 08:30:09 PDT 2017


Am Mittwoch, den 21.06.2017, 17:18 +0200 schrieb gianluca:
> 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 module is called "imxdrm" without a dash, so the correct way to
specify the parameter on the command line is "imxdrm.legacyfb_depth=32".

I'm not sure what you are trying to achieve with the mxcfb and fbmem
parameters. They are certainly ignored by a mainline kernel.

Regards,
Lucas




More information about the barebox mailing list