Problems porting fbi
patrwest at gmail.com
Sat Sep 23 00:40:33 CEST 2006
I finally did get it to compile by changing the CFLAGS and LDFLAGS, I found
these from a site on the net.
CFLAGS = -D__PIC__ -fpic -msingle-pic-base
LDFLAGS = -Wl,-elf2flt
I think the reason it didn't down libjpeg from cvs was the because the
snapshot I got from the wiki didn't have it so it didn't grab it. I had the
romfs section wrong, I didn't have the /bin/ part.
The problem is now that it just gives me a blank screen but I just noticed
that it says it is only compatible with the "usual VGA graphics modes
only, i.e. packed pixels with 8 bpp pseudocolor and 16/24/32 bpp
I can see from fbset that the frame buffer is 256x192 but what color mode is
I will have to do some debugging to find out where it is dieing.
On 9/22/06, Stefan Sperling <stsp at spline.de> wrote:
> On Fri, Sep 22, 2006 at 08:25:03AM +0100, Malcolm wrote:
> > On 22/09/06, Patrick West <patrwest at gmail.com> wrote:
> > > I am trying to port fbi to dslinux but am running into trouble. After
> a bit
> > > of fiddling I got fbi to compile, I had to get a copy of libjpeg from
> > > uClinux web page. All of the configuration was already done to accept
> > > libjpeg, I guess it was removed at some point.
> > libjpeg is in our CVS repository, but only on the uclinux branch.
> > There are instructions on how to merge things from the uclinux branch
> > on the wiki.
> Specifically at http://www.dslinux.org/wiki/DSLinux_CVS
> > > The error is:
> > > BINFMT_FLAT: reloc outside program 0x44df0200 (0 -
> > > killing fbi!
> > > SIGSEGV
> > Can you supply the output of "arm-linux-elf-flthdr fbi" please.
> > A log of the build of fbi might help too.
> I got this using a toolchain with a linker script
> that was not XIP aware.
> Patrick, what toolchain are you using?
> dslinux-devel mailing list
> dslinux-devel at dslinux.in-berlin.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dslinux-devel