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! :-)
  Reply
#2
https://forum.manjaro.org/t/booting-pine...ture/27906
i think mainline uboot is perhaps a bit flaky, at this time
  Reply
#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.
  Reply
#4
Thanks, seems to be good now :-)
  Reply
#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?
  Reply
#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
  Reply
#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
  Reply
#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.
  Reply
#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 ...........
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot process bero 14 1,988 10-27-2020, 09:29 AM
Last Post: wdt
  How does one get working deep/S3 sleep with Ubuntu Focal/5.7 mainline kernel? Syonyk 7 1,140 10-26-2020, 02:03 PM
Last Post: edward
  A true mainline Linux Kernel for the Pinebook Pro tsys 151 43,274 10-22-2020, 01:00 AM
Last Post: mara
  eMMC frequently not found by Linux kernel (especially on low battery) v-man 9 1,526 10-21-2020, 08:08 AM
Last Post: Arwen
  read-only boot partition? tpchuckles 2 234 09-17-2020, 06:37 AM
Last Post: tpchuckles
  Boot Manjaro lock screen language and key issues Iiari 0 251 08-28-2020, 02:21 AM
Last Post: Iiari
  Dark screen on boot up (?) on new Pinebook Pro with Manjaro ocschwar 14 1,742 08-20-2020, 04:26 PM
Last Post: wdt
  Recalbox Image is available Luke 6 2,176 08-10-2020, 08:46 PM
Last Post: Upokupo
  Cannot get any Manjaro 20.04 images to boot VikJES1959 8 984 07-29-2020, 01:30 PM
Last Post: VikJES1959
  Rescue boot loader? ocschwar 0 274 07-28-2020, 03:47 PM
Last Post: ocschwar

Forum Jump:


Users browsing this thread: 1 Guest(s)