ipq4018: add initial IPQ4018/IPQ4019 support

Summary:
This adds required IPQ4018/IPQ4019 SoC support to boot.
It also includes support for disabling the ARMv7 hardware
breakpoint / debug stuff at compile time as this is
required for the IPQ SoCs, and printing out the undefined
instruction itself.

Test Plan: * compiled/booted on an IPQ4019 SoC AP

Reviewers: #core_team!

Subscribers: imp, andrew

Differential Revision: https://reviews.freebsd.org/D32538
This commit is contained in:
Adrian Chadd 2021-10-16 11:48:37 -07:00
parent fb7a007728
commit 015ff812d6

52
sys/arm/conf/ASUS_AC1300 Normal file
View file

@ -0,0 +1,52 @@
#
# ASUS_AC1300 -- Qualcomm kernel configuration file for FreeBSD/arm
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
#NO_UNIVERSE
include "std.armv7"
include "std.qca"
cpu CPU_CORTEXA
ident ASUS_AC1300
machine arm armv7
# Use a low VA here so we get the early printf stuff working all the
# way up to cninit().
#options SOCDEV_PA=0x07800000
#options SOCDEV_VA=0x07800000
#options EARLY_PRINTF
options BOOTVERBOSE
options FDT_DTB_STATIC
makeoptions FDT_DTS_FILE=qcom-ipq4018-rt-ac58u.dts
options LINUX_BOOT_ABI
options SCHED_ULE
# DEFINITELY not ready for SMP yet!
# options SMP
options PLATFORM
device loop
device pty
device md
device gpio
device ether
device mii
device bpf