I finally did get it to compile by changing the CFLAGS and LDFLAGS, I found these from a site on the net.<br><br>CFLAGS = -D__PIC__ -fpic -msingle-pic-base<br>LDFLAGS = -Wl,-elf2flt<br><br>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.
<br><br>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<br> only, i.e. packed pixels with 8 bpp pseudocolor and 16/24/32 bpp truecolor/directcolor"
<br><br>I can see from fbset that the frame buffer is 256x192 but what color mode is it?<br><br>I will have to do some debugging to find out where it is dieing.<br><br>Thanks,<br>Patrick<br><br><div><span class="gmail_quote">
On 9/22/06, <b class="gmail_sendername">Stefan Sperling</b> <<a href="mailto:stsp@spline.de">stsp@spline.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Sep 22, 2006 at 08:25:03AM +0100, Malcolm wrote:<br>> On 22/09/06, Patrick West <<a href="mailto:patrwest@gmail.com">patrwest@gmail.com</a>> wrote:<br>> > I am trying to port fbi to dslinux but am running into trouble. After a bit
<br>> > of fiddling I got fbi to compile, I had to get a copy of libjpeg from the<br>> > uClinux web page. All of the configuration was already done to accept<br>> > libjpeg, I guess it was removed at some point.
<br>><br>> libjpeg is in our CVS repository, but only on the uclinux branch.<br>> There are instructions on how to merge things from the uclinux branch<br>> on the wiki.<br><br>Specifically at <a href="http://www.dslinux.org/wiki/DSLinux_CVS">
http://www.dslinux.org/wiki/DSLinux_CVS</a><br><br>> > The error is:<br>> > BINFMT_FLAT: reloc outside program 0x44df0200 (0 - 0xfa107434/0x2d4c0),<br>> > killing fbi!<br>> > SIGSEGV<br>><br>> Can you supply the output of "arm-linux-elf-flthdr fbi" please.
<br>> A log of the build of fbi might help too.<br><br>I got this using a toolchain with a linker script<br>that was not XIP aware.<br><br>Patrick, what toolchain are you using?<br><br>--<br>stefan<br><a href="http://stsp.spline.de">
http://stsp.spline.de</a><br>--<br>dslinux-devel mailing list<br><a href="mailto:dslinux-devel@dslinux.in-berlin.de">dslinux-devel@dslinux.in-berlin.de</a><br><a href="http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel">
http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel</a><br></blockquote></div><br>