History log of /src/sys/arch/arm/altera/cycv_platform.c |
Revision | | Date | Author | Comments |
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.
|