[Voyage-linux] Build for Soekris 4501 using the Voyage 8.0 SDK ?

Ralph Hempel (spam-protected)
Thu Mar 8 20:53:47 HKT 2012


On 03/08/2012 12:22 AM, Kim-man 'Punky' TSE wrote:
> Hi Ralph
>
> net4501/SC520 is not pentium class. Try changing back to i486 or i386.
> Voyage kernel is compiled with CONFIG_M486 option.
>
> -march=pentium-mmx
> -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32

Guys, thanks for the hints. It turns out that the CFLAGS was not at all
the problem.

I ended up installing the SDK in a VirtualBox VM again, and used that
for building the packages I need for the 4501. I still ended up with the
ILLEGAL INSTRUCTION trap.

So then I tried to install GDB server on the 4501 to debug remotely, but
I end up not being able to run the program I was debugging. In
desperation I installed GDB on the Soekris 4501 - bingo!

Turns out that one of the libraries that was compiled with the Hiawatha
web server was using inline assembler. Tweak one of the config files to
force C code and everything works!

I am writing up my (so far) great experience with Voyage Linux and
will post a link here shortly. I love that my 4501 can be put to
good use. I have a second 4501 running m0n0wall and it has not been
restarted in over a year.

Cheers, Ralph




More information about the Voyage-linux mailing list