e1d6d6f9 emaste Oct. 18, 2021, 9:21 p.m.
Previously they were skipped.  lorder(1) serves no functional purpose
today but we might as well address this longstanding bug while it is
still in the tree.

PR:		133860
MFC after:	1 week
Submitted by:	John Hein
cgit
015ff812 adrian Oct. 18, 2021, 7:19 p.m.
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
cgit
fb7a0077 adrian Oct. 18, 2021, 7:19 p.m.
This is the minimal config required to boot on the IPQ4018 SoC
and likely future ones as well in this family.
cgit
02438ce5 adrian Oct. 18, 2021, 7:19 p.m.
This is for the Qualcomm Atheros quad-core ARMv7 SoC with built-in
2x2 2GHz and 5GHz ath10k devices.

It's enough (with an upcoming set of config files) to netboot
on an ASUS router I have here and get to a single core mountroot
prompt.
cgit
c29c0e68 adrian Oct. 18, 2021, 7:18 p.m.
The upcoming QCA ipq401x support detects the CP14 debug features,
but any attempt to use it causes an undefined instruction error.
It apparently needs a specific TZ image loaded by the early bootloader
(SBL) in order to enable these kinds of features.

So add a new kernel option that explicitly disables this in the
arm code - the debugger works fine without it.
cgit
8398d52d adrian Oct. 18, 2021, 7:18 p.m.
It's SUPER useful to be able to see the actual undefined instruction
when we hit said undefined instruction.
cgit
9264bd38 adrian Oct. 18, 2021, 7:18 p.m.
This is the initial device tree file describing the ASUS
RT-AC58U 2GHz/5GHz 11ac router.

Obtained from: OpenWRT
cgit
8e53cd70 adrian Oct. 18, 2021, 7:18 p.m.
These are hardware configuration options which are required in
the linux/openwrt device trees for the IPQ4018/IPQ4019 devices.

Since this isn't obtained from linux upstream but instead from
openwrt, this can't go in contrib; instead it is going in
sys/dts/include/ .

Obtained from: OpenWRT

Tested:

* IPQ4019 ASUS RT-AC58U AP, initial bootstrapping
cgit
9b7501e7 glebius Oct. 18, 2021, 6:36 p.m.
It is is used only once, merge it into inp_freemoptions().
cgit
0f617ae4 glebius Oct. 18, 2021, 5:19 p.m.
147f018a glebius Oct. 18, 2021, 5:19 p.m.
This function was originally carved out of in6_pcbbind(), which
is in in6_pcb.c. This function also uses KPI private to the PCB
database - in_pcb_lport().
cgit
744a64bd glebius Oct. 18, 2021, 5:07 p.m.
5a78df20 glebius Oct. 18, 2021, 5:06 p.m.
8c22b9f3 kevans Oct. 18, 2021, 4:09 p.m.
Add necessary bits to detect ELF format on Linux/aarch64; note that
Linux calls it aarch64 where we would typically call it arm64 (uname -m)

Reviewed by:	arichardson, emaste, imp
Sponsored by:	Ampere Computing LLC
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D32542
cgit
576b5810 emaste Oct. 18, 2021, 2:47 p.m.
Link against the ssh-sk-helper client rather than the sk internal
implementation.

PR:		258384
Tested by:	madpilot
Fixes:		f448c3ed4ae1 ("openssh: Add new source files to libssl")
Fixes:		19261079b743 ("openssh: update to OpenSSH v8.7p1")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32529
cgit