mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
coreboot for the Switch
Also added comments. A big change is in the dts. In OFW trees, the hierarchy seems to be: /root/cpu/northbridge south other pci note that the north is in the hierarchy under the south. This hierarchy makes no sense on systems with a shared frontside bus, or at least I don't see how it can. In those systems, it's easier to think about the CPUs AND northbridges as children of the front side bus. in LinuxBIOS, it has always been this: /root/cpu/whatever /root/northbridge/ south other pci There have been many discussions over how it ought to be, for 8 years now, and we've always come back to how LB does it. So I have changed the dts for qemu for now to match LB's way of doing things. Note that the new system is flexible enough that, on K8, we CAN do things as above: /cpu@0/amd8knorthbridge/etc. /cpu@1/amd8knorthbridge/etc. But on qemu, for now, the root is the mainboard, and the CPU and northbridge are siblings. I've added some informational printks, cleaned up pci_ops, and done other things so that it builds and all seems to work -- until it hangs hard in enumeration in i440bx ... Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@160 f3766cd6-281f-0410-b1cd-43a5c92072e9 |
||
---|---|---|
arch | ||
console | ||
device | ||
doc | ||
include | ||
lib | ||
mainboard | ||
northbridge/intel/i440bxemulation | ||
util | ||
COPYING | ||
HACKING | ||
Kconfig | ||
Makefile | ||
README |
------------------------------------------------------------------------------- LinuxBIOS README ------------------------------------------------------------------------------- LinuxBIOS is a Free Software project aimed at replacing the proprietary BIOS you can find in most of today's computers. It performs just a little bit of hardware initialization and then executes one of many possible payloads, e.g. a Linux kernel. Payloads -------- After the basic initialization of the hardware has been performed, any desired "payload" can be started by LinuxBIOS. Examples include: * A Linux kernel * FILO (a simple bootloader with filesystem support) * GRUB2 (a free bootloader; support is in development) * OpenBIOS (a free IEEE1275-1994 Open Firmware implementation) * Open Firmware (a free IEEE1275-1994 Open Firmware implementation) * SmartFirmware (a free IEEE1275-1994 Open Firmware implementation) * GNUFI (a free, UEFI-compatible firmware) * Etherboot (for network booting and booting from raw IDE or FILO) * ADLO (for booting Windows 2000 or OpenBSD) * Plan 9 (a distributed operating system) * memtest86 (for testing your RAM) Supported Hardware ------------------ LinuxBIOS supports a wide range of chipsets, devices, and mainboards. For details please consult: * http://www.linuxbios.org/Supported_Motherboards * http://www.linuxbios.org/Supported_Chipsets_and_Devices Website and Mailing List ------------------------ Further details on the project, a FAQ, many HOWTOs, news, development guidelines and more can be found on the LinuxBIOS website: http://www.linuxbios.org You can contact us directly on the LinuxBIOS mailing list: http://www.linuxbios.org/Mailinglist Copyright and License --------------------- The copyright on LinuxBIOS is owned by quite a large number of individual developers and companies. Please check the individual source files for details. LinuxBIOS is licensed under the terms of the GNU General Public License (GPL). Some files are licensed under the "GPL (version 2, or any later version)", and some files (mostly those derived from the Linux kernel) are licensed under the "GPL, version 2". For some parts, which were derived from other projects, other (GPL-compatible) licenses may apply. Please check the individual source files for details. This makes the resulting LinuxBIOS images licensed under the GPL, version 2.