summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/wii
Commit message (Collapse)AuthorAgeFilesLines
* Remove FreeBSD/wii.rpaulo2015-02-1014-3394/+0
| | | | | | | | | | This port failed to gain traction and probably only a couple Wii consoles ran FreeBSD all the way to single user mode with an md(4). IPC support was never implemented, so it was impossible to use any peripheral Any further development, if any, will happen at https://github.com/rpaulo/wii. Discussed with: nathanw (a long time ago), jhibbits
* Moves all the duplicate code to a single function.loos2014-11-181-5/+0
| | | | | Verify for invalid modes and unwanted flags before pass the new flags to driver.
* Make the GPIO children attach to the first unit available and not only toloos2014-10-281-2/+2
| | | | | | | | | unit 0. It seems that this 'simplification' was copied to all GPIO drivers in tree. This fix a bug where a GPIO controller could fail to attach its children (gpioc and gpiobus) if another GPIO driver attach first.
* Fix typo.nwhitehorn2013-12-021-1/+1
|
* Rearchitect platform memory map parsing to make it lessnwhitehorn2013-12-011-9/+6
| | | | | | | | | | Open Firmware-centric: - Keep the static list of regions in platform.c instead of ofw_machdep.c - Move various merging and sorting operations to platform.c as well - Move apple_hacks code out of ofw_machdep.c and into platform_powermac.c, where it belongs - Move CHRP-specific dynamic-reconfiguration memory parsing into platform_chrp.c instead of pretending it is shared code
* Add an interface for the Wii IOS kernels.rpaulo2013-11-291-0/+64
| | | | Multiple IOS interfaces can exist at the same time.
* Fix indentation.rpaulo2013-07-021-3/+3
| | | | Submitted by: jmallet
* Add register definitions for the Wii IPC system.rpaulo2013-07-021-0/+65
|
* Add support for the second GPIO pin bank on the Wii and add support forrpaulo2013-05-182-21/+91
| | | | shutting down the system.
* Add reset support to the Wii.rpaulo2013-04-272-8/+55
|
* Fix the frambuffer issues by calling pmap_mapdev() in the attach routine. Thisrpaulo2013-04-271-1/+5
| | | | | will make the framebuffer region uncacheable and it will create a proper KVA -> RAM mapping.
* Handle the IRQ for the reset button.rpaulo2013-04-243-2/+35
|
* Fix an off by one calculation in wiipic_dispatch().rpaulo2013-04-211-1/+4
|
* MFcalloutng:davide2013-02-281-2/+2
| | | | | | | | | | | When CPU becomes idle, cpu_idleclock() calculates time to the next timer event in order to reprogram hw timer. Return that time in sbintime_t to the caller and pass it to acpi_cpu_idle(), where it can be used as one more factor (quite precise) to extimate furter sleep time and choose optimal sleep state. This is a preparatory change for further callout improvements will be committed in the next days. The commmit is not targeted for MFC.
* Introduce PLATFORMMETHOD_END and use it.rpaulo2013-02-131-1/+1
|
* Use DEVMETHOD_END.rpaulo2013-02-113-3/+3
|
* Setup BAT0 and BAT1 on the Wii.adrian2012-11-211-0/+131
| | | | | | | | | | | | This is the missing piece for FreeBSD/Wii, but there's still a lot of work ahead. We have to reset the MMU in locore before continuing the boot process because we don't know how the boot loaders might have setup the BATs. We also disable the PCI BAT because there's no PCI bus on the Wii. Thanks to Nathan Whitehorn and Peter Grenhan for their help. Submitted by: Margarida Gouveia
* Fix the memory regions to include the 64MB DDR3 memory slot.rpaulo2012-10-221-6/+14
|
* Increase the I/O memory area to 0xc20000.rpaulo2012-10-221-1/+1
|
* Add IRQ support to the resource list handling functions.rpaulo2012-09-081-3/+7
|
* Initial support for running FreeBSD on the Nintendo Wii. We're able toadrian2012-08-2112-0/+2973
reach single user mode using a memory disk device as the file system. This port includes the framebuffer driver, the PIC driver, a platform driver and the GPIO driver. The IPC driver (to talk to IOS kernels) is not yet written but there's a placeholder for it. There are still some MMU problems and to get a working system you need to patch locore32.S. Since we haven't found the best way yet to address that problem, we're not committing those changes yet. The problem is related to the different BAT layout on the Wii and to the fact that the Homebrew loader doesn't clean up the special registers (including the 8 BATs) before passing control to us. You'll need a Wii with Homebrew loader and a TV that can do NTSC (for now). Submitted by: Margarida Gouveia
OpenPOWER on IntegriCloud