Home | History | Annotate | only in /src/sys/arch/arm/altera
History log of /src/sys/arch/arm/altera
RevisionDateAuthorComments
 1.8 27-Jan-2021  thorpej Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.7 27-Jan-2021  thorpej Use DEVICE_COMPAT_EOL.
 1.6 25-Jan-2021  thorpej Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
 1.5 19-Jan-2021  thorpej Use device_compatible_entry / of_search_compatible() to match the clock
type rather than calling of_compatible() on different sets of compatible
strings.
 1.4 18-Oct-2019  skrll branches: 1.4.8;
Use PRIxBUSADDR
 1.3 01-Oct-2019  chs in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.
 1.2 17-Jan-2019  skrll branches: 1.2.4;
KNF
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.3 18-Jan-2019  pgoyette Synch with HEAD
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_clkmgr.c was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.2.4.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.2 10-Jun-2019  christos Sync with HEAD
 1.2.4.1 17-Jan-2019  christos file cycv_clkmgr.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.4.8.1 03-Apr-2021  thorpej Sync with HEAD.
 1.7 29-Jan-2021  skrll fdtbus_intr_establish -> fdtbus_intr_establish_xname
 1.6 27-Jan-2021  thorpej Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.5 20-Mar-2020  skrll branches: 1.5.4;
Provide a sc_intr_cardmask to restore the value used to that before

http://mail-index.netbsd.org/source-changes/2020/01/22/msg113182.html
 1.4 18-Oct-2019  skrll Use PRIxBUSADDR
 1.3 24-May-2019  jmcneill branches: 1.3.2; 1.3.4;
Use standard DT bindings for card detect
 1.2 20-May-2019  aymeric use NULL instead of cycv_dwcmmc_card_detect() for sc_card_detect.
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_dwcmmc.c was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.3.4.1 21-Mar-2020  martin Pull up following revision(s) (requested by skrll in ticket #797):

sys/arch/arm/altera/cycv_dwcmmc.c: revision 1.5
sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.10

Provide a sc_intr_cardmask to restore the value used to that before
http://mail-index.netbsd.org/source-changes/2020/01/22/msg113182.html
 1.3.2.4 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.2.3 08-Apr-2020  martin Merge changes from current as of 20200406
 1.3.2.2 10-Jun-2019  christos Sync with HEAD
 1.3.2.1 24-May-2019  christos file cycv_dwcmmc.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.5.4.1 03-Apr-2021  thorpej Sync with HEAD.
 1.7 10-Aug-2024  skrll awge(4): MP improvements

Remove the non-MP-safe scaffolding and make the locking less
coarse.
 1.6 29-Jan-2021  skrll branches: 1.6.24;
fdtbus_intr_establish -> fdtbus_intr_establish_xname
 1.5 27-Jan-2021  thorpej Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.4 21-Jul-2019  mrg branches: 1.4.10;
move DWCGMAC_MPSAFE into dwc_gmac_var.h and introduce an
additional define that is 0 or FDT_INTR_MPSAFE that the
frontends can use when passing to fdtbus_intr_establish().

with NET_MPSAFE enabled, this avoids hangs seen on rock64,
as well as finishing the MPSAFE port for this driver.

XXX: still don't know why the existing hangs occur.
 1.3 08-Jul-2019  msaitoh Add rnd(9) support.
 1.2 23-Feb-2019  martin branches: 1.2.4;
Adjust all callers of dwc_gmac_attach, pass MII_PHY_ANY for now.
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_gmac.c was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.2.4.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.2 10-Jun-2019  christos Sync with HEAD
 1.2.4.1 23-Feb-2019  christos file cycv_gmac.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.4.10.1 03-Apr-2021  thorpej Sync with HEAD.
 1.6.24.1 02-Aug-2025  perseant Sync with HEAD
 1.1 19-Sep-2018  aymeric branches: 1.1.2; 1.1.6;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.6.2 10-Jun-2019  christos Sync with HEAD
 1.1.6.1 19-Sep-2018  christos file cycv_intr.h was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_intr.h was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.20 06-Sep-2025  thorpej Refactor the "platform" defitions into fdt_platform.h
 1.19 07-Apr-2023  skrll Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.
 1.18 24-Apr-2021  thorpej Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.17 04-Feb-2021  thorpej branches: 1.17.2;
Call acpi_device_register() / fdtbus_device_register() as approrpriate.
 1.16 29-Jan-2021  rin Fix build without MULTIPROCESSOR.
 1.15 27-Nov-2020  skrll cpu_hatched_p does necessary memory barrier so remove membar_consumer
calls from before cpu_hatched_p calls.
 1.14 28-Sep-2020  jmcneill branches: 1.14.2;
Get rid of a4x bus_space tag from fdtbus_attach_args. The only consumer
of this was various com(4) glue so modify all of that to use the new
com_init_regs_stride instead.
 1.13 10-Jul-2020  skrll Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.
 1.12 15-Feb-2020  skrll Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
- a static cpu_info_store array
- the same arm_cpu_{hatched,mbox}
 1.11 20-May-2019  aymeric branches: 1.11.2; 1.11.6;
make CPU 1 bootstrapping work even if the kernel is not loaded close to PA 0.

More precisely, we used "B cpu_mpstart", which worked for small addresses and
thus does not work in the EFI case.
It is now replaced by a "LDR PC, =cpu_mpstart", which works for arbitrary
addresses.
 1.10 31-Jan-2019  skrll Change ap_mpstart to return non-zero value if any/all APs don't start.
 1.9 02-Nov-2018  aymeric Adapt secondary CPU bootstrapping to the new generic startup code.
 1.8 02-Nov-2018  aymeric Make early console work.
 1.7 02-Nov-2018  aymeric . fix important typo which prevented enabling the SCU
. invalidate all cache tags of the SCU
 1.6 30-Oct-2018  skrll Retire fdt_putchar and ap_early_put_char in favour of uartputc.
 1.5 28-Oct-2018  aymeric Use virtual addresses where virtual addresses are expected.
 1.4 20-Oct-2018  skrll Clean up around cpu_ttb and fix a bunch of builds
 1.3 18-Oct-2018  skrll Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors. AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested. Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively
 1.2 14-Oct-2018  aymeric Make the DE0 NanoSoC work also in big-endian mode
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.4 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.1.2.3 20-Oct-2018  pgoyette Sync with head
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_platform.c was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.11.6.1 29-Feb-2020  ad Sync with head.
 1.11.2.3 08-Apr-2020  martin Merge changes from current as of 20200406
 1.11.2.2 10-Jun-2019  christos Sync with HEAD
 1.11.2.1 20-May-2019  christos file cycv_platform.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.14.2.2 03-Apr-2021  thorpej Sync with HEAD.
 1.14.2.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.17.2.1 03-Apr-2021  thorpej - FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.
 1.2 18-Oct-2018  skrll branches: 1.2.4;
Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors. AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested. Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.3 20-Oct-2018  pgoyette Sync with head
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_reg.h was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.2.4.2 10-Jun-2019  christos Sync with HEAD
 1.2.4.1 18-Oct-2018  christos file cycv_reg.h was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.5 01-Jan-2022  andvar s/coudn/couldn/ and s/couln/couldn/ in comment and log messages.
 1.4 27-Jan-2021  thorpej Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
 1.3 18-Oct-2019  skrll branches: 1.3.8;
Use PRIxBUSADDR
 1.2 14-Oct-2018  aymeric branches: 1.2.4;
Fix off-by-one when computing reset register address
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.3 20-Oct-2018  pgoyette Sync with head
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_rstmgr.c was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.2.4.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.4.2 10-Jun-2019  christos Sync with HEAD
 1.2.4.1 14-Oct-2018  christos file cycv_rstmgr.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.3.8.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1 19-Sep-2018  aymeric branches: 1.1.2; 1.1.6;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.6.2 10-Jun-2019  christos Sync with HEAD
 1.1.6.1 19-Sep-2018  christos file cycv_var.h was added on branch phil-wifi on 2019-06-10 22:05:50 +0000
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file cycv_var.h was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.3 06-Sep-2025  thorpej Step towards modularizing the Flattened Device Tree code.

Define attributes for each of the specific device bindings: clock,
dai, dma, gpio, i2c, iommu, mbox, mmc_pwrseq, phy, power, power domain,
pwm, regulator, reset controller, spi, system controller, pin
controller. Include these support files only if either a provider
or consumer with one of these attributes is present in the kernel
config.

Add the necessary attributes to the device / attach declarations for
each provider and consumer.

There are some bindings that are consumed by generic code (iommu, pinctrl,
power, power domain). Provide weak stubs for these routines to handle
situations where there is no provider.

No actual code changed; NFCI.
 1.2 22-Nov-2018  aymeric branches: 1.2.4;
Switch the DE0 Nano SoC to the GENERIC kernel.
 1.1 19-Sep-2018  aymeric branches: 1.1.2;
Add support for the DE0 NanoSoC board.

It's Cyclone V based and thus includes a dual-core Cortex A9 @925MHz.
Most standard peripherals are supported (USB, SDCard, Ethernet) and
no unusual peripheral is supported yet (FPGA, GPIO, ...)
 1.1.2.3 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.1.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.1.2.1 19-Sep-2018  pgoyette file files.altera was added on branch pgoyette-compat on 2018-09-30 01:45:37 +0000
 1.2.4.2 10-Jun-2019  christos Sync with HEAD
 1.2.4.1 22-Nov-2018  christos file files.altera was added on branch phil-wifi on 2019-06-10 22:05:50 +0000

RSS XML Feed