Hi Karim,
Karim 'Kasi Mir' Senoucci wrote:
> Am 11.07.2012 21:11, schrieb Juergen Beisert:
> > Arrghh, you found an ugly bug in the BSP: the patch for the kernel to
> > enable the LCD controller even if no framebuffer console is enabled is
> > broken for Linux-3.3 and Linux-3.4. I owe you a beer (or something
> > different you prefer).
> >
> > It also does not work here with a different LCD I have (I thought my
> > display unit is broken...). To be more precise: it does not work for
> > every display!
> >
> > Please try the attached patch and follow the steps in the header of this
> > file. Please test it with the most recent Linux-3.4. With this patch,
> > also my display is alive again.
>
> Same here; it works fine now, thank you very much.
\o/
> I would have told you about that yesterday, but was occupied otherwise.
> For 24 hours now, I'm struggling the BSP to build again after I just
> added a few Qt examples as I read that I could use that with the
> framebuffer alone and not bother with X11 anymore (as you suggested).
>
> The problem is, no matter what I try in ptxdist menu, I can't get the
> thing to build again - ptxdist go always failed in mid-compilation of
> something. At the moment, I get this error:
>
> [...]
>
> As I have no idea what to make of this, I'm just more or less randomly
> eabling and disabling stuff in the Graphics & Multimedia department.
> Yesterday, the system stopped beause of some "glib" (not glibc) linker
> errors. I Just wanted to include the "Qt embedded demos" and "Qt
> embedded examples" but I can't seem to get it working.
>
> I find it highly frustrating that I can obviously easily select
> unbuildable combinations of packages in "ptxdist menu" with no apparent
> way of finding out what I did wrong.
Most of the time you can't select broken combinations with PTXdist. But maybe
not all combinations are tested here. A dangerous source of broken
configurations is the "ptxdist migrate" step. That's why it must be done very
carefully.
> I never had to deal with any of that while compiling kernels or other
> software packages. Can anybody give me a pointer how to build these things
> properly without "trial and errors" for the next hundreds of hours?
Welcome to the world of advanced configuration. ;)
Sometime PTXdist gets confused, what package is to be built again. This can
happen, if you select and deselect various settings, give it a try here and
there and so on.
Here is a list, what you can try in this case:
- clean the package that fails and build it again
$ ptxdist clean <package-name>
$ ptxdist go
- if it still fails, it could be a dependency which makes it fail.
In this case we need to go the hard way, by re-building everything:
$ ptxdist clean
$ ptxdist go
- if it still fails, send us:
- what BSP you are using (name and version)
- what PTXdist version you are using to build the BSP
- a copy of the currently used 'selected_platformconfig' and
'selected_ptxconfig'
- the logfile 'platform-mini2440/logfile'
This information enables us to reproduce what you have done.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |