From afa464fd4aebfab35badb0d4231b492dde1fe728 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 20 Nov 2022 09:46:42 +0000 Subject: [PATCH] u-boot: create signed bootscript at build time MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit before this was as binary in git which make no real sense. Signed-off-by: Arne Fitzenreiter Acked-by: Peter Müller Reviewed-by: Michael Tremer --- config/u-boot/boot.scr | Bin 2514 -> 0 bytes lfs/u-boot | 3 +++ 2 files changed, 3 insertions(+) delete mode 100644 config/u-boot/boot.scr diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr deleted file mode 100644 index 875e09dc23cd2b8f17fd46d73f4deed208987004..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc-jL100001 literal 2514 zc-qZX%Wl&^6pfHTivNJ!RT>Ei;XGO)s#;y7X^vLN{W*jkN>Y_y5DCWdTp z+6wn9!)2CXtf4VF;;~j$DDsNJ(TLsAg|+slR-eaMIQE@IE$>i5lOlT&%|?z;DO@u-DX>>X%prx+&D;Su z5HJq>kVs~GOx}W^Bno&0Xd@h791TC7ed+@Wx~8B&0uE8kZ~NA9;9|w!ozU@A;YU<3;-MBE1(?espq$tqb#$g-Z_w|YnBDWU;rU5#NqK&@;#=>H z6sEAR$~B8{t+=XVgmF?&gg@KYGIW@9YD*wn;JTxkO?&L`?(e-b5!u``Z8P-ZsNqOk z2g%IICM@Ocu>Gdpe!JUh@qH`FNtgC7DDSatL#OeTq<2m`tzv;%MD4k%e^BnfGv
rA5GZR1l;t(@RN_%neQ`HnSHl;piag(n HIbi$&Uf>%$ diff --git a/lfs/u-boot b/lfs/u-boot index 3452efddbc..e5a48ef91e 100644 --- a/lfs/u-boot +++ b/lfs/u-boot @@ -240,6 +240,9 @@ endif # config (uEnv.txt and boot.*) cp -vf $(DIR_SRC)/config/u-boot/* /boot/ + # create signed binary boot script (boot.scr) + mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr + # patch real Kernel version to uEnv.txt sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt -- 2.39.5