hoglet67 / PiTubeDirect

Bare-metal Raspberry Pi project that attaches to the Acorn TUBE interface and emulates many BBC Micro Co Processors
GNU General Public License v3.0
187 stars 23 forks source link

Indigo release incompatible with certain Pi 1 models #211

Closed hoglet67 closed 2 months ago

hoglet67 commented 3 months ago

This was picked up by JGH and just replicated by myself.

The Indigo release doesn't work properly on certain Pi 1 models.

Here's a list of all known Pi 1 Models: Screenshot from 2024-05-26 12-01-59

It works correctly on Revision 0002 (the original Pi B 1.0 256KB model)

Ir doesn't work correctly on Revision 000F (the {Pi B 2.0 512KB model)

I think the Pi B 2.0 has a slightly different GPIO pin assignment, see: https://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/

Here are some boot logs: board_2.txt board_f.txt

Looking at the DEBUG_GPU stuff at the start, R3 is the same in both cases, and it shouldn't be.

I think this commit broke things: b487abbb

I'm going to attempt to fix this now.

hoglet67 commented 3 months ago

That commit also broke the activity LED on the Pi 1 models.

It relies on the firmware inserting the bcm2709.disk_led_gpio property into the command line properties.

That doesn't seem to work on the Pi 1 Models I have.

      BOARD_REVISION : 00000002
            CMD_LINE : bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbdepth=16 dma.dmachans=0x7ff5 bcm2708.boardrev=0x2 bcm2708.serial=0xb27317b4 bcm2708.uart_clock=48000000 smsc95xx.macaddr=B8:27:EB:73:17:B4 vc_mem.mem_base=0xfa00000 vc_mem.mem_size=0x10000000  copro=24 copro1_speed=3 copro3_speed=4 tube_delay=0 elk_mode=0 vdu=1
      BOARD_REVISION : 0000000f
            CMD_LINE : bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbdepth=16 dma.dmachans=0x7ff5 bcm2708.boardrev=0xf bcm2708.serial=0x669b0030 bcm2708.uart_clock=48000000 smsc95xx.macaddr=B8:27:EB:9B:00:30 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  copro=24 copro1_speed=3 copro3_speed=4 tube_delay=0 elk_mode=0 vdu=1

Not sure if this is a regression with the newer RPI firmware blob we are using, or whether this has never worked.

l've fixed this as well.

hoglet67 commented 3 months ago

Dominic, do you recall which original Pi models were not working, that b487abb fixed? I want to make sure I haven't caused any further regressions.

dp111 commented 3 months ago

I don't recall. I'm afraid. Sorry about the regression.

Dominic

On Sun, 26 May 2024, 13:24 David Banks, @.***> wrote:

Dominic, do you recall which original Pi models were not working, that b487abb https://github.com/hoglet67/PiTubeDirect/commit/b487abbb30f2a08bf596551e9fbae23ab62b21e1 fixed? I want to make sure I haven't caused any further regressions.

— Reply to this email directly, view it on GitHub https://github.com/hoglet67/PiTubeDirect/issues/211#issuecomment-2132201094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVVFITTYOIT4SE5LH6M2R3ZEHIAHAVCNFSM6AAAAABIJWY6CGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGIYDCMBZGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>