Module Name: src Committed By: martin Date: Sun Jun 7 12:35:01 UTC 2020
Modified Files: src/distrib/arc/ramdisk [netbsd-9]: Makefile list src/sys/arch/arc/arc [netbsd-9]: arcbios.c src/sys/arch/arc/conf [netbsd-9]: GENERIC RAMDISK Log Message: Pull up following revision(s) (requested by tsutsui in ticket #939): distrib/arc/ramdisk/Makefile: revision 1.29 sys/arch/arc/arc/arcbios.c: revision 1.18 distrib/arc/ramdisk/list: revision 1.24 sys/arch/arc/conf/GENERIC: revision 1.198 sys/arch/arc/conf/RAMDISK: revision 1.83 distrib/arc/ramdisk/Makefile: revision 1.28 bump ramdisk size to 3200k for gcc 8. yay! - Make sure to preserve MIPS_CURLWP (t8) register from ARC BIOS calls. Fixes silent hangup right after starting a kernel on my Express5800/230 R4400 PCI (finally I've repaired its PSU and RTC). Reviewed by soda@. Maybe other ARC machines are also affected. Note GXemul was not affected by this problem because it doesn't have actual ARC BIOS ROM and emulates ARC functions internally. Should be pulled up to at least netbsd-9. - Shrink ramdisk to make RAMDISK kernel smaller for ARC BIOS restriction. Try to shrink kernels to smaller than ~6MB due to ARC BIOS restriction. Currently NetBSD/arc kernels are loaded at 0x80200000 (on some machines ARC BIOS uses regions before it) and ARC BIOS also uses around 0x807f0000, so bootloader fails on loading >6MB kernels. Note GXemul doesn't have this restriction because it loads a kernel directly via a command line argument. Tested by installing using sysinst on RAMDISK kernel on netbsd-9. Should be pulled up to netbsd-9. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.12.1 src/distrib/arc/ramdisk/Makefile cvs rdiff -u -r1.23 -r1.23.46.1 src/distrib/arc/ramdisk/list cvs rdiff -u -r1.17 -r1.17.68.1 src/sys/arch/arc/arc/arcbios.c cvs rdiff -u -r1.193 -r1.193.2.1 src/sys/arch/arc/conf/GENERIC cvs rdiff -u -r1.82 -r1.82.22.1 src/sys/arch/arc/conf/RAMDISK Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.