1. 15 Dec, 2013 1 commit
    • Jeffrey Lee's avatar
      Remove obsolete stub HAL video API implementation · 61724a8a
      Jeffrey Lee authored
      Detail:
        hdr/Video, s/Top - Remove local VIDC list type 3 definition, use Hdr:VIDCList instead
        s/Boot, s/Video - Removed obsolete HAL video API implementation. A stub implementation is no longer required for systems that have a GraphicsV driver in a module, and can even cause problems if the OS decides to use the HAL implementation instead of the module one.
      Admin:
        Tested in OMAP3 ROM on BB-xM
        Requires Kernel-5_35-4_79_2_203
      
      
      Version 0.92. Tagged as 'OMAP3-0_92'
      61724a8a
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 24 Jun, 2010 2 commits
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 27 Jan, 2009 1 commit