- 04 Jun, 2012 1 commit
-
-
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'
-
- 22 Apr, 2012 1 commit
-
-
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'
-
- 08 Apr, 2012 1 commit
-
-
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'
-
- 25 Mar, 2012 1 commit
-
-
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'
-
- 07 Mar, 2012 1 commit
-
-
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'
-
- 25 Feb, 2012 1 commit
-
-
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'
-
- 21 Jan, 2012 1 commit
-
-
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'
-
- 15 Jan, 2012 1 commit
-
-
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'
-
- 07 Jan, 2012 1 commit
-
-
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...
-
- 12 Dec, 2011 1 commit
-
-
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'
-
- 11 Dec, 2011 1 commit
-
-
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'
-
- 06 Dec, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/fat - Fixed ReadRootDirectoryBlock and WriteRootDirectoryBlock when dealing with FAT32 cards c/NVMem - Ensure FATbc.blocknum is initialised to an invalid value inside NVMem_C_write c/NVMem, c/far, h/NVMem - Change GetUInt() and GetUShort() to take data_area pointers instead of passing by reference, to reduce stack thrashing Admin: Tested on rev A2 BB-xM Fixes supplied by Willi Theiss Version 0.53. Tagged as 'OMAP3-0_53'
-
- 04 Dec, 2011 1 commit
-
-
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'
-
- 29 Nov, 2011 1 commit
-
-
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'
-
- 06 Nov, 2011 1 commit
-
-
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'
-
- 12 Sep, 2011 1 commit
-
-
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'
-
- 31 Jul, 2011 1 commit
-
-
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'
-
- 24 Jul, 2011 1 commit
-
-
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'
-
- 30 May, 2011 1 commit
-
-
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'
-
- 25 May, 2011 1 commit
-
-
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'
-
- 23 May, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: hdr/board - Definitions for GPIO values used to detect beagleboard revision s/Boot - Added code to detect BB revision via GPIO lines, in order to determine the correct setting for the TPS pin which controls the EHCI power Admin: Tested on BB rev C2, BB-xM rev A2. BB xM rev C should work now! Version 0.44. Tagged as 'OMAP3-0_44'
-
- 22 May, 2011 1 commit
-
-
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'
-
- 20 Mar, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: s/I2C - The IIC driver now flushes the RX & TX FIFOs before each transfer. This ensures the correct data is sent/received following certain errors (e.g. NACK) Admin: Tested on rev C1 TouchBook Version 0.42. Tagged as 'OMAP3-0_42'
-
- 19 Mar, 2011 1 commit
-
-
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'
-
- 20 Feb, 2011 1 commit
-
-
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'
-
- 19 Feb, 2011 1 commit
-
-
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'
-
- 23 Jan, 2011 1 commit
-
-
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'
-
- 04 Dec, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: s/RTC - RISC OS will set the time members and/or the date members of the RTCTimeStruct to -1 when it doesn't want them updating. So skip writing those entries to the RTC if they're not meant to be updated! Admin: Tested on rev C2 beagle. Fixes issue reported on forums with setting date from BASIC: http://www.riscosopen.org/forum/forums/4/topics/521 Version 0.37. Tagged as 'OMAP3-0_37'
-
- 08 Nov, 2010 2 commits
-
-
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'
-
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'
-
- 31 Oct, 2010 1 commit
-
-
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'
-
- 26 Oct, 2010 1 commit
-
-
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'
-
- 14 Sep, 2010 1 commit
-
-
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'
-
- 14 Aug, 2010 1 commit
-
-
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'
-
- 24 Jun, 2010 2 commits
-
-
Jeffrey Lee authored
This time, put the GET directive in the right place, so it fixes all the compile errors and not just the ones AMU's dodgy dependency tracking reported Version 0.30. Tagged as 'OMAP3-0_30'
-
Jeffrey Lee authored
Version 0.29. Tagged as 'OMAP3-0_29'
-
- 23 Jun, 2010 1 commit
-
-
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'
-
- 03 Apr, 2010 1 commit
-
-
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'
-
- 28 Mar, 2010 1 commit
-
-
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'
-
- 20 Mar, 2010 1 commit
-
-
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'
-