07-03-2022, 03:09 AM
Solved my issue. Since yesterday I was wondering how u-boot passed arguments to the kernel, as I was not seeing them in extlinux.conf, it looked like:
I was like "OK 'append' but where are the others"?
Doodling around the u-boot documentation and things, I spotted:
So I promptly ran:
Rebooted, and boom, solved.
In case someone needs to do it too, I'm doing it over USB mass storage, (hold volume up in tow-boot until the 2nd vibration, or via Jump Drive), I installed
So I can run binaries via qemu, and then just run:
to chroot myself in my phone.
So, let's go read /var/log/apt/history.log:
and here we are, u-boot-menu upgraded from 4.0.4 (mobian side) to 4.1.0 (debian side).
Code:
label l0
menu label Debian GNU/Linux bookworm/sid 5.15-sunxi64
linux /vmlinuz-5.15-sunxi64
initrd /initrd.img-5.15-sunxi64
append root=/dev/mapper/calamares_crypt ro quiet
I was like "OK 'append' but where are the others"?
Doodling around the u-boot documentation and things, I spotted:
Code:
root@seraph:/# apt-cache policy u-boot-menu
u-boot-menu:
Installed: 4.1.0
Candidate: 4.1.0
Version table:
*** 4.1.0 990
990 http://deb.debian.org/debian bookworm/main arm64 Packages
100 /var/lib/dpkg/status
4.0.4mobian1 990
990 http://repo.mobian-project.org bookworm/main arm64 Packages
So I promptly ran:
Code:
apt install u-boot-menu=4.0.4mobian1
u-boot-update
Rebooted, and boom, solved.
In case someone needs to do it too, I'm doing it over USB mass storage, (hold volume up in tow-boot until the 2nd vibration, or via Jump Drive), I installed
Code:
apt install qemu-user-static binfmt-support
So I can run binaries via qemu, and then just run:
Code:
mount --bind /dev /media/mdk/root/dev/
mount --bind /sys /media/mdk/root/sys/
mount --bind /proc /media/mdk/root/proc/
mount --bind /media/mdk/boot /media/mdk/root/boot/
chroot /media/mdk/root/
to chroot myself in my phone.
So, let's go read /var/log/apt/history.log:
Code:
Start-Date: 2022-06-25 08:23:26
Commandline: apt full-upgrade
Requested-By: mobian (1000)
Upgrade: gstreamer1.0-plugins-ugly:arm64 (1.20.2-1+b1, 1.20.3-1), gsasl-common:arm64 (1.11.3-3, 2.0.0-1), libinput10:arm64 (1.20.1-1, 1.21.0-1), u-boot-menu:arm64 (4.0.4mobian1, 4.1.0), libgsasl18:arm64 (1.11.3-
3, 2.0.0-1), libgstreamer-plugins-bad1.0-0:arm64 (1.20.2-1+b1, 1.20.3-1), gir1.2-gst-plugins-bad-1.0:arm64 (1.20.2-1+b1, 1.20.3-1), libgnutls30:arm64 (3.7.4-2, 3.7.6-2), gstreamer1.0-plugins-bad:arm64 (1.20.2-1+
b1, 1.20.3-1), libgnutls-dane0:arm64 (3.7.4-2, 3.7.6-2), libinput-bin:arm64 (1.20.1-1, 1.21.0-1)
End-Date: 2022-06-25 08:25:38
and here we are, u-boot-menu upgraded from 4.0.4 (mobian side) to 4.1.0 (debian side).