freebsd-nq/sys/arm/amlogic/aml8726/std.aml8726
Warner Losh 094fc1ed0f Tag all armv7 kernels as such in their machine config line.
Transition all boards that support arm cortex CPUs to armv7. This
leaves two armv6 kernels in the tree. RPI-B, which uses the BCM2835
which has a ARM1176 core, and VERSATILEPB, which is a qemu board setup
around the time RPI-B went in. Copy std.armv6 to std.armv7, even
though that duplicates a lot of stuff. More work needs to be done to
sort out the duplication.

Differential Revision: https://reviews.freebsd.org/D12027
2017-10-05 23:01:50 +00:00

29 lines
743 B
Plaintext

# $FreeBSD$
cpu CPU_CORTEXA
machine arm armv7
makeoptions CONF_CFLAGS="-march=armv7a"
# Physical memory starts at 0x80000000. We assume the kernel is loaded
# at 0x80100000 by u-boot (which doesn't support ubldr since it's missing
# CONFIG_API). The kernel must be supplied as a binary since u-boot is
# also missing CONFIG_CMD_ELF.
#
#
options KERNVIRTADDR=0xc0100000 # Used in ldscript.arm
makeoptions KERNVIRTADDR=0xc0100000
device fdt_pinctrl
files "../amlogic/aml8726/files.aml8726"
# Set all global interrupts to be edge triggered, active high.
options GIC_DEFAULT_ICFGR_INIT=0xffffffff
options IPI_IRQ_START=0
options IPI_IRQ_END=15
#options EARLY_PRINTF
#options SOCDEV_PA=0xc8100000
#options SOCDEV_VA=0xd8100000