Raspberry Pi 400
David Pitt (3386) 1248 posts |
|
Jay (408) 34 posts |
Thought so, but I can’t type when it hangs? |
Chris Mahoney (1684) 2165 posts |
Do you have another Pi? You could put the card in there, unplug SDIODriver then transplant the card back into the 400. That’s assuming that the CMOS settings get saved with SDIODriver unplugged! Edit: Of course it’s using USB so there’s no card involved! |
David Pitt (3386) 1248 posts |
I did it on another Pi. Set the unplug then save or copy the CMOS file to the Pi 400 pen. Then rmreinit SDIODriver on the other Pi. |
David Pitt (3386) 1248 posts |
Applying the required unplugging of the SDIODriver module which stalls as the RPi400 starts is a fiddly business.
It is configured as below. *unplug The RPi400 should startup and the boot arrangements can be ammended as required. I am using a two USB pen solution, one is Fat32FS with the firmware etc. and the other SCSI with RISC OS. By default CMOS is only saved to the SD card. To save it to a pen use a |
Jay (408) 34 posts |
Yeah definitely a bit fiddly. I got it booted though as I used my old Pi 3 and unplugged the module, just problems with !Boot. Think I will wait until the team manage to make a version for the 400, shouldn’t be too long though as it’s semi working. |
Chris Evans (457) 1614 posts |
Does anyone at ROOL know of the SDIODriver problem? |
David Pitt (3386) 1248 posts |
I can’t help feeling I should have thought of this earlier. I have just tried a normal, partitioned, Pi SD card in a single slot USB reader in the RPi400 and it just worked, subject to SDIODriver being unplugged. |
David Pitt (3386) 1248 posts |
I have Pi ROM updates to add a Platform name for the RPi400. --- ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.hdr.BCM2835_00 2020-11-05 14:27:58.0 +0000 +++ ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.hdr.BCM2835 2020-11-05 14:27:58.0 +0000 @@ -364,2 +364,3 @@ BoardRevision_Model_B4 * 17 :SHL: BoardRevision_Model_Shift +BoardRevision_Model_B400 * 19 :SHL: BoardRevision_Model_Shift BoardRevision_Rev_Shift * 0 --- ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.s.GPIO_00 2020-11-05 14:28:38.0 +0000 +++ ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.s.GPIO 2020-11-05 14:28:38.0 +0000 @@ -218,2 +218,3 @@ GPIORevision_RaspberryPi_Mk4_B # 1 ; Model Pi 4 B +GPIORevision_RaspberryPi_Mk400 # 1 ; Model Pi 400 GPIORevision_RaspberryPi_Max # 0 @@ -235,2 +236,3 @@ Name_B_4 = "Raspberry Pi 4 Model B", 0 +Name_B_400 = "Raspberry Pi 400", 0 Name_Unknown = "Raspberry Pi Unknown", 0 @@ -254,2 +256,3 @@ DCD Name_B_4 + DCD Name_B_400 ASSERT (.-GPIO_Board_Names_Table) :SHR: 2 = GPIORevision_RaspberryPi_Max @@ -333,2 +336,4 @@ DCD GPIORevision_RaspberryPi_Mk4_B + DCD BoardRevision_Mem_4G+BoardRevision_Model_B400+(0:SHL:BoardRevision_Rev_Shift) + DCD GPIORevision_RaspberryPi_Mk400 DCD &FF @@ -963,2 +968,4 @@ DCD 2_00000000000000000000000000000000 + DCD 2_00001111111111111111111111111111 ; 400 + DCD 2_00000000000000000000000000000000 ASSERT (.-GPIOFreeToUse) :SHR: 3 = GPIORevision_RaspberryPi_Max |
Chris Hall (132) 3559 posts |
I have generated an updated rom (update 13) which works on the Pi 400. It is simply today’s rom source with the change to make Help2 work (which is on its way to being merged but not quite there yet) and a rather crude fudge to produce a rom that works on the Pi400 (but not on the Pi 4) by substituting the Pi 400 revision code (19) for the Pi4 revision code (17): Changing line 364 in In the update is also the 5.28 rom which works on the Pi 4. I have also updated the benchmarks to include Pi 400. |
Ben Avison (25) 445 posts |
Yeah, there’s bit in s.SDIO which identifies new boards on a whitelist basis. Arguably not the best way to do things, since most of the time, a new board is similar or identical in operation to the previous generation. With that fixed, the board boots correctly. I’ll create a merge request on GitLab for it. |
Chris Hall (132) 3559 posts |
I have Pi ROM updates to add a Platform name for the RPi400. You also need a change to SDIO where it tests for a Pi 4 and looks for BoardRevision_Model_B4 but not yet for BoardRevision_Model_B400 You may as well add in the Compute Module 4 which has a single bank of GPIOs GPIO 0 to GPIO 27. Note that the RaspberryPi CM3+ had 54 GPIOs with 3 seprate voltage banks. In RaspberryPi CM4 there is only one GPIO bank with 28 GPIOs available. The other GPIOs were removed as they are used for the onboard WiFi/Bluetooth and Ethernet (according to this post). |
David Pitt (3386) 1248 posts |
Brilliant. I added a bit. The ROM works on the RPi4 and RPi400. --- ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.s.SDIO_00 2020-11-05 17:41:15.0 +0000 +++ ADFS::ROOL.$.ROOL.RPi400.BCM2835.RiscOS.Sources.HAL.HAL_BCM2835.s.SDIO 2020-11-05 17:41:15.0 +0000 @@ -472,2 +472,6 @@ STREQ a1, SDHCIDevice + HALDevice_Activate + TEQ a3, #BoardRevision_Model_B400 + ADREQ a1, Activate_B4 + STREQ a1, SDHCIDevice + HALDevice_Activate + Thanks all. The RPi400 is booting from an SD card in the SD socket and no unplugs. |
Chris Gransden (337) 1207 posts |
Running stable so far at 2.35GHz.
|
Gavin Smith (1413) 95 posts |
I thought 2.2Ghz was the maximum? Incredible to have this performance on a £65 all-in-one RISC OS-compatible computer. |
Paolo Fabio Zaino (28) 1882 posts |
Very exciting indeed… still waiting for mine to arrive though… :( |
Chris Gransden (337) 1207 posts |
It does start up at 2.4GHz but starts getting random lockups. |
John Rickman (71) 646 posts |
Very exciting indeed… still waiting for mine to arrive though… :( Me too – ordered on 2nd, email to say shipped (first class Royal Mail) on the 4th but no sign of it yet. |
Gaukur (2073) 8 posts |
Mine arrived today, I order it on Wednesday from Pimoroni Ltd, the delivery time was 49 hours to my door. (Not bad because I’m located in Iceland) |
Jay (408) 34 posts |
Working fine here with that ROM you posted on your site Chris, so thanks. Definitely been the best experience I have had using RISC OS on the Pi, I have overclocked to 2.2ghz and it’s fast. Looking forward to a more fully featured web browser though but NetSurf does the job (somewhat) |
Steve Pampling (1551) 8172 posts |
Maybe the delivery vehicle has a Ferrari engine? When it does the latest ROM release will no doubt “just work” |
Paolo Fabio Zaino (28) 1882 posts |
That would help but who’s going to pay for the delivery costs???? :D
It’s finally arrived!!!!! :D
Then less fun for me, but still cool, tons of other stuff to try out! obviously I’ll fire it up as soon as I stop working today, not going to wait till tomorrow! |
Bryan Hogan (339) 593 posts |
Are ROOL going to be pragmatic and do an updated 5.28 stable release ASAP that also works on the Pi400? Otherwise we will be answering questions from confused newcomers wondering why it doesn’t boot for the next two years until 5.30 comes out :-( |
David Pitt (3386) 1248 posts |
ROM builds are still broken and significantly updates for the RPi400 are in git but not yet merged. An OS5.29 ROM build for all Pi’s is here, it has Ben’s updates. It is running here on both the RPi4 and RPi400. The zip also contains the required firmware. |
Steve Pampling (1551) 8172 posts |
A sort of early Xmas present. Have fun. Lots of new coding. |