Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
193 user(s) are online (150 user(s) are browsing Forums)

Members: 1
Guests: 192

NinjaCyborg, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 5 6 7 (8)
Re: x1000 onboard network opensource driver in progress: new version
Site Builder
Site Builder


See User information
@balaton
I guess the right url is https://github.com/kas1e/pa6t_eth

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: x1000 onboard network opensource driver in progress: new version
Just can't stay away
Just can't stay away


See User information
@walkero
I have guessed that but the GPL is clear that if you distribute binaries containing any GPL source you should also include the license text and a way to get the sources of the binary (a link is enough). So if I have such binary and find a problem I can look at the source to debug and fix it even if the original author is gone or can't fix it. If I later distribute such fixed or modified binary I should also pass on the source changes so others can improve it further. That's what open source is about and that's what the GPL is meant to ensure legally turning around the licenses commercial companies are using to take away those freedoms from you. That's why it's called copyleft instead of copyright.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Site Builder
Site Builder


See User information
@balaton
Oh, you are talking that this url is not mentioned anywhere inside the archive, right? Nor the licence. I see. I agree. They should be added.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: x1000 onboard network opensource driver in progress: new version
Just can't stay away
Just can't stay away


See User information
@kas1e
Quote:
That only happens thanks to Derfs's opensource scsi skeleton driver which were srarting point, then big help from Georg and Balaton and others together with all the testers. Without discussing issues with anyone its always less fun ..

And most importantly the Linux driver sources which was even bigger help that you could use thanks to the GPL otherwise these were probably already lost or locked up like the CFE sources which has a less restrictive license that allowed people to make changes without publishing the source. So keep it going making sure the sources won't get lost and others can help you to maintain and improve the driver further by complying to the GPL.

I hope people who sit on firmware sources and AmigaOS parts realise it would be better to make these copyleft and use the help of people who could help improving it instead of just trying to do something using an AI that they hope they could sell for a few bucks. It would not reach anywhere near modern OSes that way and it would just die out with them unless they share what they have. For things that were made using GPL code like U-Boot sources for A-Eon machines or SCSI drivers it's not even a question that they have to publish the source if they distribute binaries.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Home away from home
Home away from home


See User information
@Balaton
I not very much worry about all this, GPL then GPL :) Will add if it will help ppls.


Edited by kas1e on 2026/4/8 15:00:36
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: x1000 onboard network opensource driver in progress: new version
Just can't stay away
Just can't stay away


See User information
@kas1e
If CFE was GPL you now would not have to disassemble it and do a lot of work to fix problems with it. If Linux was not GPL you would have had to write the PA6T driver from scratch without documentation. That's why you should respect GPL and make sure to keep the sources with the binaries to make the life of people easier who come after you and want to improve it further. In the end that may also help you because then you'll also get those fixes and enhancements too thanks to the GPL.
If you write something from scratch it's up to you what you do with it, you can keep it or give it away for free or only give it to those who pay you but if you build on GPL sources you have to respect the decision of people before you who said you can use it for free as long as you also do the same and make the sources available of what you build with the sources. This saves a lot of work for you but you should also do the same for the others in exchange. And that's as easy as always linking to the source and include the license with the binaries.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Quite a regular
Quite a regular


See User information
I just came here to say congrats on getting this to work. I only followed the thread loosely, drivers make my head spin.

This is just like television, only you can see much further.
Go to top
Re: x1000 onboard network opensource driver in progress: new version
Home away from home
Home away from home


See User information
@balaton
Quote:
For things that were made using GPL code like U-Boot sources for A-Eon machines or SCSI drivers it's not even a question that they have to publish the source if they distribute binaries.
Which SCSI driver are you referring to?
The driver for the Classic Amiga/WinUAE CyberStormPPC onboard SCSI controller, cybppc.device.kmod, was implemented by the NetBSD Amiga/m68k maintainer, with a little help from me for the AmigaOS 4.x/PPC specific parts, based on the NetBSD Amiga/m68k driver for it. BSD licence, no GPL.
The PCI NCR/SYM/LSI SCSI driver from sg2, lsi53c8xx.device.kmod, was implemented by him from scratch, without using any BSD nor Linux code.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Just can't stay away
Just can't stay away


See User information
@joerg
Quote:
Which SCSI driver are you referring to?
...
The PCI NCR/SYM/LSI SCSI driver from sg2, lsi53c8xx.device.kmod, was implemented by him from scratch, without using any BSD nor Linux code.

The lsi53c8xx one. No BSD or Linux code but U-Boot which is also GPL. How do I know? QEMU emulates this SCSI controller which I've tried and there are two drivers that don't work with it. U-Boot and this AmigaOS driver and they both seem to poke the same registers the same way. Then looked at Documentation/IDE/lsi53c8xx_dev.doc which says: "If UBoot can see your drives then the driver should too." That's enough proof to me to think U-Boot code was used for it and therefore it should have been open source. BSD allows using it in closed source stuff so that is not a problem to copy code from there but GPL explicitly only allows it to be used in open source projects for a reason to promote open source.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Home away from home
Home away from home


See User information
@balaton
Quote:
The lsi53c8xx one. No BSD or Linux code but U-Boot which is also GPL. How do I know? QEMU emulates this SCSI controller which I've tried and there are two drivers that don't work with it. U-Boot and this AmigaOS driver and they both seem to poke the same registers the same way. Then looked at Documentation/IDE/lsi53c8xx_dev.doc which says: "If UBoot can see your drives then the driver should too." That's enough proof to me to think U-Boot code was used for it and therefore it should have been open source.
It's much more similar, but not based on it either, to https://cvsweb.netbsd.org/bsdweb.cgi/s ... content-type=text%2Fplain incl. a script.ss source and the binary data created from the script.ss source to which a pointer in the SCSI chip is set to, just for the 8xx instead of the 720/770, i.e. very likely a slightly different script code is required.

The U-Boot driver https://git.codelinaro.org/clo/qsdk/os ... ym53c8xx.c?ref_type=heads uses lot's of 32 bit writes in scsi_set_script() instead to create/install it's script code.

If the U-Boot lsi53c8xx driver doesn't work with QEmu's emulation of the NCR/LSI/SYM 53c8xx the Linux(PPC) driver, using an old Linux version from the same time, probably doesn't work either because of
[...]
 * 
partly derived from
 
linux/drivers/scsi/sym53c8xx.c
Did you test that?

If 2 independently developed drivers for the same hardware don't work on QEmu it's more likely a bug in the QEmu emulation than different drivers having the same bugs.

Go to top
Re: x1000 onboard network opensource driver in progress: new version
Just can't stay away
Just can't stay away


See User information
@joerg
AFAIK Linux drivers work but I did not test much as it's probably better to write a virtio-scsi driver for AmigaOS instead than trying to fix this device emulation. I just tested it to see if it worked and it was any better than the IDE emulation that already works.
Quote:
If 2 independently developed drivers for the same hardware don't work on QEmu it's more likely a bug in the QEmu emulation than different drivers having the same bugs.

It's surely something not emulated in QEMU that these drivers hit but the point is that if two drivers hit the same bug while other's don't then it's likely these drivers have similar code.

Go to top

  Register To Post
« 1 ... 5 6 7 (8)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project