head	1.5;
access;
symbols
	netbsd-11-0-RC7:1.3.2.1
	netbsd-11-0-RC6:1.3.2.1
	netbsd-11-0-RC5:1.3.2.1
	netbsd-11-0-RC4:1.3.2.1
	netbsd-11-0-RC3:1.3.2.1
	netbsd-11-0-RC2:1.3.2.1
	netbsd-11-0-RC1:1.3.2.1
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.2
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.4
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.2
	netbsd-10-base:1.2;
locks; strict;
comment	@# @;


1.5
date	2026.01.09.22.54.26;	author jmcneill;	state Exp;
branches;
next	1.4;
commitid	ICRnSxv4iQ7NSLpG;

1.4
date	2025.11.16.20.11.46;	author jmcneill;	state Exp;
branches;
next	1.3;
commitid	Cb6IUJYH4cb9HOiG;

1.3
date	2024.07.11.20.41.06;	author riastradh;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	psHdwNjzQfZSIshF;

1.2
date	2022.05.30.15.06.54;	author rin;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;
commitid	GVUeTtYLg8nxI5GD;

1.1
date	2022.01.12.15.35.51;	author martin;	state Exp;
branches;
next	;
commitid	vk7uvlRtjZBTjmoD;

1.3.2.1
date	2025.11.20.19.14.50;	author martin;	state Exp;
branches;
next	;
commitid	xAeTwI7YkpT5hkjG;

1.2.2.1
date	2025.11.20.19.17.41;	author martin;	state Exp;
branches;
next	;
commitid	8a8NdidbxQq4ikjG;

1.2.4.1
date	2025.08.02.05.20.25;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;


desc
@@


1.5
log
@Add support for the Nintendo Wii U.
@
text
@# $NetBSD: md.evbppc,v 1.4 2025/11/16 20:11:46 jmcneill Exp $
#
./lib/libc_aligned.so		base-sys-shlib	dynamicroot,!machine_arch=powerpc64
./lib/libc_aligned.so.0		base-sys-shlib	dynamicroot,!machine_arch=powerpc64
./lib/libc_aligned.so.0.0	base-sys-shlib	dynamicroot,!machine_arch=powerpc64
./lib/libpowerpc_espresso.so.0			base-sys-shlib		dynamicroot,pic,!machine_arch=powerpc64
./lib/libpowerpc_espresso.so.0.0		base-sys-shlib		dynamicroot,pic,!machine_arch=powerpc64
./usr/lib/libc_aligned.so	base-sys-shlib	pic,!machine_arch=powerpc64
./usr/lib/libc_aligned.so.0	base-sys-shlib	pic,!machine_arch=powerpc64
./usr/lib/libc_aligned.so.0.0	base-sys-shlib	pic,!machine_arch=powerpc64
./usr/lib/libpowerpc_espresso.so.0		base-sys-shlib		pic,!machine_arch=powerpc64
./usr/lib/libpowerpc_espresso.so.0.0		base-sys-shlib		pic,!machine_arch=powerpc64
./usr/mdec/ppcboot.elf		base-sysutil-bin !machine_arch=powerpc64
./usr/share/sysinst/catalog/sysinstmsgs.de	base-util-share
./usr/share/sysinst/catalog/sysinstmsgs.es	base-util-share
./usr/share/sysinst/catalog/sysinstmsgs.fr	base-util-share
./usr/share/sysinst/catalog/sysinstmsgs.pl	base-util-share
@


1.4
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: md.evbppc,v 1.3 2024/07/11 20:41:06 riastradh Exp $
d6 2
d11 2
@


1.3
log
@distrib/sets/lists: Add a blank comment line between RCS id and body.

This serves as a buffer between RCS id changes and other changes to
the set lists, in an attempt to reduce the pain of merge conflicts
around mass set list changes.

No functional change intended.
@
text
@d1 1
a1 1
# $NetBSD: md.evbppc,v 1.2 2022/05/30 15:06:54 rin Exp $
d9 1
@


1.3.2.1
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
@d1 1
a1 1
# $NetBSD: md.evbppc,v 1.3 2024/07/11 20:41:06 riastradh Exp $
a8 1
./usr/mdec/ppcboot.elf		base-sysutil-bin !machine_arch=powerpc64
@


1.2
log
@Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unaligned variable.

With this library, unaligned memory accesses are significantly reduced
for 403 (from several hundreds to few tens per sec under heavy load);
only ld.elf_so (typically few times per fork) and statically-linked
binaries do such access.
@
text
@d1 2
a2 1
# $NetBSD: md.evbppc,v 1.1 2022/01/12 15:35:51 martin Exp $
@


1.2.2.1
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
@d1 1
a1 1
# $NetBSD: md.evbppc,v 1.2 2022/05/30 15:06:54 rin Exp $
a7 1
./usr/mdec/ppcboot.elf		base-sysutil-bin !machine_arch=powerpc64
@


1.2.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 2
# $NetBSD: md.evbppc,v 1.3 2024/07/11 20:41:06 riastradh Exp $
#
@


1.1
log
@A few more sysinst message catalog adjustments
@
text
@d1 7
a7 1
# $NetBSD: md.zaurus,v 1.9 2022/01/11 19:27:13 martin Exp $
@

