1. 06 Dec, 2014 1 commit
  2. 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
  3. 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
  4. 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
  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. 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
  7. 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
  8. 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
  9. 24 Jan, 2010 1 commit
    • Jeffrey Lee's avatar
      Update OMAP HAL to support different board configs, plus use new YearLOIsGood... · 17e509d7
      Jeffrey Lee authored
      Update OMAP HAL to support different board configs, plus use new YearLOIsGood flag to ensure correct RTC handling, plus other misc tidying
      
      Detail:
        The OMAP HAL now has multiple entry points, one per board config. See Top.s/board.s for more info.
        audio.s - Moved APLL_CTL value to board config
        board.s - New file to list all the settings for the different board configs
        boot.s - Change HAL_Init to deal with the new board config stuff
        debug.s - Debug UART now specified in board config
        GPIO.s - A few utility functions for handling OMAP/TPS GPIO pins
        I2C.s - Update to use new board config struct
        RAM.s - Disable the beagleboard-specific RAM init code. Instead we'll just rely on u-boot to initialise all our RAM for us.
        RTC.s - Get rid of the magic numbers, and use the YearLOIsGood flag to indicate to RISC OS that YearLO is 2-digit BCD
        Top.s - Got rid of old debug code and rewrote initial flow to handle detecting & storing the board config
        UART.s - Update to use board config struct, support multiple UARTs
        USB.s - Get EHCI PHY power GPIO from board config
        Video.s - Get DVI framer power GPIO and max pixel rate from board config. Add 'PassiveVideo' option, to build a driver that doesn't alter the video output settings - should hopefully result in a usable display on Touch Book, etc.
        board.hdr - Definition of board config table struct
        GPIO.hdr - Add lots of macros for handling OMAP GPIO pins, new constants for OMAP/TPS GPIO
        I2C.hdr - Added I2C transfer block struct, HAL I2C API transfer states (both moved here from other source files)
        omap3530.hdr - Move/remove some unwanted constants, disable DebugChar for now
        StaticWS.hdr - Move I2C transfer block struct to I2C.hdr, add board config struct to HAL workspace, get rid of unused 64K AllocArea
        Timers.hdr - Tidy up constants a bit
        UART.hdr - Add UARTCLK (moved from StaticWS.hdr), UART IRQ #'s
        Makefile - add GPIO.s
      Admin:
        Tested on rev C2 beagleboard. Board configs for other board types may be inaccurate in a couple of places.
      
      
      Version 0.19. Tagged as 'OMAP3-0_19'
      17e509d7