Up to [cvs.NetBSD.org] / src / sys / arch / evbarm / fdt
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.107.2.1 / (download) - annotate - [select for diffs], Mon Jul 1 01:01:13 2024 UTC (2 months, 2 weeks ago) by perseant
Branch: perseant-exfatfs
Changes since 1.107: +7 -2
lines
Diff to previous 1.107 (colored) next main 1.108 (colored)
Sync with HEAD.
Revision 1.108 / (download) - annotate - [select for diffs], Sun Jun 30 17:55:28 2024 UTC (2 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-exfatfs-base-20240630,
HEAD
Changes since 1.107: +7 -2
lines
Diff to previous 1.107 (colored)
fdt: Add a fp_device_register_post_config callback to fdt_platform.
Revision 1.107 / (download) - annotate - [select for diffs], Fri Jan 19 09:09:04 2024 UTC (7 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: perseant-exfatfs-base
Branch point for: perseant-exfatfs
Changes since 1.106: +2 -133
lines
Diff to previous 1.106 (colored)
Make fdt_cpu_rootconf available for other machines/platforms.
Revision 1.99.2.1 / (download) - annotate - [select for diffs], Fri Oct 20 16:13:04 2023 UTC (10 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Changes since 1.99: +38 -27
lines
Diff to previous 1.99 (colored) next main 1.100 (colored)
Pull up following revision(s) (requested by mrg in ticket #431): sys/arch/evbarm/evbarm/autoconf.c: revision 1.24 sys/arch/evbarm/include/types.h: revision 1.16 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.100 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.101 fix root detection on evbarm when raid is involved there are several problems solved in this change: - - lots of work was re-done when we already have determined the device booted from, so several new early returns introduced if booted_device has been set - - due to the lack of cpu_bootconf(), raidframe softroot would override "root=xxx" on the boot command line (note that platforms that use eg, device_register() to detect the boot device are not affected by this issue as they find the boot device much earlier.) - - in the new cpu_bootconf(), switch the order of the platform boot-config with the set_root_device() call. this avoids a problem where "root=xxx" is checked after automated methods, and is thus ignored. - - in fdt_detect_root_device(), remove the code to add "root=xxx"" string to the boot_args[] that would be later parsed by the set_root_device() call, and simply set booted_device and, for mbr installs, booted_partition directly. also, for any successful call, perform an early return. - - define __HAVE_CPU_BOOTCONF so early boot calls cpu_bootconf(). tested on: - - rockpro64 booting from emmc, sata (big, and little endian) - - rockpro64 loading kernel from msdos partition - - rockpro64 booting from network (fails to auto-detect, with or without this change) - - quartz64 booting from nvme - - lx2k booting from nvme Locate wedges as boot device and also match a partition GUID.
Revision 1.106 / (download) - annotate - [select for diffs], Fri Aug 4 09:06:33 2023 UTC (13 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Changes since 1.105: +3 -3
lines
Diff to previous 1.105 (colored)
avoid comparing arrays directly, compare the address of their first element. found by GCC 12.
Revision 1.105 / (download) - annotate - [select for diffs], Mon Jul 10 07:01:48 2023 UTC (14 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.104: +4 -12
lines
Diff to previous 1.104 (colored)
fdt(4): Factor out bootargs support from evbarm and riscv.
Revision 1.104 / (download) - annotate - [select for diffs], Mon Jul 10 07:00:12 2023 UTC (14 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.103: +9 -247
lines
Diff to previous 1.103 (colored)
Factor out some fdt(4) features from {,evb}arm into dev/fdt. Now, FDT-based support to efirt, initrd, rndseed, and efirng can be used from, e.g., riscv. Mostly from Nick Hudson. XXX As Nick comments, there can be some optimizations for fdt_map_range(). efiboot may also be modified to load these objects into aligned PAs.
Revision 1.103 / (download) - annotate - [select for diffs], Sat Apr 22 09:53:45 2023 UTC (16 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.102: +4 -30
lines
Diff to previous 1.102 (colored)
Move fdt_update_stdout_path from evbarm code to MI code
Revision 1.102 / (download) - annotate - [select for diffs], Fri Apr 7 08:55:31 2023 UTC (17 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.101: +23 -21
lines
Diff to previous 1.101 (colored)
Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.
Revision 1.101 / (download) - annotate - [select for diffs], Sun Mar 5 22:04:54 2023 UTC (18 months, 2 weeks ago) by mlelstv
Branch: MAIN
Changes since 1.100: +12 -9
lines
Diff to previous 1.100 (colored)
Locate wedges as boot device and also match a partition GUID.
Revision 1.100 / (download) - annotate - [select for diffs], Sun Feb 5 22:42:39 2023 UTC (19 months, 1 week ago) by mrg
Branch: MAIN
Changes since 1.99: +36 -28
lines
Diff to previous 1.99 (colored)
fix root detection on evbarm when raid is involved there are several problems solved in this change: - lots of work was re-done when we already have determined the device booted from, so several new early returns introduced if booted_device has been set - due to the lack of cpu_bootconf(), raidframe softroot would override "root=xxx" on the boot command line (note that platforms that use eg, device_register() to detect the boot device are not affected by this issue as they find the boot device much earlier.) - in the new cpu_bootconf(), switch the order of the platform boot-config with the set_root_device() call. this avoids a problem where "root=xxx" is checked after automated methods, and is thus ignored. - in fdt_detect_root_device(), remove the code to add "root=xxx"" string to the boot_args[] that would be later parsed by the set_root_device() call, and simply set booted_device and, for mbr installs, booted_partition directly. also, for any successful call, perform an early return. - define __HAVE_CPU_BOOTCONF so early boot calls cpu_bootconf(). tested on: - rockpro64 booting from emmc, sata (big, and little endian) - rockpro64 loading kernel from msdos partition - rockpro64 booting from network (fails to auto-detect, with or without this change) - quartz64 booting from nvme - lx2k booting from nvme XXX: pullup-10
Revision 1.99 / (download) - annotate - [select for diffs], Fri Nov 4 10:51:17 2022 UTC (22 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.98: +4 -5
lines
Diff to previous 1.98 (colored)
Size boot_physmem with FDT_MEMORY_RANGES. This effectively increases the size from 64 to 256 entries for Arm kernels. It turns out on large systems that memory can be quite fragmented by UEFI. Increasing the size of this just kicks the can down the road, we need a better solution to deal with boot_physmem/fdt_memory/bootparams.dram sizing.
Revision 1.98 / (download) - annotate - [select for diffs], Fri Oct 21 05:51:08 2022 UTC (22 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.97: +3 -3
lines
Diff to previous 1.97 (colored)
Fix build after previous.
Revision 1.97 / (download) - annotate - [select for diffs], Thu Oct 20 07:16:19 2022 UTC (22 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.96: +2 -3
lines
Diff to previous 1.96 (colored)
Remove an empty line
Revision 1.96 / (download) - annotate - [select for diffs], Thu Oct 20 07:13:45 2022 UTC (22 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.95: +4 -4
lines
Diff to previous 1.95 (colored)
Move the fdt_memory_remove_reserved call out of fdt_build_bootconfig NFC.
Revision 1.95 / (download) - annotate - [select for diffs], Fri Sep 30 06:39:54 2022 UTC (23 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Changes since 1.94: +6 -3
lines
Diff to previous 1.94 (colored)
Actually release the VA in fdt_unmap_range
Revision 1.94 / (download) - annotate - [select for diffs], Fri Sep 30 06:36:28 2022 UTC (23 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.93: +4 -4
lines
Diff to previous 1.93 (colored)
KNF
Revision 1.93 / (download) - annotate - [select for diffs], Wed Sep 28 05:54:24 2022 UTC (23 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.92: +16 -15
lines
Diff to previous 1.92 (colored)
KNF
Revision 1.92 / (download) - annotate - [select for diffs], Wed Sep 28 05:49:15 2022 UTC (23 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.91: +3 -3
lines
Diff to previous 1.91 (colored)
Typo in comment
Revision 1.91 / (download) - annotate - [select for diffs], Sat Apr 2 11:16:07 2022 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.90: +7 -8
lines
Diff to previous 1.90 (colored)
Update to support EFI runtime outside the kernel virtual address space by creating an EFI RT pmap that can be activated / deactivated when required. Adds support for EFI RT to ARM_MMU_EXTENDED (ASID) 32-bit Arm machines. On Arm64 the usage of pmapboot_enter is reduced and the mappings are created much later in the boot process -- now in cpu_startup_hook. Backward compatiblity for KVA mapped RT from old bootaa64.efi is maintained. Adding support to other platforms should be easier as a result.
Revision 1.90 / (download) - annotate - [select for diffs], Sat Mar 19 13:51:35 2022 UTC (2 years, 6 months ago) by hannken
Branch: MAIN
Changes since 1.89: +3 -3
lines
Diff to previous 1.89 (colored)
Fix locking after opendisk(), VOP_IOCTL() needs an unlocked vnode, vn_rdwr() needs flag IO_NODELOCKED.
Revision 1.89 / (download) - annotate - [select for diffs], Sat Mar 19 09:55:30 2022 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.88: +4 -4
lines
Diff to previous 1.88 (colored)
Improve a VPRINTF
Revision 1.88 / (download) - annotate - [select for diffs], Wed Mar 9 10:06:36 2022 UTC (2 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.87: +5 -2
lines
Diff to previous 1.87 (colored)
in fdt_cpu_rootconf(), return without doing anything (like setting "root=something" in boot_args, or booted_device), if booted_device is already set to something. this makes raidframe softroot work on evbarm.
Revision 1.77.2.3 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:22 2021 UTC (3 years, 5 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.77.2.2: +3 -3
lines
Diff to previous 1.77.2.2 (colored) next main 1.78 (colored)
Sync with HEAD.
Revision 1.87 / (download) - annotate - [select for diffs], Fri Mar 19 10:23:34 2021 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
earlyconsgetc: return -1 instead of 0 because we will never produce input
Revision 1.77.2.2 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:53 2021 UTC (3 years, 8 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.77.2.1: +12 -8
lines
Diff to previous 1.77.2.1 (colored)
Sync w/ HEAD.
Revision 1.86 / (download) - annotate - [select for diffs], Fri Dec 18 07:37:21 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.85: +4 -2
lines
Diff to previous 1.85 (colored)
Add a comment
Revision 1.85 / (download) - annotate - [select for diffs], Fri Dec 18 07:34:31 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.84: +6 -4
lines
Diff to previous 1.84 (colored)
Make EFI_RUNTIME compile on arm
Revision 1.84 / (download) - annotate - [select for diffs], Fri Dec 18 07:21:58 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.83: +6 -6
lines
Diff to previous 1.83 (colored)
KNF
Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:52 2020 UTC (3 years, 9 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.77: +75 -111
lines
Diff to previous 1.77 (colored)
Sync w/ HEAD.
Revision 1.83 / (download) - annotate - [select for diffs], Sat Dec 12 09:27:31 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.82: +23 -94
lines
Diff to previous 1.82 (colored)
Move evbarm/fdt/fdt_memory.[ch] to sys/dev/fdt and simplify the api and some operations. This allows other architectures to use it.
Revision 1.82 / (download) - annotate - [select for diffs], Sat Nov 28 22:16:23 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.81: +39 -3
lines
Diff to previous 1.81 (colored)
evbarm: Bump efirng entropy estimate. I'm not really happy with this, but my lack of confidence in the remaining question marks about this (no real documentation about the underlying physical processes, and a slightly self-inconsistent uefi spec) is outweighed by the value of not distracting people with entropy warnings on systems that are almost certainly fine.
Revision 1.81 / (download) - annotate - [select for diffs], Thu Nov 26 08:37:54 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.80: +6 -6
lines
Diff to previous 1.80 (colored)
Style around setting the physical memory limit. NFCI.
Revision 1.80 / (download) - annotate - [select for diffs], Thu Nov 26 08:29:17 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.79: +3 -4
lines
Diff to previous 1.79 (colored)
Tweak a comment
Revision 1.79 / (download) - annotate - [select for diffs], Tue Nov 24 06:36:36 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.78: +12 -12
lines
Diff to previous 1.78 (colored)
Simplify. NFCI.
Revision 1.78 / (download) - annotate - [select for diffs], Sat Nov 7 08:28:15 2020 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.77: +3 -3
lines
Diff to previous 1.77 (colored)
Print the devmap we're using in the debug output
Revision 1.77 / (download) - annotate - [select for diffs], Tue Oct 20 23:03:30 2020 UTC (3 years, 10 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.76: +10 -2
lines
Diff to previous 1.76 (colored)
Instead of trying to prevent pciconf from reconfiguring the firmware's framebuffer, instead allow MD code to register callbacks. If a resource is changed, the driver can unmap the old resource and remap the new. Do this with simplefb so the console doesn't explode when the VGA device is (potentially) reconfigured at boot.
Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 19 01:12:14 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
Changes since 1.75: +51 -2
lines
Diff to previous 1.75 (colored)
Fix colors of 32-bpp raster console for evbarm/aarch64eb and armeb. Most boards are configured to little-endian in initial, and switched to big-endian after kernel is loaded. In this case, framebuffer seems byte-swapped to CPU. It is best to reconfigure framebuffer (as done recently for sunxi_mixer by jmcneill), but in most cases, HW is incapable, or we just don't know register bits to configure them. Therefore, override "format" FDT property for "simple-framebuffer" to let drivers know byte-order for 32-bpp framebuffer. Then, make fdt/simplefb (genfb) and arm_simplefb (early console) detect byte-swapped FB, and configure genfb(4) or rasops(4) layers accordingly. Tested on Pine A64+ (arm_simplefb) and Cubietruck (both fdt/simplefb and arm_simplefb). Discussed with jmcneill. Thanks!!
Revision 1.75 / (download) - annotate - [select for diffs], Sat Oct 10 15:25:30 2020 UTC (3 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.74: +16 -3
lines
Diff to previous 1.74 (colored)
Support early FB console attachment when booting with a devicetree (non-ACPI mode). Inform the pciconf code about the framebuffer to prevent pciconf from changing resources out from under us when framebuffer memory is in VRAM.
Revision 1.74 / (download) - annotate - [select for diffs], Fri Sep 25 06:47:24 2020 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.73: +3 -2
lines
Diff to previous 1.73 (colored)
Add a newline
Revision 1.73 / (download) - annotate - [select for diffs], Sat Jun 27 18:44:02 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.72: +12 -8
lines
Diff to previous 1.72 (colored)
Make sure we pass full pages to fdt_memory_remove_range
Revision 1.72 / (download) - annotate - [select for diffs], Fri May 15 06:01:26 2020 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.71: +5 -3
lines
Diff to previous 1.71 (colored)
Fix build on arm
Revision 1.71 / (download) - annotate - [select for diffs], Thu May 14 19:26:28 2020 UTC (4 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.70: +15 -2
lines
Diff to previous 1.70 (colored)
Free kva for rndseed and efirng when done. The physical pages remain forever reserved because it's not convenient to unreserve them at the moment after we reserved them during fdt_build_bootconifg, but it's just two pages so not that big a deal.
Revision 1.70 / (download) - annotate - [select for diffs], Thu May 14 19:24:35 2020 UTC (4 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.69: +60 -113
lines
Diff to previous 1.69 (colored)
Deduplicate address-range querying/mapping logic.
Revision 1.69 / (download) - annotate - [select for diffs], Thu May 14 19:21:06 2020 UTC (4 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.68: +76 -4
lines
Diff to previous 1.68 (colored)
Teach arm fdt kernel to use /chosen/netbsd,efirng data. Feed it in as a separate random source, with zero entropy since this is a best-effort fallback for devices we really don't know anything about.
Revision 1.24.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:42 2020 UTC (4 years, 5 months ago) by martin
Branch: phil-wifi
Changes since 1.24.2.2: +5 -5
lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:35 2020 UTC (4 years, 5 months ago) by martin
Branch: phil-wifi
Changes since 1.24.2.1: +81 -8
lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)
Merge changes from current as of 20200406
Revision 1.68 / (download) - annotate - [select for diffs], Sun Mar 8 08:26:54 2020 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.67: +5 -2
lines
Diff to previous 1.67 (colored)
Fix LOCKDEBUG by calling fdtbus_intr_init as part of cpu_startup_hook, i.e. later.
Revision 1.65.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:22 2020 UTC (4 years, 6 months ago) by ad
Branch: ad-namecache
Changes since 1.65.2.1: +3 -3
lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)
Sync with head.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 16 14:56:52 2020 UTC (4 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Changes since 1.66: +3 -3
lines
Diff to previous 1.66 (colored)
Rename fdtbus_set_data() to fdtbus_init(). NFC.
Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 20:10:09 2020 UTC (4 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE
Changes since 1.64: +77 -2
lines
Diff to previous 1.64 (colored) next main 1.65 (colored)
Pull up following revision(s) (requested by riastradh in ticket #705): sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.35 sys/stand/efiboot/efifdt.c: revision 1.20 sys/stand/efiboot/efifdt.h: revision 1.7 sys/arch/aarch64/include/machdep.h: revision 1.9 sys/stand/efiboot/efiboot.h: revision 1.11 sys/arch/arm/arm32/arm32_machdep.c: revision 1.129 sys/arch/arm/include/arm32/machdep.h: revision 1.30 sys/stand/efiboot/exec.c: revision 1.12 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.65 sys/stand/efiboot/version: revision 1.14 sys/stand/efiboot/boot.c: revision 1.19 New function cpu_startup_hook on arm. Called at end of cpu_startup. Can be defined in, e.g., evbarm to do additional stuff after cpu_startup. Defined as a weak alias to a function that does nothing, so optional. ok jmcneill Implement rndseed support in efiboot and fdt arm. The EFI environment variable `rndseed' specifies the path to the random seed. It is loaded only for fdt platforms at the moment. Since the rndseed (an rndsave_t object as defined in <sys/rndio.h>) is 536 bytes long (for hysterical raisins), and to avoid having to erase parts of the fdt tree, we load it into a physical page whose address is passed in the fdt tree, rather than passing the content of the file as an fdt node directly; the kernel then reserves the page from uvm, and maps it into kva to call rnd_seed. For now, the only kernel that does use efiboot with fdt is evbarm, which knows to handle the rndseed. Any new kernels that use efiboot with fdt must do the same; otherwise uvm may hand out the page with the secret key on it for a normal page allocation in the kernel -- which should be OK if there are no kernel memory disclosure bugs, but would lead to worse consequences than simply loading the seed late in userland with /etc/rc.d/random_seed otherwise. ok jmcneill
Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:39 2020 UTC (4 years, 7 months ago) by ad
Branch: ad-namecache
Changes since 1.65: +2 -7
lines
Diff to previous 1.65 (colored)
Sync with head.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Jan 21 10:54:11 2020 UTC (4 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.65: +2 -7
lines
Diff to previous 1.65 (colored)
Switch aarch64 to use a single freelist.
Revision 1.65 / (download) - annotate - [select for diffs], Wed Dec 18 21:46:03 2019 UTC (4 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.64: +77 -2
lines
Diff to previous 1.64 (colored)
Implement rndseed support in efiboot and fdt arm. The EFI environment variable `rndseed' specifies the path to the random seed. It is loaded only for fdt platforms at the moment. Since the rndseed (an rndsave_t object as defined in <sys/rndio.h>) is 536 bytes long (for hysterical raisins), and to avoid having to erase parts of the fdt tree, we load it into a physical page whose address is passed in the fdt tree, rather than passing the content of the file as an fdt node directly; the kernel then reserves the page from uvm, and maps it into kva to call rnd_seed. For now, the only kernel that does use efiboot with fdt is evbarm, which knows to handle the rndseed. Any new kernels that use efiboot with fdt must do the same; otherwise uvm may hand out the page with the secret key on it for a normal page allocation in the kernel -- which should be OK if there are no kernel memory disclosure bugs, but would lead to worse consequences than simply loading the seed late in userland with /etc/rc.d/random_seed otherwise. ok jmcneill
Revision 1.64 / (download) - annotate - [select for diffs], Tue Jul 16 14:41:45 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119,
netbsd-9-base,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.63: +4 -6
lines
Diff to previous 1.63 (colored)
Consistently use vaddr_t as initarm and friends return type. Makes no difference to binaries except for aarch64 where it's required
Revision 1.63 / (download) - annotate - [select for diffs], Mon Jul 15 08:44:33 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.62: +5 -3
lines
Diff to previous 1.62 (colored)
Fix and improve a VPRINTF
Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:06 2019 UTC (5 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.24: +361 -185
lines
Diff to previous 1.24 (colored)
Sync with HEAD
Revision 1.62 / (download) - annotate - [select for diffs], Wed Apr 24 06:37:31 2019 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.61: +14 -6
lines
Diff to previous 1.61 (colored)
In fdt_add_boot_physmem make sure the memory range has pages available before adding it to the fdt_physmem array. Fixes a problem that jmcneill@ pointed out to me.
Revision 1.61 / (download) - annotate - [select for diffs], Sat Mar 30 13:17:23 2019 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: isaki-audio2-base,
isaki-audio2
Changes since 1.60: +3 -10
lines
Diff to previous 1.60 (colored)
Make fdt_get_memory return all of physical memory on ARM (matching ARM64 behavior)
Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 16 10:45:06 2019 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Spell common correctly in comment. Spotted by jmcneill
Revision 1.59 / (download) - annotate - [select for diffs], Sat Mar 16 10:05:40 2019 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.58: +5 -2
lines
Diff to previous 1.58 (colored)
Flush the BP cache just before starting APs so that cache coherency starts with a correct view.
Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 31 13:26:21 2019 UTC (5 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.57: +6 -3
lines
Diff to previous 1.57 (colored)
Only free the _init_memory pages if all APs start corectly.
Revision 1.20.2.8 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:35 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.20.2.7: +10 -6
lines
Diff to previous 1.20.2.7 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)
Sync with HEAD, resolve a few conflicts
Revision 1.57 / (download) - annotate - [select for diffs], Sun Dec 23 11:45:39 2018 UTC (5 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226
Changes since 1.56: +5 -3
lines
Diff to previous 1.56 (colored)
Appease clang. Tested by roy.
Revision 1.56 / (download) - annotate - [select for diffs], Wed Nov 28 09:16:19 2018 UTC (5 years, 9 months ago) by ryo
Branch: MAIN
Changes since 1.55: +7 -5
lines
Diff to previous 1.55 (colored)
support boot option "-1" to disable multiprocessor boot, and "-z" to set AB_SILENT flag.
Revision 1.20.2.7 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:21 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.6: +152 -88
lines
Diff to previous 1.20.2.6 (colored) to branchpoint 1.20 (colored)
Sync with HEAD, resolve a couple of conflicts
Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 15 23:53:40 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.54: +23 -2
lines
Diff to previous 1.54 (colored)
If the bootloader specifies a boot mac-address, use it to find the root device.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Nov 3 15:02:32 2018 UTC (5 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.53: +9 -12
lines
Diff to previous 1.53 (colored)
Less is more
Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 1 00:44:06 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.52: +26 -3
lines
Diff to previous 1.52 (colored)
Add support for auto-selection of GPT root devices
Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 31 13:37:35 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.51: +4 -4
lines
Diff to previous 1.51 (colored)
Use PRIx64 to print uint64_t
Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 31 13:01:48 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.50: +8 -6
lines
Diff to previous 1.50 (colored)
Setup mappings for EFI runtime mmio ranges.
Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 31 09:15:25 2018 UTC (5 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.49: +4 -4
lines
Diff to previous 1.49 (colored)
Fix VERBOSE_INIT_ARM build
Revision 1.49 / (download) - annotate - [select for diffs], Tue Oct 30 21:32:35 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.48: +53 -63
lines
Diff to previous 1.48 (colored)
Replace extent(9) with our own code to deal with adding and reserving memory ranges.
Revision 1.48 / (download) - annotate - [select for diffs], Tue Oct 30 16:41:53 2018 UTC (5 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.47: +3 -16
lines
Diff to previous 1.47 (colored)
Retire fdt_putchar and ap_early_put_char in favour of uartputc.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Oct 29 21:05:58 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.46: +11 -2
lines
Diff to previous 1.46 (colored)
If a /chosen/framebuffer node is found, reserve physical memory claimed by it.
Revision 1.46 / (download) - annotate - [select for diffs], Sun Oct 28 10:21:42 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
Changes since 1.45: +37 -2
lines
Diff to previous 1.45 (colored)
Add support for EFI runtime services on aarch64.
Revision 1.20.2.6 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:27 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.5: +60 -22
lines
Diff to previous 1.20.2.5 (colored) to branchpoint 1.20 (colored)
Sync with head
Revision 1.45 / (download) - annotate - [select for diffs], Thu Oct 18 17:34:10 2018 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Revert a VPRINTF to printf
Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:54 2018 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.43: +57 -19
lines
Diff to previous 1.43 (colored)
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
Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 14 14:31:05 2018 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
Use __nothing
Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 4 07:33:54 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
don't call plat->ap_early_putchar if not defined EARLYCONS
Revision 1.20.2.5 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:41 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.4: +33 -11
lines
Diff to previous 1.20.2.4 (colored) to branchpoint 1.20 (colored)
Ssync with HEAD
Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 29 20:58:31 2018 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.40: +5 -2
lines
Diff to previous 1.40 (colored)
If the total size of the DTB exceeds our static storage, attempt to pack it in place to make it fit.
Revision 1.40 / (download) - annotate - [select for diffs], Sat Sep 29 15:50:29 2018 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
Increase storage space for DTB (for QEMU)
Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 26 09:06:48 2018 UTC (5 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.38: +20 -6
lines
Diff to previous 1.38 (colored)
Don't call ukbd_cnattach() unconditionally, this causes a non-functionnal keyboard if there is a framebuffer but the console is serial only. Instead add a fdt_device_register_post_config() callback, which checks if the just-attached wsdisplay is the console, and calls ukbd_cnattach() in this case. OK jmcneill@
Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 22 11:58:19 2018 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.37: +8 -3
lines
Diff to previous 1.37 (colored)
Use fdt_open_into instead of fdt_move to load the DTB since we may make changes to the tree after loading it. When we are done making changes, call fdt_pack.
Revision 1.37 / (download) - annotate - [select for diffs], Sun Sep 16 11:24:29 2018 UTC (6 years ago) by skrll
Branch: MAIN
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (colored)
Use do { } while (/* CONSTCOND */ 0) for nop VPRINTF
Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 14 22:08:49 2018 UTC (6 years ago) by jakllsch
Branch: MAIN
Changes since 1.35: +3 -3
lines
Diff to previous 1.35 (colored)
fdt_cpu_rootconf: fix root on wd(4) Remove duplicate 'ld' and replace with previously-missing 'wd'.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 7 17:21:58 2018 UTC (6 years ago) by jmcneill
Branch: MAIN
Changes since 1.34: +3 -3
lines
Diff to previous 1.34 (colored)
Increase MAX_PHYSMEM to 64
Revision 1.20.2.4 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:30 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.3: +131 -90
lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 27 09:54:16 2018 UTC (6 years ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.33: +87 -2
lines
Diff to previous 1.33 (colored)
When the root= boot arg is missing, attempt to autodetect the root device by comparing a hash of a disk device's MBR with the hash passed in from the bootloader.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 23 22:34:03 2018 UTC (6 years ago) by jmcneill
Branch: MAIN
Changes since 1.32: +10 -4
lines
Diff to previous 1.32 (colored)
Deal with reserved memory ranges that start before mem start
Revision 1.32 / (download) - annotate - [select for diffs], Sun Aug 5 14:02:36 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.31: +15 -15
lines
Diff to previous 1.31 (colored)
Add prefixes to struct arm_platform{,_info} members. No functional change.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Aug 5 06:48:50 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.30: +5 -49
lines
Diff to previous 1.30 (colored)
Refactor code to split aarch{32,64} kernel page tables and VM setup. This will help re-build the kernel page tables on aarch64 with correct section mappings.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Aug 3 13:48:24 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.29: +3 -8
lines
Diff to previous 1.29 (colored)
Provide and use a evbarm/fdt/machdep.h
Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 3 12:48:33 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.28: +23 -23
lines
Diff to previous 1.28 (colored)
s/DPRINTF/VPRINTF/ for consistency
Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 3 07:44:31 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.27: +3 -4
lines
Diff to previous 1.27 (colored)
Mark fdt_addr_r __attribute__((__section__(".data")))
Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:31 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.2: +13 -12
lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)
Sync with HEAD
Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 17 19:12:55 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
restore type of uboot_args
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 17 18:41:01 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.25: +6 -6
lines
Diff to previous 1.25 (colored)
make sure uboot_args is in the data segment by saying so, as opposed to depending on initializing it to 0.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 17 00:38:27 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.24: +6 -6
lines
Diff to previous 1.24 (colored)
fix printf formats ll? -> PRIx64
Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 27 11:12:15 2018 UTC (6 years, 2 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base
Branch point for: phil-wifi
Changes since 1.23: +5 -4
lines
Diff to previous 1.23 (colored)
on evbarm/RPI,RPI2, VERBOSE_INIT_ARM had broken. XPUTC() of evbarm/rpi/rpi*_start.S uses bcm283[567]_platform_early_putchar() and it requires stack. fixed to allocate stack when starting from rpi*_start.S and a9_mpsubr.S if needed. to work XPUTC(), need to define VERBOSE_INIT_ARM and EARLYCONS option.
Revision 1.20.2.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:41 2018 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.2.1: +38 -34
lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)
Sync with HEAD
Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 21 11:57:05 2018 UTC (6 years, 2 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.22: +37 -33
lines
Diff to previous 1.22 (colored)
* make to work printf() and panic() even before consinit(). * tidy up output for VERBOSE_INIT_ARM.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 14 10:53:39 2018 UTC (6 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Increase storage space for FDT data
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (6 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20: +73 -25
lines
Diff to previous 1.20 (colored)
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (6 years, 5 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Changes since 1.20: +73 -25
lines
Diff to previous 1.20 (colored)
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@) - sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@) - add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 3 13:46:32 2018 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.19: +7 -4
lines
Diff to previous 1.19 (colored)
Start code now updates a global variable fdt_addr_r to handle differences in boot protocol (think arm64)
Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 21 08:28:55 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.18: +2 -3
lines
Diff to previous 1.18 (colored)
Remove unnecessary #include
Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 14 11:39:31 2017 UTC (6 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.17: +10 -11
lines
Diff to previous 1.17 (colored)
Fix the calculation of the end address of a reserved memory range. From Nick. Makes my CubieTruck boot again.
Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 13 00:22:24 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
Fix off-by-one in nfdt_physmem KASSERT, and while here bump MAX_PHYSMEM from 4 to 16.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:27 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.15: +32 -24
lines
Diff to previous 1.15 (colored)
FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this. The kernel image that the RPI firmware boots is now netbsd.img in the kernel build directory. XXX fdtbus_get_reg needs reworking
Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:04 2017 UTC (6 years, 9 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.15.2.1: +555 -0
lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)
update from HEAD
Revision 1.15.2.1, Thu Nov 9 21:38:48 2017 UTC (6 years, 10 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.15: +0 -555
lines
FILE REMOVED
file fdt_machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:04 +0000
Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 9 21:38:48 2017 UTC (6 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.14: +4 -4
lines
Diff to previous 1.14 (colored)
trailing whitespace
Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 10 23:03:06 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
Changes since 1.13: +12 -2
lines
Diff to previous 1.13 (colored)
Allow USB keyboards to attach as console devices.
Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:34 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.13.2.1: +545 -0
lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)
Sync with HEAD
Revision 1.4.2.5 / (download) - annotate - [select for diffs], Fri Aug 25 05:39:52 2017 UTC (7 years ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Changes since 1.4.2.4: +3 -3
lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
Pull up following revision(s) (requested by jakllsch in ticket #220): sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.12 Ignore 0-sized memory regions in the FDT.
Revision 1.13.2.1, Thu Aug 24 11:33:28 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.13: +0 -545
lines
FILE REMOVED
file fdt_machdep.c was added on branch nick-nhusb on 2017-08-28 17:51:34 +0000
Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 24 11:33:28 2017 UTC (7 years ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Branch point for: nick-nhusb
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Add EX_EARLY flag for extent_create, which skips locking. Required for using extent subsystem in early bootstrap code, before caches are enabled. From skrll@
Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 20 21:00:01 2017 UTC (7 years ago) by jakllsch
Branch: MAIN
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
Ignore 0-sized memory regions in the FDT.
Revision 1.4.2.4 / (download) - annotate - [select for diffs], Tue Jul 25 02:09:32 2017 UTC (7 years, 1 month ago) by snj
Branch: netbsd-8
Changes since 1.4.2.3: +24 -23
lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #151): sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.11 Fix reserved memory handling.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 21 01:00:08 2017 UTC (7 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +24 -23
lines
Diff to previous 1.10 (colored)
Fix reserved memory handling.
Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:09 2017 UTC (7 years, 2 months ago) by snj
Branch: netbsd-8
Changes since 1.4.2.2: +171 -9
lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #114): sys/arch/arm/samsung/exynos_intr.h: revision 1.3 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1 distrib/utils/embedded/mkimage: revision 1.66 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7 sys/dev/gpio/gpio.c: revision 1.59 sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1 sys/conf/Makefile.kern.inc: revision 1.257 sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2 sys/conf/Makefile.kern.inc: revision 1.258 sys/arch/arm/fdt/psci_fdt.h: revision 1.1 sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1 sys/arch/evbarm/conf/files.sunxi: revision 1.1 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9 sys/arch/arm/samsung/files.exynos: revision 1.22 distrib/utils/embedded/conf/armv7.conf: revision 1.13 sys/arch/arm/samsung/files.exynos: revision 1.23 sys/arch/evbarm/conf/std.tegra: revision 1.15 distrib/utils/embedded/conf/armv7.conf: revision 1.14 sys/arch/arm/samsung/files.exynos: revision 1.24 distrib/utils/embedded/conf/armv7.conf: revision 1.15 sys/arch/evbarm/sunxi/genassym.cf: revision 1.1 sys/arch/arm/samsung/exynos_fdt.c: file removal sys/dev/fdt/fdt_pinctrl.c: revision 1.4 sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1 sys/dev/usb/ehci.c: revision 1.255 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1 sys/dev/ic/dwc_mmc.c: revision 1.11 sys/arch/arm/cortex/gic.c: revision 1.24 distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17 etc/etc.evbarm/Makefile.inc: revision 1.87 etc/etc.evbarm/Makefile.inc: revision 1.88 sys/arch/arm/fdt/gic_fdt.c: revision 1.5 etc/Makefile: revision 1.429 sys/arch/arm/fdt/gic_fdt.c: revision 1.6 sys/arch/arm/fdt/gic_fdt.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2 sys/arch/evbarm/conf/std.sunxi: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3 sys/arch/evbarm/conf/std.sunxi: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4 sys/arch/evbarm/conf/std.sunxi: revision 1.3 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1 sys/dev/gpio/gpiovar.h: revision 1.17 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8 sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.12 sys/dev/fdt/fdtvar.h: revision 1.21 sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.13 sys/dev/fdt/fdtvar.h: revision 1.22 sys/arch/evbarm/conf/SUNXI: revision 1.10 sys/dev/fdt/fdtvar.h: revision 1.23 sys/arch/evbarm/conf/SUNXI: revision 1.11 sys/dev/fdt/gpioleds.c: revision 1.1 sys/dev/fdt/fdtvar.h: revision 1.24 sys/arch/evbarm/conf/SUNXI: revision 1.12 sys/arch/evbarm/conf/SUNXI: revision 1.13 sys/arch/arm/cortex/gic.c: revision 1.30 sys/arch/evbarm/conf/SUNXI: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.16 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1 etc/Makefile: revision 1.430 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2 etc/Makefile: revision 1.431 sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4 sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6 sys/arch/arm/samsung/exynos_platform.c: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.29 sys/arch/arm/samsung/exynos_platform.c: revision 1.2 sys/arch/evbarm/conf/mk.vexpress: revision 1.3 sys/arch/arm/samsung/exynos_platform.c: revision 1.3 sys/arch/evbarm/conf/mk.vexpress: revision 1.4 sys/arch/arm/samsung/exynos_platform.c: revision 1.4 sys/arch/arm/arm/psci.h: revision 1.1 sys/arch/arm/samsung/exynos_platform.c: revision 1.5 sys/arch/arm/samsung/exynos_platform.c: revision 1.6 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10 external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12 sys/dev/fdt/files.fdt: revision 1.17 sys/dev/fdt/files.fdt: revision 1.18 sys/dev/fdt/files.fdt: revision 1.19 sys/arch/arm/samsung/exynos_sscom.c: revision 1.8 sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1 sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1 sys/arch/arm/samsung/exynos_sscom.c: revision 1.9 sys/arch/arm/conf/files.arm: revision 1.133 sys/arch/arm/samsung/mct_var.h: revision 1.5 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2 sys/arch/evbarm/conf/std.vexpress: revision 1.6 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.30 sys/arch/arm/sunxi/files.sunxi: revision 1.2 sys/dev/ofw/openfirm.h: revision 1.35 sys/arch/arm/sunxi/files.sunxi: revision 1.3 sys/dev/ofw/openfirm.h: revision 1.36 sys/arch/arm/sunxi/files.sunxi: revision 1.4 sys/arch/arm/sunxi/files.sunxi: revision 1.5 sys/arch/evbarm/exynos/exynos_machdep.c: file removal sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1 sys/arch/arm/samsung/sscom.c: revision 1.9 sys/arch/arm/sunxi/files.sunxi: revision 1.6 sys/dev/fdt/ohci_fdt.c: revision 1.1 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.7 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.8 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.9 sys/arch/arm/samsung/exynos_sscom.c: revision 1.10 sys/arch/evbarm/conf/mk.tegra: revision 1.5 sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4 sys/arch/evbarm/conf/mk.tegra: revision 1.6 sys/arch/evbarm/conf/EXYNOS: revision 1.15 sys/arch/evbarm/conf/EXYNOS: revision 1.16 sys/arch/evbarm/conf/EXYNOS: revision 1.17 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.19 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5 sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1 sys/arch/evbarm/conf/mk.sunxi: revision 1.1 sys/arch/evbarm/include/bootconfig.h: revision 1.7 sys/arch/evbarm/conf/TEGRA: revision 1.24 sys/arch/arm/arm/psci.c: revision 1.1 sys/dev/led.c: revision 1.1 sys/dev/led.c: revision 1.2 sys/arch/arm/arm/psci_arm.S: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2 sys/dev/fdt/ehci_fdt.c: revision 1.1 sys/dev/fdt/ehci_fdt.c: revision 1.2 sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.21 sys/arch/arm/sunxi/files.sunxi: revision 1.10 sys/arch/arm/sunxi/files.sunxi: revision 1.11 sys/dev/fdt/fdtbus.c: revision 1.14 sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1 sys/arch/arm/samsung/exynos5422_dma.c: file removal usr.bin/config/mkmakefile.c: revision 1.69 sys/conf/files: revision 1.1178 sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1 sys/arch/evbarm/exynos/exynos_start.S: revision 1.4 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12 sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2 sys/arch/evbarm/conf/SUNXI: revision 1.1 external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.2 sys/arch/arm/fdt/psci_fdt.c: revision 1.1 sys/arch/evbarm/conf/SUNXI: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.4 sys/arch/evbarm/conf/files.exynos: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.6 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1 sys/dev/fdt/fixedfactorclock.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.7 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.8 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3 sys/dev/ic/dwc_mmc_reg.h: revision 1.6 sys/dev/fdt/fdt_subr.c: revision 1.16 sys/arch/evbarm/conf/SUNXI: revision 1.9 usr.bin/config/mkmakefile.c: revision 1.70 sys/dev/fdt/fdt_phy.c: revision 1.1 sys/arch/evbarm/conf/ODROID-XU: file removal sys/arch/arm/fdt/arm_fdt.c: revision 1.4 sys/arch/arm/samsung/exynos_reg.h: revision 1.14 sys/conf/files: revision 1.1180 sys/arch/arm/samsung/exynos_reg.h: revision 1.15 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6 sys/dev/ic/dwc_mmc_var.h: revision 1.6 sys/arch/arm/samsung/exynos_combiner.c: revision 1.7 sys/arch/evbarm/exynos/platform.h: revision 1.2 sys/arch/arm/fdt/files.fdt: revision 1.12 sys/arch/evbarm/conf/std.exynos: revision 1.2 sys/arch/evbarm/conf/std.exynos: revision 1.3 sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6 sys/arch/arm/sunxi/sunxi_com.c: revision 1.1 sys/dev/led.h: revision 1.1 sys/arch/evbarm/conf/std.exynos: revision 1.5 sys/arch/arm/sunxi/sunxi_com.c: revision 1.2 sys/arch/evbarm/conf/files.evbarm: revision 1.26 usr.bin/config/defs.h: revision 1.99 sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6 sys/arch/arm/samsung/exynos_soc.c: revision 1.32 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2 sys/arch/arm/samsung/mct.c: revision 1.11 sys/arch/evbarm/conf/ODROID-U: file removal sys/arch/arm/samsung/mct.c: revision 1.12 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4 Get the EXYNOS kernel building again with recent FDT changes. Untested. Use arm_fdt_cpu_hatch and add mmu entry for DTB Fix exynos5 devmap, bootstrap, and implement early_putchar. Calculate UART frequency based on bootloader config. Fix KERNEL_BASE_PHYS (how did this ever work?) Avoid divide-by-zero for unconfigured PLLs Correctly initialize i2cbus attach args. Add delay and enable mct timecounter. Fix build w/o VERBOSE_INIT_ARM Remove ODROID-U and ODROID-XU kernel configs as they no longer work. - Replace CONSADDR with SSCOM2CONSOLE in example - Remove gtmr (Exynos5422 uses mct) - cinclude EXYNOS.local instead of TEGRA.local Use fdtbus_intr_establish to hook in block interrupts instead of intr_establish. Simplify MCT; just enable it and then attach an ARMv7 generic timer. Add support for building DTB files during kernel build, from christos. build vexpress-v2p-ca15-tc1.dtb with the kernel build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel Allow multiline makeoptions to work by quoting the newline.. Bump for quoting makeoptions with multiple lines. un-c99 bump required config version for multiline makeoptions feature Set DTS makeoption in kernel config Assign DTB files to a variable so we can make -V DTB put the dtb files with their kernels. no need for debug printing. Don't assume that CPU index = GIC CPU interface number. We can determine the current CPU interface number by reading from the read-only GICD_ITARGETSR0 through GICD_ITARGETSR7 registers. This gets interrupts working on Exynos 5422, where the boot processor has GIC CPU interface #4. use -v to get the expanded variable. Use -v to get the expanded variables. Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach. Fix PLL con0 register locations and add uart clocks Disable exyortc for now, it doesn't work. More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support. Update for new dwc_mmc driver Fix dmesg Add Exynos 5410 clock controller driver. Fix a few typos in clock parent names for mmc clocks. From jmcneill@ Update for new dwc_mmc driver Implement platform reset for exynos5 Attach fdtbus to a /clocks node with no compatible string. Add support for ARM Power State Coordination Interface (PSCI). Support interrupt sharing. Add initial support for Allwinner H3 SoC. ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF, U-Boot on some platforms may use SGIs in this range for the PSCI implementation. Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert to ensure that we don't end up with a conflict. Add H3 MMC support SD/MMC clock fixes Add FDT PHY interface. Add glue for generic ehci/ohci bindings. Rename a variable, NFC. Support parents in different clock domains. Add USB stuff. Doesn't quite work yet. Synopsys DesignWare APB UART needs "options COM_AWIN" for now. Add i2c glue. Add RTC driver. PHY registers start at index 1. Now USB works. Don't allow sharing edge and level triggered interrupts. Add arm_fdt_memory_dump helper for dumping physical addresses from ddb Print clocks with aprint_debug Remove unused defines Add fdtbus_get_string helper Add of_search_compatible, which searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. This allows us to associate data with compatible strings. Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and later family SoCs. This is a port of my FreeBSD driver which has been confirmed to work on Allwinner H3, A83T, and A64 SoCs. Fix dmesg Add basic support for Allwinner A31. Add basic FDT GPIO support. Fix the pinctrl api to match the spec. A pinctrl config can have more than one xref, and an xref may have specifier data associated with it. Enable sunxi pinctrl support Adjust to new pinctrl API Add P2WI/RSB driver, based on awin_p2wi.c. Fix typo in a compat string. Configure pin defaults at attach No need to explicitly set pinctrl config 0 now Fix some register definitions. Disallow sharing between MPSAFE and non-MPSAFE handlers. Add of_match_compat_data. This routine searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based kernels. the extent code cannot use the full range of u_long, so ignore the last page before 4GB too. ok jmcneill@ Copy install ramdisk to releasedir. Provide both a raw ffs and Legacy U-Boot version of it. Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb files for SUNXI and TEGRA kernels on the MSDOS partition. Let the controller provide a default name for pins. This makes pins easier to locate when we have multiple banks and a variable number of pins per bank. Attach gpio(4) to sunxigpio Test for kernel build directory before reading DTB list Add support for Allwinner A83T SoC. Add A83T files Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints. Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac Restore TX_INTERVAL_DEFAULT to 64 Drop the sunxi_emac_rx_batch feature. It was originally designed to reduce the amount of mutex unlock/lock cycles during the RX path on FreeBSD and if_input, but it is not required to drop the lock before calling if_percpuq_enqueue on NetBSD. Write back the data value instead of mask in sunxi_gpio_write Add a helper for exposing LED controls via sysctl. Add GPIO LED driver. add gpioleds Add misc. gates and resets driver, and explicitly enable PIO clocks at attach. Add fdtbus_get_string_index helper. Add driver for fixed-factor clocks. Add ffclock Remove the requirement for ehci to attach after companion devices. "go for it" - skrll@ Remove the hack to find companion devices and just assume 1 companion if ETTF flag is not set. Remove pass numbers for ehci/ohci now that the attach order no longer matters Use unsigned char for ctype functions, suggested by christos Add : to body of populate_sunxi to appease bash. port-evbarm/52388: Fix number of args to a debug printf.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 10 09:44:14 2017 UTC (7 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
port-evbarm/52388: Fix number of args to a debug printf.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 5 19:30:51 2017 UTC (7 years, 2 months ago) by chs
Branch: MAIN
Changes since 1.8: +4 -4
lines
Diff to previous 1.8 (colored)
the extent code cannot use the full range of u_long, so ignore the last page before 4GB too. ok jmcneill@
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 5 01:08:45 2017 UTC (7 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +169 -7
lines
Diff to previous 1.7 (colored)
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based kernels.
Revision 1.4.2.2 / (download) - annotate - [select for diffs], Wed Jun 14 04:54:21 2017 UTC (7 years, 3 months ago) by snj
Branch: netbsd-8
Changes since 1.4.2.1: +31 -5
lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #31): sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.7 Parse more than one entry from the /memory node's reg property.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 11 20:25:07 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +31 -5
lines
Diff to previous 1.6 (colored)
Parse more than one entry from the /memory node's reg property.
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Jun 6 16:26:53 2017 UTC (7 years, 3 months ago) by snj
Branch: netbsd-8
Changes since 1.4: +40 -7
lines
Diff to previous 1.4 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #13): sys/arch/arm/fdt/plfb_fdt.c: revision 1.2 sys/arch/arm/vexpress/vexpress_platform.c: revision 1.3 sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.13 sys/arch/evbarm/fdt/fdt_machdep.c: revisions 1.5, 1.6 sys/dev/ic/pl050.c: revision 1.2 Fix spelling of WS_DEFAULT_FG and WS_KERNEL_FG options. -- Attach kbd slot to console -- Allow plfb to be the console device -- Add support for stdout-path= kernel cmdline option to override the console device specified in the FDT. -- Initialize boot_args before bootstrap for the benefit of platform code. -- Allow 'console=fb' to act as a shortcut on vexpress for 'stdout-path=/smb@08000000/motherboard/iofpga@3,00000000/clcd@1f0000'
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 6 09:56:00 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.5: +7 -7
lines
Diff to previous 1.5 (colored)
Initialize boot_args before bootstrap for the benefit of platform code.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 6 00:28:05 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.4: +40 -7
lines
Diff to previous 1.4 (colored)
Add support for stdout-path= kernel cmdline option to override the console device specified in the FDT.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 2 13:53:29 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.3: +7 -3
lines
Diff to previous 1.3 (colored)
Allow platform code to specify the UART frequency for consinit
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 2 00:16:28 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +10 -2
lines
Diff to previous 1.2 (colored)
FDT-ize "delay" by having fdt_machdep provide the delay() function and move the implementations into the platform code.
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 30 22:55:27 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +6 -4
lines
Diff to previous 1.1 (colored)
Fix VERBOSE_INIT_ARM build with TEGRA kernel.
Revision 1.1 / (download) - annotate - [select for diffs], Tue May 30 10:27:53 2017 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
Rename tegra_machdep.c to fdt_machdep.c now that it no longer has any Tegra-specific code in it.