linux-renoir: remove
parent
38bb3267cd
commit
80f7b8cb03
|
@ -9,3 +9,59 @@
|
|||
wpa_printf(MSG_INFO, "20/40 MHz operation not permitted on "
|
||||
"channel pri=%d sec=%d based on overlapping BSSes",
|
||||
|
||||
--- a/src/ap/ieee802_11_ht.c 2021-09-09 20:48:01.738045122 +0200
|
||||
+++ b/src/ap/ieee802_11_ht.c 2021-09-09 20:51:40.823037068 +0200
|
||||
@@ -299,7 +299,6 @@
|
||||
HOSTAPD_MODULE_IEEE80211,
|
||||
HOSTAPD_LEVEL_DEBUG,
|
||||
"20 MHz BSS width request bit is set in BSS coexistence information field");
|
||||
- is_ht40_allowed = 0;
|
||||
}
|
||||
|
||||
if (bc_ie->coex_param & WLAN_20_40_BSS_COEX_40MHZ_INTOL) {
|
||||
@@ -309,7 +308,6 @@
|
||||
HOSTAPD_MODULE_IEEE80211,
|
||||
HOSTAPD_LEVEL_DEBUG,
|
||||
"40 MHz intolerant bit is set in BSS coexistence information field");
|
||||
- is_ht40_allowed = 0;
|
||||
}
|
||||
|
||||
/* 20/40 BSS Intolerant Channel Report element (zero or more times) */
|
||||
@@ -341,38 +339,12 @@
|
||||
HOSTAPD_LEVEL_DEBUG,
|
||||
"20_40_INTOLERANT channel %d reported",
|
||||
chan);
|
||||
- is_ht40_allowed = 0;
|
||||
}
|
||||
|
||||
data += 2 + ielen;
|
||||
}
|
||||
wpa_printf(MSG_DEBUG, "is_ht40_allowed=%d num_sta_ht40_intolerant=%d",
|
||||
is_ht40_allowed, iface->num_sta_ht40_intolerant);
|
||||
-
|
||||
- if (!is_ht40_allowed &&
|
||||
- (iface->drv_flags & WPA_DRIVER_FLAGS_HT_2040_COEX)) {
|
||||
- if (iface->conf->secondary_channel) {
|
||||
- hostapd_logger(hapd, mgmt->sa,
|
||||
- HOSTAPD_MODULE_IEEE80211,
|
||||
- HOSTAPD_LEVEL_INFO,
|
||||
- "Switching to 20 MHz operation");
|
||||
- iface->conf->secondary_channel = 0;
|
||||
- ieee802_11_set_beacons(iface);
|
||||
- }
|
||||
- if (!iface->num_sta_ht40_intolerant &&
|
||||
- iface->conf->obss_interval) {
|
||||
- unsigned int delay_time;
|
||||
- delay_time = OVERLAPPING_BSS_TRANS_DELAY_FACTOR *
|
||||
- iface->conf->obss_interval;
|
||||
- eloop_cancel_timeout(ap_ht2040_timeout, hapd->iface,
|
||||
- NULL);
|
||||
- eloop_register_timeout(delay_time, 0, ap_ht2040_timeout,
|
||||
- hapd->iface, NULL);
|
||||
- wpa_printf(MSG_DEBUG,
|
||||
- "Reschedule HT 20/40 timeout to occur in %u seconds",
|
||||
- delay_time);
|
||||
- }
|
||||
- }
|
||||
}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ source="https://w1.fi/releases/hostapd-$pkgver.tar.gz
|
|||
0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch
|
||||
CVE-2021-30004.patch::https://w1.fi/cgit/hostap/patch/?id=a0541334a6394f8237a4393b7372693cd7e96f15
|
||||
40mhz.patch
|
||||
ignore.patch
|
||||
"
|
||||
options="!check" #no testsuite
|
||||
builddir="$srcdir"/hostapd-$pkgver/hostapd
|
||||
|
@ -112,4 +113,5 @@ b76bbca282a74ef16c0303e5dbd2ccd33a62461595964d52c1481b0bfa4f41deacde56830b85409b
|
|||
00cc739e78c42353a555c0de2f29defecff372927040e14407a231d1ead7ff32a37c9fd46bea7cdf1c24e3ac891bc3d483800d44fc6d2c8a12d2ae886523b12c 0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch
|
||||
69243af20cdcfa837c51917a3723779f4825e11436fb83311355b4ffe8f7a4b7a5747a976f7bf923038c410c9e9055b13b866d9a396913ad08bdec3a70e9f6e0 0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch
|
||||
88608529763a6fd9e8cb1e9c9a35630dc2e311a260e023e2a69002d0db700d5f58fc7723a00433b4ea895b92c371cf1db221f38742490b4ed9b4b049892b65e1 CVE-2021-30004.patch
|
||||
a0f834707fb726674d050fd1dfdc954af8cd98fb655aaf0b14d6b38734bc0bc883691119daf9826624d656c66011b2d6f94c7624007aaf2b7d008890ae1533d4 40mhz.patch"
|
||||
b5aedb958ec977df4260ba64bf088f52c686d0902d18a640347409d23498f70843f60ad998d32242856aaf1f74dfdf31a25b9a7b4798d0499340b60b0122d5a6 40mhz.patch
|
||||
8e420397937657e2623eb08e99b610758b1d785ff699a35ff50b8151269abce38958dcc024d90d87f79489b53f06731c7b7fe378a5b6d39c38ffd7f63c679e3a ignore.patch"
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
--- a/src/ap/hw_features.c 2021-09-09 18:38:40.094330455 +0200
|
||||
+++ b/src/ap/hw_features.c 2021-09-09 18:39:05.670329515 +0200
|
||||
@@ -721,12 +721,12 @@
|
||||
return 1;
|
||||
|
||||
wpa_printf(MSG_INFO,
|
||||
- "Channel %d (%s) not allowed for AP mode, flags: 0x%x%s%s",
|
||||
+ "Channel %d (%s) not allowed for AP mode, flags: 0x%x%s%s (but we don't care LMAO)",
|
||||
channel, primary ? "primary" : "secondary",
|
||||
chan->flag,
|
||||
chan->flag & HOSTAPD_CHAN_NO_IR ? " NO-IR" : "",
|
||||
chan->flag & HOSTAPD_CHAN_RADAR ? " RADAR" : "");
|
||||
- return 0;
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
|
||||
--- a/src/common/hw_features_common.c 2021-09-09 18:49:09.527307316 +0200
|
||||
+++ b/src/common/hw_features_common.c 2021-09-09 18:49:55.756305616 +0200
|
||||
@@ -96,20 +96,20 @@
|
||||
|
||||
p_chan = hw_get_channel_chan(mode, pri_chan, NULL);
|
||||
if (!p_chan)
|
||||
- return 0;
|
||||
+ return 1;
|
||||
|
||||
if (pri_chan == sec_chan || !sec_chan) {
|
||||
if (chan_pri_allowed(p_chan))
|
||||
return 1; /* HT40 not used */
|
||||
|
||||
- wpa_printf(MSG_ERROR, "Channel %d is not allowed as primary",
|
||||
+ wpa_printf(MSG_ERROR, "Channel %d is not allowed as primary, blah blah blah",
|
||||
pri_chan);
|
||||
- return 0;
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
s_chan = hw_get_channel_chan(mode, sec_chan, NULL);
|
||||
if (!s_chan)
|
||||
- return 0;
|
||||
+ return 1;
|
||||
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"HT40: control channel: %d secondary channel: %d",
|
||||
@@ -122,7 +122,7 @@
|
||||
(!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) {
|
||||
wpa_printf(MSG_ERROR, "HT40 secondary channel %d not allowed",
|
||||
sec_chan);
|
||||
- return 0;
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -146,7 +146,7 @@
|
||||
if (!ok) {
|
||||
wpa_printf(MSG_ERROR, "HT40 channel pair (%d, %d) not allowed",
|
||||
pri_chan, sec_chan);
|
||||
- return 0;
|
||||
+ return 1;
|
||||
}
|
||||
|
||||
return 1;
|
|
@ -1,35 +0,0 @@
|
|||
From 4639a92dc56793b596f3a9ae0ec1a60d67a617f5 Mon Sep 17 00:00:00 2001
|
||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||
Date: Tue, 18 Feb 2020 21:10:22 +0000
|
||||
Subject: [PATCH 2/2] powerpc: config: defang gcc check for stack-protector
|
||||
support
|
||||
|
||||
When we rebase kernel configs in Alpine, it is common to do so from
|
||||
an environment where CARCH does not match CHOST.
|
||||
|
||||
Accordingly, we assume that the gcc check will always pass, and
|
||||
simply remove it in preference for always enabling the
|
||||
HAVE_STACKPROTECTOR config option.
|
||||
|
||||
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
|
||||
---
|
||||
arch/powerpc/Kconfig | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
|
||||
index 3e56c9c2f16e..f0b7d77aaef1 100644
|
||||
--- a/arch/powerpc/Kconfig
|
||||
+++ b/arch/powerpc/Kconfig
|
||||
@@ -181,8 +181,7 @@ config PPC
|
||||
select HAVE_ASM_MODVERSIONS
|
||||
select HAVE_C_RECORDMCOUNT
|
||||
select HAVE_CBPF_JIT if !PPC64
|
||||
- select HAVE_STACKPROTECTOR if PPC64 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r13)
|
||||
- select HAVE_STACKPROTECTOR if PPC32 && $(cc-option,-mstack-protector-guard=tls -mstack-protector-guard-reg=r2)
|
||||
+ select HAVE_STACKPROTECTOR
|
||||
select HAVE_CONTEXT_TRACKING if PPC64
|
||||
select HAVE_COPY_THREAD_TLS
|
||||
select HAVE_DEBUG_KMEMLEAK
|
||||
--
|
||||
2.24.0
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
From 927a01dffed9eb439bc9bf6df0b6548380bc84a7 Mon Sep 17 00:00:00 2001
|
||||
From: Rabeeh Khoury <rabeeh@solid-run.com>
|
||||
Date: Mon, 10 Feb 2020 10:47:45 +0200
|
||||
Subject: [PATCH] pci: hotplug: declare IDT bridge as hotpluggabl bridge
|
||||
|
||||
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
|
||||
---
|
||||
drivers/pci/quirks.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
||||
index 55870dd42b4d..bfac025931e0 100644
|
||||
--- a/drivers/pci/quirks.c
|
||||
+++ b/drivers/pci/quirks.c
|
||||
@@ -2915,6 +2915,7 @@ static void quirk_hotplug_bridge(struct pci_dev *dev)
|
||||
dev->is_hotplug_bridge = 1;
|
||||
}
|
||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_HINT, 0x0020, quirk_hotplug_bridge);
|
||||
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_IDT, 0x808c, quirk_hotplug_bridge);
|
||||
|
||||
/*
|
||||
* This is a quirk for the Ricoh MMC controller found as a part of some
|
||||
--
|
||||
2.17.1
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
From bba6ebb2daac17bd2268c97b7255e477c2b15b52 Mon Sep 17 00:00:00 2001
|
||||
From: Rabeeh Khoury <rabeeh@solid-run.com>
|
||||
Date: Wed, 26 Feb 2020 17:57:54 +0200
|
||||
Subject: [PATCH] pci: spr2803: quirk to fix class ID
|
||||
|
||||
spr2803 class is 0x0, this quirk modifies that to multimedia class in
|
||||
order to allocate memory to it's bars.
|
||||
|
||||
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
|
||||
---
|
||||
drivers/pci/quirks.c | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
||||
index 28c64f84bfe7..4ddf7e43d531 100644
|
||||
--- a/drivers/pci/quirks.c
|
||||
+++ b/drivers/pci/quirks.c
|
||||
@@ -3068,6 +3068,18 @@ static void fixup_ti816x_class(struct pci_dev *dev)
|
||||
DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_TI, 0xb800,
|
||||
PCI_CLASS_NOT_DEFINED, 8, fixup_ti816x_class);
|
||||
|
||||
+static void fixup_spr2803_class(struct pci_dev *dev)
|
||||
+{
|
||||
+ u32 class = dev->class;
|
||||
+
|
||||
+ /* spr2803 does not have class code */
|
||||
+ dev->class = PCI_CLASS_MULTIMEDIA_VIDEO << 8;
|
||||
+ pci_info(dev, "PCI class overridden (%#08x -> %#08x)\n",
|
||||
+ class, dev->class);
|
||||
+}
|
||||
+DECLARE_PCI_FIXUP_CLASS_EARLY(0x1e00, 0x2803,
|
||||
+ PCI_CLASS_NOT_DEFINED, 8, fixup_spr2803_class);
|
||||
+
|
||||
/*
|
||||
* Some PCIe devices do not work reliably with the claimed maximum
|
||||
* payload size supported.
|
||||
--
|
||||
2.17.1
|
||||
|
|
@ -1,249 +0,0 @@
|
|||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
|
||||
_flavor=renoir
|
||||
pkgname=linux-${_flavor}
|
||||
pkgver=5.10.56
|
||||
case $pkgver in
|
||||
*.*.*) _kernver=${pkgver%.*};;
|
||||
*.*) _kernver=$pkgver;;
|
||||
esac
|
||||
pkgrel=0
|
||||
pkgdesc="Linux kernel with AMD Renoir support"
|
||||
url="https://www.kernel.org"
|
||||
depends="mkinitfs"
|
||||
_depends_dev="perl gmp-dev elfutils-dev bash flex bison"
|
||||
makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev
|
||||
diffutils findutils"
|
||||
options="!strip"
|
||||
_config=${config:-config-renoir.${CARCH}}
|
||||
install=
|
||||
source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz
|
||||
0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch
|
||||
|
||||
0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch
|
||||
0008-pci-spr2803-quirk-to-fix-class-ID.patch
|
||||
ampere-mt-jade.patch
|
||||
|
||||
config-renoir.aarch64
|
||||
config-renoir.armv7
|
||||
config-renoir.x86
|
||||
config-renoir.x86_64
|
||||
config-renoir.ppc64le
|
||||
config-renoir.s390x
|
||||
config-renoir.mips64
|
||||
"
|
||||
subpackages="$pkgname-dev:_dev:$CBUILD_ARCH"
|
||||
_flavors=
|
||||
for _i in $source; do
|
||||
case $_i in
|
||||
config-*.$CARCH)
|
||||
_f=${_i%.$CARCH}
|
||||
_f=${_f#config-}
|
||||
_flavors="$_flavors ${_f}"
|
||||
if [ "linux-$_f" != "$pkgname" ]; then
|
||||
subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "${pkgver%.0}" = "$pkgver" ]; then
|
||||
source="$source
|
||||
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz"
|
||||
fi
|
||||
arch="all !armhf"
|
||||
license="GPL-2.0"
|
||||
|
||||
_carch=${CARCH}
|
||||
case "$_carch" in
|
||||
aarch64*) _carch="arm64" ;;
|
||||
arm*) _carch="arm" ;;
|
||||
mips*) _carch="mips" ;;
|
||||
ppc*) _carch="powerpc" ;;
|
||||
s390*) _carch="s390" ;;
|
||||
esac
|
||||
|
||||
# secfixes:
|
||||
# 5.10.4-r0:
|
||||
# - CVE-2020-29568
|
||||
# - CVE-2020-29569
|
||||
|
||||
prepare() {
|
||||
local _patch_failed=
|
||||
cd "$srcdir"/linux-$_kernver
|
||||
if [ "$_kernver" != "$pkgver" ]; then
|
||||
msg "Applying patch-$pkgver.xz"
|
||||
unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N
|
||||
fi
|
||||
|
||||
# first apply patches in specified order
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch)
|
||||
msg "Applying $i..."
|
||||
if ! patch -s -p1 -N -i "$srcdir"/$i; then
|
||||
echo $i >>failed
|
||||
_patch_failed=1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if ! [ -z "$_patch_failed" ]; then
|
||||
error "The following patches failed:"
|
||||
cat failed
|
||||
return 1
|
||||
fi
|
||||
|
||||
# remove localversion from patch if any
|
||||
rm -f localversion*
|
||||
oldconfig
|
||||
}
|
||||
|
||||
oldconfig() {
|
||||
for i in $_flavors; do
|
||||
local _config=config-$i.${CARCH}
|
||||
local _builddir="$srcdir"/build-$i.$CARCH
|
||||
mkdir -p "$_builddir"
|
||||
echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine \
|
||||
|| return 1
|
||||
|
||||
cp "$srcdir"/$_config "$_builddir"/.config
|
||||
make -j `nproc` -C "$srcdir"/linux-$_kernver \
|
||||
O="$_builddir" \
|
||||
ARCH="$_carch" \
|
||||
listnewconfig oldconfig
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
unset LDFLAGS
|
||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
||||
for i in $_flavors; do
|
||||
cd "$srcdir"/build-$i.$CARCH
|
||||
make -j `nproc` ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine"
|
||||
done
|
||||
}
|
||||
|
||||
_package() {
|
||||
local _buildflavor="$1" _outdir="$2"
|
||||
local _abi_release=${pkgver}-${pkgrel}-${_buildflavor}
|
||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
||||
|
||||
cd "$srcdir"/build-$_buildflavor.$CARCH
|
||||
# modules_install seems to regenerate a defect Modules.symvers on s390x. Work
|
||||
# around it by backing it up and restore it after modules_install
|
||||
cp Module.symvers Module.symvers.backup
|
||||
|
||||
mkdir -p "$_outdir"/boot "$_outdir"/lib/modules
|
||||
|
||||
local _install
|
||||
case "$CARCH" in
|
||||
arm*|aarch64) _install="zinstall dtbs_install";;
|
||||
*) _install=install;;
|
||||
esac
|
||||
|
||||
make -j1 modules_install $_install \
|
||||
ARCH="$_carch" \
|
||||
INSTALL_MOD_PATH="$_outdir" \
|
||||
INSTALL_PATH="$_outdir"/boot \
|
||||
INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_buildflavor"
|
||||
|
||||
cp Module.symvers.backup Module.symvers
|
||||
|
||||
rm -f "$_outdir"/lib/modules/${_abi_release}/build \
|
||||
"$_outdir"/lib/modules/${_abi_release}/source
|
||||
rm -rf "$_outdir"/lib/firmware
|
||||
|
||||
install -D -m644 include/config/kernel.release \
|
||||
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
|
||||
}
|
||||
|
||||
# main flavor installs in $pkgdir
|
||||
package() {
|
||||
depends="$depends linux-firmware-any"
|
||||
|
||||
_package renoir "$pkgdir"
|
||||
}
|
||||
|
||||
_dev() {
|
||||
local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g')
|
||||
local _abi_release=${pkgver}-${pkgrel}-$_flavor
|
||||
# copy the only the parts that we really need for build 3rd party
|
||||
# kernel modules and install those as /usr/src/linux-headers,
|
||||
# simlar to what ubuntu does
|
||||
#
|
||||
# this way you dont need to install the 300-400 kernel sources to
|
||||
# build a tiny kernel module
|
||||
#
|
||||
pkgdesc="Headers and script for third party modules for $_flavor kernel"
|
||||
depends="$_depends_dev"
|
||||
local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release}
|
||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
||||
|
||||
# first we import config, run prepare to set up for building
|
||||
# external modules, and create the scripts
|
||||
mkdir -p "$dir"
|
||||
cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config
|
||||
echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine
|
||||
|
||||
make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \
|
||||
syncconfig prepare modules_prepare scripts
|
||||
|
||||
# remove the stuff that points to real sources. we want 3rd party
|
||||
# modules to believe this is the soruces
|
||||
rm "$dir"/Makefile "$dir"/source
|
||||
|
||||
# copy the needed stuff from real sources
|
||||
#
|
||||
# this is taken from ubuntu kernel build script
|
||||
# http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk
|
||||
cd "$srcdir"/linux-$_kernver
|
||||
find . -path './include/*' -prune \
|
||||
-o -path './scripts/*' -prune -o -type f \
|
||||
\( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \
|
||||
-name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \
|
||||
-print | cpio -pdm "$dir"
|
||||
|
||||
cp -a scripts include "$dir"
|
||||
|
||||
find $(find arch -name include -type d -print) -type f \
|
||||
| cpio -pdm "$dir"
|
||||
|
||||
install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \
|
||||
"$dir"/Module.symvers
|
||||
|
||||
mkdir -p "$subpkgdir"/lib/modules/${_abi_release}
|
||||
ln -sf /usr/src/linux-headers-${_abi_release} \
|
||||
"$subpkgdir"/lib/modules/${_abi_release}/build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e linux-5.10.tar.xz
|
||||
d19365fe94431008768c96a2c88955652f70b6df6677457ee55ee95246a64fdd2c6fed9b3bef37c29075178294a7fc91f148ead636382530ebfa822be4ad8c2f 0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch
|
||||
ca5aafac37e0b5f3fcbaf801e12f98beb58ffaf1d8c88f76caff22b059831869b4094e7fdcb6d6860422d6b2d036e072caff460e1feb84bd04d10740ad56265b 0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch
|
||||
cbe85cf34e8420c91d2276c2d2aa0ab5023af68e57a1fa613f073f16a76766c67f585eda71c28f232bd0625e0dc8275a9eddc95f49409205dc0dbcc28c9fac1c 0008-pci-spr2803-quirk-to-fix-class-ID.patch
|
||||
16b2d5b0255b37075ba894fc797673d633395907ce0b93400c5a8bd05b512b5cd040b91000fa41f9240d42afc664a69206597d1e3f754a1aa64b9be21a67f5c6 ampere-mt-jade.patch
|
||||
1ee7883eec2c1cad009f480b9dc162bf0d44e102f86ad39f18cc75a1dcd0b83478565ba6e318ca301a21f5c3d51f8df33c6c9a5def7a2803e116554c7537d18f config-renoir.aarch64
|
||||
e9acae08bfbbdf1227544c7e635232a7037d945f0bc6cc316361092a18f0a8cc1326979bed7b948d5284d25d3e0ade77d2a04494933886d5c4b37d5aae1c8427 config-renoir.armv7
|
||||
fd4e6ecfa98a7f74a384089b07802f40f30a70300cd466b30a5343b3594cf20679ac6c4f80ea815987ce1deff92d75039d6692ba9e3ad85035878e2a360d43eb config-renoir.x86
|
||||
f370f92e35a8815229e52eec5a5e9c4d15ab01c8e7afa13e9672b6b1d1e0eaeb1379347fe92ae172d61bb749d5ebe53dee2c4f1a3062b144befc3a7339502bb0 config-renoir.x86_64
|
||||
46b44a0dc3ceb85f081bc04bacfab12f9e5e701eeeff89281af8123a2061afb4012194c9d5c5365c1391c95bdcdc12e641436458000c6b145024072e676c9eec config-renoir.ppc64le
|
||||
b0aa02a11f6f8d88b83d8a615d0fa182e8033bc1543e94099030dd777d9930876ab1b3b4ffee60cf4efda92860a9755f939226c5b5bec69317a47284866dea55 config-renoir.s390x
|
||||
06148ae8d49127dd17a3b5cbe8e09bb4e3b95a85a9b372d6a2753a59c1c9caf5639dce865f3bab36da58c8fdcebe52483d7b0c785fdf15e3b71d6fc59c61c6c6 config-renoir.mips64
|
||||
3829c94628b30d2bf76c667f7be1331c07f4a0aec1949f5299d65935429eafda1d2fc317ff582baeb7a5e7b3af5a3d80823616d1b77819aec9e88850c32f01eb patch-5.10.38.xz
|
||||
"
|
||||
sha512sums="95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e linux-5.10.tar.xz
|
||||
d19365fe94431008768c96a2c88955652f70b6df6677457ee55ee95246a64fdd2c6fed9b3bef37c29075178294a7fc91f148ead636382530ebfa822be4ad8c2f 0002-powerpc-config-defang-gcc-check-for-stack-protector-.patch
|
||||
ca5aafac37e0b5f3fcbaf801e12f98beb58ffaf1d8c88f76caff22b059831869b4094e7fdcb6d6860422d6b2d036e072caff460e1feb84bd04d10740ad56265b 0007-pci-hotplug-declare-IDT-bridge-as-hotpluggabl-bridge.patch
|
||||
cbe85cf34e8420c91d2276c2d2aa0ab5023af68e57a1fa613f073f16a76766c67f585eda71c28f232bd0625e0dc8275a9eddc95f49409205dc0dbcc28c9fac1c 0008-pci-spr2803-quirk-to-fix-class-ID.patch
|
||||
16b2d5b0255b37075ba894fc797673d633395907ce0b93400c5a8bd05b512b5cd040b91000fa41f9240d42afc664a69206597d1e3f754a1aa64b9be21a67f5c6 ampere-mt-jade.patch
|
||||
1ee7883eec2c1cad009f480b9dc162bf0d44e102f86ad39f18cc75a1dcd0b83478565ba6e318ca301a21f5c3d51f8df33c6c9a5def7a2803e116554c7537d18f config-renoir.aarch64
|
||||
e9acae08bfbbdf1227544c7e635232a7037d945f0bc6cc316361092a18f0a8cc1326979bed7b948d5284d25d3e0ade77d2a04494933886d5c4b37d5aae1c8427 config-renoir.armv7
|
||||
fd4e6ecfa98a7f74a384089b07802f40f30a70300cd466b30a5343b3594cf20679ac6c4f80ea815987ce1deff92d75039d6692ba9e3ad85035878e2a360d43eb config-renoir.x86
|
||||
c7aaac9c93ace519cfc503d33206e58e00c541e43482814c694de6062a7366b800573f512a701f48b69a75805bae9fde92b3b0905cb75764200e64ad27f35fee config-renoir.x86_64
|
||||
46b44a0dc3ceb85f081bc04bacfab12f9e5e701eeeff89281af8123a2061afb4012194c9d5c5365c1391c95bdcdc12e641436458000c6b145024072e676c9eec config-renoir.ppc64le
|
||||
b0aa02a11f6f8d88b83d8a615d0fa182e8033bc1543e94099030dd777d9930876ab1b3b4ffee60cf4efda92860a9755f939226c5b5bec69317a47284866dea55 config-renoir.s390x
|
||||
06148ae8d49127dd17a3b5cbe8e09bb4e3b95a85a9b372d6a2753a59c1c9caf5639dce865f3bab36da58c8fdcebe52483d7b0c785fdf15e3b71d6fc59c61c6c6 config-renoir.mips64
|
||||
3829c94628b30d2bf76c667f7be1331c07f4a0aec1949f5299d65935429eafda1d2fc317ff582baeb7a5e7b3af5a3d80823616d1b77819aec9e88850c32f01eb patch-5.10.38.xz"
|
|
@ -1,600 +0,0 @@
|
|||
From 36652a295266095a5f44bdb1c9f2c6400a9c71cf Mon Sep 17 00:00:00 2001
|
||||
From: Quan Nguyen <quan@os.amperecomputing.com>
|
||||
Date: Tue, 8 Dec 2020 11:37:00 +0700
|
||||
Subject: [PATCH] ARM: dts: aspeed: Add device tree for Ampere's Mt. Jade BMC
|
||||
|
||||
The Mt. Jade BMC is an ASPEED AST2500-based BMC for the Mt. Jade
|
||||
hardware reference platform with Ampere's Altra Processor Family.
|
||||
|
||||
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
|
||||
Signed-off-by: Phong Vo <phong@os.amperecomputing.com>
|
||||
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
|
||||
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
|
||||
Reviewed-by: Joel Stanley <joel@jms.id.au>
|
||||
Link: https://lore.kernel.org/r/20201208043700.23098-3-quan@os.amperecomputing.com
|
||||
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 1 +
|
||||
.../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 558 ++++++++++++++++++
|
||||
2 files changed, 559 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index 3d1ea0b25168..5271820a5380 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -1403,6 +1403,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
|
||||
aspeed-ast2500-evb.dtb \
|
||||
aspeed-ast2600-evb.dtb \
|
||||
aspeed-bmc-amd-ethanolx.dtb \
|
||||
+ aspeed-bmc-ampere-mtjade.dtb \
|
||||
aspeed-bmc-arm-centriq2400-rep.dtb \
|
||||
aspeed-bmc-arm-stardragon4800-rep2.dtb \
|
||||
aspeed-bmc-bytedance-g220a.dtb \
|
||||
diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
|
||||
new file mode 100644
|
||||
index 000000000000..8f5ec22e51c2
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
|
||||
@@ -0,0 +1,558 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0+
|
||||
+/dts-v1/;
|
||||
+#include "aspeed-g5.dtsi"
|
||||
+#include <dt-bindings/gpio/aspeed-gpio.h>
|
||||
+
|
||||
+/ {
|
||||
+ model = "Ampere Mt. Jade BMC";
|
||||
+ compatible = "ampere,mtjade-bmc", "aspeed,ast2500";
|
||||
+
|
||||
+ chosen {
|
||||
+ stdout-path = &uart5;
|
||||
+ bootargs = "console=ttyS4,115200 earlyprintk";
|
||||
+ };
|
||||
+
|
||||
+ memory@80000000 {
|
||||
+ reg = <0x80000000 0x20000000>;
|
||||
+ };
|
||||
+
|
||||
+ reserved-memory {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ ranges;
|
||||
+
|
||||
+ vga_memory: framebuffer@9f000000 {
|
||||
+ no-map;
|
||||
+ reg = <0x9f000000 0x01000000>; /* 16M */
|
||||
+ };
|
||||
+
|
||||
+ gfx_memory: framebuffer {
|
||||
+ size = <0x01000000>;
|
||||
+ alignment = <0x01000000>;
|
||||
+ compatible = "shared-dma-pool";
|
||||
+ reusable;
|
||||
+ };
|
||||
+
|
||||
+ video_engine_memory: jpegbuffer {
|
||||
+ size = <0x02000000>; /* 32M */
|
||||
+ alignment = <0x01000000>;
|
||||
+ compatible = "shared-dma-pool";
|
||||
+ reusable;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+
|
||||
+ fault {
|
||||
+ gpios = <&gpio ASPEED_GPIO(B, 6) GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+
|
||||
+ identify {
|
||||
+ gpios = <&gpio ASPEED_GPIO(Q, 6) GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ gpio-keys {
|
||||
+ compatible = "gpio-keys";
|
||||
+
|
||||
+ shutdown_ack {
|
||||
+ label = "SHUTDOWN_ACK";
|
||||
+ gpios = <&gpio ASPEED_GPIO(G, 2) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(G, 2)>;
|
||||
+ };
|
||||
+
|
||||
+ reboot_ack {
|
||||
+ label = "REBOOT_ACK";
|
||||
+ gpios = <&gpio ASPEED_GPIO(J, 3) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(J, 3)>;
|
||||
+ };
|
||||
+
|
||||
+ S0_overtemp {
|
||||
+ label = "S0_OVERTEMP";
|
||||
+ gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(G, 3)>;
|
||||
+ };
|
||||
+
|
||||
+ S0_hightemp {
|
||||
+ label = "S0_HIGHTEMP";
|
||||
+ gpios = <&gpio ASPEED_GPIO(J, 0) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(J, 0)>;
|
||||
+ };
|
||||
+
|
||||
+ S0_cpu_fault {
|
||||
+ label = "S0_CPU_FAULT";
|
||||
+ gpios = <&gpio ASPEED_GPIO(J, 1) GPIO_ACTIVE_HIGH>;
|
||||
+ linux,code = <ASPEED_GPIO(J, 1)>;
|
||||
+ };
|
||||
+
|
||||
+ S1_overtemp {
|
||||
+ label = "S1_OVERTEMP";
|
||||
+ gpios = <&gpio ASPEED_GPIO(Z, 6) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(Z, 6)>;
|
||||
+ };
|
||||
+
|
||||
+ S1_hightemp {
|
||||
+ label = "S1_HIGHTEMP";
|
||||
+ gpios = <&gpio ASPEED_GPIO(AB, 0) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(AB, 0)>;
|
||||
+ };
|
||||
+
|
||||
+ S1_cpu_fault {
|
||||
+ label = "S1_CPU_FAULT";
|
||||
+ gpios = <&gpio ASPEED_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
|
||||
+ linux,code = <ASPEED_GPIO(Z, 1)>;
|
||||
+ };
|
||||
+
|
||||
+ id_button {
|
||||
+ label = "ID_BUTTON";
|
||||
+ gpios = <&gpio ASPEED_GPIO(Q, 5) GPIO_ACTIVE_LOW>;
|
||||
+ linux,code = <ASPEED_GPIO(Q, 5)>;
|
||||
+ };
|
||||
+
|
||||
+ };
|
||||
+
|
||||
+ gpioA0mux: mux-controller {
|
||||
+ compatible = "gpio-mux";
|
||||
+ #mux-control-cells = <0>;
|
||||
+ mux-gpios = <&gpio ASPEED_GPIO(A, 0) GPIO_ACTIVE_LOW>;
|
||||
+ };
|
||||
+
|
||||
+ adc0mux: adc0mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 0>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc1mux: adc1mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 1>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc2mux: adc2mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 2>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc3mux: adc3mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 3>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc4mux: adc4mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 4>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc5mux: adc5mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 5>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc6mux: adc6mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 6>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc7mux: adc7mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 7>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc8mux: adc8mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 8>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc9mux: adc9mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 9>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc10mux: adc10mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 10>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc11mux: adc11mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 11>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc12mux: adc12mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 12>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ adc13mux: adc13mux {
|
||||
+ compatible = "io-channel-mux";
|
||||
+ io-channels = <&adc 13>;
|
||||
+ #io-channel-cells = <1>;
|
||||
+ io-channel-names = "parent";
|
||||
+ mux-controls = <&gpioA0mux>;
|
||||
+ channels = "s0", "s1";
|
||||
+ };
|
||||
+
|
||||
+ iio-hwmon {
|
||||
+ compatible = "iio-hwmon";
|
||||
+ io-channels = <&adc0mux 0>, <&adc0mux 1>,
|
||||
+ <&adc1mux 0>, <&adc1mux 1>,
|
||||
+ <&adc2mux 0>, <&adc2mux 1>,
|
||||
+ <&adc3mux 0>, <&adc3mux 1>,
|
||||
+ <&adc4mux 0>, <&adc4mux 1>,
|
||||
+ <&adc5mux 0>, <&adc5mux 1>,
|
||||
+ <&adc6mux 0>, <&adc6mux 1>,
|
||||
+ <&adc7mux 0>, <&adc7mux 1>,
|
||||
+ <&adc8mux 0>, <&adc8mux 1>,
|
||||
+ <&adc9mux 0>, <&adc9mux 1>,
|
||||
+ <&adc10mux 0>, <&adc10mux 1>,
|
||||
+ <&adc11mux 0>, <&adc11mux 1>,
|
||||
+ <&adc12mux 0>, <&adc12mux 1>,
|
||||
+ <&adc13mux 0>, <&adc13mux 1>;
|
||||
+ };
|
||||
+
|
||||
+ iio-hwmon-adc14 {
|
||||
+ compatible = "iio-hwmon";
|
||||
+ io-channels = <&adc 14>;
|
||||
+ };
|
||||
+
|
||||
+ iio-hwmon-battery {
|
||||
+ compatible = "iio-hwmon";
|
||||
+ io-channels = <&adc 15>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&fmc {
|
||||
+ status = "okay";
|
||||
+ flash@0 {
|
||||
+ status = "okay";
|
||||
+ m25p,fast-read;
|
||||
+ label = "bmc";
|
||||
+ /* spi-max-frequency = <50000000>; */
|
||||
+#include "openbmc-flash-layout.dtsi"
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&spi1 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_spi1_default>;
|
||||
+
|
||||
+ flash@0 {
|
||||
+ status = "okay";
|
||||
+ m25p,fast-read;
|
||||
+ label = "pnor";
|
||||
+ /* spi-max-frequency = <100000000>; */
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_txd1_default
|
||||
+ &pinctrl_rxd1_default
|
||||
+ &pinctrl_ncts1_default
|
||||
+ &pinctrl_nrts1_default>;
|
||||
+};
|
||||
+
|
||||
+&uart2 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_txd2_default
|
||||
+ &pinctrl_rxd2_default>;
|
||||
+};
|
||||
+
|
||||
+&uart3 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_txd3_default
|
||||
+ &pinctrl_rxd3_default>;
|
||||
+};
|
||||
+
|
||||
+&uart4 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_txd4_default
|
||||
+ &pinctrl_rxd4_default>;
|
||||
+};
|
||||
+
|
||||
+/* The BMC's uart */
|
||||
+&uart5 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&mac1 {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
|
||||
+};
|
||||
+
|
||||
+&i2c0 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c3 {
|
||||
+ status = "okay";
|
||||
+ eeprom@50 {
|
||||
+ compatible = "microchip,24c64", "atmel,24c64";
|
||||
+ reg = <0x50>;
|
||||
+ pagesize = <32>;
|
||||
+ };
|
||||
+
|
||||
+ inlet_mem2: tmp175@28 {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x28>;
|
||||
+ };
|
||||
+
|
||||
+ inlet_cpu: tmp175@29 {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x29>;
|
||||
+ };
|
||||
+
|
||||
+ inlet_mem1: tmp175@2a {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x2a>;
|
||||
+ };
|
||||
+
|
||||
+ outlet_cpu: tmp175@2b {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x2b>;
|
||||
+ };
|
||||
+
|
||||
+ outlet1: tmp175@2c {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x2c>;
|
||||
+ };
|
||||
+
|
||||
+ outlet2: tmp175@2d {
|
||||
+ compatible = "ti,tmp175";
|
||||
+ reg = <0x2d>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c4 {
|
||||
+ status = "okay";
|
||||
+ rtc@51 {
|
||||
+ compatible = "nxp,pcf85063a";
|
||||
+ reg = <0x51>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c5 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c6 {
|
||||
+ status = "okay";
|
||||
+ psu@58 {
|
||||
+ compatible = "pmbus";
|
||||
+ reg = <0x58>;
|
||||
+ };
|
||||
+
|
||||
+ psu@59 {
|
||||
+ compatible = "pmbus";
|
||||
+ reg = <0x59>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c7 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c8 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c9 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&gfx {
|
||||
+ status = "okay";
|
||||
+ memory-region = <&gfx_memory>;
|
||||
+};
|
||||
+
|
||||
+&pinctrl {
|
||||
+ aspeed,external-nodes = <&gfx &lhc>;
|
||||
+};
|
||||
+
|
||||
+&pwm_tacho {
|
||||
+ status = "okay";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_pwm2_default &pinctrl_pwm3_default
|
||||
+ &pinctrl_pwm4_default &pinctrl_pwm5_default
|
||||
+ &pinctrl_pwm6_default &pinctrl_pwm7_default>;
|
||||
+
|
||||
+ fan@0 {
|
||||
+ reg = <0x02>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x04>;
|
||||
+ };
|
||||
+
|
||||
+ fan@1 {
|
||||
+ reg = <0x02>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x05>;
|
||||
+ };
|
||||
+
|
||||
+ fan@2 {
|
||||
+ reg = <0x03>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x06>;
|
||||
+ };
|
||||
+
|
||||
+ fan@3 {
|
||||
+ reg = <0x03>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x07>;
|
||||
+ };
|
||||
+
|
||||
+ fan@4 {
|
||||
+ reg = <0x04>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x08>;
|
||||
+ };
|
||||
+
|
||||
+ fan@5 {
|
||||
+ reg = <0x04>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x09>;
|
||||
+ };
|
||||
+
|
||||
+ fan@6 {
|
||||
+ reg = <0x05>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
|
||||
+ };
|
||||
+
|
||||
+ fan@7 {
|
||||
+ reg = <0x05>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
|
||||
+ };
|
||||
+
|
||||
+ fan@8 {
|
||||
+ reg = <0x06>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
|
||||
+ };
|
||||
+
|
||||
+ fan@9 {
|
||||
+ reg = <0x06>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
|
||||
+ };
|
||||
+
|
||||
+ fan@10 {
|
||||
+ reg = <0x07>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0e>;
|
||||
+ };
|
||||
+
|
||||
+ fan@11 {
|
||||
+ reg = <0x07>;
|
||||
+ aspeed,fan-tach-ch = /bits/ 8 <0x0f>;
|
||||
+ };
|
||||
+
|
||||
+};
|
||||
+
|
||||
+&vhub {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&adc {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&video {
|
||||
+ status = "okay";
|
||||
+ memory-region = <&video_engine_memory>;
|
||||
+};
|
||||
+
|
||||
+&gpio {
|
||||
+ gpio-line-names =
|
||||
+ /*A0-A7*/ "","","","S0_BMC_SPECIAL_BOOT","","","","",
|
||||
+ /*B0-B7*/ "BMC_SELECT_EEPROM","","","",
|
||||
+ "POWER_BUTTON","","","",
|
||||
+ /*C0-C7*/ "","","","","","","","",
|
||||
+ /*D0-D7*/ "","","","","","","","",
|
||||
+ /*E0-E7*/ "","","","","","","","",
|
||||
+ /*F0-F7*/ "","","BMC_SYS_PSON_L","S0_DDR_SAVE","PGOOD",
|
||||
+ "S1_DDR_SAVE","","",
|
||||
+ /*G0-G7*/ "S0_FW_BOOT_OK","SHD_REQ_L","","S0_OVERTEMP_L","","",
|
||||
+ "","",
|
||||
+ /*H0-H7*/ "","","","","","","","",
|
||||
+ /*I0-I7*/ "","","S1_BMC_SPECIAL_BOOT","","","","","",
|
||||
+ /*J0-J7*/ "S0_HIGHTEMP_L","S0_FAULT_L","S0_SCP_AUTH_FAIL_L","",
|
||||
+ "","","","",
|
||||
+ /*K0-K7*/ "","","","","","","","",
|
||||
+ /*L0-L7*/ "","","","BMC_SYSRESET_L","SPI_AUTH_FAIL_L","","","",
|
||||
+ /*M0-M7*/ "","","","","","","","",
|
||||
+ /*N0-N7*/ "","","","","","","","",
|
||||
+ /*O0-O7*/ "","","","","","","","",
|
||||
+ /*P0-P7*/ "","","","","","","","",
|
||||
+ /*Q0-Q7*/ "","","","","","UID_BUTTON","","",
|
||||
+ /*R0-R7*/ "","","BMC_EXT_HIGHTEMP_L","","","RESET_BUTTON","","",
|
||||
+ /*S0-S7*/ "","","","","","","","",
|
||||
+ /*T0-T7*/ "","","","","","","","",
|
||||
+ /*U0-U7*/ "","","","","","","","",
|
||||
+ /*V0-V7*/ "","","","","","","","",
|
||||
+ /*W0-W7*/ "","","","","","","","",
|
||||
+ /*X0-X7*/ "","","","","","","","",
|
||||
+ /*Y0-Y7*/ "","","","","","","","",
|
||||
+ /*Z0-Z7*/ "S0_BMC_PLIMIT","S1_FAULT_L","S1_FW_BOOT_OK","","",
|
||||
+ "S1_SCP_AUTH_FAIL_L","S1_OVERTEMP_L","",
|
||||
+ /*AA0-AA7*/ "","","","","","","","",
|
||||
+ /*AB0-AB7*/ "S1_HIGHTEMP_L","S1_BMC_PLIMIT","S0_BMC_DDR_ADDR",
|
||||
+ "S1_BMC_DDR_ADR","","","","",
|
||||
+ /*AC0-AC7*/ "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L",
|
||||
+ "BMC_OCP_PG";
|
||||
+};
|
||||
--
|
||||
2.31.0
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,36 +0,0 @@
|
|||
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||||
pkgname=thunderbird
|
||||
pkgver=78.12.0
|
||||
pkgrel=0
|
||||
pkgdesc="Standalone Mail/News reader"
|
||||
url="https://www.thunderbird.net/"
|
||||
arch="x86_64"
|
||||
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
depends="nss>=3.47.1 desktop-file-utils hicolor-icon-theme"
|
||||
makedepends="zstd tar"
|
||||
install=""
|
||||
subpackages=""
|
||||
_filename="thunderbird-${pkgver}_1.x86_64-musl.xbps"
|
||||
source="https://alpha.de.repo.voidlinux.org/current/musl/$_filename"
|
||||
builddir="$srcdir/tmp"
|
||||
options="!tracedeps"
|
||||
|
||||
build() {
|
||||
zstd -d $(realpath $_filename) -o package.tar
|
||||
mkdir -p "$builddir"
|
||||
tar xf package.tar -C "$builddir"
|
||||
}
|
||||
|
||||
package() {
|
||||
rm "$builddir"/*.plist
|
||||
rm -f "$builddir"/INSTALL
|
||||
rm -f "$builddir"/REMOVE
|
||||
|
||||
mkdir -p "$pkgdir"
|
||||
cp -r "$builddir"/* "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7f7b5bacd0744e16899e5a1b1ceb5a41857f8c3630c7aca1eeaab881b9595e2f360badbb61a12323c8a512105a69f6a883a98173e44c59d92b56cecd78aa75fd thunderbird-78.12.0_1.x86_64-musl.xbps
|
||||
"
|
Loading…
Reference in New Issue