| History log of /src/sys/arch/evbmips/cavium | 
    | Revision | Date | Author | Comments | 
| 1.11 | 03-Oct-2025 | thorpej | Use device_setprop_data() to set the "mac-address" property. 
 | 
| 1.10 | 12-Feb-2022 | riastradh | sys: Fix various abuse of struct device internals. 
 Will help to make struct device opaque later.
 
 | 
| 1.9 | 17-Aug-2020 | simonb | Handle using "octeth" as root device by converting "octethN" to "cnmacN" for any N < 100.  This allows booting for u-boot to use root=$(ethact)
 on the command line and the kernel can use the ethernet interface the
 kernel was loaded on as the NFS root device.
 
 | 
| 1.8 | 23-Jun-2020 | simonb | Support EdgeRouter 4. Only set RGMII timing params on boards with RGMII.
 
 | 
| 1.7 | 20-Jun-2020 | simonb | Add some rudimentary boot args parsing.  Can handle "root=" as well normal -1adsqvxz flags.  "root=" is limited to cnmacN devices so far;
 should be extended to allow arbitary SD devices (and other devices?).
 
 | 
| 1.6 | 10-Jun-2020 | simonb | Update for proplib(3) API changes. 
 | 
| 1.5 | 31-May-2020 | simonb | Clean up Cavium Octeon device names.  Rename devices from "octeon_foo" to "octfoo" - this follows the naming conventions used by many other
 MIPS CPUs.
 
 | 
| 1.4 | 01-Apr-2019 | msaitoh | s/adddress/address/ 
 | 
| 1.3 | 06-Jun-2015 | matt | branches:  1.3.16;  1.3.20; Add an assert to verify interrupts are enabled.
 
 | 
| 1.2 | 19-May-2015 | matt | branches:  1.2.2; no wd devices on erlite, use sd instead for the USB mass storage.
 
 | 
| 1.1 | 29-Apr-2015 | hikaru | Initial import of Cavium Octeon and Octeon Plus SoC and specifically Ubiquiti Networks EdgeRouter LITE support.
 Currently the ethernet and uart are worked.
 This support was contributed by Internet Initiative Japan Inc.
 
 | 
| 1.2.2.3 | 22-Sep-2015 | skrll | Sync with HEAD 
 | 
| 1.2.2.2 | 06-Jun-2015 | skrll | Sync with HEAD 
 | 
| 1.2.2.1 | 19-May-2015 | skrll | file autoconf.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000 
 | 
| 1.3.20.1 | 10-Jun-2019 | christos | Sync with HEAD 
 | 
| 1.3.16.2 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.3.16.1 | 06-Jun-2015 | jdolecek | file autoconf.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000 
 | 
| 1.4 | 20-Dec-2023 | thorpej | Remove unnecessary <sys/malloc.h>. 
 | 
| 1.3 | 26-Aug-2016 | skrll | branches:  1.3.14; Adjust evbmips_iointr to pass a clockframe pointer and use it for
 pwmclock @ voyager.
 
 Suggested by matt@
 
 Hi macallan!
 
 | 
| 1.2 | 01-Jun-2015 | matt | branches:  1.2.2; Rework cavium support in preparation for MULTIPROCESSOR support
 
 | 
| 1.1 | 29-Apr-2015 | hikaru | Initial import of Cavium Octeon and Octeon Plus SoC and specifically Ubiquiti Networks EdgeRouter LITE support.
 Currently the ethernet and uart are worked.
 This support was contributed by Internet Initiative Japan Inc.
 
 | 
| 1.2.2.3 | 05-Oct-2016 | skrll | Sync with HEAD 
 | 
| 1.2.2.2 | 06-Jun-2015 | skrll | Sync with HEAD 
 | 
| 1.2.2.1 | 01-Jun-2015 | skrll | file mach_intr.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000 
 | 
| 1.3.14.2 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.3.14.1 | 26-Aug-2016 | jdolecek | file mach_intr.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000 
 | 
| 1.25 | 05-Mar-2024 | thorpej | Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot(). 
 It's a small step, but it's a step.
 
 | 
| 1.24 | 05-May-2021 | simonb | The watchdog setup code isn't used (yet), so don't compile in the octeon_nmi_stack that it uses either.
 
 | 
| 1.23 | 17-Aug-2020 | simonb | branches:  1.23.6; Add some compile time asserts for endianness on boards/systems that
 only support a single endianness.
 
 | 
| 1.22 | 28-Jul-2020 | simonb | Change cpus_booted back to a simple variable instead of a kcpuset. octeon_cpu_spinup() was trying to set CPU status immediately on kernel
 startup _well_ before the kcpuset was initialised.
 
 | 
| 1.21 | 22-Jul-2020 | simonb | Add option to use the early bitbang console.  Enable this for now while debugging MP.
 Print out the core mask value passed in by Uboot.
 
 | 
| 1.20 | 19-Jul-2020 | simonb | Reserve space for all CPU cores (incorrect logic). Reserve a full page for each core, not incorrect 4096 (from skrll@).
 
 | 
| 1.19 | 19-Jul-2020 | simonb | Call fdtbus_intr_init() during startup. 
 | 
| 1.18 | 16-Jul-2020 | jmcneill | FDT support for Cavium OCTEON MIPS SoCs. WIP. 
 | 
| 1.17 | 13-Jul-2020 | simonb | Copy "mach reset" logic from arm32 recently added by jmcneill@.  The previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
 CPUs only.
 
 | 
| 1.16 | 20-Jun-2020 | simonb | Add some rudimentary boot args parsing.  Can handle "root=" as well normal -1adsqvxz flags.  "root=" is limited to cnmacN devices so far;
 should be extended to allow arbitary SD devices (and other devices?).
 
 | 
| 1.15 | 19-Jun-2020 | simonb | Don't include now non-existant "opt_cavium.h". 
 | 
| 1.14 | 15-Jun-2020 | simonb | Finish CPU core support for Octeon Cavium CN70XX: - decode actual CPU name
 - per CPU core reset logic (partially adapted from OpenBSD)
 - handle Octeon 3 ioclock rate differences to other cores (from OpenBSD)
 
 | 
| 1.13 | 05-Jun-2020 | simonb | Now that we don't zero out the second link in the U-boot bootmem descripter, use that to configure free memory.
 
 | 
| 1.12 | 04-Jun-2020 | simonb | Only clear BSS up to "end" symbol, not all the way to mips_round_page(end). U-Boot puts some data immediately after the BSS section cleared in the ELF
 segments, and we don't want to overwrite that.
 
 XXX: Stop using mips_round_page(end) on all MIPS?
 
 | 
| 1.11 | 31-May-2020 | simonb | Finish rename of all Cavium Octeon device driver functions, structs etc from "octeon_foo" to "octfoo" (missed octeon_uart + entries in iobus config).
 
 | 
| 1.10 | 28-Dec-2016 | mrg | branches:  1.10.14; add an OCTEON_MEMSIZE option to override the uboot provided memory
 size.  limiting this to 256 avoids an annoying uvm freelist problem on
 the 512mb erlite, partly described here:
 
 http://mail-index.netbsd.org/tech-kern/2016/12/20/msg021358.html
 
 | 
| 1.9 | 22-Dec-2016 | cherry | switch all ports to use uvm_init.c:uvm_md_init() 
 uvm_setpagesize() is now subsumed within this funciton.
 
 | 
| 1.8 | 20-Oct-2016 | martin | Rin Okuyama in PR port-evbmips/51563: wait for console input after halting the machine.
 
 | 
| 1.7 | 26-Aug-2016 | skrll | Trailing whitespace 
 | 
| 1.6 | 11-Jul-2016 | matt | branches:  1.6.2; Use pmap_kenter flags to create cached/uncached entries.
 #include <mips/locore.h> when appropriate
 
 | 
| 1.5 | 10-Jun-2015 | matt | Transition from __cpuset_t to kcpuset_t *.  This brings the local pmap one step closer to uvm/pmap, its eventual replacement.  Tested on ERLITE MP kernel.
 
 | 
| 1.4 | 04-Jun-2015 | matt | branches:  1.4.2; If booting a MULTIPROCESSOR kernel, use the llsc atomic primitives
 
 | 
| 1.3 | 01-Jun-2015 | matt | Rework cavium support in preparation for MULTIPROCESSOR support 
 | 
| 1.2 | 18-May-2015 | matt | Set cpu model. 
 | 
| 1.1 | 29-Apr-2015 | hikaru | Initial import of Cavium Octeon and Octeon Plus SoC and specifically Ubiquiti Networks EdgeRouter LITE support.
 Currently the ethernet and uart are worked.
 This support was contributed by Internet Initiative Japan Inc.
 
 | 
| 1.4.2.6 | 05-Feb-2017 | skrll | Sync with HEAD 
 | 
| 1.4.2.5 | 05-Dec-2016 | skrll | Sync with HEAD 
 | 
| 1.4.2.4 | 05-Oct-2016 | skrll | Sync with HEAD 
 | 
| 1.4.2.3 | 22-Sep-2015 | skrll | Sync with HEAD 
 | 
| 1.4.2.2 | 06-Jun-2015 | skrll | Sync with HEAD 
 | 
| 1.4.2.1 | 04-Jun-2015 | skrll | file machdep.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000 
 | 
| 1.6.2.2 | 07-Jan-2017 | pgoyette | Sync with HEAD.  (Note that most of these changes are simply $NetBSD$ tag issues.)
 
 | 
| 1.6.2.1 | 04-Nov-2016 | pgoyette | Sync with HEAD 
 | 
| 1.10.14.2 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.10.14.1 | 28-Dec-2016 | jdolecek | file machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000 
 | 
| 1.23.6.1 | 13-May-2021 | thorpej | Sync with HEAD. 
 | 
| 1.2 | 04-Jun-2015 | matt | branches:  1.2.2;  1.2.18; minor constification
 
 | 
| 1.1 | 29-Apr-2015 | hikaru | Initial import of Cavium Octeon and Octeon Plus SoC and specifically Ubiquiti Networks EdgeRouter LITE support.
 Currently the ethernet and uart are worked.
 This support was contributed by Internet Initiative Japan Inc.
 
 | 
| 1.2.18.2 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.2.18.1 | 04-Jun-2015 | jdolecek | file octeon_bootbus_machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000 
 | 
| 1.2.2.2 | 06-Jun-2015 | skrll | Sync with HEAD 
 | 
| 1.2.2.1 | 04-Jun-2015 | skrll | file octeon_bootbus_machdep.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000 
 | 
| 1.3 | 20-Jun-2020 | simonb | Add the structure of the CVMX boot descriptor. Extend the U-boot bootinfo descriptor with latest members, add a few comments.
 Add a few extra board type IDs.
 
 | 
| 1.2 | 05-Jun-2020 | simonb | Now that we don't zero out the second link in the U-boot bootmem descripter, use that to configure free memory.
 
 | 
| 1.1 | 29-Apr-2015 | hikaru | branches:  1.1.2;  1.1.18; Initial import of Cavium Octeon and Octeon Plus SoC and
 specifically Ubiquiti Networks EdgeRouter LITE support.
 Currently the ethernet and uart are worked.
 This support was contributed by Internet Initiative Japan Inc.
 
 | 
| 1.1.18.2 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.1.18.1 | 29-Apr-2015 | jdolecek | file octeon_uboot.h was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000 
 | 
| 1.1.2.2 | 06-Jun-2015 | skrll | Sync with HEAD 
 | 
| 1.1.2.1 | 29-Apr-2015 | skrll | file octeon_uboot.h was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000 
 |