Hi Takeshi, I saw you were struggling with getting the right peripherals detected by Linux.
To do that cleanly, I have added a "capabilities" register to the system. Register 0x38 from sysctl is now a bitmask that tells you what is inside the currently loaded bitstream. The value of the register is automatically derived from setup.v during synthesis. Bits are defined here: http://github.com/lekernel/milkymist/blob/master/software/include/hw/capabilities.h Please use this for probing peripherals in Linux. I also think the "board" kernel configuration option should be removed, better probe it at runtime using the ID register from sysctl (0x3c). Sébastien _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkym...@freenode Webchat: www.milkymist.org/irc.html Wiki: www.milkymist.org/wiki
