PBP not starting up sometimes / [Firmware Bug]: Kernel image misaligned at boot
#1
My Pinebook Pro (delivered in August 2020) sometimes won't boot up:
I press the power on key, the screen stays black and the power light stays on orange. 
I have to press the power button for about 5 secs to power off the notebook and try again.
After a couple of tries it will boot normally.

In dmesg I found following Line:

Code:
[Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!

I don't know if this is related in any way to my boot issue, but it doesn't sound well to me.

Can you tell me what I can or should do?
Thanks in advance! :-)
#2
https://forum.manjaro.org/t/booting-pine...ture/27906
i think mainline uboot is perhaps a bit flaky, at this time
#3
Quote:It is available in the repo, we maintain bsp and mainline uboot so users can switch to their preferred uboot.
Code:
sudo pacman -S uboot-pinebookpro-bsp
Will install the bsp uboot but you will have to flash it manually by following the instructions printed after installation.

This looks good so far Smile Might have finally solved the massive booting issues I had.
#4
Thanks, seems to be good now :-)
#5
Found this thread while searching about flashing the U-Boot. During the last Manjaro update I saw this in the output:


Code:
(162/162) upgrading uboot-pinebookpro                                                  [###################################################] 100%
A new U-Boot version can be flashed onto your install drive. Please use lsblk to determine your drive, before proceeding.
You can do this by running:
# dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc,fsync
# dd if=/boot/u-boot.itb of=/dev/mmcblkX seek=16384 conv=notrunc,fsync


lsblk shows this:


Code:
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk2      179:0    0  58.2G  0 disk
├─mmcblk2p1  179:1    0 213.6M  0 part /boot
└─mmcblk2p2  179:2    0    58G  0 part /
mmcblk2boot0 179:32  0    4M  1 disk
mmcblk2boot1 179:64  0    4M  1 disk
mmcblk1      179:96  0 238.5G  0 disk
└─mmcblk1p1  179:97  0 238.5G  0 part /run/media/name/disk
zram0        252:0    0  5.6G  0 disk [SWAP]


I'm assuming the commands I need to run are:

dd if=/boot/idbloader.img of=/dev/mmcblk2p1 seek=64 conv=notrunc,fsync
dd if=/boot/u-boot.itb of=/dev/mmcblk2p1 seek=16384 conv=notrunc,fsync

Or would it be mmcblk2boot0 and mmcblk2boot1?
#6
None of above,, to the WHOLE device, not partition 1,,p1
And not to the boot{0,1} device, this is separate drive on the same hardware (4M each)
/dev/mmcblk2
I hope it works out for you, some people have found later manjaro uboots
make computer unbootable, since on emmc, 1st found, have to disable emmc and fix
I'm still on 19.10
#7
(10-16-2020, 03:08 PM)wdt Wrote: None of above,, to the WHOLE device, not partition 1,,p1
And not to the boot{0,1} device, this is separate drive on the same hardware (4M each)
/dev/mmcblk2
I hope it works out for you, some people have found later manjaro uboots
make computer unbootable, since on emmc, 1st found, have to disable emmc and fix
I'm still on 19.10

Thanks, but now I'm too scared to try it Undecided
#8
The process to change to the bsp uboot was perfectly easy and safe on my Manjaro PinebookPro.
In case something goes wrong you can always just flash a bootable image onto a SDcard and fix it from there.
#9
Well yes, the bsp uboot seems more reliable, but i doubt that is what this update is, probably mainline
There have been a few people that have had orange led, wait, nothing (but orange led)
An emmc uboot change fixed this
But if emmc uboot is bad, how are you going to boot SD? Unless you take off back, you aren't
So, take off back, do switch dance or unbind,bind
If it's not broke ...........


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian/unstable SD card rescue image vajak 1 153 4 hours ago
Last Post: vajak
Question Can't boot any operating system other than Fedora after following the nullr0ute guide TDC_PBP 1 366 10-09-2021, 07:35 PM
Last Post: TangoZuluTango
  Kernel panics solostian 8 590 09-27-2021, 03:01 AM
Last Post: maxjrh
  red/green power led not working with kernel 5.14 alchemist 3 256 09-20-2021, 01:01 AM
Last Post: alchemist
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 72 54,110 09-18-2021, 03:58 PM
Last Post: stozi
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 407 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel panic on boot with danielt's Debian installer hjalfi 11 2,319 07-09-2021, 08:52 AM
Last Post: moonwalkers
  Kernel crash on Manjaro ARM mfashby 0 341 07-06-2021, 03:17 PM
Last Post: mfashby
  PostmarketOS - Why swap file not on at boot? stozi 3 834 06-24-2021, 12:27 AM
Last Post: craftyguy
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 105,776 06-20-2021, 09:26 AM
Last Post: linuxad

Forum Jump:


Users browsing this thread: 1 Guest(s)