head 1.2; access; symbols netbsd-11-0-RC3:1.2.2.2 netbsd-11-0-RC2:1.2.2.2 netbsd-11-0-RC1:1.2.2.2 netbsd-10:1.2.0.4 netbsd-11:1.2.0.2; locks; strict; comment @# @; 1.2 date 2025.11.16.22.37.49; author jmcneill; state Exp; branches 1.2.2.1 1.2.4.1; next 1.1; commitid Pj4bLIHnkuRmwPiG; 1.1 date 2025.11.16.20.11.48; author jmcneill; state Exp; branches; next ; commitid Cb6IUJYH4cb9HOiG; 1.2.2.1 date 2025.11.16.22.37.49; author martin; state dead; branches; next 1.2.2.2; commitid xAeTwI7YkpT5hkjG; 1.2.2.2 date 2025.11.20.19.14.49; author martin; state Exp; branches; next ; commitid xAeTwI7YkpT5hkjG; 1.2.4.1 date 2025.11.16.22.37.49; author martin; state dead; branches; next 1.2.4.2; commitid 8a8NdidbxQq4ikjG; 1.2.4.2 date 2025.11.20.19.17.40; author martin; state Exp; branches; next ; commitid 8a8NdidbxQq4ikjG; desc @@ 1.2 log @wii: ppcboot.elf: Support booting backup kernel images. When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. While here, ensure that the RESET button can reset the system when ppcboot.elf is in panic state. @ text @$NetBSD: version,v 1.1 2025/11/16 20:11:48 jmcneill Exp $ NOTE ANY CHANGES YOU MAKE TO THE WII BOOTLOADER HERE. The format of this file is important - make sure the entries are appended on end, last item is taken as the current. 1.0: Initial version. 1.1: When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. The RESET button will now reset the system when ppcboot.elf is in panic state. @ 1.2.4.1 log @file version was added on branch netbsd-10 on 2025-11-20 19:17:40 +0000 @ text @d1 12 @ 1.2.4.2 log @Pull up following revision(s) (requested by jmcneill in ticket #92): sys/arch/evbppc/stand/wii/Makefile: revision 1.1 sys/arch/evbppc/stand/wii/gecko.c: revision 1.1 distrib/utils/embedded/conf/wii.conf: revision 1.6 sys/arch/evbppc/stand/wii/gecko.h: revision 1.1 sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.3 sys/arch/evbppc/stand/wii/miniipc.c: revision 1.1 sys/arch/evbppc/stand/wii/devopen.c: revision 1.1 etc/etc.evbppc/Makefile.inc: revision 1.20 sys/arch/evbppc/stand/wii/miniipc.h: revision 1.1 sys/arch/evbppc/stand/wii/gpio.c: revision 1.1 sys/arch/evbppc/stand/wii/gpio.c: revision 1.2 sys/arch/evbppc/stand/wii/start.S: revision 1.1 sys/arch/evbppc/stand/wii/gpio.h: revision 1.1 sys/arch/evbppc/stand/wii/gpio.h: revision 1.2 sys/arch/evbppc/stand/wii/timer.h: revision 1.1 sys/arch/evbppc/stand/wii/timer.c: revision 1.1 sys/arch/evbppc/stand/wii/console.c: revision 1.1 sys/arch/evbppc/Makefile: revision 1.4 sys/arch/evbppc/stand/wii/sdmmc.c: revision 1.1 sys/arch/evbppc/stand/wii/console.h: revision 1.1 sys/arch/evbppc/stand/wii/version: revision 1.1 sys/arch/evbppc/stand/wii/cache.h: revision 1.1 sys/arch/evbppc/stand/wii/version: revision 1.2 sys/arch/evbppc/stand/wii/sdmmc.h: revision 1.1 sys/arch/evbppc/stand/wii/conf.c: revision 1.1 sys/arch/evbppc/stand/wii/boot.c: revision 1.1 sys/arch/evbppc/stand/wii/boot.c: revision 1.2 sys/arch/evbppc/stand/Makefile: revision 1.1 distrib/sets/lists/base/md.evbppc: revision 1.4 wii: Add standalone bootloader. This adds "ppcboot.elf" to the Wii (evbppc) build, which can be placed on the FAT partition of an SD card in the bootmii directory. The bootloader doesn't have a user interface, it simply loads a kernel from the first FFS partition it finds on the SD card. Debug logs are printed to a USB Gecko device in either memory card slot if present. \\-__,------,___. \\ __,---` NetBSD/evbppc Wii MINI boot \\ `---,_. Revision 1.0 (Sun Nov 16 19:27:47 UTC 2025) \\-,_____,.---` \ \ booting netbsd 7828064/-|+130520 [315696+305916]=0x82f350 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 11.99.3 (WII) #207: Sun Nov 16 14:28:23 AST 2025 [ 1.0000000] jmcneill@@berserk:/home/jmcneill/netbsd/obj/sys/arch/evbppc/compile/WII [ 1.0000000] total memory = 90112 KB [ 1.0000000] avail memory = 77008 KB [ 1.0000000] mainbus0 (root): Nintendo Wii ... wii: ppcboot.elf: Support booting backup kernel images. When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. While here, ensure that the RESET button can reset the system when ppcboot.elf is in panic state. wii: install ppcboot.elf to releasedir (installation/misc) @ text @a0 12 $NetBSD: version,v 1.1 2025/11/16 20:11:48 jmcneill Exp $ NOTE ANY CHANGES YOU MAKE TO THE WII BOOTLOADER HERE. The format of this file is important - make sure the entries are appended on end, last item is taken as the current. 1.0: Initial version. 1.1: When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. The RESET button will now reset the system when ppcboot.elf is in panic state. @ 1.2.2.1 log @file version was added on branch netbsd-11 on 2025-11-20 19:14:49 +0000 @ text @d1 12 @ 1.2.2.2 log @Pull up following revision(s) (requested by jmcneill in ticket #92): sys/arch/evbppc/stand/wii/Makefile: revision 1.1 sys/arch/evbppc/stand/wii/gecko.c: revision 1.1 distrib/utils/embedded/conf/wii.conf: revision 1.6 sys/arch/evbppc/stand/wii/gecko.h: revision 1.1 sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.3 sys/arch/evbppc/stand/wii/miniipc.c: revision 1.1 sys/arch/evbppc/stand/wii/devopen.c: revision 1.1 etc/etc.evbppc/Makefile.inc: revision 1.20 sys/arch/evbppc/stand/wii/miniipc.h: revision 1.1 sys/arch/evbppc/stand/wii/gpio.c: revision 1.1 sys/arch/evbppc/stand/wii/gpio.c: revision 1.2 sys/arch/evbppc/stand/wii/start.S: revision 1.1 sys/arch/evbppc/stand/wii/gpio.h: revision 1.1 sys/arch/evbppc/stand/wii/gpio.h: revision 1.2 sys/arch/evbppc/stand/wii/timer.h: revision 1.1 sys/arch/evbppc/stand/wii/timer.c: revision 1.1 sys/arch/evbppc/stand/wii/console.c: revision 1.1 sys/arch/evbppc/Makefile: revision 1.4 sys/arch/evbppc/stand/wii/sdmmc.c: revision 1.1 sys/arch/evbppc/stand/wii/console.h: revision 1.1 sys/arch/evbppc/stand/wii/version: revision 1.1 sys/arch/evbppc/stand/wii/cache.h: revision 1.1 sys/arch/evbppc/stand/wii/version: revision 1.2 sys/arch/evbppc/stand/wii/sdmmc.h: revision 1.1 sys/arch/evbppc/stand/wii/conf.c: revision 1.1 sys/arch/evbppc/stand/wii/boot.c: revision 1.1 sys/arch/evbppc/stand/wii/boot.c: revision 1.2 sys/arch/evbppc/stand/Makefile: revision 1.1 distrib/sets/lists/base/md.evbppc: revision 1.4 wii: Add standalone bootloader. This adds "ppcboot.elf" to the Wii (evbppc) build, which can be placed on the FAT partition of an SD card in the bootmii directory. The bootloader doesn't have a user interface, it simply loads a kernel from the first FFS partition it finds on the SD card. Debug logs are printed to a USB Gecko device in either memory card slot if present. \\-__,------,___. \\ __,---` NetBSD/evbppc Wii MINI boot \\ `---,_. Revision 1.0 (Sun Nov 16 19:27:47 UTC 2025) \\-,_____,.---` \ \ booting netbsd 7828064/-|+130520 [315696+305916]=0x82f350 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 11.99.3 (WII) #207: Sun Nov 16 14:28:23 AST 2025 [ 1.0000000] jmcneill@@berserk:/home/jmcneill/netbsd/obj/sys/arch/evbppc/compile/WII [ 1.0000000] total memory = 90112 KB [ 1.0000000] avail memory = 77008 KB [ 1.0000000] mainbus0 (root): Nintendo Wii ... wii: ppcboot.elf: Support booting backup kernel images. When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. While here, ensure that the RESET button can reset the system when ppcboot.elf is in panic state. wii: install ppcboot.elf to releasedir (installation/misc) @ text @a0 12 $NetBSD: version,v 1.1 2025/11/16 20:11:48 jmcneill Exp $ NOTE ANY CHANGES YOU MAKE TO THE WII BOOTLOADER HERE. The format of this file is important - make sure the entries are appended on end, last item is taken as the current. 1.0: Initial version. 1.1: When the EJECT button is pressed during boot, the default kernel filenames "netbsd" and "netbsd.gz" are skipped. Backup kernels starting with "onetbsd" and "onetbsd.gz" are used instead. The RESET button will now reset the system when ppcboot.elf is in panic state. @ 1.1 log @wii: Add standalone bootloader. This adds "ppcboot.elf" to the Wii (evbppc) build, which can be placed on the FAT partition of an SD card in the bootmii directory. The bootloader doesn't have a user interface, it simply loads a kernel from the first FFS partition it finds on the SD card. Debug logs are printed to a USB Gecko device in either memory card slot if present. \\-__,------,___. \\ __,---` NetBSD/evbppc Wii MINI boot \\ `---,_. Revision 1.0 (Sun Nov 16 19:27:47 UTC 2025) \\-,_____,.---` \\ \\ \\ booting netbsd 7828064/-|+130520 [315696+305916]=0x82f350 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 11.99.3 (WII) #207: Sun Nov 16 14:28:23 AST 2025 [ 1.0000000] jmcneill@@berserk:/home/jmcneill/netbsd/obj/sys/arch/evbppc/compile/WII [ 1.0000000] total memory = 90112 KB [ 1.0000000] avail memory = 77008 KB [ 1.0000000] mainbus0 (root): Nintendo Wii ... @ text @d1 1 a1 1 $NetBSD$ d8 5 @