• 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
GPIO 4.63 KB