1. 06 Dec, 2014 1 commit
  2. 01 Nov, 2013 1 commit
    • Robert Sprowson's avatar
      Refactor IIC calls to use RISCOS_IICOpV · dc7c6198
      Robert Sprowson authored
      - Comments and symbolic names for RTC register bits copied over from OMAP4 sources.
      - Delete dead function ReadTimeForNVRAM.
      - Use RTCFormatFlags_BCD_NeedsYearHelp flag for year 2070 compatibility.
      - Moved CallOS macro into a header.
      Tested on a Beagleboard xM, clock still worked over a power cycle.
      
      Version 0.90. Tagged as 'OMAP3-0_90'
      dc7c6198
  3. 25 Mar, 2012 1 commit
    • Robert Sprowson's avatar
      Line some things up. · 1282763f
      Robert Sprowson authored
      To help OMAP4 tracking changes a number of the changes were purely cosmetic lining up differences, this change is where OMAP3 wasn't on a conventional column layout.
      
      Version 0.61. Tagged as 'OMAP3-0_61'
      1282763f
  4. 15 Jan, 2012 1 commit
    • Robert Sprowson's avatar
      Add support for POR detection. · ffb0062a
      Robert Sprowson authored
      Harder than it should have been because someone wired the reset button up to the cold reset pin.
      Now gets the OSStartFlags right so that delete-power-on et al are respected by the kernel.
      
      Version 0.57. Tagged as 'OMAP3-0_57'
      ffb0062a
  5. 26 Oct, 2010 1 commit
    • Jeffrey Lee's avatar
      Miscellaneous OMAP3 HAL improvements · 8d12259d
      Jeffrey Lee authored
      Detail:
        hdr/board, s/board, s/Boot - Linux machine IDs are now defined via constants in hdr/board instead of magic numbers on a per-use basis
        s/Boot - Added video fix for BB-xM rev A3.
        s/Boot - Added code to enable tablet battery charging on TouchBook.
        s/Boot - Added support for power-off on TouchBook
        s/GPIO - Fixed bug in GPIOx_SetAsOutput that would prevent LEDs from being disabled properly
        s/I2C - Updated code to ignore BF interrupts. Added debugging code to help track down unexpected errors, and to check that IIC_DoOp_Poll is being called with interrupts disabled.
        s/SDMA - Call HAL_IRQClear when resetting the DMA controller device. This fixes the "previous IRQ not cleared" loop that would occur during RISC OS's pre-reset sequence
      Admin:
        Tested on rev C2 beagleboard, C1 touchbook, A3 BBxM.
        Resets should now work reliably on all machines, except TouchBook, which still seems to hang. But on the bright side, the TouchBook is currently the only machine to support soft-off.
      
      
      Version 0.33. Tagged as 'OMAP3-0_33'
      8d12259d
  6. 20 Mar, 2010 1 commit
    • Jeffrey Lee's avatar
      Add basic GPMC setup code and NIC HAL devices to OMAP HAL · e73f5f1a
      Jeffrey Lee authored
      Detail:
        s/GPMC, hdr/GPMC, hdr/StaticWS - basic code to reset the GPMC and configure chip selects
        s/NIC, hdr/NIC, hdr/StaticWS - code to expose any onboard NICs (SMSC9221, DM9000) to RISC OS as simple HAL devices.
        Makefile - added GPMC & NIC source files
        s/board, hdr/board - Expanded board config struct to include a pointer to extra code to call at the end of HAL_InitDevices, to allow board-specific devices to be initialised
        s/boot - Extra HAL_InitDevices code to set up the NICs on the IGEP/DevKit
        s/GPIO, hdr/GPIO - Improved functionality to allow GPIO IRQs to be used
        s/SDMA, s/Video - Tweaked the HAL device descriptors to indicate that the devices are on the L3 interconnect
      Admin:
        Tested on rev C2 beagleboard. IGEP/DevKit entry points booted OK, but no attempts were made to look for or interact with the new HAL devices!
      
      
      Version 0.24. Tagged as 'OMAP3-0_24'
      e73f5f1a
  7. 30 Jan, 2010 1 commit
    • Jeffrey Lee's avatar
      Various OMAP3 HAL power management improvements, plus add support for board... · 739f6e9a
      Jeffrey Lee authored
      Various OMAP3 HAL power management improvements, plus add support for board config autodetection via Linux machine ID
      
      Detail:
        s/board, hdr/board - Add Linux machine ID & available mixer channels to board config table
        s/Top - Add new entry point at offset &64, for booting as a fake Linux kernel. Searches the board config table until it finds a config matching the machine ID passed in R1. Also minor ROM copy optimisation, unsigned pointer comparison fixes
        s/Audio, hdr/Audio - Use board config to lock-out mixer channels that aren't connected to any hardware, to avoid excessive power drain or other problems if the channels get turned on. Also perform many other setting tweaks to tidy up default settings for unused mixer paths/channels.
        s/Video - Fix Video_Init logic when deciding whether to reset DSS, enable DSI PLL drift guard
        s/I2C - Increase I2C timeout values, since the previous values were perhaps a bit low
        s/Audio, s/I2C, s/Interrupts, s/RAM, s/SDMA, s/Timers, s/UART, hdr/UART, s/USB, s/Video - Enable autoidle/smart idle where possible to help save power.
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.21. Tagged as 'OMAP3-0_21'
      739f6e9a
  8. 16 Jan, 2010 1 commit
    • Jeffrey Lee's avatar
      Add sound support to OMAP3 HAL, plus other changes · 21f5e934
      Jeffrey Lee authored
      Detail:
        hdr/Audio, s/Audio, Makefile, hdr/StaticWS, s/Boot - Add sound support to OMAP3 HAL. Should work with a TPS65950 connected to I2C1/McBSP2, as per beagleboard.
        s/TPS, s/RTC - Moved TPSRead, TPSWrite functions out of s/RTC and into their own file
        hdr/SDMA, s/SDMA - Add support for packet-based transfer (for audio), improve debug code, remove TestRAMToRAM test code
        s/I2C - Update to handle spurious RDR interrupts as mentioned in OMAP3 errata
        s/Video - Enable support for the larger porch & sync timing registers found in OMAP3 ES3.1 and above
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.18. Tagged as 'OMAP3-0_18'
      21f5e934
  9. 28 Nov, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 DMA support, video device, debugging improvements · e08a228c
      Jeffrey Lee authored
      Detail:
        Boot.s - Make FIQDebug work again
        Boot.s - Add support for DMA & video devices
        Interrupts.s, hdr/omap3530 - Add 'ExtraDebugInterrupts' option
        hdr/SDMA, SDMA.s, Makefile - DMA code which presents itself to RISC OS as a set of single-buffered, interrupt-driven DMA channels.
        hdr/StaticWS - Add extra DMA, video & debug entries to workspace
        Interrupts.s - Add 'DebugDisablePrevious' debug option for more flexibility in tracking down noncleared IRQs with ExtraDebugInterrupts
        RAM.s - Use DMA to clear RAM on boot. RAM clear now takes less than 1 second on a rev C board, whereas before it used to take several.
        Video.s - Add simple HAL device to expose information needed by upcoming RISC OS module based video driver.
      Admin:
        Tested on rev C2 beagleboard.
      
      
      Version 0.16. Tagged as 'OMAP3-0_16'
      e08a228c