Problems porting fbi

Patrick West patrwest at
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> wrote:
> On Fri, Sep 22, 2006 at 08:25:03AM +0100, Malcolm wrote:
> > On 22/09/06, Patrick West <patrwest at> 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
> the
> > > 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
> > > The error is:
> > > BINFMT_FLAT: reloc outside program 0x44df0200 (0 -
> 0xfa107434/0x2d4c0),
> > > killing fbi!
> >
> > 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?
> --
> stefan
> --
> dslinux-devel mailing list
> dslinux-devel at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dslinux-devel mailing list