The NetBSD Project

CVS log for src/sys/arch/arm/arm/armv6_start.S

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Sep 7 06:17:37 2024 UTC (8 weeks, 3 days ago) by andvar
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
spelling and grammar fixes, mainly in comments.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 31 13:44:16 2023 UTC (15 months, 1 week ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +6 -1 lines
Pull up following revision(s) (requested by riastradh in ticket #1676):

	sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
	sys/arch/aarch64/aarch64/locore.S: revision 1.91
	sys/arch/mips/include/asm.h: revision 1.74
	sys/arch/hppa/include/cpu.h: revision 1.13
	sys/arch/arm/arm/armv6_start.S: revision 1.38
	sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
	sys/arch/mips/mips/locore.S: revision 1.229
	sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
	sys/arch/alpha/include/asm.h: revision 1.45
	sys/arch/sparc64/sparc64/locore.s: revision 1.432
	sys/arch/vax/vax/subr.S: revision 1.42
	sys/arch/mips/mips/locore_mips3.S: revision 1.116
	sys/arch/ia64/ia64/machdep.c: revision 1.44
	sys/arch/arm/arm32/cpuswitch.S: revision 1.106
	sys/arch/sparc/sparc/locore.s: revision 1.284
	(all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 31 13:36:31 2023 UTC (15 months, 1 week ago) by martin
Branches: 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
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +6 -1 lines
Pull up following revision(s) (requested by riastradh in ticket #264):

	sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
	sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
	sys/arch/aarch64/aarch64/locore.S: revision 1.91
	sys/arch/mips/include/asm.h: revision 1.74
	sys/arch/hppa/include/cpu.h: revision 1.13
	sys/arch/arm/arm/armv6_start.S: revision 1.38
	sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
	sys/arch/mips/mips/locore.S: revision 1.229
	sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
	sys/arch/alpha/include/asm.h: revision 1.45
	sys/arch/sparc64/sparc64/locore.s: revision 1.432
	sys/arch/vax/vax/subr.S: revision 1.42
	sys/arch/mips/mips/locore_mips3.S: revision 1.116
	sys/arch/riscv/riscv/cpu_switch.S: revision 1.3
	sys/arch/ia64/ia64/machdep.c: revision 1.44
	sys/arch/arm/arm32/cpuswitch.S: revision 1.106
	sys/arch/sparc/sparc/locore.s: revision 1.284

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

riscv: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Feb 23 14:55:24 2023 UTC (20 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
arm32: Add missing barriers in cpu_switchto.

Details in comments.

PR kern/57240

XXX pullup-8
XXX pullup-9
XXX pullup-10

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Nov 14 16:56:32 2021 UTC (2 years, 11 months ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
arm: Fix CPU startup synchronization.

- Use load-acquire instead of (wrong) membar_consumer then load in
  cpu_boot_secondary_processors and cpu_hatched_p.

  => (Could use load then membar_consumer instead but load-acquire is
     shorter.)

- Issue  dmb ish  before setting or clearing the bit in
  cpu_set_hatched and cpu_clr_mbox to effect a store-release.

  => (Could use membar_exit, which is semantically weaker than  dmb ish
     but on arm is just implemented as  dmb ish.)

  => (Could use stlr except we don't have atomic_ops(9) to do that.)

This way, everything before cpu_set_hatched or cpu_clr_mbox is
guaranteed to happen before everything after
cpu_boot_secondary_processors, which was previously not guaranteed.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Sep 12 07:14:50 2021 UTC (3 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -1 lines
More debug.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Aug 2 12:56:22 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
fix various typos in comments and log messages.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.30.2.1: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jan 27 13:50:17 2021 UTC (3 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, 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
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Trailing whitespace... heh

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:37:47 2020 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +13 -3 lines
Sync w/ HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Dec 1 13:11:55 2020 UTC (3 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -4 lines
Simplify the simplification... basically always set sctlr.u before setting
cpsr.e

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Dec 1 08:35:31 2020 UTC (3 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -6 lines
Simplify previous

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Dec 1 02:46:19 2020 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +16 -3 lines
Fix earmv6{,hf}eb start-up routines:

- Turn on U-bit in SCTLR before E-bit is turned on by ``setend be'',
  in order to avoid undefined condition. ARM1176JZF-S, at least, halts
  if only E-bit is turned on.

- Turn on EE-bit in SCTLR instead of B-bit as we've switched to BE8.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Oct 13 21:06:18 2020 UTC (4 years ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -3 lines
Remove some XXXNHs

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Sep 22 00:55:08 2020 UTC (4 years, 1 month ago) by mrg
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -2 lines
swp is only useful on armv7 uni-processor systems.

we will need the emulation if we want to run old binaries..

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Sep 21 21:26:43 2020 UTC (4 years, 1 month ago) by mrg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
turn on CPU_CONTROL_SWP_ENABLE.

this allows armv[67] systems to use 'swp' and 'swpb' instructions,
which means they can run armv[45] software.

arm recommends ldrex/strex for armv6 and newer, and it is not
present in armv8 at all or some armv7.  we emulate it on armv8 and
need to add emulation for the some armv7.  using the hardware is
going to be faster, so, enable this path too.

ok jmcneill.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Aug 28 13:36:52 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -5 lines
Some KASAN fixes and tweaks

- don't access BSS variables when __md_early
- centralise the INIT_ARM_STACK_{SHIFT,SIZE} defines and create a new
  INIT_ARM_TOTAL_STACK
- Only create L1PT entries in kasan_md_shadow_map_page if
  arm32_kernel_vm_init hasn't created the L2PTs (and their L1PT entries)
- Add some comments to explain what's going on

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Aug 28 13:15:05 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -16 lines
Use C rather than assembly

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Aug 28 13:00:29 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -2 lines
Change to the KVA stack address straight after the MMU is turned on

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Aug 28 12:56:19 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -16 lines
#ifdef -> #if defined

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 28 11:15:08 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3 lines
arm_cpu_topology_set only takes two arguments

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Aug 25 15:03:48 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -2 lines
More debug

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jul 19 11:47:47 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix RPI boot which needs more early stack

XXX centralise INIT_ARM_STACK_{SHIFT,SIZE}
XXX how to protect against this breaking again?

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jul 10 12:25:08 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -1 lines
Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jul 9 11:40:54 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -10 lines
Remove some newlines

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 8 10:17:59 2020 UTC (4 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
Use the stack provided by armv6_start.S rather than svcstk.  This saves
some bss too.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jul 3 06:15:27 2020 UTC (4 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -2 lines
Wrap a comment

Revision 1.12.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:32 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.12.4.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.3: +2 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.12.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:27 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.12.4.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.2: +59 -20 lines
Merge changes from current as of 20200406

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Mar 20 19:48:03 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
Really use armv7 noncache memory attribute for early kernel mapping and
not SO

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:17 2020 UTC (4 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +55 -16 lines
Sync with head.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 15 08:16:10 2020 UTC (4 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +55 -16 lines
Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 12 06:53:21 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Comment fix

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jun 12 06:51:31 2019 UTC (5 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Debug output improvement

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:51 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.1: +1127 -0 lines
Sync with HEAD

Revision 1.12.4.1
Mon Apr 8 07:35:32 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.12: +0 -1127 lines
file armv6_start.S was added on branch phil-wifi on 2019-06-10 22:05:51 +0000

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 8 07:35:32 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -2 lines
Fix a comment.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 4 14:24:20 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +93 -65 lines
Restructure so that storing of uboot args (including FDT address) and
virtual to physical offset is done after armv[67]_init where we ensure
MMU and caches are off, and cache is invalidated.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Apr 3 17:55:27 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -10 lines
Debug output alignment

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 2 20:00:36 2019 UTC (5 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Whitespace police

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Feb 9 07:20:21 2019 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Typo in comment

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 9 07:19:02 2019 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -1 lines
Print revidr of BP as well as APs

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 6 14:12:25 2019 UTC (5 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +17 -17 lines
Don't VPRINTF until we have stack for our CPU setup properly

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:14 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +72 -55 lines
Synch with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 3 10:26:41 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +63 -29 lines
Start CPUs more like aarch64 by using a cpu_mpidr array (if populated)
to map MPIDRs to an index for each CPU.

Towards big.LITTLE support.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 2 16:27:04 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
Whitespace

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 2 16:17:15 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -27 lines
Misc. tidyup

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 14:31:33 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix a ASEND

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:24 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +1076 -0 lines
Sync with head

Revision 1.1.2.1
Thu Oct 18 09:01:52 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -1076 lines
file armv6_start.S was added on branch pgoyette-compat on 2018-10-20 06:58:24 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:01:52 2018 UTC (6 years ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Branch point for: pgoyette-compat
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

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>