From: Chris D. <chr...@gm...> - 2007-02-23 22:23:53
|
I just udated to buildroot version r1303 and I'm getting the same error when the kernel tries to load the pxafb driver: pxa2xx-fb: probe of pxa2xx-fb failed with error -12 It looks like there was a big change in the pxafb kernel driver somewhere between 2.6.18 and 2.6.20, and I suspect that this error is somehow related to those changes. I have a 240x320 passive lcd hooked up to my breakout-gs and I can tell you that it does work with a 2.6.18 kernel. The change to 2.6.20 came with r1286, so if you checkout a revision before that you'll get an older kernel. I'm attaching the kernel config that I used for my 2.6.18 kernel. It has support for the console on the framebuffer display, which enables you to see the boot messages. It also has some other stuff turned on/off so you might just want to use it as a rough guide. For bootargs I use: bootargs=console=tty0 console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard video=pxafb:mode:240x320-16,passive,hsynclen:2,right:1,left:1,upper:0,lower:0,vsynclen:3,hsync:1,vsync:1,pixclockpol:0,pixclock:300000 fbcon=rotate:1 and this is what dmesg shows for the pxafb driver: pxa2xx-fb pxa2xx-fb: overriding resolution: 240x320 pxa2xx-fb pxa2xx-fb: overriding bit depth: 16 pxa2xx-fb pxa2xx-fb: override hsynclen: 2 pxa2xx-fb pxa2xx-fb: override right: 1 pxa2xx-fb pxa2xx-fb: override left: 1 pxa2xx-fb pxa2xx-fb: override upper: 0 pxa2xx-fb pxa2xx-fb: override lower: 0 pxa2xx-fb pxa2xx-fb: override vsynclen: 3 pxa2xx-fb pxa2xx-fb: override hsync: Active High pxa2xx-fb pxa2xx-fb: override vsync: Active High pxa2xx-fb pxa2xx-fb: override pixel clock polarity: falling edge pxa2xx-fb pxa2xx-fb: override pixclock: 300000 Console: switching to colour frame buffer device 40x30 and then you get the /dev/fb0 entry Hope this helps. Chris On 2/23/07, Alexis Chiarello <chi...@ya...> wrote: > Julien, > > Any progress on the framebuffer side ?? > > I think I have the same issues... Framebuffer driver is built in the kernel > : > > # > # Graphics support > # > # CONFIG_FIRMWARE_EDID is not set > CONFIG_FB=y > CONFIG_FB_CFB_FILLRECT=y > CONFIG_FB_CFB_COPYAREA=y > CONFIG_FB_CFB_IMAGEBLIT=y > # CONFIG_FB_MACMODES is not set > # CONFIG_FB_BACKLIGHT is not set > CONFIG_FB_MODE_HELPERS=y > # CONFIG_FB_TILEBLITTING is not set > # CONFIG_FB_S1D13XXX is not set > CONFIG_FB_PXA=y > CONFIG_FB_PXA_PARAMETERS=y > # CONFIG_FB_MBX is not set > # CONFIG_FB_VIRTUAL is not set > > While it is booting I get this : > > pxa2xx-fb: probe of pxa2xx-fb failed with error -12 > > There is nothing before or after in the log that can help, but you can find > the full bootlog attached. > > I am using distrib release 1295 and my config is a basix 400 XM with > breakout GS. BTW, nothing yet is connected to the LCD pins on the > breakout-GS, but I don't think this is the issue. > > Of course, I cannot see the /dev/fb0, I only get the /proc/fb. > > I tried as a module, and it gives me the same error. > > Any help would be appreciated, and I don't seem to be the only one in that > situation. > > Best, > > Alexis. > ----- Original Message ----- > From: "Julien Lebot" <les...@ho...> > To: <gum...@li...> > Sent: Friday, February 23, 2007 1:47 AM > Subject: Re: [Gumstix-users] About the gumstix kernel / UCB1400 / > Framebuffer > > > > Hi Dave, > > > > That's me, Julien, who posted the question, just to make sure nobody gets > > confused, I'm not talking for Steve :) > > > >>Hi Steve, > >> > >> > Ok now a couple of nasty question (sorry, noob inside): > >> > > >> > First, can I transfer only the kernel to the gumstix without having to > >>flash > >> > it ? Because I don't touch anymore the package selection, just the > >>kernel > >> > configuration. > >> > >>Provided that the kernel that was there came from your buildroot, and > >>you have enough space (preferably an XM), then yeah you can do it. > >> > >>You could remove the old uImage and copy the new one in. Worst case, > >>is you need to download the whole thing. > >> > >>If you compiled the driver as a module, then you just need to copy the > >>module over, and you can leave the kernel alone. > >> > >>For developing a new driver, I really like having it as a module, > >>cause you can load and unload and if it really screws up you just > >>reboot. > >> > >>-- > > > > I have to agree with you, when developing it's useful, if it doesn't work, > > unload and upload a new version. But it's about the framebuffer, it just > > doesn't show up... > > But I recall now that after compiling the framebuffer as a part of the > > kernel, I have a file "fb" in my /proc folder... may it be the Graal I'm > > looking for ?? > > Then how do I access it from the kernel driver ? > > > > Thanks for your answer, > > Julien > > > > _________________________________________________________________ > > MSN Messenger : discutez en direct avec vos amis ! > > http://www.msn.fr/msger/default.asp > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > |