1. 24 Jun, 2010 2 commits
  2. 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
  3. 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
  4. 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
  5. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · b4ea91b9
      Ben Avison authored
      Detail:
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
      Admin:
        Supplied by Peter Naulls, tested at ROOL
      
      Version 0.10. Not tagged
      b4ea91b9
  6. 09 May, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL USB (EHCI) support, interrupt handling fixes · 20505c03
      Jeffrey Lee authored
      Detail:
        Makefile - added USB to objects list
        s/Boot, s/USB, hdr/StaticWS, hdr/USB - USB EHCI code
        s/Debug, s/Stubs, s/Timers, s/Top, s/UART, s/Video - Debugging tweaks and header dependency fixes
        s/Interrupts, hdr/omap3530 - Interrupt fixes & debugging code
        hdr/PRCM - typo fix
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.08. Tagged as 'OMAP3-0_08'
      20505c03
  7. 23 Apr, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL cache clean fix · 33dd7f66
      Jeffrey Lee authored
      Detail:
        s/Top - Fix cache clean code to iterate sets/ways/cache levels correctly
      Admin:
        Tested on rev C2 beagleboard
      
      
      Version 0.07. Tagged as 'OMAP3-0_07'
      33dd7f66
  8. 08 Apr, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL Beagleboard Rev C support, further video work. · 2984ca65
      Jeffrey Lee authored
      Detail:
        s/Boot - Fixes for rev C beagleboard. Added GPIO code.
        s/Debug - DebugHALPrint, DebugHALPrintReg routines
        s/PRCM - PRCM_GetFreqSel added
        s/RAM - Fixes for rev C beagleboard. Sped up RAM clear by using more regs.
        s/Top - Fixes for rev C beagleboard
        s/Video - Video code potentially complete, but full of bugs and so still disabled.
        hdr/GPIO - Added GPIO registers
        hdr/omap3530 - Fixes for rev C beagleboard, GPIO, debug macros, QEMU support for new video code
        hdr/SDRC - Typo fix
        hdr/StaticWS - GPIO, pixel rate entries added
        hdr/Video - DSI PLL registers added
      Admin:
        Tested on rev C beagleboard.
      
      
      Version 0.04. Tagged as 'OMAP3-0_04'
      2984ca65
  9. 06 Mar, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL fixes and further video work · a5dee679
      Jeffrey Lee authored
      Detail:
        s/Boot - Store some workspace vars used by video code. Disable some debug output.
        s/Interrupts - Update HAL_IRQClear to allow clearing of VSync IRQ
        s/Top - Fix CP15 flags
        s/Video - Implemented majority of video code needed by kernel. Correct code for calculating and programming pixel clocks still required, so code remains disabled by default.
        hdr/PRCM - Correct typo
        hdr/StaticWS - Add video-related workspace entries
        hdr/Video - Add constants for mouse pointer image buffer size
      Admin:
        Tested under qemu-omap3 and rev B6 beagleboard.
      
      
      Version 0.03. Tagged as 'OMAP3-0_03'
      a5dee679
  10. 21 Feb, 2009 1 commit
    • Jeffrey Lee's avatar
      OMAP3 HAL fixes and updates to allow booting on real hardware. · d3eceec0
      Jeffrey Lee authored
      Detail:
        Makefile - add s.PRCM to objects
        s/Boot - Call PRCM_SetClocks during HAL_Init. Added (disabled) debugging code.
        s/Interrupts - Updated HAL_IRQSource, HAL_FIQSource to query ARM interrupt state instead of relying on INTC alone to detect whether an interrupt is firing or not.
        s/PRCM - Code to measure system clock frequency, store it for HAL purposes, and notify the OMAP of the frequency in order to ensure correct operation.
        s/Timers - Use measured system clock frequency as the timer frequency instead of hard-coded value. Return correct values from HAL_TimerPeriod.
        s/Top - Added (disabled) debugging code. Updated ARM initialisation to use correct cache cleaning procedure.
        s/Video - Further minor work towards completing video driver.
        hdr/CoPro15ops - Deprecate ARM_flush_* macros
        hdr/PRCM - Add more register addresses
        hdr/StaticWS - Add entried for PowerMan & 32K timer logical addresses, system clock speed
        hdr/Timers - remove incorrect, hard-coded timer frequency
        hdr/omap3530 - remove unused FlashCheck global, add DebugChar macro
      Admin:
        Tested with HALTester and the RISC OS kernel using qemu-omap3.
        Tested with HALTester on a rev. B6 beagleboard.
      
      
      Version 0.02. Tagged as 'OMAP3-0_02'
      d3eceec0
  11. 01 Feb, 2009 1 commit
    • Jeffrey Lee's avatar
      Basic OMAP3 HAL · 7a17f465
      Jeffrey Lee authored
      Detail:
        Performs startup procedure suitable for any location in ROM or RAM. UART, timer, counter, interrupt & debug functionality implemented. Video support incomplete and nonfunctional.
      Admin:
        Tested with HALTester & RISC OS kernel under qemu-omap3
      
      
      Version 0.01. Tagged as 'OMAP3-0_01'
      7a17f465
  12. 27 Jan, 2009 1 commit