- 25 Oct, 2014 1 commit
-
-
Robert Sprowson authored
As the flag bit in HAL_USBControllerInfo isn't set, no need to provide them. Use symbols from Hdr:HALEntries when building the USB info. No need for AASMFLAGS in the makefile. Built, but not tested. Version 0.98. Tagged as 'OMAP3-0_98'
-
- 08 Mar, 2014 1 commit
-
-
Robert Sprowson authored
Reflects similar change in OMAP4-0_28. Built, but not tested. Version 0.95. Tagged as 'OMAP3-0_95'
-
- 15 Dec, 2013 1 commit
-
-
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'
-
- 01 Nov, 2013 1 commit
-
-
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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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...
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 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'
-
- 20 Mar, 2010 2 commits
-
-
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'
-
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'
-