From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] u-boot: update to 2022.10 and arm-trusted-firmware-2.7 Date: Mon, 21 Nov 2022 09:17:37 +0000 Message-ID: <5DEE9EA5-6D94-4C9F-ADFD-0D6181F45CA9@ipfire.org> In-Reply-To: <20221120085427.2354711-1-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0337087351966174102==" List-Id: --===============0337087351966174102== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 20 Nov 2022, at 08:54, Arne Fitzenreiter wrote: >=20 > this should fix keyboard issues on rpi-4 and many other > problems. >=20 > Signed-off-by: Arne Fitzenreiter > --- > lfs/u-boot | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) >=20 > diff --git a/lfs/u-boot b/lfs/u-boot > index 3488204ee..3452efddb 100644 > --- a/lfs/u-boot > +++ b/lfs/u-boot > @@ -24,7 +24,7 @@ >=20 > include Config >=20 > -VER =3D 2021.07 > +VER =3D 2022.10 >=20 > THISAPP =3D u-boot-$(VER) > DL_FILE =3D $(THISAPP).tar.bz2 > @@ -36,7 +36,7 @@ SUP_ARCH =3D armv6l aarch64 > CFLAGS :=3D $(patsubst -fstack-protector-strong,,$(CFLAGS)) > LDFLAGS +=3D --no-warn-rwx-segments >=20 > -ATF_VER =3D 2.6 > +ATF_VER =3D 2.7 >=20 > ###########################################################################= #### > # Top-level Rules > @@ -48,9 +48,9 @@ $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > arm-trusted-firmware-$(ATF_VER).tar.gz =3D $(DL_FROM)/arm-trusted-firmware-= $(ATF_VER).tar.gz > arm-trusted-firmware-$(ATF_VER)-rk3399-binary.tar.xz =3D $(DL_FROM)/arm-tru= sted-firmware-$(ATF_VER)-rk3399-binary.tar.xz >=20 > -$(DL_FILE)_BLAKE2 =3D 1a209a604e0f30264781a14ca855bbb777e8f1c031de60d28de3= 97084fc9bfc4a3771ad00ec22f5cdcfa721f22707a533b9b59004ac0b107df927f23dc5ab0a6 > -arm-trusted-firmware-$(ATF_VER).tar.gz_BLAKE2 =3D 1d0caff9ea6d97276d137748= 3e3f81901c935f9af784b7a735636c75b00106935a7e301c21ecec7b9fd9a97dcf873ac1b1216= 9bf7211dae3d975b78d379eba74 > -arm-trusted-firmware-$(ATF_VER)-rk3399-binary.tar.xz_BLAKE2 =3D bc5245c1af= 911eb8ce8def743339102bb46d6aa854fbe916584775479dc97c9a9176c1d1615afc7ede496c7= ca9da78db52d9c2eaf1290a4d06e53dbb1933e658 > +$(DL_FILE)_BLAKE2 =3D 42aa7a6f131735888939982e579de4342e3909e064ab896b0df6= f1ff56c20ed6cb11d25286da7c052a5f67dcef6fa7a746944d8df6dd504586f5a71502d157e1 > +arm-trusted-firmware-$(ATF_VER).tar.gz_BLAKE2 =3D 4fc4d5646e272200d4008190= 2e17f0be32956f451622f011a0d568c8cf26e15ab165fe16a69cf222241f7ba1d443add562d6d= 382277eb4fb2b49c3918cabdbad > +arm-trusted-firmware-$(ATF_VER)-rk3399-binary.tar.xz_BLAKE2 =3D 04424a7dcd= a0771f469c8e918a24aed75017c1a28c1b8c2c794e3ce31afbc01e7906ccab6faf1459d69a5ec= 1ef4fdde2bab1011b883980efeae7372013f2570e >=20 > install : $(TARGET) >=20 > @@ -213,7 +213,7 @@ else > cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=3D.*!CONFIG_IDENT_STRING= =3D" Nanopi R2S - IPFire.org"!' .config > cd $(DIR_APP) && sed -i -e 's!^CONFIG_BOOTCOMMAND=3D.*!CONFIG_BOOTCOMMAND= =3D"console=3DttyS2,115200n8;run distro_bootcmd"!' .config > cd $(DIR_APP) && sed -i -e 's!^CONFIG_BAUDRATE=3D.*!CONFIG_BAUDRATE=3D11520= 0!' .config > - cd $(DIR_APP) && sed -i -e 's!.*CONFIG_MISC_INIT_R.*!# CONFIG_MISC_INIT_R= is not set!' .config > + cd $(DIR_APP) && sed -i -e 's!.*CONFIG_ENV_OVERWRITE.*!CONFIG_ENV_OVERWRI= TE=3Dy!' .config > cd $(DIR_APP) && make CROSS_COMPILE=3D"" HOSTCC=3D"gcc $(CFLAGS)" > cd $(DIR_APP) && install -v -m 644 u-boot-rockchip.bin \ > /usr/share/u-boot/nanopi_r2s/u-boot-rockchip.bin > @@ -221,12 +221,14 @@ else >=20 > # Nanopi R4S > # arm trusted firmware for rk3399 cannot build without cortex m0 gcc crossc= ompiler > + # it is build on ubuntu with make PLAT=3Drk3399 ARCH=3Daarch64 DEBUG=3D0 = bl31 > cd $(DIR_APP) && tar axf $(DIR_DL)/arm-trusted-firmware-$(ATF_VER)-rk3399-b= inary.tar.xz > -mkdir -pv /usr/share/u-boot/nanopi_r4s > cd $(DIR_APP) && make CROSS_COMPILE=3D"" nanopi-r4s-rk3399_config > cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=3D.*!CONFIG_IDENT_STRING= =3D" Nanopi R4S - IPFire.org"!' .config > cd $(DIR_APP) && sed -i -e 's!^CONFIG_BOOTCOMMAND=3D.*!CONFIG_BOOTCOMMAND= =3D"console=3DttyS2,115200n8;run distro_bootcmd"!' .config > cd $(DIR_APP) && sed -i -e 's!^CONFIG_BAUDRATE=3D.*!CONFIG_BAUDRATE=3D11520= 0!' .config > + cd $(DIR_APP) && sed -i -e 's!.*CONFIG_ENV_OVERWRITE.*!CONFIG_ENV_OVERWRI= TE=3Dy!' .config > cd $(DIR_APP) && make CROSS_COMPILE=3D"" HOSTCC=3D"gcc $(CFLAGS)" > cd $(DIR_APP) && install -v -m 644 u-boot-rockchip.bin \ > /usr/share/u-boot/nanopi_r4s/u-boot-rockchip.bin > --=20 > 2.34.1 >=20 --===============0337087351966174102==--