GitLab has been upgraded to 13.7.4 If you encounter any issues mail code@riscosopen.org

  1. 14 Nov, 2020 1 commit
    • Ben Avison's avatar
      Support new Pi models · 7f397181
      Ben Avison authored
      * Raspberry Pi 400: verified as booting to desktop.
      * Compute Module 3+: some changes to SD support to make it behave like the
        plain Compute Module 3 (previously it was falling into the model B+ code
        path and setting up GPIO in the expectation that an activity LED was
        attached, which is not a given for a Compute Module). Not tested.
      * Compute Module 4: tentative support added. Not tested. In particular, we
        don't know what the revision numbers will be yet, so the entries in
        `GPIO_Board_Conversion_Table` may not match real hardware.
      * SD subsystem now assumes any future models are similar to the Pi 4 and 400,
        and thus we're more likely that they will "just work" out of the box.
      
      Version 0.92. Tagged as 'HAL_BCM2835-0_92'
      7f397181
  2. 10 Oct, 2020 1 commit
    • Robert Sprowson's avatar
      Update GPIO pullup/pulldown code to support Pi4 · 0a5cd22b
      Robert Sprowson authored
      Detail:
      * Fixes register corruption in GPIOPullDirection.
      * Pre-seeds the soft copies with the values from the datasheet (so no need for a function
        to read them). This should also help other models of Pi which assumed they were all
        disabled when it seems they are not!
      * Reworks the SDIO driver to call through to the GPIO so that its softcopy is kept in
        sync, and so the settings do something on a Pi 4 at all.
      Admin:
        Tested on Pi4 and a Pi 3B+.
      
      Version 0.91. Tagged as 'HAL_BCM2835-0_91'
      0a5cd22b
  3. 01 Aug, 2020 1 commit
    • Robert Sprowson's avatar
      Don't return Pi 4-only GPIO in all enumerations · 227406f6
      Robert Sprowson authored
      The pin list table had the Pi 4-only alternates mixed in, the result of which is that enumerating the pins on something other than Pi 4 would return ghost alternates for peripherals that don't exist.
      Split the pin lists and pick the appropriate one.
      
      Also, add 2 missing board revisions that have sneaked out for 2B/3B.
      227406f6
  4. 22 Jun, 2020 1 commit
    • David Higton's avatar
      [490] Fix for pull up/down settings · 80ee0170
      David Higton authored
      Detail:
        The offset to the pull up/down clock register was computed in v4 but then v2 was used instead.
      
      Version 0.87. Tagged as 'HAL_BCM2835-0_87'
      80ee0170
  5. 30 May, 2020 1 commit
    • David Pitt's avatar
      Update table for 4B revision 1.4 · 75c0e15f
      David Pitt authored
      Detail:
        The 8GB model has a new PCB revision too.
      Admin:
        Submission from David Pitt.
      
      Version 0.85. Tagged as 'HAL_BCM2835-0_85'
      75c0e15f
  6. 14 Mar, 2020 3 commits
  7. 20 May, 2019 1 commit
    • Robert Sprowson's avatar
      Add Compute Module 3+ support · 12a389b2
      Robert Sprowson authored
      GPIO.s,hdr/BCM2835: Table of known ids updated
      SPI.s: Fix long broken compute module support (only the original CM1 would have exported SPI2 due to not checking for the new id scheme).
      Unrelated, SDIO.s: Use CallOS macro.
      
      Thanks to Chris Hall for testing this on a CM3+ 8GB model.
      
      Version 0.79. Tagged as 'HAL_BCM2835-0_79'
      12a389b2
  8. 25 Feb, 2019 1 commit
    • Robert Sprowson's avatar
      Check Board_Model only once · 7c2fe7dc
      Robert Sprowson authored
      Do an upfront check for the model being 0, if that ever changes there's probably something seriously different. Look only at the Board_Revision elsewhere.
      Add the other Compute module to the SPI2 check (though currently the checks don't consider "New" revision words).
      
      Version 0.78. Tagged as 'BCM2835-0_78'
      7c2fe7dc
  9. 01 Dec, 2018 1 commit
    • Robert Sprowson's avatar
      Appease Thor · 9a2c1030
      Robert Sprowson authored
      SDIO.s: a condition code mixup meant that during intense SD card activity the thunder bolt symbol would appear due to poking the non-LED lines on 3B+
      GPIO.s: extend the 'free for use' table to include 3A+ pins, otherwise it read off the end; add an ASSERT to catch this in future
      
      Version 0.77. Tagged as 'BCM2835-0_77'
      9a2c1030
  10. 26 Oct, 2018 1 commit
  11. 21 Mar, 2018 1 commit
    • Robert Sprowson's avatar
      Safe GPIO pins table updates · b0ddf21a
      Robert Sprowson authored
      Add Pi3 B+ and Zero W.
      Split out CM3 from CM1, since the CM3 reuses some high GPIO lines as bit bashed SMPSU IIC bus, so we can't offer those for GPIO like on CM1.
      
      Version 0.75. Tagged as 'BCM2835-0_75'
      b0ddf21a
  12. 27 Jul, 2017 1 commit
  13. 14 May, 2017 1 commit
    • Robert Sprowson's avatar
      Add new scheme ids for A+ and B+ to id table · 2e99b15b
      Robert Sprowson authored
      Apparently there are some A+ 1.1 and B+ 1.2's in the wild not built with their former id's (0x12 and 0x13) but using the newer 24 bit id scheme. Add aliases for these.
      
      Version 0.70. Tagged as 'BCM2835-0_70'
      2e99b15b
  14. 11 Feb, 2017 1 commit
    • ROOL's avatar
      Transition Pi HAL to GPIO API 1.00 · d3f4d7ef
      ROOL authored
      Detail:
        Move the register accesses for GPIO to the HAL, since they are hardware specific.
        Add recognition of board types for Pi 3, Compute module 3, rev 3 Pi 0's, and the newer Pi 2's with BCM2837 on them.
      Admin:
        Based in part on a submission from Tank.
        Tested on a Pi 2. Requires corresponding GPIO module (tag GPIO-1_00-1_11_2_1 or later).
      
      Version 0.67. Tagged as 'BCM2835-0_67'
      d3f4d7ef
  15. 20 Jan, 2017 1 commit
    • Jeffrey Lee's avatar
      Add JTAG debugging support · e626e215
      Jeffrey Lee authored
      Detail:
        hdr/BCM2835 - Add switch to allow GPIOs 22-27 to be reconfigured for ARM JTAG access
        s/Top - Configure GPIOs for JTAG if switch enabled
        s/GPIO - Disable GPIO HAL device if JTAG enabled (try and avoid any software messing with the pins)
      Admin:
        Tested on Raspberry Pi 1 B, B+
      
      
      Version 0.66. Tagged as 'BCM2835-0_66'
      e626e215
  16. 08 Jan, 2016 1 commit
    • Jeffrey Lee's avatar
      Fix build error. Add HAL_PlatformName implementation. · 419bb1d2
      Jeffrey Lee authored
      Detail:
        s/Stubs, s/Top - Remove references to deleted HAL ATA calls
        s/GPIO, s/Top - Add implementation of HAL_PlatformName. Located in s/GPIO to allow easy re-use of the board revision table.
      Admin:
        Tested on Pi 2 Model B
      
      
      Version 0.51. Tagged as 'BCM2835-0_51'
      419bb1d2
  17. 16 Feb, 2015 1 commit
  18. 09 Oct, 2014 1 commit
    • Robert Sprowson's avatar
      Add entry to boardtypes for GPIO for Compute module · de83026a
      Robert Sprowson authored
      There doesn't seem to be a pattern emerging for the allocation of board types, so it's likely that this table will need revisiting again in future as moving the catch all "-1" entry along was identifying a Compute module as a B+.
      Submission from TankStage.
      
      Version 0.37. Tagged as 'BCM2835-0_37'
      de83026a
  19. 14 Jul, 2014 1 commit
    • Ben Avison's avatar
      Support the Raspberry Pi model B+ · 4830dcfe
      Ben Avison authored
      Detail:
        The activity GPIO pin has been reassigned and its sense is inverted,
        compared to earlier boards. More importantly, the SD card detect pin has
        been removed entirely, so we need to signal to the SD stack to use its
        new timeout-based state machine (rather than polling for card presence).
      Admin:
        Already in use in RC12a.
      
      Version 0.35. Tagged as 'BCM2835-0_35'
      4830dcfe
  20. 08 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Read board model, revision, and available DMA channels from messaging channel.... · 59e36802
      Jeffrey Lee authored
      Read board model, revision, and available DMA channels from messaging channel. Report board revision via GPIO HAL device. Recover lost ROM relocation code.
      
      Detail:
        hdr/StaticWS, s/Messaging, s/Top - Now reads board model, revision and available DMA channels from messaging channel
        hdr/StaticWS, s/GPIO - Updated GPIO HAL device to report board revision instead of a generic response of 'unknown'
        s/Top - Recovered ROM relocation code that got lost during a merge. End of ROM image no longer being corrupted, and RISC OS now sees correct amount of RAM.
        s/DMA - Ditch old code to read available DMA channels and use value read by HAL_QueryPlatform instead.
      Admin:
        Tested on Raspberry Pi (B rev 1) with various start.elf sizes & versions
        DMA channel reporting only available with latest firmware (i.e. 8th Sep)
        Board revision number read by messaging channel seems to match that returned by /proc/cpuinfo on Linux
      
      
      Version 0.22. Tagged as 'BCM2835-0_22'
      59e36802
  21. 02 Aug, 2012 1 commit
    • Jeffrey Lee's avatar
      Add GPIO & VCHIQ HAL devices. Fix FlushDataCache macro to perform a clean &... · 3b36df75
      Jeffrey Lee authored
      Add GPIO & VCHIQ HAL devices. Fix FlushDataCache macro to perform a clean & invalidate instead of just an invalidate.
      
      Detail:
        s/GPIO - Basic implementation of the GPIO HAL device to allow the GPIO module to detect the board type
        s/VCHIQ, hdr/StaticWS - New VCHIQ HAL device which exposes the functionality required by the work-in-progress VCHIQ driver.
        Makefile, s/Top - Hook up the new files/devices
        hdr/BCM2835 - Make the FlushDataCache macro perform a clean & invalidate, to match the behaviour of FlushDataCacheRange
      Admin:
        Tested on Raspberry Pi with high processor vectors
      
      
      Version 0.17. Tagged as 'BCM2835-0_17'
      3b36df75