Page 11 of 29

Re: Raven060 (luciodra build).

Posted: 10 Dec 2024 23:15
by luciodra
agranlund wrote: 10 Dec 2024 19:12
luciodra wrote: 10 Dec 2024 08:23 Now that I can work well with Raven at 96MHz without it freezing, I could use some help with the network card:
The network card driver expects to find the card at port 300 so you'll want to add this line to isa_bios.inf:

Code: Select all

dev.AXE2201.AXE2201.io = 300
Next boot you should be able to verify that isa_bios.log is saying IO: 0300 instead of IO: 0240 for the card under the Configured section.

Then copy raven/drivers/ne2000/eneh.xif into your Mint folder, and that should do it for the hardware part.


There are people much better than me when it comes to setting up Mint but I believe the bootable 1.19 package should come with at least the basic tools you need such as ifconfig, route and ping.

Look for the "Start network" section in mint.cfg and modify as described in the comments there.
The interface name, which is going to be one of the parameters you need to change in the example, is en0

With that setup, and after a reboot, you should be able to verify that you can ping the outside world.
It does not work. :oops:

Ok, solved. It should be added to the end of the .inf file

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 15:06
by luciodra
IMG_1749.jpeg
IMG_1750.jpeg
The problem is always in Freemint which is badly configured or in any case gives me problems due to the absence of FPU.
Any command I try to give gives me the error in the photo.

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 17:17
by agranlund
luciodra wrote: 11 Dec 2024 15:06 The problem is always in Freemint which is badly configured or in any case gives me problems due to the absence of FPU.
Any command I try to give gives me the error in the photo.

It's not just applications that come with Mint. It goes for almost _all_ applications that are built with gcc (which is probably most of the "newer" stuff)

When you use an LC cpu you most often will need to use 000 compiled version when the author has that as an option.
As a rule of thumb, things compiled for 020-060 will not work on LC since they require FPU whether they will use it or not.

This is why I recommended downloading the "000-st_ste" package in addition to the 060 package, and make a single Frankenstein installation out of those two.
For 68LC060, I would try using that as a base, then remove the sys-root folder and copy in the one from this package instead: freemint-latest-000-st_ste.zip. That should give you a 68060 kernel with 68000 applications. Or perhaps the opposite way around by using the 000 package as base and move in the kernel for 060. Not sure which is easier to get right.
- You absolutely do want to use the 060 kernel that comes with the 060 package.
- But with the LC cpu you cannot use the applications/tools that comes in that package. This is why you need to grab those from a different package.

Using this as a base package so that you get a kernel suitable for 68060:
freemint-latest-02060-tt_falcon_clones.zip

Then remove the sys-root folder because you cannot use any of the programs inside with your LC cpu.

So you also get this package:
freemint-latest-000-st_ste.zip

And copy it's sys-root folder into your installation instead so you end up with applications that does not require FPU.


Or some other combination of the above.. As long as you end up with a 060 kernel but 000 applications where applicable.
(I don't know if the xdd etc drivers are also compiled in a way that you need to replace them with 000 version.. I would try just replacing the sys-root folder as a first step)


In general, you will find that you are probably up for quite some experimentation / pain.
There are very few people that have used LC cpus on Atari.


Perhaps in some cases you might not be able to find 000 compiled versions of things at all - or that some 000 build might be unsuitable for 68060 because that build doesn't deal with 060 cache properly etc etc.
In those cases you could use the fpemu program that comes with the raven package. This gives you an emulated FPU.

But I can't stress enough that I would first and foremost try to get a stable 060+000 combined Freemint installation going as recommended above, before you add another potential source of randomness due to the fpu emulator.
There are edge cases where fpemu itself could introduce "random" crashes (the emulated fpu is not multitasking safe)

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 18:18
by medmed
Hi,

May be rebuild Freemint with -msoft-float option will resolve the issue.

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 19:12
by viking272
medmed wrote: 11 Dec 2024 18:18 Hi,

May be rebuild Freemint with -msoft-float option will resolve the issue.
Do these builds exist anywhere?

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 19:48
by mikro
medmed wrote: 11 Dec 2024 18:18 Hi,

May be rebuild Freemint with -msoft-float option will resolve the issue.
It wont:

Code: Select all

[mikro@pc ~]$ m68k-atari-mintelf-gcc -m68020-60 -msoft-float -print-file-name=libc.a
/home/mikro/gnu-tools/m68000/m68k-atari-mintelf/sys-root/usr/lib/m68020-60/libc.a
(assuming that by "freemint" you mean the tools included in the archive, the kernel doesn't use any FP variables)

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 22:24
by medmed
mikro wrote: 11 Dec 2024 19:48
medmed wrote: 11 Dec 2024 18:18 Hi,

May be rebuild Freemint with -msoft-float option will resolve the issue.
It wont:

Code: Select all

[mikro@pc ~]$ m68k-atari-mintelf-gcc -m68020-60 -msoft-float -print-file-name=libc.a
/home/mikro/gnu-tools/m68000/m68k-atari-mintelf/sys-root/usr/lib/m68020-60/libc.a
(assuming that by "freemint" you mean the tools included in the archive, the kernel doesn't use any FP variables)
Yes, so they just need a -m68060 -msoft-float build env with libc & libm? That seems trivial to me. Or may be I'm missing some points.

Re: Raven060 (luciodra build).

Posted: 11 Dec 2024 23:23
by luciodra
agranlund wrote: 11 Dec 2024 17:17
But I can't stress enough that I would first and foremost try to get a stable 060+000 combined Freemint installation going as recommended above, before you add another potential source of randomness due to the fpu emulator.
There are edge cases where fpemu itself could introduce "random" crashes (the emulated fpu is not multitasking safe)
Unfortunately this is what I am experiencing these days. I tried the combinations you suggest but the result is always a stable system, while with only Emutos it works very well.

Re: Raven060 (luciodra build).

Posted: 12 Dec 2024 07:33
by frank.lukas
Try the FreeMiNT 000 package only ...

Re: Raven060 (luciodra build).

Posted: 12 Dec 2024 07:53
by luciodra
frank.lukas wrote: 12 Dec 2024 07:33 Try the FreeMiNT 000 package only ...

I think I'm going to look for an FPU of another 680X0 CPU anyway.