The NetBSD Project

CVS log for src/sys/arch/evbarm/rpi/Attic/rpi2_start.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7.2.1, Mon Jun 10 22:06:10 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.7: +1 -1 lines
FILE REMOVED

Sync with HEAD

Revision 1.5.2.3, Sat Oct 20 06:58:28 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.5.2.2: +1 -1 lines
FILE REMOVED

Sync with head

Revision 1.9, Thu Oct 18 09:01:54 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED

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.5.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:32 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5.2.1: +7 -1 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

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

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 3 15:46:41 2018 UTC (5 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 (colored)

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

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:32 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5: +26 -10 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 27 11:12:15 2018 UTC (5 years, 9 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728
Branch point for: phil-wifi
Changes since 1.6: +26 -7 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Wed Jun 27 11:05:38 2018 UTC (5 years, 9 months ago) by ryo
Branch: MAIN
Changes since 1.5: +1 -4 lines
Diff to previous 1.5 (colored)

remove unnecessary code. .Lmmu_init_table is in same section, and also not r8.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 3 13:46:32 2018 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.4: +12 -1 lines
Diff to previous 1.4 (colored)

Start code now updates a global variable fdt_addr_r to handle differences
in boot protocol (think arm64)

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:27 2017 UTC (6 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.3: +29 -97 lines
Diff to previous 1.3 (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.3.16.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:06 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.16.1: +272 -0 lines
Diff to previous 1.3.16.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Feb 26 22:52:53 2016 UTC (8 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.1.2.2: +2 -7 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up following revision(s) (requested by skrll in ticket #1107):
	external/broadcom/rpi-firmware/dist/LICENCE.broadcom: revision 1.2
	external/broadcom/rpi-firmware/dist/bootcode.bin: revision 1.8
	external/broadcom/rpi-firmware/dist/fixup.dat: revision 1.8
	external/broadcom/rpi-firmware/dist/fixup_cd.dat: revision 1.8
	external/broadcom/rpi-firmware/dist/start.elf: revision 1.8
	external/broadcom/rpi-firmware/dist/start_cd.elf: revision 1.8
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.29
	sys/arch/arm/broadcom/bcm2835_gpio.c: revision 1.3
	sys/arch/arm/broadcom/bcm2835_gpio_subr.c: revision 1.4
	sys/arch/arm/broadcom/bcm2835_space.c: revision 1.9, 1.10
	sys/arch/arm/broadcom/bcm2835reg.h: patch
	sys/arch/arm/cortex/a9_mpsubr.S: revisions 1.45, 1.46
	sys/arch/evbarm/conf/CUBIEBOARD: revision 1.45
	sys/arch/evbarm/conf/std.awin: revision 1.9
	sys/arch/evbarm/rpi/rpi2_start.S: revision 1.3
	sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.68
Check for hypervisor mode in cortex_init and exit if the cpu started
there.
Needed by latest RPI firmware.
--
Fix up bus_space_map for latest RPI firmware which now passes the FB
address in the mailbox properties as a bus address.
--
Update RPI firmware to version after the following commit
commit 224c75602b8bae1a9e942b4f1c7ed3aa8e0f0ec8
Author: popcornmix<popcornmix@gmail.com>
Date:   Tue Dec 8 14:48:57 2015 +0000
--
Deal with kernel builds where virtualisation isn't available
--
Tweak CPUFLAGS to cover all CPUs
--
Fix up bcm283[56] bus_space(4) to really use bus addresses for
peripherals, etc
Simplifies the code in various places and uses the abstraction in
more places. (bcm2835_gpio_subr.c still doesn't)

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:34 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.4.3: +2 -7 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.3.16.1, Thu Dec 17 08:02:42 2015 UTC (8 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +0 -272 lines
FILE REMOVED

file rpi2_start.S was added on branch tls-maxphys on 2017-12-03 11:36:06 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 17 08:02:42 2015 UTC (8 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys
Changes since 1.2: +2 -7 lines
Diff to previous 1.2 (colored)

Check for hypervisor mode in cortex_init and exit if the cpu started
there.

Needed by latest RPI firmware.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:58 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.4.2: +7 -7 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 18 11:03:31 2015 UTC (8 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

Use character constants instead of ascii values for readability

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:56 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.1.4.1: +277 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Mar 11 20:22:56 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.1.2.1: +277 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Pull up following revision(s) (requested by skrll in ticket #582):
	distrib/utils/embedded/conf/rpi.conf: revision 1.27
	etc/etc.evbarm/Makefile.inc: revision 1.70
	sys/arch/arm/broadcom/bcm2835_intr.c: revision 1.5-1.7
	sys/arch/arm/broadcom/bcm2835_obio.c: revision 1.23, 1.24
	sys/arch/arm/broadcom/bcm2835_space.c: revision 1.8
	sys/arch/arm/broadcom/bcm2835reg.h: revision 1.14
	sys/arch/arm/broadcom/bcm2835var.h: revision 1.2
	sys/arch/arm/broadcom/files.bcm2835: revision 1.24
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.30
	sys/arch/arm/cortex/armperiph.c: revision 1.8, 1.9
	sys/arch/arm/cortex/gtmr.c: revision 1.9
	sys/arch/arm/cortex/gtmr_var.h: revision 1.5
	sys/arch/arm/cortex/mpcore_var.h: revision 1.3
	sys/arch/arm/include/cpu.h: revision 1.84
	sys/arch/evbarm/conf/RPI2: revision 1.1, 1.2
	sys/arch/evbarm/conf/RPI2_INSTALL: revision 1.1
	sys/arch/evbarm/conf/RPI: revision 1.59, 1.60
	sys/arch/evbarm/conf/mk.rpi: revision 1.4
	sys/arch/evbarm/conf/std.rpi: revisions 1.16-1.19 via patch
	sys/arch/evbarm/rpi/genassym.cf: revision 1.2
	sys/arch/evbarm/rpi/rpi.h: revision 1.4
	sys/arch/evbarm/rpi/rpi2_start.S: revision 1.1
	sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.57, 1.58 via patch
	sys/arch/evbarm/rpi/rpi_start.S: revision 1.13
Move some options into std.rpi
--
Add __HAVE_MM_MD_CACHE_ALIASING
Pull up following revision(s) (requested by skrll in ticket #582):
Fix TPIDRPRW_IS_CURLWP builds.
--
A MULTIPROCESSOR kernel requires TPIDRPRW_IS_CURCPU.
--
Use TPIDRPRW_IS_CURLWP as it's a slight code reduction and performance
improvement.
Initial RPI2 support - it doesn't work yet. The generic timer gets messed
up somehow.
This commit changes the KVA layout of the RPI.
--
Make this compile where gtmr isn't used.
--
Spin up the non-boot CPUs, but don't allow cpu_boot_secondary_processors
to see them for now.
RPI2 nows works well with only the boot cpu.
--
Appease a KASSERT - will be remove when MULTIPROCESSOR RPI2 is fixed.
--
Add RPI2 to kernels build for both earmv[67].
Use the earmv6 built kernels to create an image that can be used on both
RPI and RPI2
--
Add an RPI2_INSTALL

Revision 1.1.4.1, Sat Feb 28 09:34:34 2015 UTC (9 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -277 lines
FILE REMOVED

file rpi2_start.S was added on branch nick-nhusb on 2015-04-06 15:17:56 +0000

Revision 1.1.2.1, Sat Feb 28 09:34:34 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.1: +0 -277 lines
FILE REMOVED

file rpi2_start.S was added on branch netbsd-7 on 2015-03-11 20:22:56 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 28 09:34:34 2015 UTC (9 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb, netbsd-7

Initial RPI2 support - it doesn't work yet. The generic timer gets messed
up somehow.

This commit changes the KVA layout of the RPI.

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>