Just to close this out: it lives:
rminnich@t510:~/tamago/t9$ sudo mount -o version=9p2000 -t 9p 10.0.0.1 /mnt
rminnich@t510:~/tamago/t9$ ls -l /mnt
total 29
dr-xr-xr-x 1 4294967294 4294967294 1918 Jan 1 1970 dev
drwx------ 1 4294967294 4294967294 822 Jan 1 1970 dir
-rw------- 1 4294967294 4294967294 286 Jan 1 1970 index.html
-rw------- 1 4294967294 4294967294 24710 Jan 1 1970 tamago.log
drwxrwxrwx 1 4294967294 4294967294 548 Jan 1 1970 tmp
rminnich@t510:~/tamago/t9$
The bits and pieces:
Board:
https://www.digikey.com/catalog/en/partgroup/i-mx-6ull-evaluation-kit/64900?utm_adgroup=xGeneral&utm_source=google&utm_medium=cpc&utm_campaign=Dynamic%20Search_EN_Product&utm_term=&utm_content=xGeneral&gclid=CjwKCAjwwqaGBhBKEiwAMk-FtFt6x7bKIeIZZnLyNvo9NbpWVBYy6GpI34q39FHVUMW3jO__XuS_7hoCi98QAvD_BwE
OTG cable used for the 10.x network.
building the image with my fork of tamago-example, which uses
gobusybox: (
github.com/u-root/gobusybox)
harvey ninep:
https://github.com/harvey-os/ninep # a long-ago fork of
lionkov/mirtchovski ninep with major surgery. Supporting harvey for 6
years now.
bits and pieces of gvisor (
gvisor.dev/gvisor/pkg/tcpip)
current only issue is that linux 9p has diverged a bit from standard
and ninep will have to deal with that.
I think the f-secure work is well worth upstreaming, and hope there is
some way I can help. We might of course run Linux on this board, and
then run all this code on it, as suggested, but consider this: the Go
toolchain and this code create binaries with a certain defect density,
Adding the 100x larger code base of Linux is not going to make things
better. In other words, throwing millions of lines of C code at the
problem, to add capabilities we don't need, is not guaranteed to make
things better. We might use Linux as it would provide, e.g., an IP
stack, but we already have one in tamago. These ARM systems are so
simple I'm not sure I want a kernel, if I can run with this bare metal
model. There's a very real question here as to whether Linux would
make this system less, rather than more, reliable, just on the
statistics.
Of course f-secure has done far more than what I'm discussing here:
They've got a full TEE (Trusted Execution Environment) and that is
something I've only started to understand.
Go already runs in a sort-of baremetal environment today: that's what
gvisor is, fundamentally: a kernel running in x86 guest ring 0. So all
we're really asking is to add another type of bare metal environment.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-dev/9576efc3-ef58-4c1c-9f2a-28b9649b55cfn%40googlegroups.com.