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
  Pinebook pro won't boot after bootloader installation jwensouls 4 943 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Pinebook Pro upgrading from the factory image yamsoup 12 4,119 02-22-2024, 04:02 PM
Last Post: tllim
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,515 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 2,710 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,858 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,501 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 5,376 07-15-2023, 02:58 PM
Last Post: u974615
  Emergency Mode Boot Hotkey? jiacovelli 20 7,530 06-02-2023, 01:32 PM
Last Post: wdt
  kernel module that supports usb-c hdmi alexandre 16 17,058 05-14-2023, 09:58 PM
Last Post: rathofkhan3
  My installation guide starting from messed up eMMC Besouro 0 1,160 12-19-2022, 01:01 PM
Last Post: Besouro

Forum Jump:


Users browsing this thread: 1 Guest(s)