Won't boot, black screen - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Won't boot, black screen (/showthread.php?tid=16949) |
Won't boot, black screen - mdk - 07-02-2022 Today my pinephone stopped booting: green led, black screen. It allready happened to me once, it was after an upgrade that went bad (phone going to sleep before finishing building initrd, me not noticing, something like that), it was quick to resolve by mounting the phone on my laptop via USB, and chrooting in it. But today it's harder, I tried multiple things with no luck: - In a chroot ran: dpkg-reconfigure linux-image-5.15-sunxi64 - Configured an older kernel, and tried setting a rescue mode in /boot/extlinux/extlinux.conf directly, and noticing the comment, by modifying the files in /etc and running u-boot-update too. - Dropped `splash` and added `console=tty1` in `/etc/u-boot-menu.d/pinephone.conf`, ran `u-boot-update`. (Still black screen at this point). - Soldered a jack-to-USB using an old "FTDI Friend" round in a drawer so I can take a look at serial output (it works!) At this point I noticed: > Moving Image from 0x40080000 to 0x40200000, end=415b0000 > Loading Ramdisk to 452ba000, end 49fff776 ... OK > FDT and ATAGS support not compiled in > > resetting ... and after doodling around decided to remember that u-boot was no longer supported in Mobian. So I installed tow-boot (wow it's nice not having to change the SD card each time I want to switch to mass storage ♥). But still no luck, here's what I see over serial: Code: Tow-Boot 2021.10 (Oct 04 2021 - 15:09:26 +0000)004 [variant: mmcboot] then nothing on the screen, nothing on serial, and it's time for me to go to sleep. Any idea? RE: Won't boot, black screen - Chief - 07-02-2022 I read your post carefully and if I'm reading it right it seems to me like you have done most things possible. Might it be better at this point to simply re-flash the eMMC card with a new Mobian? I should also suggest Arch Linux Phosh as well. RE: Won't boot, black screen - mdk - 07-03-2022 > simply re-flash the eMMC card with a new Mobian? In one hand it looks like a good idea (to fix the issue), in the other and I prefer understanding things so I'll postpone this idea as long as possible RE: Won't boot, black screen - mdk - 07-03-2022 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: Code: label l0 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 So I promptly ran: Code: apt install u-boot-menu=4.0.4mobian1 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/ 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 and here we are, u-boot-menu upgraded from 4.0.4 (mobian side) to 4.1.0 (debian side). RE: Won't boot, black screen - Chief - 07-03-2022 (07-03-2022, 03:09 AM)mdk Wrote: 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: Congrats on solving it. This is a good thread to keep around as someone else might find this useful. Just the other day I flashed Tow-boot to boot sector on my PP and this is great. No more jump drive although jump drive was like a must have in the beginning. |