Re: Porting to my custom 030 board
Lawrence Manning <[email protected]> Tue, 25 Feb 2025 10:49:52 +0000
| Newsgroups | gmane.os.netbsd.ports.m68k |
|---|---|
| Message-ID | <CAOO0NhvB0jCGYGAkmNPdRd0ZOC5jZm5iDrE33iBULgminkbypQ@mail.gmail.com> |
Well, looking into it a bit more I've come to the conclusion that it's a much larger task, I would estimate at least five times larger, then porting Linux to that board was. Perhaps I'm too into the Linux way of doing things, I don't know. I know it's a simple view but on a LoC front the changes for a basic port was not more than 1000 lines, perhaps half that. I can't see a port (VM setup, interrupts, UARTs, IDE, I2C, PS/2, framebuffer?) to that board taking less than 10,000 lines. Much could probably be a cut and paste job, but it's not clear which one to start with. The amount of repetition across sys/arch generally is surprising and disapointing. Likewise the lack of a clear hierarchy from processor architecture down to board or "computer type" is also surprising. I'm sure it's all done for logical reasons, but the barrier is surprisingly high, for me. Thanks all for your doc links. I may come back to this, but for now I will be getting on with other projects. Lawrence On Tue, Feb 25, 2025 at 10:30 AM Zachary Rowitsch <[email protected]> wrote: > > Definitely on-list! I’ve got an 030 board on the shelf here that I’ve been planning on trying to get NetBSD running on at some point…someday I’ll get back to it :-) > > On Feb 18, 2025, at 2:19 AM, Romain Dolbeau <[email protected]> wrote: > > On-list when possible would be better I think, as it might help have > some additional "documentation" for the process. And there's quite a > few 68k-based designs out there that might be interested by NetBSD. > Thanks :-) > >