1. 04 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Add HAL_UARTDefault implementation. Delete old HAL video code. Add some SmartReflex tweaks. · ff2a0c53
      Jeffrey Lee authored
      Detail:
        hdr/board, s/board, s/Boot, s/UART - Added HAL_UARTDefault implementation, to allow OS_SerialOp to be used
        hdr/StaticWS, hdr/omap3530, s/Boot, s/Interrupts, s/Video - Removed old HAL video code. The OMAPVideo module is a much better video driver.
        s/SR37x - Add some SmartReflex tweaks which we can try if we run into any stability issues with the current code.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.64. Tagged as 'OMAP3-0_64'
      ff2a0c53
  2. 22 Apr, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix unreliable warm reset on some BB-xM boards. SmartReflex tweaks. · 30efafad
      Jeffrey Lee authored
      Detail:
        s/TPS - Added code to correctly configure the TPS/TWL to deal with warm resets. Required to make sure VDD1/VDD2 are set back to default when a reset occurs, thereby fixing the hang on reset that some people have been experiencing
        s/Boot - Add code to call TPS_Init
        s/SR37x - Improve debug code. Change initial OPP1G voltage from 1.35V to 1.38V, as recommended by datasheet
        s/KbdScan - Add a bit more debug output
      Admin:
        Tested on rev C2 BB, A2 BB-xM, C1 TouchBook
        Fixes issue reported on forums with resets not working following addition of SmartReflex driver:
        http://www.riscosopen.org/forum/forums/4/topics/993
      
      
      Version 0.63. Tagged as 'OMAP3-0_63'
      30efafad
  3. 08 Apr, 2012 1 commit
    • Jeffrey Lee's avatar
      Add AM/DM37x SmartReflex driver · cad933b0
      Jeffrey Lee authored
      Detail:
        s/SR37x, hdr/SR37x - New files containing SmartReflex driver targeting AM/DM37x chips. Initialises SmartReflex for both VDD1 & VDD2, but currently only VDD1/DPLL1 settings can be adjusted at runtime (via CPUClk HAL device)
        Makefile - Add SR37x to object list
        hdr/CPUClk - Adjust OPPTbl_Max so CPUClk workspace size is >= SR37x workspace size (both drivers share their HAL workspace, since only one can be active at once)
        hdr/GPIO - Add TPS_GPPUPDCTR1 definition
        hdr/PRCM - Add SmartReflex related registers
        hdr/omap3530 - Add "control device status" register & extra AM/DM37x revision numbers
        s/CPUClk:
        - Modify CPUClk_PreInit to try initialising the SmartReflex driver.
        - Ensure SmartReflex is disabled in the TPS if using CPUClk driver.
        - Fix 'OPP60' typo in AMDM37x table.
        - Move DPLL adjustment code into its own function to allow it to be shared with SmartReflex driver.
        - Add a few ROUTs and ASSERTs for safety.
      Admin:
        Both new & old CPUClk devices tested on BB-xM
      
      
      Version 0.62. Tagged as 'OMAP3-0_62'
      cad933b0
  4. 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
  5. 07 Mar, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix bug when linked against old kernels · 0e9d9db1
      Jeffrey Lee authored
      Detail:
        s/Top - If a kernel which doesn't support compression was in use, a typo would lead to the ROM image size being calculated incorrectly, most likely causing the ROM relocation code to fail.
      Admin:
        Tested on BB-xM
        Bug spotted by Willi Theiss
      
      
      Version 0.60. Tagged as 'OMAP3-0_60'
      0e9d9db1
  6. 25 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Add compressed ROM support. Add boot timing code. Other misc tweaks. · ab02b15f
      Jeffrey Lee authored
      Detail:
        hdr/omap3530, s/Boot, s/KbdScan, s/Top, s/Video - Added code for profiling/timing the startup sequence, using the 32K system timer
        s/Boot - Ensure VAUX2 is enabled during EVM startup
        s/Boot, s/CPUClk - Go to full CPU speed during HAL_Init instead of HAL_InitDevices.
        s/KbdScan - Print out heap usage stats when debugging is enabled
        s/NVMemory - Skip probing for CMOS carrier board if JTAG is active
        s/RAM, s/Top - Use DMA to relocate the ROM image instead of simple memcpy code. Relocate compressed ROMs to a location suitable for decompression.
      Admin:
        Tested with compressed & uncompressed OMAP3/OMAP3Live images
      
      
      Version 0.59. Tagged as 'OMAP3-0_59'
      ab02b15f
  7. 21 Jan, 2012 1 commit
    • Jeffrey Lee's avatar
      Add support for new HAL mixer 0.1 API. Improve mixer functionality. · eb8f910e
      Jeffrey Lee authored
      Detail:
        hdr/Audio, s/Audio - The audio mixer now implements version 0.1 of the API, allowing it to return information about the min/max gain values supported by each channel.
        The code has also been updated to add support for an additional amplifier on the system audio channel, allowing for an extra +18dB volume boost
        Additionally, MixerGetMix will now return the clamped/rounded gain value that was last programmed to the hardware, instead of the unvalidated value the user supplied to MixerSetMix.
      Admin:
        Tested in OMAP3 ROM
      
      
      Version 0.58. Tagged as 'OMAP3-0_58'
      eb8f910e
  8. 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
  9. 07 Jan, 2012 1 commit
    • Robert Sprowson's avatar
      Prep for SDFS and support for hardware CMOS adapter board. · 4d07f91e
      Robert Sprowson authored
      To avoid conflicting use of the SDIO controller by higher level filing system (and the need for a HAL to somehow ask for a disc to be reinserted) this HAL onwards supports hardware CMOS attached via the JTAG connector.
      On power up the presence and size of EEPROM is detected (sizes from 256 to 2048 bytes are understood corresponding to 24AA02 to 24AA16 family of parts).
      If no EEPROM is found the HAL falls back to permitting a CMOS file to be loaded off the SD card, but crucially this is done by uboot before FileCore starts.
      If no EEPROM is found, or the CMOS file looks suspicious, some fake CMOS is made and the kernel defaults used.
      The "ProbeEESize" switch enables size probing, otherwise 256 bytes is assumed.
      The "TryLoadedCMOS" switch enables use of a CMOS file from the SD card, if that's off and nothing is found the HAL declares that there is no CMOS at all!
      The respective boot script needs the line
        fatload mmc 0:1 0x4020F000 cmos
      adding to it...
      4d07f91e
  10. 12 Dec, 2011 1 commit
    • Jeffrey Lee's avatar
      Fix pop when disabling headset output. Tweak anti-pop ramp time. · c2960d26
      Jeffrey Lee authored
      Detail:
        s/Audio - Fixed the pop when disabling the headset output by making sure we wait for the correct amount of time after enabling/disabling the anti-pop ramp.
        Tweaked the anti-pop ramp time so toggling the output on & off (e.g. when changing sample rate) will only take 0.3s instead of 1.3s!
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.55. Tagged as 'OMAP3-0_55'
      c2960d26
  11. 11 Dec, 2011 1 commit
    • Jeffrey Lee's avatar
      NVMem fixes · 835fa326
      Jeffrey Lee authored
      Detail:
        c/NVMem - Fixed NVMem_C_write() to skip creating a CMOS file if the directory is full
        c/fat - Fixed FindDirectoryEntry() to ensure short_name[] is always terminated properly
        s/NVMemory - Only update the CMOS file if bytes have changed
        s/Boot - Fixed beagleboard revision detection GPIOs not being configured correctly
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.54. Tagged as 'OMAP3-0_54'
      835fa326
  12. 04 Dec, 2011 1 commit
    • Jeffrey Lee's avatar
      Add preliminary OMAP3 EVM support. Fix HAL_UARTModemControl · ca499ce6
      Jeffrey Lee authored
      Detail:
        hdr/board, s/Boot, s/Top, s/board - Added preliminary support for OMAP3 EVM boards. Only generation 2 boards are supported at the moment.
        s/UART - Fixed HAL_UARTModemControl to pay attention to the 'mask' parameter
      Admin:
        Tested on rev A2 BB-xM. EVM support might not be fully working.
      
      
      Version 0.52. Tagged as 'OMAP3-0_52'
      ca499ce6
  13. 29 Nov, 2011 1 commit
    • Jeffrey Lee's avatar
      Fix OMAP3 HAL UART code · 51c1d13d
      Jeffrey Lee authored
      Detail:
        hdr/UART - Added a couple more register addresses, removed incorrect FIFO64 flag
        hdr/omap3530 - Corrected UART 2 address
        s/Boot - Ensure we perform phys2log address conversion for all UART addresses, not just the first 3. Also avoid resetting the debug UART.
        s/UART - Fix HAL UART calls to obey the programming rules laid out in the TRM
        s/board - Change the order in which the UARTs are exposed to RISC OS so that they match the hardware order. HAL UART 0 is now OMAP UART1, etc.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.51. Tagged as 'OMAP3-0_51'
      51c1d13d
  14. 06 Nov, 2011 1 commit
    • Jeffrey Lee's avatar
      Add Dave Higton's CMOS save code · 8ea637b5
      Jeffrey Lee authored
      Detail:
        Makefile - fixed warning about StdRules being included twice (via CModule)
        c/NVMem, c/fat, h/NVMem, h/common, h/fat, hdr/StaticWS, s/NVMemory, s/RTC - Added Dave Higton's code to create/update the 'CMOS' file on NVRAM writes
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.50. Tagged as 'OMAP3-0_50'
      8ea637b5
  15. 12 Sep, 2011 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL tweaks · 2a8c225b
      Jeffrey Lee authored
      Detail:
        hdr/Copro15ops - Correct encoding of ISH/ISHST variants of DMB/DSB instructions
        s/Top - Use RISCOS_InitARM to initialise the CPU instead of the (now out of date) custom code.
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.49. Tagged as 'OMAP3-0_49'
      2a8c225b
  16. 31 Jul, 2011 1 commit
    • Jeffrey Lee's avatar
      Add new support for the new GPIO HAL device · ade5de94
      Jeffrey Lee authored
      Detail:
        hdr/board - Add information about determining the IGEP board revision
        hdr/StaticWS - Add workspace for storing the GPIO HAL device
        s/board - Update BeagleBoard entry to have a custom HAL device init func
        s/Boot - Fix HAL_Init to not configure GPIOs 171-173 if not running on a beagleboard. Update HAL_InitDevices to preserve the right registers and initialise the GPIO devices where appropriate.
        s/GPIO - Added GPIO_InitDevice function to do the actual initialisation
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.48. Tagged as 'OMAP3-0_48'
      ade5de94
  17. 24 Jul, 2011 1 commit
    • Jeffrey Lee's avatar
      Fix broken GPIO initialisation code · 9affb72c
      Jeffrey Lee authored
      Detail:
        s/GPIO - GPIO_Init was broken and causing (silent) data aborts instead of clearing the GPIO module IRQ enable flags.
      Admin:
        Tested on rev A2 BB-xM.
        Fixes issue reported by Willi Theiss.
      
      
      Version 0.47. Tagged as 'OMAP3-0_47'
      9affb72c
  18. 30 May, 2011 1 commit
    • Jeffrey Lee's avatar
      Add timeout to audio init code · abc978cf
      Jeffrey Lee authored
      Detail:
        s/Audio - Added a timeout to the loop which waits for the McBSP FIFO to fill when starting the audio system.
      Admin:
        This fixes the hang which can often occur if/when interrupts become enabled for any period of time during Service_PreReset.
        Tested on rev C2 beagleboard.
      
      
      Version 0.46. Tagged as 'OMAP3-0_46'
      abc978cf
  19. 25 May, 2011 1 commit
    • Jeffrey Lee's avatar
      Be more thorough in GPIO initialisation · 6b067b53
      Jeffrey Lee authored
      Detail:
        s/GPIO - The OMAP HAL now takes steps to make sure that the TPS GPIO controller is enabled, and that any GPIO-LEDs have the correct PWM settings. The TPS GPIO pull up/down settings are also initialised for the beagleboard.
      Admin:
        Tested on rev C2 BB, A2 BB-xM, C BB-xM, C1 TouchBook
      
      
      Version 0.45. Tagged as 'OMAP3-0_45'
      6b067b53
  20. 23 May, 2011 1 commit
  21. 22 May, 2011 1 commit
    • Jeffrey Lee's avatar
      Update OMAP3 HAL to support keyboard scan on boot, plus other changes · 42fc20f5
      Jeffrey Lee authored
      Detail:
        Makefile, s/KdbScan, hdr/StaticWS - Code to handle keyboard scanning, via the new HAL build of the USB drivers.
        s/Stubs - Removed old stub keyboard scan routines
        s/CPUClk - ADR -> ADRL to cope with new workspace layout
        s/Boot, s/Top, hdr/Post - Modified to use new HALSize variable for determining the HAL size. Trimmed dead code/definitions.
        s/Boot - FIQDebug code now copes with the different USER button GPIO used on the BB-xM
        s/board - Increased max pixel rate from 86.5MHz to 100MHz. This allows a wider range of screen modes to be used, although it is beyond the spec of the video controller, and not all boards will be able to reach 100MHz. This should match the value used in the initial ARMini units.
      Admin:
        Tested on rev C2 BB, A2 BB-xM, C1 TouchBook
        Needs latest USB drivers, Kernel source, BuildSys & Env (not all of which have been checked in yet)
      
      
      Version 0.43. Tagged as 'OMAP3-0_43'
      42fc20f5
  22. 20 Mar, 2011 1 commit
  23. 19 Mar, 2011 1 commit
    • Jeffrey Lee's avatar
      Add CPUClk HAL device implementation · 64132128
      Jeffrey Lee authored
      Detail:
        Makefile, s/CPUClk, hdr/CPUClk, s/Boot, hdr/StaticWS - Provide an implementation of the new HALDevice_CPUClk HAL device. Allows OMAP35x and DM37x CPU's to be set to any of the standard OPPs as listed in the datasheets. Doesn't yet support 1GHz on DM37x.
        hdr/NIC, hdr/PRCM, hdr/omap3530, s/TPS - Misc additions/tweaks/fixes.
      Admin:
        Tested on rev C2 BB, A2 BB-xM, C1 TouchBook
        Requires latest PortableHAL & Kernel
      
      
      Version 0.41. Tagged as 'OMAP3-0_41'
      64132128
  24. 20 Feb, 2011 1 commit
    • Jeffrey Lee's avatar
      Add support for new HAL_ExtMachineID call · 3c836666
      Jeffrey Lee authored
      Detail:
        s/Boot - Added support for the new HAL_ExtMachineID call, and changed HAL_MachineID to return 0's
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.40. Tagged as 'OMAP3-0_40'
      3c836666
  25. 19 Feb, 2011 1 commit
    • Jeffrey Lee's avatar
      Update OMAP3 HAL to cope with kernel support for multiple IIC buses · 40b2a9d2
      Jeffrey Lee authored
      Detail:
        s/I2C - Changed HAL_Video_IICOp to call RISCOS_IICOpV instead of using its own polling based transfer loop. Updated IIC_DoOp_Poll to work with multiple buses.
        s/board - Allow the OS to see the video IIC buses now that any transfers on them will be using OS_IICOp's queueing/re-entrancy code
      Admin:
        Tested on rev A2 BB-xM
      
      
      Version 0.39. Tagged as 'OMAP3-0_39'
      40b2a9d2
  26. 23 Jan, 2011 1 commit
    • Jeffrey Lee's avatar
      Add Dave Higton's SD/MMC & CMOS code · 52808e61
      Jeffrey Lee authored
      Detail:
        c/NVMem, c/fat, h/NVMem, h/common, h/fat - C code for reading a 'CMOS' file off the SD card on boot, for use as a CMOS RAM image
        c/CLib - Added extra functions needed by the SD/MMC driver
        s/NVMemory - Implementation of the HAL NVRAM API, for reading/writing the loaded CMOS file. The read/write functions handle RISC OS's CMOS address mangling, so that CMOS files saved by *SaveCMOS can be used as-is.
        hdr/StaticWS - Updated with workspace needed by the new code
        s/Boot - Initialise the CMOS cache on boot
        s/Stubs - Removed the stub NVRAM function
        Makefile - Added the new files
      Admin:
        Tested on rev A2 BB-xM.
      
      
      Version 0.38. Tagged as 'OMAP3-0_38'
      52808e61
  27. 04 Dec, 2010 1 commit
  28. 08 Nov, 2010 2 commits
    • Jeffrey Lee's avatar
      Probable fix for IGEP video issues · 53c4cd0f
      Jeffrey Lee authored
      Detail:
        s/board - filled in the VideoGPIO entry for the IGEP. From looking at recent linux sources it's quite clear that GPIO 170 is used for enabling the DVI framer, and 24 is used for resetting the EHCI controller.
      Admin:
        Tested-ish on rev C2 beagleboard by setting GPIO 170 (pre-xM video GPIO) to an input shortly after boot (i.e. to the default setting, as it would be on an IGEP).
        IGEP-like display failures then followed, but everything went back to normal when the GPIO was set back to being an output.
      
      
      Version 0.36. Tagged as 'OMAP3-0_36'
      53c4cd0f
    • Jeffrey Lee's avatar
      Correct DM9000 NIC IRQ configuration · 7c083bf7
      Jeffrey Lee authored
      Detail:
        s/GPIO - The IRQ settings for the DevKit8000's NIC were wrong and should have been active-low, not active-high. This fixes that.
      Admin:
        Tested by Stephen Leary with his NIC driver
      
      
      Version 0.35. Tagged as 'OMAP3-0_35'
      7c083bf7
  29. 31 Oct, 2010 1 commit
    • Jeffrey Lee's avatar
      Miscellaneous OMAP3 HAL updates · 547dbb58
      Jeffrey Lee authored
      Detail:
        s/Boot - HAL_Reset now sets the PRM_RSTCTRL.RST_DPLL3 bit instead of the PRM_RSTCTRL_GS bit. This matches what Linux does, and seems to fix resets on the TouchBook.
        s/board - Changed TouchBook audio to use the hands-free output instead of the predriver. This fixes speaker output (although it's currently listed as "line out" by the sound setup configure plugin)
        hdr/board, s/board, s/Video - Update the LCDConfig struct to contain an entry for controlling LCD power/brightness. Hook up basic power controls for current machine types.
      Admin:
        Tested on rev C2 beagleboard & C1 touchbook.
        Video changes mean that OMAPVideo 0.08 or newer is required.
      
      
      Version 0.34. Tagged as 'OMAP3-0_34'
      547dbb58
  30. 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
  31. 14 Sep, 2010 1 commit
    • Jeffrey Lee's avatar
      BeagleBoard-xM, TouchBook fixes · bdb010ac
      Jeffrey Lee authored
      Detail:
        s/board, hdr/board, hdr/omap3530, hdr/UART - Add support for 4th UART available on AM/DM37x (i.e. BeagleBoard-xM)
        hdr/omap3530 - Add details of CONTROL_IDCODE register & known hawkeye/revision numbers for OMAP type/revision detection
        s/Boot, s/GPIO, hdr/GPIO, s/I2C, hdr/StaticWS - Allow TPS LED drivers to be used as (output-only) GPIOs. Add new polled I/O I2C function, and appropriate logic to make GPIO code use it instead of RISCOS_IICOpV if RISC OS hasn't finished initialising yet. Add code to initialise some extra BB/TB GPIOs on boot.
        s/Timers, hdr/Timers - Stop RISC OS from using GPTIMER9, because it's used to drive the screen backlight on the TouchBook
        s/Video - Use appropriate porch/sync limits on non-OMAP35x
        s/PRCM - Don't mess with the system clock divider when calculating system clock speed (AM/DM37x fix)
      Admin:
        Tested on rev C2 beagleboard, rev A2 BB-xM (indirectly), rev C1 TouchBook
      
      
      Version 0.32. Tagged as 'OMAP3-0_32'
      bdb010ac
  32. 14 Aug, 2010 1 commit
    • Jeffrey Lee's avatar
      Add extra debugging code to OMAP3 HAL · 43c900fb
      Jeffrey Lee authored
      Detail:
        s/Boot - The FIQDebug code can now be used to trigger the DebugCallstack code when the user button is pressed
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.31. Tagged as 'OMAP3-0_31'
      43c900fb
  33. 24 Jun, 2010 2 commits
  34. 23 Jun, 2010 1 commit
    • Jeffrey Lee's avatar
      Update OMAP3 HAL to use correct instruction/memory barrier operations and to... · 83334f08
      Jeffrey Lee authored
      Update OMAP3 HAL to use correct instruction/memory barrier operations and to handle branch target predictors
      
      Detail:
        hdr/Copro15ops - Added myISB, myDSB, myDMB macros to provide barrier functionality for ARMv6+
        s/Boot, s/Interrupts, s/RAM, s/Top, s/Video - updated to use correct barrier operations after CP15 writes, and to invalidate branch predictors where appropriate
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.28. Tagged as 'OMAP3-0_28'
      83334f08
  35. 03 Apr, 2010 1 commit
    • Jeffrey Lee's avatar
      Reduce amount of IO space requested by OMAP HAL · 0b58d25c
      Jeffrey Lee authored
      Detail:
        hdr/Interrupts - moved MPU_INTC values into hdr/omap3530
        hdr/omap3530 - Revised L3_Size, L4_Size, etc. so that they indicate the size of the used area of the interconnects, rather than the size of the address space
        s/Boot - reworked HAL setup to take into account the fact that mapping in L4_Core no longer maps in L4_Wakeup and MPU_INTC. Also fixed DevKit NIC setup to request correct IO space size
      Admin:
        Tested on rev C2 beagleboard. Should now use ~4MB of IO space instead of >=33MB
      
      
      Version 0.27. Tagged as 'OMAP3-0_27'
      0b58d25c
  36. 28 Mar, 2010 1 commit
    • Jeffrey Lee's avatar
      Fix OMAP HAL GPIO/NIC setup code · e30b0a9e
      Jeffrey Lee authored
      Detail:
        s/GPIO - Fixed use of invalid 'MSR <psr>,<rn>,<shift>' instruction in GPIOx_SetAndEnableIRQ. Fixed PSR flags that are used to calculate LEVELDETECT0 value.
        s/NIC - Fixed NICActivate to load NICGPIO_Mode before the HAL device ptr gets clobbered
      Admin:
        Tested on rev C2 beagleboard, using IGEP config. NICActivate now appears to configure the GPIO controller properly.
      
      
      Version 0.26. Tagged as 'OMAP3-0_26'
      e30b0a9e
  37. 20 Mar, 2010 2 commits
    • Jeffrey Lee's avatar
      Add basic GPIO init code to OMAP HAL · 2ddab3e9
      Jeffrey Lee authored
      Detail:
        s/Boot, s/GPIO - Added some basic GPIO init code, to make sure there aren't any unexpected GPIO IRQs active
      Admin:
        Tested on rev C2 beagleboard.
      
      
      Version 0.25. Tagged as 'OMAP3-0_25'
      2ddab3e9
    • 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