The NetBSD Project

CVS log for src/sys/arch/arm/broadcom/bcm283x_platform.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / broadcom

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 7 08:55:30 2023 UTC (10 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.48: +42 -42 lines
Diff to previous 1.48 (colored)

Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:26 2021 UTC (2 years, 10 months ago) by thorpej
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-cfargs2-base, thorpej-cfargs2, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.47: +2 -4 lines
Diff to previous 1.47 (colored)

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?).

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:16 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.41.2.1: +8 -6 lines
Diff to previous 1.41.2.1 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:21:07 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.47: +2 -4 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

- 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.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 4 22:36:53 2021 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored)

Call acpi_device_register() / fdtbus_device_register() as approrpriate.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.45: +6 -6 lines
Diff to previous 1.45 (colored)

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.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:48 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.41: +182 -167 lines
Diff to previous 1.41 (colored)

Sync w/ HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 1 04:16:18 2020 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored)

Data written to and read from bcm283x UART registers should be in little-endian.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 1 04:14:31 2020 UTC (3 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.43: +149 -140 lines
Diff to previous 1.43 (colored)

Data written to and read from bcmmbox(4) should be in little-endian.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Nov 23 06:24:35 2020 UTC (3 years, 3 months ago) by rin
Branch: MAIN
Changes since 1.42: +10 -0 lines
Diff to previous 1.42 (colored)

Support EARLYCONS and VERBOSE_INIT_ARM for Raspberry Pi Zero W, for
which mini UART should be used instead of PL011 UART.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Nov 23 06:21:07 2020 UTC (3 years, 3 months ago) by rin
Branch: MAIN
Changes since 1.41: +22 -26 lines
Diff to previous 1.41 (colored)

Factor out bcm283x_aux_platform_early_putchar() from
bcm{2837,2711}_platform_early_putchar(), for which output goes to
AUX UART (aka mini UART).

No functional changes.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Sep 28 11:54:23 2020 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.40: +2 -5 lines
Diff to previous 1.40 (colored)

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.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:09 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.39: +7 -7 lines
Diff to previous 1.39 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 26 08:42:01 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.38: +10 -4 lines
Diff to previous 1.38 (colored)

Avoid large stack usage with kmem_alloc - we're in device_register so
there is no problem doing this.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 21 07:17:25 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.37: +4 -10 lines
Diff to previous 1.37 (colored)

Update to new proplib api

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:33 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.6.2.1: +221 -40 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:18 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.34: +9 -41 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 22 00:28:35 2020 UTC (4 years ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored)

Add support for Broadcom GENET v5 ethernet controller as found on the
Raspberry Pi 4 (BCM2711).

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 22 00:17:54 2020 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored)

Translate bus addresses for SCB on BCM2711

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 20 01:43:07 2020 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.34: +2 -40 lines
Diff to previous 1.34 (colored)

Remove custom bus dma tag handling.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Thu Jan 2 10:01:04 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.23: +17 -9 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pull up following revision(s) (requested by skrll in ticket #599):

	sys/arch/arm/broadcom/bcm283x_platform.c: revision 1.34 (patch)

Provide a single generic bcm283x_platform_uart_freq which checks for
"brcm,bcm2835-aux-uart" and returns the appropriate core clock based
results; otherwise it returns the uart clock from firmware.

Should fix early console output on the rpi0w.

Based on a diff from mlelstv

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 1 13:54:32 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.33: +18 -10 lines
Diff to previous 1.33 (colored)

Provide a single generic bcm283x_platform_uart_freq which checks for
"brcm,bcm2835-aux-uart" and returns the appropriate core clock based
results; otherwise it returns the uart clock from firmware.

Should fix early console output on the rpi0w.

Based on a diff from mlelstv

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 1 09:35:50 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored)

The DMA range doesn't cover all of memory on the bcm2711 (rpi4) - it
covers (most of) the first 1GB.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Dec 31 08:01:19 2019 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.31: +9 -2 lines
Diff to previous 1.31 (colored)

Add another cache invalidation before reading memory for firmware query
results.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 30 16:19:27 2019 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

Fix up ARM_LOCAL for 2711 so that it works now.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 30 16:06:29 2019 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.29: +9 -2 lines
Diff to previous 1.29 (colored)

Invalidate the cache just before trying to read the results from the
firmware as RPI4 A72s can fill the cache with speculation

Revision 1.29 / (download) - annotate - [select for diffs], Mon Dec 30 15:36:37 2019 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.28: +31 -2 lines
Diff to previous 1.28 (colored)

Add emmc2 clock goop from mlelstv@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Dec 24 14:10:51 2019 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.27: +54 -55 lines
Diff to previous 1.27 (colored)

We follow linux mainline and they're using 2711 and not 2838 for RPI4

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 22 12:21:45 2019 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

Add brcm,bcm2711 as an alias for brcm,bcm2838

Revision 1.26 / (download) - annotate - [select for diffs], Sat Sep 28 07:39:30 2019 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Fix build on SOC_BCM2835 kernels

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 27 12:58:54 2019 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.24: +165 -5 lines
Diff to previous 1.24 (colored)

BCM2838 (RPI4) support.

Based on a diff from mlelstv

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 25 18:01:03 2019 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.23: +8 -8 lines
Diff to previous 1.23 (colored)

s/2835/283X/ in BCM2835_PERIPHERALS_BASE_BUS and BCM2835_PERIPHERALS_SIZE
to show they cover all of 283[5678]

NFCI

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:52 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.6: +120 -200 lines
Diff to previous 1.6 (colored)

Sync with HEAD

Revision 1.2.2.9 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:14 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.8: +17 -52 lines
Diff to previous 1.2.2.8 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Synch with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 3 12:52:40 2019 UTC (5 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.22: +17 -52 lines
Diff to previous 1.22 (colored)

Add a link set for cpu enable methods.

Revision 1.2.2.8 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:18 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.7: +8 -9 lines
Diff to previous 1.2.2.7 (colored) to branchpoint 1.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.22 / (download) - annotate - [select for diffs], Tue Oct 30 16:41:52 2018 UTC (5 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored)

Retire fdt_putchar and ap_early_put_char in favour of uartputc.

Revision 1.2.2.7 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:25 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.6: +20 -23 lines
Diff to previous 1.2.2.6 (colored) to branchpoint 1.2 (colored)

Sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 20 05:53:22 2018 UTC (5 years, 4 months ago) by ryo
Branch: MAIN
Changes since 1.20: +7 -4 lines
Diff to previous 1.20 (colored)

- fix AP spinup on bcm283x
- "brcm,bcm2836-smp" is a enable-method for only 32bit bcm2836.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.19: +19 -22 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sat Oct 6 16:04:21 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Use __BIT.  NFC.

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:37 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.5: +44 -80 lines
Diff to previous 1.2.2.5 (colored) to branchpoint 1.2 (colored)

Ssync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 10 11:05:12 2018 UTC (5 years, 5 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.17: +44 -80 lines
Diff to previous 1.17 (colored)

cleanup aarch64 mpstart and fdt bootstrap
 * arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
   in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
 * add support fdt enable-method "spin-table"
 * add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
 * use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
 * rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
 * add devmap for cpu spin-table of raspberrypi3/aarch64
 * no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
 * fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:25 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.4: +119 -159 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:23 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 28 14:57:03 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

Fix arm non-MULTIPROCESSOR build for RPI2

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 26 18:15:49 2018 UTC (5 years, 6 months ago) by ryo
Branch: MAIN
Changes since 1.14: +34 -23 lines
Diff to previous 1.14 (colored)

add support multiple cpu clusters.
* pass cpu index as an argument to secondary processors when hatching.
* keep cpu cache confituration per cpu clusters.

Hello big.LITTLE!

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 25 20:55:15 2018 UTC (5 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Set mac-address property to mue(4).

Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 21 08:45:17 2018 UTC (5 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.12: +5 -6 lines
Diff to previous 1.12 (colored)

Correctly report memory size, not clock rate when VERBOSE_INIT_ARM.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 10 04:44:15 2018 UTC (5 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.11: +54 -96 lines
Diff to previous 1.11 (colored)

* Convert bus address to physical address in xxx_bs_mmap(), as done in
  xxx_bs_map().

* Reuse bs_map and bs_mmap in arm_generic_bs_tag in order to
  - set pmap flags properly for aarch64
  - dedup codes

OK ryo

Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 5 14:02:35 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.10: +26 -26 lines
Diff to previous 1.10 (colored)

Add prefixes to struct arm_platform{,_info} members.

No functional change.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 3 15:46:41 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.9: +2 -11 lines
Diff to previous 1.9 (colored)

Provide and use kern_vtopdiff in KERN_{VTOPHYS,PHYSTOV}.  A step towards
generic arm.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 3 13:48:24 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.8: +4 -5 lines
Diff to previous 1.8 (colored)

Provide and use a evbarm/fdt/machdep.h

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:27 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.3: +51 -12 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 16 23:11:47 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.7: +10 -9 lines
Diff to previous 1.7 (colored)

Add missing pointer <-> integer casts
Use PRI?64 to print uint64_t instead 'll?'

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 9 06:21:46 2018 UTC (5 years, 7 months ago) by ryo
Branch: MAIN
Changes since 1.6: +42 -8 lines
Diff to previous 1.6 (colored)

hatch secondary processors (aarch64)

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 27 11:12:14 2018 UTC (5 years, 8 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base
Branch point for: phil-wifi
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (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.2.2.3 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:39 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.2: +41 -6 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 8 18:09:43 2018 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.4: +41 -6 lines
Diff to previous 1.4 (colored)

Provide bs_mmap implementations for bcm283x based boards.

PR:		port-arm/53283
Submitted by:	Nick Hudson

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.1: +144 -20 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:03 2018 UTC (5 years, 10 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.3: +144 -20 lines
Diff to previous 1.3 (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.2.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:42 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Synch with HEAD, resolve conflicts

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 17 18:34:09 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0330, pgoyette-compat-0322
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

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)

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 20 14:35:12 2017 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.1: +2 -10 lines
Diff to previous 1.1 (colored)

G/C

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:26 2017 UTC (6 years, 2 months ago) by skrll
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>