- 01 Nov, 2013 2 commits
-
-
Robert Sprowson authored
- Comments and symbolic names for RTC register bits copied over from OMAP4 sources. - Delete dead function ReadTimeForNVRAM. - Use RTCFormatFlags_BCD_NeedsYearHelp flag for year 2070 compatibility. - Moved CallOS macro into a header. Tested on a Beagleboard xM, clock still worked over a power cycle. Version 0.90. Tagged as 'OMAP3-0_90'
-
Robert Sprowson authored
-
- 28 Sep, 2013 1 commit
-
-
Robert Sprowson authored
Now assumes an IICStatus return, per Kernel-5_35-4_79_2_196. I2C sources lined up to column 17. Built, but not tested. Version 0.89. Tagged as 'OMAP3-0_89'
-
- 17 Aug, 2013 1 commit
-
-
Robert Sprowson authored
Revision 0.87 moved the NVMemory probe too late for the kernel, which fell back to using its default table. Fixes problem of apparently lost configuration http://www.riscosopen.org/forum/forums/4/topics/2063 Video_Init capitalised like the other initialisation functions. Version 0.88. Tagged as 'OMAP3-0_88'
-
- 15 Aug, 2013 1 commit
-
-
Robert Sprowson authored
The HAL device created is merely a dummy one, but presents any EEPROM detected for completeness of stuff the HAL knows about. Version 0.87. Tagged as 'OMAP3-0_87'
-
- 21 Feb, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: s/SDIO - Disabled SD write protect sensing on Pandora, as hardware faults can result in some units always reporting that cards are protected Admin: Tested briefly on Pandora, write-protected cards can be written to Should fix issue reported on forums with unprotected cards being reported as read-only: http://www.riscosopen.org/forum/forums/5/topics/166?page=18#posts-19848 Version 0.86. Tagged as 'OMAP3-0_86'
-
- 22 Jan, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: s/Boot, s/Interrupts - Added HAL_IRQMax implementation, to ensure correct functionality with latest Kernel Admin: Tested on BB-xM Requires Kernel-5_35-4_79_2_182 Version 0.85. Tagged as 'OMAP3-0_85'
-
- 13 Jan, 2013 1 commit
-
-
Jeffrey Lee authored
Detail: s/Video - Added code to program the gamma table in the Pandora's LCD, as the power-on settings aren't very good s/Boot - Initialise the LCD at the right time hdr/SPI - SPI register definitions, for programming the gamma table and (eventually) a full SPI driver Admin: Tested on Pandora Version 0.84. Tagged as 'OMAP3-0_84'
-
- 21 Nov, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/BMU, Makefile - BMU HAL device implementations for the Pandora & TouchBook hdr/StaticWS - Reserve workspace for the BMU devices s/Boot - Add the BMU devices to HAL device initialisation. Move Enable_main_battery_charging into s/BMU. Admin: Tested in ROM on BB-xM, Pandora, TouchBook Version 0.83. Tagged as 'OMAP3-0_83'
-
- 07 Oct, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: hdr/CPUClk, hdr/SR37x, s/Boot, s/CPUClk, s/SR37x - Modifed CPU clock drivers to allow the core speed & voltage to be reset to the power on defaults prior to reset/poweroff. This fixes an issue seen on Pandora where Linux will often fail to boot after RISC OS has been run, presumably due to VDD1 being too low for the initial clock speed Linux switches to. s/Boot - Place EHCI PHY in reset prior to reset/power off. May help with a reported issue of USB host being unreliable after RISC OS has been run (although reset/poweroff should reset the GPIO anyway) Admin: Tested on Pandora & BB-xM Version 0.82. Tagged as 'OMAP3-0_82'
-
- 30 Sep, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/PAudio, Makefile - Added Pandora audio driver. The Pandora uses a different audio setup to all the other OMAP boards, so to keep things simple the implementation is kept in its own file seperate from the main one. s/KbdMatrix, hdr/StaticWS - Implemented Pandora boot-time keyboard scan. This uses the keyboard matrix & GPIO keys instead of the USB libraries. s/Boot - Moved call to Audio_Init into the per-board HAL_InitDevices code so that Pandora can call PandoraAudio_Init instead. s/SDIO - For MMC1, avoid touching VSIM if the bus width is only 4 bits (i.e. on Pandora). On Pandora VSIM is used for the audio DAC instead. Admin: Tested on Pandora Version 0.81. Tagged as 'OMAP3-0_81'
-
- 23 Sep, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/Boot - Under Linux the Pandora uses a similar battery charging setup to the TouchBook. Reuse our TouchBook battery charging setup code to set things up appropriately for the Pandora. Admin: Tested on Pandora Version 0.80. Tagged as 'OMAP3-0_80'
-
- 21 Sep, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: hdr/board, s/board, s/Boot - Tidied up board-specific code a bit by adding more board-specific function pointers to the BoardConfig struct instead of relying on manual board detection in code. s/board - Disable Pandora VideoGPIO as turning the LCD on & off seems to result in graphical corruption, most likely due to settings which were set by the SPI interface being lost. s/KbdMatrix, Makefile - New file for handling the Pandora's keyboard matrix (and anything else that may require keyboard matrix code in the HAL). Contains stub code for the boot-time keyboard scan, and code to register a keyboard HAL device for detection by the PandoraKey module. s/Boot - Add soft-off support for Pandora. Add Pandora-specific initialisation code to enable some extra power supplies (touchscreen, nubs, audio DAC, EHCI PHY) s/KbdScan - Use Pandora-specific keyboard scan code instead of USB code when running on Pandora s/SDIO - Correct sense of MMC activity LEDs on Pandora. Now only lit during periods of activity, to match behaviour of the Pandora Linux distro. s/Video - Add some switched out hack code to allow easier debugging of aborts that occur during ROM initialisation Admin: Tested on Pandora, rev C2 BB, rev A2 BB-xM, rev C1 TouchBook Version 0.79. Tagged as 'OMAP3-0_79'
-
- 07 Aug, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/board - Temporarily disable TV-out on Pandora, as the current TV detection code in OMAPVideo is believed to be causing false-positives with new some of the newer units. Admin: Builds, but untested Version 0.78. Tagged as 'OMAP3-0_78'
-
- 22 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: MMC2 activate code was corrupting R4 Admin: Tested by making a beagleboard run the Pandora code variant Version 0.77. Tagged as 'OMAP3-0_77'
-
- 20 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: Oops, last change broke ADR range... Admin: Checked that it builds this time Version 0.76. Tagged as 'OMAP3-0_76'
-
- 19 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: The return values from the Activate entries were left uninitialised; at least in the case of Pandora MMC2, R0 happened to contain 0, which resulted in SDIODriver assuming the device had failed to initialise. Admin: Untested, but a safe change. Version 0.75. Tagged as 'OMAP3-0_75'
-
- 18 Jul, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: hdr/board, s/Video - Video device now implements the tvdet_func function for polling the TV detect GPIO Admin: Tested on BB-xM with high processor vectors Version 0.74. Tagged as 'OMAP3-0_74'
-
- 16 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: Copied the pin mux settings and SD controller power-up code from the ZippySupport module. The Zippy uses a level shifter, like the Pandora, so this should have a decent chance of working. Issues might still remain with the card detect, since Pandora uses the TPS for this. Admin: Builds, but untested. Version 0.73. Tagged as 'OMAP3-0_73'
-
- 09 Jul, 2012 1 commit
-
-
Robert Sprowson authored
Also spotted that USAT can be conditional in the I2C code. Version 0.72. Tagged as 'OMAP3-0_72'
-
- 08 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: An additional register write in the OMAP3 is required to loop back the clock from the external transciever chip. Thanks to "notaz" for the tip. Admin: Builds OK, but untested Version 0.71. Tagged as 'OMAP3-0_71'
-
- 06 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: Forcibly sets the voltage for MMC2 level shifter to 3.0V. Attempts to configure TPS GPIO inputs in a way that might work. Admin: Builds, but untested. Version 0.70. Tagged as 'OMAP3-0_70'
-
- 04 Jul, 2012 1 commit
-
-
Robert Sprowson authored
No longer specified to return _kernel_oserror * implements GraphicsV 14. Make use of IICStatus defines instead of local copies. Rename HAL_Video_ to HAL_Video. Tested on Beagleboard xM, reading EDID from Hyundai monitor. Version 0.69. Tagged as 'OMAP3-0_69'
-
- 02 Jul, 2012 1 commit
-
-
Ben Avison authored
Detail: Information gathered from the "Pandora Hacker Guide" is a little sketchy so try with caution. Uniquely, the Pandora uses all 3 SD controllers on the OMAP3. Admin: Checked that still functions on a beagleboard, but untested on Pandora! Version 0.68. Tagged as 'OMAP3-0_68'
-
- 11 Jun, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/UART: - HAL_UARTModemControl now uses the correct AND mask; previous code would have always had bit 0 of the mask set. - Fixed code in HAL_UARTModemControl that was testing for calls that don't write to the register - Removed code from HAL_UARTStartUp that was setting the OUT2 bit of MCR (that bit has a different purpose on OMAP, and won't do anything interesting unless another bit it set as well) Admin: Tested on rev A2 BB-xM HAL now reports modem control lines changing correctly upon calls to HAL_UARTModemControl Version 0.67. Tagged as 'OMAP3-0_67'
-
- 07 Jun, 2012 1 commit
-
-
Ben Avison authored
Detail: * For Beagleboard and Beagleboard-xM, supports MMC1, and is tested * For DevKit8000, supports MMC1 (but untested) * For IGEPv2, supports MMC1 and MMC2 (but untested) * No support for controllers on other boards at the present time Admin: Requires headers exported from SDIODriver Version 0.66. Tagged as 'OMAP3-0_66'
-
- 06 Jun, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: s/USB - For valid controllers, HAL_USBControllerInfo now always returns the correct USB struct size and fills in the controller type. The rest of the buffer is filled in only if the supplied size is large enough. This allows for proper probing of controllers without knowing the required buffer sizes beforehand. Admin: Tested on rev A2 BB-xM Version 0.65. Tagged as 'OMAP3-0_65'
-
- 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'
-