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

2021-01-15 Thread Mack Wallace
Dear Skip, That pushed the ball forward significantly, but I still have issues. (But thank you, every little advancement helps.) So with that flag, I was able to get Richard’s port to boot into Glenda’s account (showing acme, faces, stats, etc). However, I do not seem to have any USB; no mouse;

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

2021-01-15 Thread Mack Wallace
I took that microSD card that has the bootable image without USB and put it into a traditional Pi4. It boots on that without a problem and has mouse and keyboard. I notices that after the additional CPU cores are detected, that is mentions usb/hub… usb/kbd…. The image when booting on the Pi 400

[9fans] now a usb question

2021-01-15 Thread Steve Simon
sorry to keep asking, 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). i have a new compact keyboard from ebay but it is not seen by plan9, and not listed in usb/probe; though it does work with MacOS

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

2021-01-15 Thread Michael Engel
Hi, I didn't test Plan 9 on my RPi 400 so far, but I think the reason for the USB problems is the following: The Raspberry Pi 400 (along with the Compute Module 4 and the 8 GB RAM version of the RPI4) uses a new stepping C0 of the BCM2711. This version does not have a dedicated EEPROM for th

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

2021-01-15 Thread Stuart Morrow
Might as well note here that the USB on the CM4 is the USB-C on the 4B. A found (just now) forum thread confirms that the CM4 actually has an XHCI and just doesn't expose it at all. Nothing on this in the datasheet. -- 9fans: 9fans Permalink: https://9fans

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

2021-01-15 Thread Bakul Shah
Can you netboot Linux followed by netbooting Paln9 and have a working USB? > On Jan 15, 2021, at 1:17 PM, Michael Engel wrote: > > Hi, > > I didn't test Plan 9 on my RPi 400 so far, but I think the reason for the USB > problems > is the following: > > The Raspberry Pi 400 (along with the Com

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

2021-01-15 Thread Michael Engel
I assume loading the firmware via Linux first won't help since a PCIe reset probably also resets the USB controller. However, I just checked Richard's kernel source and it seems the firmware loading functionality is already included, there is a call to xhcireset(BUSBNO(hp->tbdf)<<20 |

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

2021-01-15 Thread Mack Wallace
I did try to boot into Linux and then d a soft reset into Plan9. Still the same thing, no USB. I tried booting from the on-board card slot, and then as I soft rebooted, swapped out the card. As well as booted Raspian off of a microSD adapter and after booting, put the plan 9 card in the on-board

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

2021-01-15 Thread Michael Engel
I built the 9pi4 kernel from Richard's sources and it works on my Pi400 (and Pi4B 8GB) with Richard's SD card image (didn't test 9front). Please feel free to test it, I uploaded the kernel to: https://multicores.org/9/9pi4 (simply copy the file to the FAT partition of the SD card) The md5sum i

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

2021-01-15 Thread Bakul Shah
USB boot is supposed to work on pi400 as well so I thought there would be no need for any firmware loading > On Jan 15, 2021, at 2:52 PM, Michael Engel wrote: > > I assume loading the firmware via Linux first won't help since a PCIe reset > probably also > resets the USB controller. > >

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

2021-01-15 Thread Skip Tavakkolian
Here's the config.txt that I use for my rpi400 (it's on the file server and handed to rpi via tftp): start_file=start4cd.elf fixup_file=fixup4cd.dat cmdline=xxx/cmdline.txt kernel=arm/9pi4 gpu_mem=16 hdmi_group=2 hdmi_mode=82 core_freq=250 enable_gic=1 device_tree= On Fri, Jan 15, 2021 at 10