Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37714258
en ru br
ALT Linux repositórios
S:2023.07-alt1

Group :: Sistema/Kernel e hardware
RPM: u-boot-imx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: u-boot-imx
Version: 2023.07
Release: alt1

Summary: Das U-Boot
License: GPLv2+
Group: System/Kernel and hardware

ExclusiveArch: armh aarch64

Source: %name-%version-%release.tar

%ifarch aarch64
%define ATF atf-imx imx-firmware = 8.9
%else
%define ATF %nil
%endif

BuildRequires: %ATF bc ccache dtc >= 1.4 flex libssl-devel lzop zip
BuildRequires: python3(setuptools)
BuildRequires: python3(libfdt)

%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 some of iMX6|iMX8 family boards.

%prep
%setup

%build
export DTC=%_bindir/dtc
%ifarch aarch64
boards='pico-imx8mq imx8mq_evk imx8mq_phanbell'
%else
boards='mx6cuboxi'
%endif
for board in $boards; do
O=build/${board}
%ifarch aarch64
install -pD %_datadir/atf/imx8mq/bl31.bin ${O}/bl31.bin
install -p  %_datadir/firmware-imx-*/firmware/hdmi/cadence/signed_hdmi_imx8m.bin  ${O}/
install -p  %_datadir/firmware-imx-*/firmware/ddr/synopsys/lpddr4_pmu_train_* ${O}/
%endif
make HOSTCC='ccache gcc' CC='ccache gcc' O=${O} ${board}_defconfig
%make_build HOSTCC='ccache gcc' CC='ccache gcc' O=${O} \
%ifarch aarch64
flash.bin
install -pm0644 -D ${O}/flash.bin out/${board}/flash.bin
%else
all
install -pm0644 -D ${O}/SPL out/${board}/SPL
install -pm0644 ${O}/u-boot.img out/${board}/
%endif
done

%install
mkdir -p %buildroot%_datadir/u-boot
cd out
find . -type f | cpio -pmd %buildroot%_datadir/u-boot

%files
%doc README* doc/board/nxp
%_datadir/u-boot/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009