1. 25 Mar, 2016 1 commit
    • Jeffrey Lee's avatar
      New HAL device ID reservations · ff04e525
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Reserve device IDs for BCM283x CPU clock device and GPU mailbox device
      Admin:
        Tested on Raspberry Pi 1B/2B/3B
      
      
      Version 5.35, 4.79.2.310. Tagged as 'Kernel-5_35-4_79_2_310'
      ff04e525
  2. 05 Jan, 2016 1 commit
    • Robert Sprowson's avatar
      Add OS_ReadSysInfo 9,6 and 9,7 · ea837302
      Robert Sprowson authored
      Subreason 7 returns a string naming the HAL platform. Use HAL entry 97 to get this, and obsolete 97/98/99 in favour of using a HAL device. Line up the HAL video entries to match the others.
      Subreason 6 is just back filling one ROL added, testing this on RISC OS Select just returned the OS name so we do the same now (same as subreason 0, not sure what ROL's distinction was for).
      Allocate a HAL device for PATA IDE controllers, and the 2 known ones to date - Tungsten and IOMD systems.
      
      Version 5.35, 4.79.2.301. Tagged as 'Kernel-5_35-4_79_2_301'
      ea837302
  3. 01 Dec, 2015 1 commit
    • Jeffrey Lee's avatar
      Allocate some extra HAL device IDs · 4639dcc3
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Allocate device IDs for iMX6 HDMI audio controller, and a generic software mixer
      Admin:
        Tested in iMX6 ROM build
      
      
      Version 5.35, 4.79.2.300. Tagged as 'Kernel-5_35-4_79_2_300'
      4639dcc3
  4. 14 Nov, 2015 1 commit
    • Jeffrey Lee's avatar
      Fix overriding of default CMOS settings. Reserve HAL device ID for the... · 5a0a4b96
      Jeffrey Lee authored
      Fix overriding of default CMOS settings. Reserve HAL device ID for the official Raspberry Pi touchscreen/display.
      
      Detail:
        s/PMF/i2cutils - Move $CMOS_Override to the start of DefaultCMOSTable, so that it can be used to override values which are already in the table (since NVMemory_ResetValue stops its search on the first address match)
        hdr/HALDevice - Add new Touchscreen device type and reserve an ID for the official Pi touchscreen controller
      Admin:
        Tested on Raspberry Pi
        Fixes filesystem incorrectly defaulting to ADFS
      
      
      Version 5.35, 4.79.2.299. Tagged as 'Kernel-5_35-4_79_2_299'
      5a0a4b96
  5. 07 Nov, 2015 1 commit
    • ROOL's avatar
      Raise some workspace limits, define extra devices · f50a7d61
      ROOL authored
      Detail:
        Raise the maximum number of interrupts and IIC buses acceptable, to account for the OMAP5 port.
        Add TLV320/TLV320/SDMA/SDMA/AM572x/GC320/CPSW/SynopsisDWC for Titanium.
        Add OMAP5/OMAP5/OMAP5/TWL6037/OMAP5/OMAP5/SynopsisDWC for OMAP5.
      Admin:
        There's likely some rationalisation to be had here, these controllers especially across the OMAP3/4/5 are probably the same thing really and don't merit individual allocations.
      
      Version 5.35, 4.79.2.297. Tagged as 'Kernel-5_35-4_79_2_297'
      f50a7d61
  6. 10 Aug, 2015 1 commit
  7. 26 Jul, 2015 1 commit
    • Jeffrey Lee's avatar
      Add HAL device numbers for Raspberry Pi SPI controllers · fc4cbde0
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Add a new device type for SPI controllers, and allocate two device numbers for use on the Pi (to differentiate between the main and aux controllers)
      Admin:
        Tested on Raspberry Pi B & 2 B
      
      
      Version 5.35, 4.79.2.272. Tagged as 'Kernel-5_35-4_79_2_272'
      fc4cbde0
  8. 11 Jan, 2015 1 commit
    • Jeffrey Lee's avatar
      Add ARMops for PL310 L2 cache controller · 6eb6ee2a
      Jeffrey Lee authored
      Detail:
        Unlike on the Cortex-A8 or Cortex-A15, the L2 cache that's used with the Cortex-A9 isn't hooked up to the standard ARMv7 CP15 cache maintenance ops. Instead, memory-mapped registers must be used to program and maintain the cache.
        Since the PL310 can't be detected automatically, this change adds support for a 'cache controller' HAL device which the HAL can use to advertise the presence of any external caches. If a cache device is registered during HAL_InitDevices the kernel will then check it against a list of known cache types and replace the appropriate ARMop routines with the alternatives for that controller.
        File changes:
        - hdr/PL310 - New header containing PL310 register listing
        - Makefile - Add export for PL310 header. Reorder exports to be alphabetical
        - hdr/HALDevice - Add cache controller device type, PL310 device
        - hdr/KernelWS - Allocate some workspace for storing a pointer to the current cache HAL device
        - s/ARMops - Add code for searching for known cache types, and implementation of PL310-specific ARMops
        - s/GetAll - Get Hdr:PL310
        - s/NewReset - Look for a cache controller after calling HAL_InitDevices
      Admin:
        Tested on Pandaboard
        Fixes various assorted instability issues
      
      
      Version 5.35, 4.79.2.252. Tagged as 'Kernel-5_35-4_79_2_252'
      6eb6ee2a
  9. 06 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Untangle some buses · aaddca77
      Robert Sprowson authored
      Docs/HAL/NewAPI:
       More clearly describe the intent of the different bus types.
      hdr/HALDevice
       Reclassify the OMAP interconnect as either a system bus or peripheral bus, noting their names from the datasheet.
       Reclassify the GPMC as an expansion bus.
       Add AMBA 3's AXI bus, which (along with the existing AHB/APB) is what iMx6 uses. Delete redundant iMx6 interconnect type.
      
      Version 5.35, 4.79.2.249. Tagged as 'Kernel-5_35-4_79_2_249'
      aaddca77
  10. 18 Oct, 2014 1 commit
    • Jeffrey Lee's avatar
      Update HAL device ID allocations · c95a9fff
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Added some extra HAL device IDs
      Admin:
        Tested by building BCM2835 ROM
      
      
      Version 5.35, 4.79.2.241. Tagged as 'Kernel-5_35-4_79_2_241'
      c95a9fff
  11. 08 Oct, 2014 1 commit
    • Robert Sprowson's avatar
      Header defs for Pi Compute module and IIC · fe5436ee
      Robert Sprowson authored
      OSEntries.h: added a C structure for RISCOS_IICOpV.
      GPIODevice.hdr: allocate Pandora and Pi Compute module sub device nos.
      HALDevice.hdr/Options.hdr: tabs expanded, capitalised abbreviations.
      Not tagged.
      fe5436ee
  12. 31 Jul, 2014 1 commit
  13. 26 Jul, 2014 1 commit
  14. 07 Apr, 2014 1 commit
  15. 27 Oct, 2013 1 commit
    • Robert Sprowson's avatar
      Fixes to NeedsYearHelp clock case · f36c5ed3
      Robert Sprowson authored
      Want LSR not ROR otherwise in the need help + HAL + 2 bit case the IIC address in R1 comes out as &800000A1.
      Added HAL device ids for a couple more RTC devices.
      
      Version 5.35, 4.79.2.199. Tagged as 'Kernel-5_35-4_79_2_199'
      f36c5ed3
  16. 12 Jul, 2013 1 commit
  17. 21 Nov, 2012 1 commit
    • Jeffrey Lee's avatar
      Add new BMU HAL device type & IDs · 80d476ae
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Added HALDeviceSysPeri_BMU device type and some device IDs for the BMUs in the Pandora & TouchBook
      Admin:
        Tested in OMAP3 ROM build
      
      
      Version 5.35, 4.79.2.177. Tagged as 'Kernel-5_35-4_79_2_177'
      80d476ae
  18. 28 Oct, 2012 3 commits
  19. 30 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Initialise IIC earlier in the startup sequence. Add ID for Pandora audio HAL device · e36a0e28
      Jeffrey Lee authored
      Detail:
        s/HAL, s/NewReset - Moved IIC initialisation to just after timer initialisation, and crucially, before keyboard scan initialisation. This makes things a lot easier for the HAL if it wants to use IIC during the keyboard scan (previously IIC would be enabled inbetween HAL_KbdScanSetup and the first call to HAL_KbdScan)
        hdr/HALDevice - Added a device ID for the Pandora audio controller
      Admin:
        Tested on Pandora
      
      
      Version 5.35, 4.79.2.168. Tagged as 'Kernel-5_35-4_79_2_168'
      e36a0e28
  20. 21 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Add new HID device type & ID for Pandora keyboard · 3ea05a2f
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Added new HID device type, Keyboard sub-type, and Pandora keyboard device ID
      Admin:
        Tested on Pandora, rev C2 BB, rev A2 BB-xM, rev C1 TouchBook
      
      
      Version 5.35, 4.79.2.166. Tagged as 'Kernel-5_35-4_79_2_166'
      3ea05a2f
  21. 18 Sep, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix addresses sent to GraphicsV_SetDMAAddress when external framestore in use.... · 5c0a0186
      Jeffrey Lee authored
      Fix addresses sent to GraphicsV_SetDMAAddress when external framestore in use. Add ID for BCM2835 VDU HAL device.
      
      Detail:
        hdr/KernelWS, s/vdu/vdudriver, s/vdu/vduwrch - Fixed wrong addresses being sent to GraphicsV_SetDMAAddress when an external framestore is in use. Previously VideoPhysAddr was being treated as if it was the base of screen memory, but that's only the case if an internal framestore is in use. Since VideoPhysAddr is part of PhysRamTable it's not possible to change it to point to an external framestore, so a new workspace variable, TrueVideoPhysAddr, is used instead.
        hdr/HALDevice - Added device ID for BCM2835 VDU device
        s/PMF/IIC - Corrected an incorrect comment in IICDoOp
      Admin:
        Tested on Raspberry Pi with high processor vectors
      
      
      Version 5.35, 4.79.2.147.2.22. Tagged as 'Kernel-5_35-4_79_2_147_2_22'
      5c0a0186
  22. 20 Aug, 2012 1 commit
  23. 14 Aug, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix crash in OS_Hardware 4 when encountering devices which are newer than the... · ea14a968
      Jeffrey Lee authored
      Fix crash in OS_Hardware 4 when encountering devices which are newer than the caller supports. Add new device IDs for Raspberry Pi audio devices.
      
      Detail:
        s/HAL - Fixed crash in OS_Hardware 4 when encountering devices which are newer than the caller supports
        hdr/HALDevice - Added new HAL devices for Raspberry Pi audio devices
      Admin:
        Tested on Raspberry Pi with high processor vectors
      
      
      Version 5.35, 4.79.2.147.2.17. Tagged as 'Kernel-5_35-4_79_2_147_2_17'
      ea14a968
  24. 02 Aug, 2012 1 commit
    • Jeffrey Lee's avatar
      Add new HAL device IDs for Raspberry Pi GPIO interface & VCHIQ · a58268ed
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Add new inter-processor communications device type. Add device IDs for Pi/BCM2835 GPIO interface & VCHIQ
        hdr/GPIODevice - Add Raspberry Pi GPIO type & interface revision (currently 'unknown')
      Admin:
        Tested in Raspberry Pi ROM with high processor vectors
        New IDs required for BCM2835-0_17
      
      
      Version 5.35, 4.79.2.147.2.16. Tagged as 'Kernel-5_35-4_79_2_147_2_16'
      a58268ed
  25. 20 Jul, 2012 1 commit
  26. 07 Jul, 2012 1 commit
  27. 18 Jun, 2012 1 commit
    • Robert Sprowson's avatar
      Make OS_Memory 8 return more correct values · b6cfcbdf
      Robert Sprowson authored
      The only fake result now is the hard ROM amount, which is hardwired to 4MB and might not be correct.
      Unrelated changes
       hdr.HALDevice: Assign a device for VIDC20.
       hdr.KernelWS: Reorder into ascending order, remove legacy addresses.
       s.ARM600: Move PhysSpaceSize inside :LNOT:HAL switch.
       s.Kernel: Move PhysSpaceSize inside :LNOT:HAL switch.
      
      Version 5.35, 4.79.2.153. Tagged as 'Kernel-5_35-4_79_2_153'
      b6cfcbdf
  28. 08 Apr, 2012 1 commit
  29. 25 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Add compressed ROM support. Make more use of ARMv5+ instructions. Other misc tweaks. · 538f3c24
      Jeffrey Lee authored
      Detail:
        hdr/OSEntries, s/HAL, s/Kernel - Add compressed ROM support.
        With the current scheme, a compressed ROM will have everything except the HAL and kernel compressed.
        During the keyboard scan period the kernel will allocate some temporary decompression workspace and call the decompression stub that was appended to the ROM.
        The decompression stub is expected to perform in-place decompression of the ROM. Once decompression is complete the workspace will be freed and the page tables updated to make the ROM image readonly.
        It's the HAL's responsibility to make sure any compressed ROM is located in an area of physically contiguous RAM large enough to hold the uncompressed image.
        More info here: http://www.riscosopen.org/wiki/documentation/show/Compressed%20ROMs
        Makefile, h/OSEntries - Add C export of hdr/OSEntries
        hdr/HALDevice - Add device ID for Tungsten video device. Convert tabs to spaces for consistency.
        hdr/HALEntries, s/NewReset - Moved KbdFlag_* definitions to hdr/HALEntries so HALs can use them in their keyboard scan code
        s/ArthurSWIs, S/HAL, s/HeapSort, s/Kernel, s/MemInfo, s/Middle, s/NewIRQs, s/TickEvents, s/vdu/vdugrafb - Make use of BLX, BFI and long multiplies if the CPU supports them. Don't support SWI calls from thumb mode if the CPU doesn't support thumb.
        s/HAL - Made the LDMIA in Init_MapInRAM more sensible (register order was backwards). The old code did work, but wasn't doing what the comments described. Removed unused/unfinished HAL_Write0 function. Improve RISCOS_LogToPhys to check L1PT for any section mappings if the logical_to_physical call fails
        s/ModHand - Save one instruction by using ADR instead of MOV+ADD to compute lr
        s/NewReset, s/PMF/key - Pass L1PT to HAL_Reset to allow machines without hardware reset (e.g. IOMD) to perform resets by manually disabling the MMU and restarting the ROM
        s/vdu/vdudriver, s/vdu/vdugrafv - Use GVEntry macro borrowed from NVidia module for setting up the GraphicsV jump table. Make GraphicsV_ReadPaletteEntry call HAL_Video_ReadPaletteEntry if left unclaimed. Fixup GV_Render to only call HAL_Video_Render if the HAL call is implemented.
      Admin:
        Tested with OMAP3, IOMD & Tungsten ROMs/softloads.
      
      
      Version 5.35, 4.79.2.138. Tagged as 'Kernel-5_35-4_79_2_138'
      538f3c24
  30. 13 Nov, 2011 2 commits
  31. 12 Sep, 2011 1 commit
    • Ben Avison's avatar
      Kernel updates to support Cortex-A9 CPUs · 0ff2f2dd
      Ben Avison authored
      Detail:
        hdr.ARMops
          added Cortex_A9
        hdr.HALDevice
          added OMAP4 specific device IDs
        hdr.KernelWS
          changed definition of DefIRQ1Vspace for M_CortexA9
        s.ARMops
          added CortexA9 specific code for enabling L2 cache
          added CPUDesc Cortex_A9
        s.NewIRQs
          added CortexA9 specific definition of MaxInterrupts
        s.NewReset
          added M_CortexA9 options
          line 1444: corrected typo
          line 187: commented out unnecessary operation
      Admin:
        Submission from Willi Theiß
      
      Version 5.35, 4.79.2.98.2.50. Tagged as 'Kernel-5_35-4_79_2_98_2_50'
      0ff2f2dd
  32. 01 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Keep hdr/HALDevice & hdr/HALEntries in sync with Cortex branch · afae51e2
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Device types & IDs for CPU clock generator and GPIO interface
        hdr/HALEntries - HAL_ExtMachineID entry (but not used by this kernel yet)
      Admin:
        Tungsten ROM built OK, but untested at runtime.
      
      
      Version 5.35, 4.79.2.116. Tagged as 'Kernel-5_35-4_79_2_116'
      afae51e2
  33. 31 Jul, 2011 1 commit
    • Jeffrey Lee's avatar
      Add new GPIO device type & OMAP3 GPIO device ID · e14282c7
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Added GPIO device type in the Comms group, and an ID for a generic OMAP3 GPIO device
        hdr/GPIODevice - Definition of GPIO device structure. Currently only used to store the type and revision of the main board, so the GPIO manager module can tailor its features appropriately.
        Makefile - Export hdr/GPIODevice
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 5.35, 4.79.2.98.2.42. Tagged as 'Kernel-5_35-4_79_2_98_2_42'
      e14282c7
  34. 19 Mar, 2011 1 commit
    • Jeffrey Lee's avatar
      Add ID's for CPUClk HAL device. Trim dead code. · 2f8b5459
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice - Added device type & ID for new CPUClk device, as used by the new OMAP3 HAL/PortableHAL versions.
        s/PMF/osinit - Disable a block of dead code that was getting compiled in.
      Admin:
        Tested on rev C2 BB, rev A2 BB-xM, rev C1 TouchBook
        These changes are needed by the latest OMAP3 HAL & PortableHAL versions.
      
      
      Version 5.35, 4.79.2.98.2.36. Tagged as 'Kernel-5_35-4_79_2_98_2_36'
      2f8b5459
  35. 20 Mar, 2010 2 commits
    • Jeffrey Lee's avatar
      Bring HAL branch of hdr/HALDevice, h/HALDevice in line with Cortex branch · ff0710fa
      Jeffrey Lee authored
      Detail:
        A fair number of bus/device types and IDs have been added to the Cortex branch since the branch was created.
        Now that the ClearIRQ entry has also been added, it's about time that the HAL branch was brought up to date.
      Admin:
        Untested, but should be fine.
      
      
      Version 5.35, 4.79.2.111. Tagged as 'Kernel-5_35-4_79_2_111'
      ff0710fa
    • Jeffrey Lee's avatar
      Add ClearIRQ entry to base HAL device struct, plus a couple of new HAL device IDs & bus types · 736b815d
      Jeffrey Lee authored
      Detail:
        hdr/HALDevice, h/HALDevice - inserted the new 'ClearIRQ' entry point into one of the reserved areas.
        Once the RISC OS-side driver has serviced the device's IRQ the ClearIRQ entry point should be called to allow the HAL device to clear any latched interrupt states in intermediate IRQ controllers (e.g. when using GPIO IRQs on OMAP)
        Since this entry point is new, support for it in existing device drivers isn't guaranteed; HAL device implementations of existing APIs must make sure the use a new major version number to indicate that they require ClearIRQ to be called.
        hdr/HALDevice - added some new bus types to represent the GPMC & L3/L4 interconnects in the OMAP.
        hdr/HALDevice - added ethernet NIC device type & IDs for SMSC9221 & DM9000 NICs
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 5.35, 4.79.2.98.2.25. Tagged as 'Kernel-5_35-4_79_2_98_2_25'
      736b815d
  36. 16 Jan, 2010 1 commit