Running Doom on STK1000

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Having just found this thread, I was wondering if any more work had been done in getting doom + sdl to compile any easier ?

I run ubuntu on a pc, and have installed the Atmel buildroot package.

This is what I've done so far ...

(1) tar zxf lsdldoom-1.4.4.4.tar.gz
(2) apt-get install libsdl1.2-dev libsdl-mixer1.2-dev timidity
(3) ./configure --host=avr32-linux --prefix=/usr --without-x

This complains about "avr32" unknown achitecture, so I added avr32 to the config.sub file.

This fixed this problem, but now when the ./configure checks the c compiler, it's still checking gcc (not avr32-linux-gcc).

Can anyone point me in the right direction, or does anyone have some detailed steps I could follow ?

Thanks
Mark[/list]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sounds like your modifications to config.sub were incomplete or incorrect, just replace it with a later one from http://cvs.savannah.gnu.org/view...

Also, apt-get will get the sdl libraries for your host PC, not the AVR32. You will need to get the source for these and compile them for the avr32 yourself.

Hce can probably give you more info if/when he gets here :)

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I like cats, too. Let's exchange recipes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

May I ask what display you use for the NGW100? I am thinking about adding one soon to my own NGW100. Did you need to add more memory in the end to get this working properly?

Thanks

Trev

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using an FMS3818 Video DAC connected to J7 of the NGW. I'm plugging it into a regular VGA monitor. I'm hoping to add an LCD (and touch screen) like the one from the Sony PSP when I have some cash to play with. No extra memory either, but I did overclock it to 200MHz

http://avr32linux.org/twiki/bin/...

http://www.sparkfun.com/commerce...

http://www.sparkfun.com/commerce...

I like cats, too. Let's exchange recipes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have download the binaries and the patch file.
Then i have uncompressed the two files.
But when i patch the files with the command "patch -p0 < lxdoom-1.4.4.-avr32.patch" i get the message "can't find file to patch... perhaps you used the wrong -p..."

Can anyone explain to run doom on the stk1000. I'm a newbie in embedded linux.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would assume "patch -p1".

Hans-Christian

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hce wrote:
I would assume "patch -p1".

I get the same message
"can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option?"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's in buildroot now, it will even grab the shareware wad file for you :) buildroot.uclibc.org

I like cats, too. Let's exchange recipes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ninevoltz9 wrote:
It's in buildroot now, it will even grab the shareware wad file for you :) buildroot.uclibc.org

OK thank you. Can i use the buildroot from this site? I only use at time the buildroot from the atmel homepage.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

All of the stuff from the Atmel 2.1.0 buildroot is upstream at uclibc.org now, along with a bunch of new stuff (like lxdoom) that is not in Atmel's release.

I like cats, too. Let's exchange recipes.