Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Richard Miller
> I built the 9pi4 kernel from Richard's sources and it works on my Pi400 (and > Pi4B 8GB) Thanks Michael, I didn't realise the 9pi image was not up to date. I'll put a new one on 9p.io today. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups

Re: [9fans] now a usb question

2021-01-16 Thread Richard Miller
> a couple of years ago you gave me a technique for stopping part of usb and > then restarting it with debug turned on (done from a usb keyboard). > ls /dev/usb echo noauto kb >/dev/usbdctl # plug in the new keyboard ls /dev/usb # observe the name of the new device /dev/usb/epN.0 which should ha

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Michael Engel
> On 16 Jan 2021, at 11:24, Richard Miller <9f...@hamnavoe.com> wrote: > >> I built the 9pi4 kernel from Richard's sources and it works on my Pi400 (and >> Pi4B 8GB) > > Thanks Michael, I didn't realise the 9pi image was not up to date. I think that's the reason for the USB problems on the Pi

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Skip Tavakkolian
To clarify, I build 9pi locally from the latest version of sources. On Thu, Jan 14, 2021, 5:15 PM Skip Tavakkolian wrote: > I'm using a RPi400 with Richard's port. I'm netbooting without issues and > up for days. The only issue I had was forgetting to set 'enable_gic=1' as > Richard instructed

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Richard Miller
> I didn't realise the 9pi image was not up to date. > I'll put a new one on 9p.io today. I've done that. Sorry for letting it get out of sync with the kernel source. The new contrib/miller/9pi.img.gz has - the latest firmware files from the raspberry pi github - the update to initialise xhci fir

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Skip Tavakkolian
regarding /dev/serial, this should be helpful for anyone wanting to set up netboot. If you have a number of RPI's that netboot, the way that the common config.txt is segmented for each board is by using the '[serial number in hex]' section headers. Unfortunately, netboot also requires changing the

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Bakul Shah
I believe all it takes is the presence of recover.bin file on the dos partition. You still need an updated eeprom image for it to flash the real eeprom with but preparing this image doesn't require any h/w access. Unless things have changed in the last year. > On Jan 16, 2021, at 1:24 PM, Skip Ta

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-16 Thread Skip Tavakkolian
I went down the eeprom rabbithole a bit. To access and manipulate RPI4's eeprom directly, Plan 9 would need to support a device like /dev/vchiq (VideoCore interface) on Linux: https://github.com/raspberrypi/linux/blob/rpi-3.2.27/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c#L334 The