pinephone pro boot: kernel image not aligned on 64k boundary
#1
Hello, I was trying to install the custom modem firmware (https://github.com/Biktorgj/pinephone_modem_sdk) on my pinephone pro,
but I think I borked something. whenever I boot I get something like https://pastebin.com/q6ksLzih

This happens on both emmc and sd card, though I wiped emmc over tow-boot's USB Mass Storage mode at some point.

I've tried booting with postmarketos and manjaro, and get similar results. Any pointers on what I can do?
  Reply
#2
(06-20-2022, 01:08 PM)kmerfeld Wrote: Hello, I was trying to install the custom modem firmware (https://github.com/Biktorgj/pinephone_modem_sdk) on my pinephone pro,
but I think I borked something. whenever I boot I get something like https://pastebin.com/q6ksLzih

This happens on both emmc and sd card, though I wiped emmc over tow-boot's USB Mass Storage mode at some point.

I've tried booting with postmarketos and manjaro, and get similar results. Any pointers on what I can do?

Something similar happened for me, although not from flashing modem firmware. I just flashed the Plasma Mobile postmarketOS image for pinephone pro (20220803...) from an SD card, and it installed fine. Booted it, and set my encryption password and login passcode. Seemed to be working alright. Set it down for the night, and in the morning, the battery must have died, so I charged it, and it boot looped (known issue I understand), and then it went dark; no boot loop. Connected with the 3.5mm audio-serial cable, and found this.
Code:
U-Boot TPL 2021.10 (Oct 04 2021 - 15:09:26)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
  Booting `postmarketOS'

EFI stub: Booting Linux Kernel...
EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.17.9 (pmos@build) (aarch64-alpine-linux-musl-gcc (Alpine 11.2.1_git2022021
9) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Tue Jul 12 06:17:33 UTC 2022
[    0.000000] Machine model: Pine64 PinePhonePro
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled

U-Boot TPL 2021.10 (Oct 04 2021 - 15:09:26)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
  Reply
#3
Update: It seems that the "kernel image not aligned" may be unrelated to my problem. Seems that my PinePhone Pro battery was related to my boot-loop problem. I swapped my original PinePhone battery into the Pro, and it stopped boot-looping, and just worked. As a sanity check, I tried booting my original PinePhone with the Pro battery, and it did not boot. The whole way, I saw the "kernel image not aligned" message fly by during boot, but it hasn't seemed to cause any problem that I have seen yet.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Pro Black Screen CrimsenRaven 3 1,441 11-13-2024, 09:33 PM
Last Post: twentyslimy
  PinePhone Pro/IMX258 Camera Debugging problem jasperji 2 777 10-20-2024, 03:59 AM
Last Post: Jite
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 13 1,024 10-17-2024, 03:28 PM
Last Post: fhilliard41
  PinePhone doesn't boot anymore lapin 3 561 09-13-2024, 10:09 AM
Last Post: lapin
  How to boot from SD card in PPP joespodie 2 759 08-02-2024, 02:49 PM
Last Post: mikehenson
  New PinePhone Pro fails... P. Siera 5 1,198 08-01-2024, 04:56 AM
Last Post: P. Siera
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 1,048 07-30-2024, 11:03 PM
Last Post: PHLEMON
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 2 1,825 07-30-2024, 05:58 AM
Last Post: DrYak
  Is my PinePhone Pro dead? jlioret 2 2,130 07-28-2024, 04:12 PM
Last Post: dchang0
  Pinephone Pro does not start with RE button pressed c0ssan 11 7,893 07-28-2024, 03:21 PM
Last Post: dchang0

Forum Jump:


Users browsing this thread: 1 Guest(s)