NetBSD: Difference between revisions

From Wii-Linux Wiki
Jump to navigation Jump to search
throw together crude NetBSD page
 
add link to official website
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''NetBSD''' is one of the BSD operating systems, descended from the Berkeley System Distribution. Starting with version 10.0, NetBSD supports the Wii as a first class platform.
{{seealso|https://netbsd.org/ Official NetBSD Website}}
 
'''NetBSD''' is one of the BSD operating systems, descended from the Berkeley System Distribution. Starting with version 10.0, NetBSD supports the [[Wii]] as a first class platform.


=== Comparison with Wii-Linux ===
=== Comparison with Wii-Linux ===


* Wii-Linux is launched from boot2 via Gumboot. While NetBSD has boot2 support in the current branch, as of May 2025, release builds are started via the Homebrew Channel.
* [[Wii-Linux]] is launched from boot2 via [[Gumboot]] or [[NPLL]]. While NetBSD has boot2 support in the current branch, as of May 2025, release builds are started via the Homebrew Channel.


* Wii-Linux is able to use part of MEM1 as system RAM, while NetBSD only seems to use MEM2. Hence, a Wii-Linux system has access to more RAM. (This is somewhat mitigated by the NetBSD init system being ''much'' simpler than systemd.)
* Wii-Linux is able to use part of MEM1 as system RAM, while NetBSD only seems to use MEM2. Hence, a Wii-Linux system has access to more RAM. (This is somewhat mitigated by the NetBSD init system being ''much'' simpler than systemd.)


* The Wii-Linux ArchPOWER image has better menu-driven configuration tools. While NetBSD's `sysinst` can be used for tasks like network configuration, it is not as easy to use as tools like `nmtui` or [[ConfigMii]].
* The Wii-Linux [[ArchPOWER]] image has better menu-driven configuration tools. While NetBSD's <code>sysinst</code> can be used for tasks like network configuration, it is not as easy to use as tools like <code>nmtui</code> or [[ConfigMii]].


* NetBSD's package manager is not included as part of the base system, and has to be installed using `sysinst`.
* NetBSD's package manager is not included as part of the base system, and has to be installed using <code>sysinst</code>.


* USB support in NetBSD seems to be more complete and less buggy. Many common USB networking devices that aren't supported or don't work with the Wii-Linux kernel will operate just fine in NetBSD.
* USB used to be more stable in NetBSD compared to Wii-Linux, but as of the mainline Wii-Linux kernel's release, USB should be about as stable as NetBSD.


* The framebuffer driver in Wii-Linux emulates RGB colors, so graphical software doesn't have to be rewritten for the Wii's YUV framebuffer. NetBSD's driver does not, preferring to perform the color transformation in the X.org server.
* The framebuffer driver in both Wii-Linux and NetBSD emulates RGB colors, so graphical software doesn't have to be rewritten for the Wii's YUYV framebuffer. NetBSD's driver does this via the [[Hardware/GX|GX]] GPU, using a scratch framebuffer in memory, copying into the EFB (via the CPU) every frame, and then using GX to do the conversion + copy back to the XFB.  Linux does this via software math.  Both approaches have similar performance.
** As a consequence, the color palette for the text-mode console has many incorrect colors, which makes a lot of text-mode screens hard to read.


* As of May 2025, NetBSD doesn't have drivers for [[Gamecube Controller]] or the [[USB Gecko]], and the driver for the internal Wi-Fi adapter is not yet available in release builds.
* As of May 2025, NetBSD doesn't have drivers for [[GameCube Controller]] or the [[USB Gecko]], and the driver for the internal Wi-Fi adapter is not yet available in release builds.

Latest revision as of 13:53, 15 July 2026

See also: [Official NetBSD Website]

NetBSD is one of the BSD operating systems, descended from the Berkeley System Distribution. Starting with version 10.0, NetBSD supports the Wii as a first class platform.

Comparison with Wii-Linux

[edit | edit source]
  • Wii-Linux is launched from boot2 via Gumboot or NPLL. While NetBSD has boot2 support in the current branch, as of May 2025, release builds are started via the Homebrew Channel.
  • Wii-Linux is able to use part of MEM1 as system RAM, while NetBSD only seems to use MEM2. Hence, a Wii-Linux system has access to more RAM. (This is somewhat mitigated by the NetBSD init system being much simpler than systemd.)
  • The Wii-Linux ArchPOWER image has better menu-driven configuration tools. While NetBSD's sysinst can be used for tasks like network configuration, it is not as easy to use as tools like nmtui or ConfigMii.
  • NetBSD's package manager is not included as part of the base system, and has to be installed using sysinst.
  • USB used to be more stable in NetBSD compared to Wii-Linux, but as of the mainline Wii-Linux kernel's release, USB should be about as stable as NetBSD.
  • The framebuffer driver in both Wii-Linux and NetBSD emulates RGB colors, so graphical software doesn't have to be rewritten for the Wii's YUYV framebuffer. NetBSD's driver does this via the GX GPU, using a scratch framebuffer in memory, copying into the EFB (via the CPU) every frame, and then using GX to do the conversion + copy back to the XFB. Linux does this via software math. Both approaches have similar performance.
  • As of May 2025, NetBSD doesn't have drivers for GameCube Controller or the USB Gecko, and the driver for the internal Wi-Fi adapter is not yet available in release builds.