Accepting request 884072 from hardware:boot
OBS-URL: https://build.opensuse.org/request/show/884072 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raspberrypi-firmware-dt?expand=0&rev=35
This commit is contained in:
commit
9dcb0aac63
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 9 10:30:10 UTC 2021 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Add overlay for smbios information (bsc#1183079)
|
||||
* smbios-overlay.dts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 15 17:32:52 UTC 2021 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
|
||||
|
||||
|
@ -28,6 +28,7 @@ Source1: disable-vc4-overlay.dts
|
||||
Source2: uboot-bcm2835-pl011-overlay.dts
|
||||
Source3: disable-v3d-overlay.dts
|
||||
Source4: enable-bt-overlay.dts
|
||||
Source5: smbios-overlay.dts
|
||||
Source100: get-from-git.sh
|
||||
Patch0: upstream-overlay-rpi-poe.patch
|
||||
Requires: raspberrypi-firmware
|
||||
@ -58,7 +59,7 @@ for dts in arch/arm/boot/dts/bcm27*dts arch/arm64/boot/dts/broadcom/bcm27*dts; d
|
||||
done
|
||||
|
||||
export DTC_FLAGS="-R 0 -p 0 -@ -H epapr"
|
||||
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do
|
||||
for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5}; do
|
||||
target=$(basename ${dts%*.dts})
|
||||
target=${target%*-overlay}
|
||||
mkdir -p $PPDIR/overlays
|
||||
@ -69,6 +70,7 @@ done
|
||||
cp arch/arm/boot/dts/overlays/README $PPDIR/overlays/
|
||||
|
||||
%define dtbdir /boot/vc
|
||||
|
||||
%install
|
||||
install -m 700 -d %{buildroot}%{dtbdir}/
|
||||
install -m 700 -d %{buildroot}%{dtbdir}/overlays
|
||||
|
31
smbios-overlay.dts
Normal file
31
smbios-overlay.dts
Normal file
@ -0,0 +1,31 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "brcm,bcm2711";
|
||||
|
||||
fragment@0 {
|
||||
target-path = "/";
|
||||
__overlay__ {
|
||||
|
||||
smbios {
|
||||
compatible = "u-boot,sysinfo-smbios";
|
||||
smbios {
|
||||
system {
|
||||
manufacturer = "raspberrypi";
|
||||
product = "rpi";
|
||||
};
|
||||
baseboard {
|
||||
manufacturer = "raspberrypi";
|
||||
product = "rpi";
|
||||
};
|
||||
chassis {
|
||||
manufacturer = "raspberrypi";
|
||||
product = "rpi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user