Accepting request 751224 from hardware:boot

OBS-URL: https://build.opensuse.org/request/show/751224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=116
This commit is contained in:
Dominique Leuenberger 2019-11-27 12:55:52 +00:00 committed by Git OBS Bridge
commit 907dc372e7
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 25 16:47:54 UTC 2019 - Matthias Brugger <mbrugger@suse.com>
- set boot option to arm64 in ubootconfig.txt. This allows us to
theoretically build U-Boot for RPi3/4 with 32 bit.
-------------------------------------------------------------------
Mon Nov 25 14:10:58 UTC 2019 - Matthias Brugger <mbrugger@suse.com>

View File

@ -509,9 +509,12 @@ install -D -m 0644 u-boot-with-spl.sfp %{buildroot}%{uboot_dir}/u-boot-with-spl.
install -D -m 0644 spl/boot.bin %{buildroot}%{uboot_dir}/boot.bin
%endif
%if "%{name}" == "u-boot-rpi3"
echo -e "# Boot in AArch64 mode\narm_control=0x200" > %{buildroot}%{uboot_dir}/ubootconfig.txt
echo -e "# Boot in AArch64 mode\narm_64bit=1" > %{buildroot}%{uboot_dir}/ubootconfig.txt
echo -e "\nkernel_address=0x11000000" >> %{buildroot}%{uboot_dir}/ubootconfig.txt
%endif
%if "%{name}" == "u-boot-rpi4" || "%{name}" == "u-boot-rpiarm64"
echo -e "# Boot in AArch64 mode\narm_64bit=1" > %{buildroot}%{uboot_dir}/ubootconfig.txt
%endif
%if 0%{?is_rpi}
%post