Group :: Sistema/Kernel e hardware
RPM: u-boot-rpi3
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: u-boot-rpi3
Version: 2023.07
Release: alt1
Summary: Das U-Boot
License: GPLv2+
Group: System/Kernel and hardware
ExclusiveArch: armh aarch64
Source: %name-%version-%release.tar
BuildRequires: bc dtc >= 1.4 flex libssl-devel
%description
boot loader for embedded boards based on PowerPC, ARM, MIPS and several
other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.
This package supports Raspberry Pi 3/4 boards.
%ifarch armh
%define rpi rpi_3_32b rpi_3_b_plus_32b rpi_4_32b
%define img kernel7.img
%endif
%ifarch aarch64
%define rpi rpi_3 rpi_3_b_plus rpi_4
%define img kernel8.img
%endif
%prep
%setup
%build
for board in %rpi; do
O=build/${board}
%make_build DTC=%_bindir/dtc O=${O} ${board}_defconfig all
install -pm0644 -D ${O}/u-boot.bin out/${board}/%img
done
%install
mkdir -p %buildroot%_datadir/u-boot
cd out
find . -type f | cpio -pmd %buildroot%_datadir/u-boot
%files
%doc README
%_datadir/u-boot/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 2023.07
Release: alt1
Summary: Das U-Boot
License: GPLv2+
Group: System/Kernel and hardware
ExclusiveArch: armh aarch64
Source: %name-%version-%release.tar
BuildRequires: bc dtc >= 1.4 flex libssl-devel
%description
boot loader for embedded boards based on PowerPC, ARM, MIPS and several
other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.
This package supports Raspberry Pi 3/4 boards.
%ifarch armh
%define rpi rpi_3_32b rpi_3_b_plus_32b rpi_4_32b
%define img kernel7.img
%endif
%ifarch aarch64
%define rpi rpi_3 rpi_3_b_plus rpi_4
%define img kernel8.img
%endif
%prep
%setup
%build
for board in %rpi; do
O=build/${board}
%make_build DTC=%_bindir/dtc O=${O} ${board}_defconfig all
install -pm0644 -D ${O}/u-boot.bin out/${board}/%img
done
%install
mkdir -p %buildroot%_datadir/u-boot
cd out
find . -type f | cpio -pmd %buildroot%_datadir/u-boot
%files
%doc README
%_datadir/u-boot/*
%changelog
…
Todas as alterações você pod ver aqui