Yes, maybe. Also and before you reflash
your phone (as there is no warranty from my side for below draft or rather coarse direction):
cd /media/user/L5_path/
ls -lh
dd if=boot.scr of=L5boot_scr.script bs=72 skip=1
Edit, as su
, L5boot_scr.script
text file and look for (or something else related to your setup, this is just an example):
setenv fk_kvers '5.17.0-1-librem5'
Continue with:
dd if=boot.scr.bak of=L5boot_scr.bak.script bs=72 skip=1
Compare two outputs, rethink your next step and solve this issue. Perhaps you’d like to end up with this after removing (and backuping) original boot_scr
and boot_scr.bak
files, as su
:
apt install u-boot-tools
−− needed to be adjusted toward: https://software.opensuse.org/package/u-boot-tools
mkimage -c none -A arm -T script -d L5boot_scr.bak.script boot.scr
−− from .bak to the regular .scr
… or just rm boot.scr
and rename boot.scr.bak
to it.