Code merged into mainline Minix:
- Drivers for AM335X Peripherals: i2c, rtc, gpio, padconf.
- Power Management Drivers: TPS65217, TPS65950.
- Environmental Sensor Drivers: SHT21, BMP085, TSL2550.
- Miscellaneous Drivers: CAT24C256, TDA19988.
- Features: rebooting, power-off, EDID reading.
- Userland: /dev/i2c and i2cscan (from NetBSD), eepromread.
- Expansion Boards: Weather Cape.
- Cool Demo: weatherstation web app.
- Netbooting Minix on ARM
- The I2C protocol
- I2C Subsystem Internals
- I2C Device Driver Programming
- EDID Reading Internals
- The RTC protocol
- Supporting BeagleBone Capes
- BeagleBone Weather Cape
- Unofficial Minix/arm Test Plan
- Project Videos: Final Summary, Intro Video.
- Demos: PMIC Power-Off, RTC, weatherstation, gpio.
- Misc: gource visualization of commits.
- Reports: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13.
- Minix/arm Tutorials: BeagleBone Black (1,2,3), BeagleBoard-xM, Linaro QEMU, netbooting, file transfer with zmodem, debugging with openocd.
- Misc Tutorials: i2c-tools on Angstrom, FreeBSD on BeagleBone Black.
- Finish porting the frame buffer driver to AM335X.
- Support for the 4D 4.3 LCD CAPE.
- Support for HDMI output.
- pkgsrc for Minix/arm.
- Helping test release candidates.
Hi Thomas! This is awesome stuff. I'm starting learning about MINIX and I'm fascinated with ARM.
ReplyDeleteSo I've got a BeagleBone Black with a 4D 4.3 LCD cape, and I'm interested in taking a stab at adding support for both that and the HDMI output. I've done some similar work for the Raspberry Pi (on the bare metal mind you). Do you have any pointers or notes on where you left off?
In case anyone is interested, here's the non-functional code....
Deletehttps://github.com/tcort/minix-i2c/tree/am335x-fb/drivers/fb/arch/earm
I was first trying to get an LCD cape to work. I ran into issues debugging. I was unsure of some of the clock and pin settings and didn't have a clue about things like horizontal front porch. It was complicated by the fact that I had to modify the test program (I'm not sure my change was correct). I was able to get the display to turn on, but it was all black except for the corner pixel. There were so many places the problem could be and it would have been very time-consuming for me, as a graphics driver novice, to track everything down.
FreeBSD has a working driver, so it may be useful to use that as a starting point.
Ah Indeed. And here is a (recent) patch for the BBB and the 4D cape. I'll give it a try.
ReplyDeleteBy the way: running the release script is painful. What's the fastest way to iterate on the fb device driver?
http://kernelnomicon.org/?cat=4
Delete