#
2e4048e4 |
| 07-Apr-2023 |
skrll <skrll@NetBSD.org> |
Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.
|
#
3bee0c11 |
| 24-Apr-2021 |
thorpej <thorpej@NetBSD.org> |
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 a
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?).
show more ...
|
#
30ef91d5 |
| 05-Feb-2021 |
skrll <skrll@NetBSD.org> |
Fix build
|
#
0b69bb48 |
| 04-Feb-2021 |
thorpej <thorpej@NetBSD.org> |
Call acpi_device_register() / fdtbus_device_register() as approrpriate.
|
#
17651e62 |
| 30-Oct-2020 |
skrll <skrll@NetBSD.org> |
Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.
|
#
589c3d80 |
| 28-Sep-2020 |
jmcneill <jmcneill@NetBSD.org> |
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.
|
#
078bd70b |
| 10-Jul-2020 |
skrll <skrll@NetBSD.org> |
Add support for KASAN on ARMv[67]
Thanks to maxv for many pointers and reviews.
|
#
483c6a3d |
| 15-Feb-2020 |
skrll <skrll@NetBSD.org> |
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 dri
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}
show more ...
|
#
0d4655bd |
| 23-Jul-2019 |
jmcneill <jmcneill@NetBSD.org> |
No need for console=fb handling with WSDISPLAY_MULTICONS
|
#
940f0827 |
| 31-Jan-2019 |
skrll <skrll@NetBSD.org> |
Fix build
|
#
679fad90 |
| 31-Jan-2019 |
skrll <skrll@NetBSD.org> |
Change ap_mpstart to return non-zero value if any/all APs don't start.
|
#
763b86b6 |
| 30-Oct-2018 |
skrll <skrll@NetBSD.org> |
Retire fdt_putchar and ap_early_put_char in favour of uartputc.
|
#
e4a950e6 |
| 18-Oct-2018 |
skrll <skrll@NetBSD.org> |
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
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
show more ...
|
#
59508e8a |
| 21-Sep-2018 |
skrll <skrll@NetBSD.org> |
Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
|
#
107aadd0 |
| 05-Aug-2018 |
skrll <skrll@NetBSD.org> |
Add prefixes to struct arm_platform{,_info} members.
No functional change.
|
#
3bcea5a6 |
| 11-Jun-2018 |
jakllsch <jakllsch@NetBSD.org> |
fill in vexpress_platform_early_putchar(); make comment about CONSADDR
|
#
2e1981a2 |
| 17-Mar-2018 |
ryo <ryo@NetBSD.org> |
move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c, and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag
no functional change. (preliminary
move from sys/arch/arm/arm32/armv7_generic_dma.c to sys/arch/arm/arm/arm_generic_dma.c, and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag
no functional change. (preliminary changes for merging aarch64)
show more ...
|
#
e1044afa |
| 19-Dec-2017 |
skrll <skrll@NetBSD.org> |
Trailing whitespace
|
#
64e8e5ea |
| 18-Nov-2017 |
jmcneill <jmcneill@NetBSD.org> |
Fix clcd node path for newer dtb
|
#
d37cc0de |
| 22-Oct-2017 |
skrll <skrll@NetBSD.org> |
Centralise defines for DEVMAP_{ALIGN,SIZE,ENTRY,ENTRY_END}
|
#
83ff4132 |
| 06-Jun-2017 |
jmcneill <jmcneill@NetBSD.org> |
Allow 'console=fb' to act as a shortcut on vexpress for 'stdout-path=/smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000'
|
#
0150b21b |
| 02-Jun-2017 |
jmcneill <jmcneill@NetBSD.org> |
Add SMP support to VEXPRESS_A15 kernel. Enable with '-smp 2' on qemu command line.
|
#
6eb84bed |
| 02-Jun-2017 |
jmcneill <jmcneill@NetBSD.org> |
Switch VEXPRESS_A15 kernel to use FDT and GENERIC.common. The dtb for this kernel can be found in the sysutils/dtb-arm-vexpress package as vexpress-v2p-ca15-tc1.dtb
|