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&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = -D__PIC__ -fpic -msingle-pic-base<br>LDFLAGS&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = -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 &quot;usual VGA graphics modes<br>&nbsp;&nbsp;&nbsp; only, i.e. packed pixels with 8 bpp pseudocolor and 16/24/32 bpp truecolor/directcolor&quot;
<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> &lt;<a href="mailto:stsp@spline.de">stsp@spline.de</a>&gt; 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>&gt; On 22/09/06, Patrick West &lt;<a href="mailto:patrwest@gmail.com">patrwest@gmail.com</a>&gt; wrote:<br>&gt; &gt; I am trying to port fbi to dslinux but am running into trouble. After a bit
<br>&gt; &gt; of fiddling I got fbi to compile, I had to get a copy of libjpeg from the<br>&gt; &gt; uClinux web page. All of the configuration was already done to accept<br>&gt; &gt; libjpeg, I guess it was removed at some point.
<br>&gt;<br>&gt; libjpeg is in our CVS repository, but only on the uclinux branch.<br>&gt; There are instructions on how to merge things from the uclinux branch<br>&gt; 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>&gt; &gt; The error is:<br>&gt; &gt; BINFMT_FLAT: reloc outside program 0x44df0200 (0 - 0xfa107434/0x2d4c0),<br>&gt; &gt; killing fbi!<br>&gt; &gt; SIGSEGV<br>&gt;<br>&gt; Can you supply the output of &quot;arm-linux-elf-flthdr fbi&quot; please.
<br>&gt; 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>