Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Porting to my custom 030 board



Hi,

My board: github.com/aslak3/maxi030

I have a fairly workable Linux port forthis board. Things like an I2C master for the RTC, a PS/2 “wrapper” for the mouse/keyboard port, and even a very crude framebuffer driver for my Cyclone 2 based graphics card. This was surprisingly easy for a relative novice at Linux kernel hacking, only taking me a couple of weeks of evenings. Much more could be done, both for the current state of the FPGA glue logic, and by extending the glue further with a DMAC etc. The FPGA hardware also needs improvement to increase the speed of the machine as well, for instance the memory controller does not leverage burst mode loads.  

I’m a Linux user for nearly 30 years, have done my share of kernel builds and built and maintained my own distro from sources etc. But I’d love now, being kinda bored to death of Linux and frustrated by the performance regression introduced with the POSIX thread switch * to look at a NetBSD port. 

I wouldn’t know where to begin. Are there any reasonably detailed guides for board level porting? I’m particularly looking for what abstractions the kernel provides for common hardware mechanics, like IDE/PATA, I2C and PS/2 interfaces. My searches, which I admit have not (yet) been extensive, haven’t really turned up much useful.

One particular area of interest is the structure of the X server and whether it can (without a complete rewrite) leverage bitblit hardware on top of a basic framebuffer. This is possible in Linux kernel console land but frustratingly the fb X server can’t leverage it. I recon I could get a passable GUI experience out of such a setup. 

Basically an honest assessment on the amount of work needed, let’s say to get a NetBSD up on a UART with IDE working, would be great. 

Lawrence

https://news.ycombinator.com/item?id=30007986


Home | Main Index | Thread Index | Old Index