Ticket Hash: | 856225858e960ea24dfa14cb5d19051bc9d417d1 | |||
Title: | Port to FreeBSD | |||
Status: | Verified | Type: | Feature Request | |
Severity: | Minor | Priority: | Low | |
Subsystem: | host integration | Resolution: | Open | |
Last Modified: | 2017-02-03 14:09:56 | |||
Version Found In: | ||||
User Comments: | ||||
tangent added on 2017-01-09 04:46:05:
(text/x-fossil-wiki)
There is a [https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi|FreeBSD for Raspberry Pi] distribution. It might be an even better stylistic match to the PDP-8 emulation we're doing here than Raspbian Lite. I do not suggest moving the binary OS images to it — at least, not without trying it first — but it would be nice to see it run that way. tangent added on 2017-01-09 21:54:54: (text/x-fossil-wiki) Some more thinking on this brings up several things that are likely to need adjustment: * Does <tt>/dev/gpiomem</tt> exist, and does adding the user to group <tt>gpio</tt> give access to it? * Does <tt>setcap</tt> exist, and does our call to it allow the installed program to raise its thread priority? * All the <tt>systemctl</tt> commands will have to be replaced with direct calls to <tt>/opt/pidp8i/etc/rc.pidp8i</tt> * What does it take to integrate the script into the <tt>/etc/rc.conf</tt> or <tt>/usr/local/etc/rc.conf</tt> system so we can say <tt>pidp8i_enable=YES</tt> to get it to boot on startup? |