Re: [PATCH 0/11] m68k: Atari EtherNAT Updates

Geert Uytterhoeven
2010-06-08T11:35:21Z

On Mon, Jun 7, 2010 at 07:10, Michael Schmitz
<schmitz@biophys.uni-duesseldorf.de> wrote:
>> > Was my backwards compatibility patch to the kernel ld script ever applied?
>>
>> No, at that time I didn't have time to look into it, and later you
>> said the (one) computer with that
>> toolchain had died (so you were going to use a newer one?).
>
> I tried to build a newer one but got stuck (crosstool seems no longer
> maintained, that's what I used last time). Then the disk with all the m68k stuff
> on it died. I've found some info on Ubuntus bug pages on getting 4.4 to build as
> cross compiler, I'll try again using that for starters.

This is what I used (for the 4.1.2 compiler):

http://people.debian.org/~smarenka/m68k/cross-compilers/aaareadme.txt
http://www.xs4all.nl/~zippel/crosscc/crosscc.README

When building on Ubuntu, you have to delete the following lines from
gcc-4.1-4.1.1ds2/debian/rules.defs first:

ifeq ($(distribution),Ubuntu)
GFDL_INVARIANT_FREE=no
endif

With some versions of debhelper, the linker cannot find some library.
You can work around this bug by prefixing the make command with

LD_LIBRARY_PATH=/usr/m68k-linux-gnu/lib

Alternatively, Emdebian seems to have some older toolchain binaries,
but I never tried them.

>> Eventually, the EtherNAT support should be merged with the standard
>> driver anyway,,,
>
> But for the polled interrupt kludge I agree. Last time I checked the interrupt
> to use for the EtherNAT is beyond what we currently reserve in the Atari
> interrupt map, so I'd have to change the max number of interrupts - what are the
> repercussions for doing this?

VME, Sun 3, and Coldfire already support more interrupts than Atari, so the core
code should handle this fine.

Which reminds me we still have to move to the generic hardirq framework...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds