Home | History | Annotate | only in /src/sys/arch/riscv/conf
History log of /src/sys/arch/riscv/conf
RevisionDateAuthorComments
 1.24 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.23 09-Feb-2023  abs Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work
 1.22 09-Feb-2023  abs Ensure GENERIC.local is always at the end of GENERIC

Where a GENERIC config had an existing inclusion of GENERIC.local,
ensure it is always at the end of the file, with a consistent
comment:

# Pull in optional local configuration
cinclude "arch/landisk/conf/GENERIC.local"

This allows GENERIC.local to correctly override all options

(This pass does not affect any GENERIC which did not already have
an include of GENERIC.local)
 1.21 25-Nov-2022  jmcneill Add driver for SiFive FU540 PRCI clock controller.
 1.20 19-Nov-2022  skrll Some comments
 1.19 15-Nov-2022  simonb Include GENERIC.local if it exists.
 1.18 12-Nov-2022  simonb Add NFS_BOOT_DHCP option.
 1.17 12-Oct-2022  simonb "options<space><tab>"
 1.16 29-Sep-2022  riastradh swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with. Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702
 1.15 27-Sep-2022  skrll Basic ddb and backtrace support.

[ 1.0000000] panic: kernel diagnostic assertion "msgbufaddr != 0" failed: file "/home/nick/netbsd/nbcvs/src/sys/arch/riscv/riscv/riscv_machdep.c", line 564
[ 1.0000000] cpu0: Begin traceback...
[ 1.0000000] trace fp ffffffc000801dd0
[ 1.0000000] fp ffffffc000801e10 ?() at ffffffc0001eee98
[ 1.0000000] fp ffffffc000801e30 ?() at ffffffc0002ad984
[ 1.0000000] fp ffffffc000801ee0 ?() at ffffffc000005430
[ 1.0000000] cpu0: End traceback...
[ 1.0000000] Trapframe @ 0xffffffc000801cb0 (cause=3 (breakpoint), status=0x100, pc=0xffffffc0000007e4, va=0):
[ 1.0000000] ra =0xffffffc0001eee9c, sp =0xffffffc000801dd0, gp =0xffffffc0006a8f40, tp = 0
[ 1.0000000] s0 =0xffffffc000600ac0, s1 = 0x1000, s2 =0xffffffc000438df0, s3 =0xffffffc000801d80
[ 1.0000000] s4 =0xffffffc0001eed78, s5 =0xffffffc0006d55f8, s6 =0xffffffc000801d88, s7 =0xffffffc0006dfdb8
[ 1.0000000] s8 =0xffffffc000428c18, s9 =0xffffffc000801dd0, s10=0xffffffc0000a3822, s11=0xffffffc0006d55f8
[ 1.0000000] a0 = 0x17, a1 = 0xa, a2 = 0, a3 =0xffffffc00041f658
[ 1.0000000] a4 = 0, a5 = 0x1, a5 = 0, a7 = 0x1
[ 1.0000000] t0 =0xffffffc0006dfe30, t1 =0xffffffc000801bb8, t2 =0xffffffc000803000, t3 = 0x75
[ 1.0000000] t4 = 0, t5 = 0x63, t6 = 0x1
[ 1.0000000] kernel: breakpoint
Stopped in pid 0.0 (system) at ffffffc0000007e4: c.ebreak
db>
 1.14 11-Sep-2022  skrll Add some bus_space(9), bus_dma(9) and FDT infrastructure. Baby steps.

Remove the RISC-V Host Target Interface (HTIF) Emulation code.
 1.13 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.12 20-Jan-2021  nia do not enable kernel OSS compat in configs without compat_linux

perhaps kernel OSS compat can be merged into compat_linux to avoid
further confusion
 1.11 04-Nov-2020  skrll Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@
 1.10 01-Jun-2019  maxv branches: 1.10.10;
Misc changes in RISC-V. Start changing the memory layout, too.
 1.9 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.8 06-Nov-2017  rin branches: 1.8.2; 1.8.4; 1.8.6;
Revive commented out DISKLABEL_EI option to kernel configuration files
that contain FFS_EI option.
 1.7 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.6 26-Feb-2017  maya Remove commented DISKLABEL_EI for strictly little endian architectures

It will never be useful.
 1.5 26-Feb-2017  rin Add DKWEDGE_METHOD_RDB option, which is enabled for x86, commented out for
other platforms by default.
 1.4 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.3 07-Aug-2016  christos branches: 1.3.2;
rename ifmpls to mpls, so we don't have if_ifmpls...
 1.2 07-Aug-2015  maxv branches: 1.2.2;
Remove KMEMSTATS.
 1.1 28-Mar-2015  matt branches: 1.1.2;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.2.5 28-Aug-2017  skrll Sync with HEAD
 1.1.2.4 05-Oct-2016  skrll Sync with HEAD
 1.1.2.3 22-Sep-2015  skrll Sync with HEAD
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file GENERIC was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.2.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.8.6.1 10-Jun-2019  christos Sync with HEAD
 1.8.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.8.2.2 03-Dec-2017  jdolecek update from HEAD
 1.8.2.1 06-Nov-2017  jdolecek file GENERIC was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.10.10.2 03-Apr-2021  thorpej Sync with HEAD.
 1.10.10.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.22 01-Apr-2025  nia riscv: Enable audio support for QEMU
 1.21 27-Mar-2025  riastradh virtio(4): Consolidate kernel configs.

No functional change intended.

Leave `# XXX ?' comments where I don't know why the driver in
question is excluded. (Typical reason is that PAGE_SIZE is not 4096
but I didn't investigate -- if you do investigate, please either
update the comment if you determine a reason, or enable the driver if
you don't.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs
 1.20 08-Feb-2025  skrll riscv: Add pseudo-device openfirm

Missed in previous commit
 1.19 25-Jan-2025  skrll risc-v: disable X-Powers AXP Power Management IC for now as it causes problems
 1.18 05-Jan-2025  skrll Add X-Powers AXP Power Management IC and registers attachments
 1.17 02-Jan-2025  skrll risc-v: Add the Designware I2C controller
 1.16 01-Jan-2025  skrll risc-v: add support for PCI and the PCIe controller in the JH7110 SoC.

Testing as working with xhci and nvme on VisionFive2.

Uses legacy PCI interrupts currently. MSIs to be added later.

pcihost_fdt code is 99% the same as the Arm version and should be shared.
 1.15 16-Jul-2024  riastradh viocon(4): Add to various kernel configs.
 1.14 17-Apr-2024  skrll branches: 1.14.2;
Re-enable HEARTBEAT
 1.13 06-Apr-2024  skrll Attach qemufwcfg
 1.12 02-Apr-2024  charlotte Mention DKWEDGE_METHOD_TOS in several kernel config files
 1.11 11-Feb-2024  skrll Turn off HEARTBEAT
 1.10 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.9 13-Jan-2024  skrll Attach generic system controllers
 1.8 13-Jan-2024  skrll Group pass 1 attachments
 1.7 03-Sep-2023  skrll Fix and enable MULTIPROCESSOR
 1.6 01-Aug-2023  rjs Include compat config for NetBSD-10.
 1.5 16-Jul-2023  skrll riscv: Enable HEARTBEAT option in GENERIC.common
 1.4 02-Jun-2023  andvar follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.
also s/beyound/beyond/ and few others along the way, mainly in comments.
 1.3 01-Jun-2023  andvar fix various typos in comments.
 1.2 08-May-2023  skrll RISC-V: Add the Google Goldfish RTC to the GENERIC.common
 1.1 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.14.2.1 02-Aug-2025  perseant Sync with HEAD
 1.21 08-Feb-2025  skrll risc-v: add a JH7110 TRNG driver
 1.20 03-Jan-2025  skrll risc-v: add a StarFive JH71[01]0 temperature sensor driver
 1.19 01-Jan-2025  skrll risc-v: add support for PCI and the PCIe controller in the JH7110 SoC.

Testing as working with xhci and nvme on VisionFive2.

Uses legacy PCI interrupts currently. MSIs to be added later.

pcihost_fdt code is 99% the same as the Arm version and should be shared.
 1.18 12-Nov-2024  skrll Remove the USB stuff that is already in GENERIC.common
 1.17 11-Nov-2024  skrll risc-v: add a specific driver for the JH7110 STG system controller
 1.16 11-Nov-2024  skrll risc-v: add a JH7110 PCIe PHY driver
 1.15 11-Nov-2024  skrll whitespace
 1.14 11-Nov-2024  skrll Attach GPIO controllers in pass 2
 1.13 11-Nov-2024  skrll risc-v: Add initial JH7110 pin controller driver
 1.12 26-Oct-2024  skrll risc-v: add ethernet support on JH71[01]0 support

At present only the JH7110 EQOS support is enabled as it work.

The JH7100 has cache coherency issues that need handling before the
gmac can be enabled.
 1.11 19-Aug-2024  skrll Add a clock driver for the JH7110 SoC found in the StarFive VisionFive 2
SBC.

It's not fully functional as something is wrong for the
Image-Signal-Process controller which is why it's #if 0'd out.
 1.10 13-Aug-2024  skrll risc-v: Allwinner D1 support

Add the Allwinnder D1 support provided by Rui-Xiang Guo and updated
but me.

https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html

Only driver listed as attaching in

https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

have been added.

There is no need for the platform stuff as the board's u-boot is able
to load bootriscv64.efi and boot a generic kernel.
 1.9 09-Feb-2024  skrll branches: 1.9.2;
Attach ld at sdmmc

The SD card on my Beagle-V now works. Thanks jmcneill!
 1.8 07-Feb-2024  skrll risc-v: add a driver the JH7100 pin controller
 1.7 07-Feb-2024  skrll Use <space><tab> consistently
 1.6 20-Jan-2024  skrll Add bwfm* at sdmmc? for the Broadcom BCM43xxx WiFi Interface
 1.5 20-Jan-2024  skrll Add DesignWare SD/MMC attachment.
 1.4 18-Jan-2024  skrll risc-v: attach the Cadence XHCI usb controller on the JH7100 SoC
 1.3 16-Jan-2024  skrll risc-v: add a StarTech JH7100 SoC clock driver

The JH7100 is seen in the Beagle-V board.
 1.2 13-Jan-2024  skrll risc-v: add a SiFive FU[57]40/ L2 Cache controller driver
 1.1 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 01-Aug-2023  gutteridge INSTALL: add a basic comment and missing RCS ID

(This isn't actually in use at present, but make it look like other
examples.)
 1.1 28-Mar-2015  matt branches: 1.1.2; 1.1.18;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 28-Mar-2015  jdolecek file INSTALL was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file INSTALL was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.1 28-Mar-2015  matt branches: 1.1.2; 1.1.18;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 28-Mar-2015  jdolecek file INSTALL.config was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file INSTALL.config was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.11 25-Feb-2024  skrll Warn about building a kernel with the wrong toolchain.

Idea from mrg@
 1.10 26-Jul-2023  rin Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
 1.9 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.8 28-Sep-2022  skrll branches: 1.8.4;
Fix RV32 so it gets to the same point as RV64
 1.7 01-May-2021  skrll Fixup kernel linking and provide a linker script with standard sections
and symbols
 1.6 14-Mar-2020  skrll branches: 1.6.8;
Trailing whitespace
 1.5 16-Jun-2019  maxv Misc changes in RISC-V.
 1.4 01-Jun-2019  maxv Misc changes in RISC-V. Start changing the memory layout, too.
 1.3 22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.2 31-Mar-2015  matt branches: 1.2.2; 1.2.18; 1.2.20; 1.2.22;
Use -mcmodel=medany to get PICish code.
 1.1 28-Mar-2015  matt Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.2.22.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.22.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.22.1 10-Jun-2019  christos Sync with HEAD
 1.2.20.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.2.18.2 03-Dec-2017  jdolecek update from HEAD
 1.2.18.1 31-Mar-2015  jdolecek file Makefile.riscv was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.2.2.2 06-Apr-2015  skrll Sync with HEAD
 1.2.2.1 31-Mar-2015  skrll file Makefile.riscv was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.6.8.1 13-May-2021  thorpej Sync with HEAD.
 1.8.4.1 11-Sep-2023  martin Pull up following revision(s) (requested by rin in ticket #363):

sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
sys/arch/alpha/conf/Makefile.alpha: revision 1.88
sys/arch/mips/conf/Makefile.mips: revision 1.73
sys/conf/Makefile.kern.inc: revision 1.298
sys/conf/Makefile.kern.inc: revision 1.299
sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
sys/arch/arm/conf/Makefile.arm: revision 1.56
sys/arch/arm/conf/Makefile.arm: revision 1.57
sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.
 1.1 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.3 13-Aug-2024  skrll risc-v: Allwinner D1 support

Add the Allwinnder D1 support provided by Rui-Xiang Guo and updated
but me.

https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html

Only driver listed as attaching in

https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

have been added.

There is no need for the platform stuff as the board's u-boot is able
to load bootriscv64.efi and boot a generic kernel.
 1.2 16-Jan-2024  skrll branches: 1.2.2;
risc-v: add a StarTech JH7100 SoC clock driver

The JH7100 is seen in the Beagle-V board.
 1.1 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.2.2.1 02-Aug-2025  perseant Sync with HEAD
 1.17 01-Jan-2025  skrll risc-v: add support for PCI and the PCIe controller in the JH7110 SoC.

Testing as working with xhci and nvme on VisionFive2.

Uses legacy PCI interrupts currently. MSIs to be added later.

pcihost_fdt code is 99% the same as the Arm version and should be shared.
 1.16 23-Nov-2024  skrll risc-v: split db_{read,write}_bytes from db_machdep.c

Another step towards crash(8) support
 1.15 06-Apr-2024  skrll branches: 1.15.2;
Provide and use _ucas_{32,64} implementations
 1.14 03-Sep-2023  skrll Fix and enable MULTIPROCESSOR
 1.13 12-Jun-2023  skrll risc-v: MULTIPROCESSOR support

Add MULTIPROCESSOR support for RISC-V, but leave disabled for the moment
as it's not 100% stable.

Some other improvements to spl and cpu identification / reporting.
 1.12 07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.11 14-Oct-2022  skrll Split out a bunch of functions from locore.S into cpu_switch.S

NFC
 1.10 27-Sep-2022  skrll Basic ddb and backtrace support.

[ 1.0000000] panic: kernel diagnostic assertion "msgbufaddr != 0" failed: file "/home/nick/netbsd/nbcvs/src/sys/arch/riscv/riscv/riscv_machdep.c", line 564
[ 1.0000000] cpu0: Begin traceback...
[ 1.0000000] trace fp ffffffc000801dd0
[ 1.0000000] fp ffffffc000801e10 ?() at ffffffc0001eee98
[ 1.0000000] fp ffffffc000801e30 ?() at ffffffc0002ad984
[ 1.0000000] fp ffffffc000801ee0 ?() at ffffffc000005430
[ 1.0000000] cpu0: End traceback...
[ 1.0000000] Trapframe @ 0xffffffc000801cb0 (cause=3 (breakpoint), status=0x100, pc=0xffffffc0000007e4, va=0):
[ 1.0000000] ra =0xffffffc0001eee9c, sp =0xffffffc000801dd0, gp =0xffffffc0006a8f40, tp = 0
[ 1.0000000] s0 =0xffffffc000600ac0, s1 = 0x1000, s2 =0xffffffc000438df0, s3 =0xffffffc000801d80
[ 1.0000000] s4 =0xffffffc0001eed78, s5 =0xffffffc0006d55f8, s6 =0xffffffc000801d88, s7 =0xffffffc0006dfdb8
[ 1.0000000] s8 =0xffffffc000428c18, s9 =0xffffffc000801dd0, s10=0xffffffc0000a3822, s11=0xffffffc0006d55f8
[ 1.0000000] a0 = 0x17, a1 = 0xa, a2 = 0, a3 =0xffffffc00041f658
[ 1.0000000] a4 = 0, a5 = 0x1, a5 = 0, a7 = 0x1
[ 1.0000000] t0 =0xffffffc0006dfe30, t1 =0xffffffc000801bb8, t2 =0xffffffc000803000, t3 = 0x75
[ 1.0000000] t4 = 0, t5 = 0x63, t6 = 0x1
[ 1.0000000] kernel: breakpoint
Stopped in pid 0.0 (system) at ffffffc0000007e4: c.ebreak
db>
 1.9 19-Sep-2022  skrll Sort. NFC.
 1.8 11-Sep-2022  skrll Add some bus_space(9), bus_dma(9) and FDT infrastructure. Baby steps.

Remove the RISC-V Host Target Interface (HTIF) Emulation code.
 1.7 04-Nov-2020  skrll Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@
 1.6 21-Oct-2020  christos branches: 1.6.2;
make process_machdep.c included always since it provides register i/o used by
sys_process_getlwpstatus.c which is always included.
 1.5 20-Oct-2020  christos harmonize process_machdep.c inclusion.
 1.4 20-Nov-2019  pgoyette Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation. Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !
 1.3 16-Jun-2019  maxv Misc changes in RISC-V.
 1.2 01-Jun-2019  maxv Misc changes in RISC-V. Start changing the memory layout, too.
 1.1 28-Mar-2015  matt branches: 1.1.2; 1.1.18; 1.1.22;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.22.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.22.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.22.1 10-Jun-2019  christos Sync with HEAD
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 28-Mar-2015  jdolecek file files.riscv was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file files.riscv was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.6.2.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.15.2.1 02-Aug-2025  perseant Sync with HEAD
 1.8 01-May-2021  skrll Fixup kernel linking and provide a linker script with standard sections
and symbols
 1.7 04-Nov-2020  skrll branches: 1.7.4;
RCSID and whitespace police...
 1.6 16-Jun-2019  maxv branches: 1.6.10;
Misc changes in RISC-V.
 1.5 24-Aug-2015  uebayasi branches: 1.5.16; 1.5.20;
Don't mention stab and DWARF sections, because these (poorly mtaintained)
lists only help to make them harder to read.

If those sections are found in inputs, they simply appear in outputs as
orphaned sections, sorted by section types and attributes.
 1.4 22-Aug-2015  uebayasi .rel/.rela should not be generated in kernels.
 1.3 21-Aug-2015  uebayasi I bet setting search-directory for ld.so is useless in any kernel.
 1.2 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.1 28-Mar-2015  matt branches: 1.1.2;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.2.3 22-Sep-2015  skrll Sync with HEAD
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file kern.ldscript was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.5.20.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5.16.2 03-Dec-2017  jdolecek update from HEAD
 1.5.16.1 24-Aug-2015  jdolecek file kern.ldscript was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.6.10.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.7.4.1 13-May-2021  thorpej Sync with HEAD.
 1.10 05-Feb-2025  skrll risc-v: add ofctl(8) and /dev/openfirm support
 1.9 07-May-2023  skrll branches: 1.9.6;
RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.8 14-Mar-2020  skrll Trailing whitespace
 1.7 28-Jan-2019  dholland Systematize handling of removed drivers.

- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.

Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.6 27-Jan-2019  dholland This may have been cutpasted from evbmips, but we don't need to say so.
 1.5 27-Jan-2019  dholland Restore satlink's majors entries commented out and marked obsolete.
Otherwise they might accidentally get reused later and cause a
security problem.
 1.4 27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.3 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.2 08-Dec-2016  nat branches: 1.2.14; 1.2.16; 1.2.18;
Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.1 19-Sep-2014  matt branches: 1.1.2; 1.1.4;
New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
 1.1.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.2.1 05-Feb-2017  skrll Sync with HEAD
 1.2.18.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.18.1 10-Jun-2019  christos Sync with HEAD
 1.2.16.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.2.14.2 03-Dec-2017  jdolecek update from HEAD
 1.2.14.1 08-Dec-2016  jdolecek file majors.riscv was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.9.6.1 02-Aug-2025  perseant Sync with HEAD
 1.3 01-Jan-2025  skrll risc-v: add support for PCI and the PCIe controller in the JH7110 SoC.

Testing as working with xhci and nvme on VisionFive2.

Uses legacy PCI interrupts currently. MSIs to be added later.

pcihost_fdt code is 99% the same as the Arm version and should be shared.
 1.2 13-Aug-2024  skrll risc-v: Allwinner D1 support

Add the Allwinnder D1 support provided by Rui-Xiang Guo and updated
but me.

https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html

Only driver listed as attaching in

https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

have been added.

There is no need for the platform stuff as the board's u-boot is able
to load bootriscv64.efi and boot a generic kernel.
 1.1 28-Mar-2015  matt branches: 1.1.2; 1.1.18; 1.1.58;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.58.1 02-Aug-2025  perseant Sync with HEAD
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 28-Mar-2015  jdolecek file std.riscv was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file std.riscv was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.5 01-Jan-2025  skrll risc-v: add support for PCI and the PCIe controller in the JH7110 SoC.

Testing as working with xhci and nvme on VisionFive2.

Uses legacy PCI interrupts currently. MSIs to be added later.

pcihost_fdt code is 99% the same as the Arm version and should be shared.
 1.4 13-Aug-2024  skrll risc-v: Allwinner D1 support

Add the Allwinnder D1 support provided by Rui-Xiang Guo and updated
but me.

https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html

Only driver listed as attaching in

https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

have been added.

There is no need for the platform stuff as the board's u-boot is able
to load bootriscv64.efi and boot a generic kernel.
 1.3 07-May-2023  skrll branches: 1.3.6;
RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.2 11-Apr-2019  kamil Fix CVS Id usage
 1.1 28-Mar-2015  matt branches: 1.1.2; 1.1.18; 1.1.22;
Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.1.22.1 10-Jun-2019  christos Sync with HEAD
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 28-Mar-2015  jdolecek file std.riscv64 was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 28-Mar-2015  skrll file std.riscv64 was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.3.6.1 02-Aug-2025  perseant Sync with HEAD

RSS XML Feed