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
Question Pinephone Pro for a Debian user? primesocial 2 128 04-15-2024, 03:01 AM
Last Post: zetabeta
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 0 464 03-20-2024, 01:45 AM
Last Post: ashoka232
  PinePhone Pro Black Screen CrimsenRaven 2 356 03-16-2024, 11:40 AM
Last Post: tmoj
  PinePhone Pro Review tmoj 2 615 03-14-2024, 07:14 AM
Last Post: tmoj
  Can't boot Pinephone Pro into Factory Test Build for Hardware Checking jydoxcen 3 691 02-17-2024, 04:04 AM
Last Post: fxc
Question Phone call with the pinephone pro dfs 5 4,189 02-10-2024, 09:54 PM
Last Post: Kevin Kofler
  Average Joe review of Pinephone Pro (March 2023) alaraajavamma 6 10,204 01-06-2024, 11:32 AM
Last Post: mikehenson
Question T-Mobile and Pinephone Pro in the US jydoxcen 4 799 01-02-2024, 09:08 AM
Last Post: mikehenson
  Pinephone Pro Screen Protector jydoxcen 11 1,374 12-21-2023, 07:58 AM
Last Post: zetabeta
  Pinephone Pro does not start with RE button pressed c0ssan 10 5,317 09-28-2023, 09:21 AM
Last Post: R0bbi3Mack

Forum Jump:


Users browsing this thread: 1 Guest(s)