uboot wont boot to SD card after upgrade
#1
can someone tell me how to revert to an older version of U-Boot or upgrade to a working version?  I am currently running version 2023.07+dfsg-1.  It will no longer boot from an SD card.   I put a screen shot with the errors then after it flashes like it is adjusting video then boots.  I does then same on reboot but get stuck at the flashing screen.


Attached Files Thumbnail(s)
       
  Reply
#2
(01-18-2024, 08:47 AM)jbradley419 Wrote: can someone tell me how to revert to an older version of U-Boot or upgrade to a working version?  I am currently running version 2023.07+dfsg-1.  It will no longer boot from an SD card.   I put a screen shot with the errors then after it flashes like it is adjusting video then boots.  I does then same on reboot but get stuck at the flashing screen.

What OS are you running, some will have older versions of uboot available in their repos that you can install and then write to the appropriate place (for example, iirc Manjaro has dated versions of uboot releases and at the end of the installation in terminal you'll be given the necessary command(s) to write the newly installed uboot
  Reply
#3
(01-18-2024, 01:29 PM)tophneal Wrote:
(01-18-2024, 08:47 AM)jbradley419 Wrote: can someone tell me how to revert to an older version of U-Boot or upgrade to a working version?  I am currently running version 2023.07+dfsg-1.  It will no longer boot from an SD card.   I put a screen shot with the errors then after it flashes like it is adjusting video then boots.  I does then same on reboot but get stuck at the flashing screen.

What OS are you running, some will have older versions of uboot available in their repos that you can install and then write to the appropriate place (for example, iirc Manjaro has dated versions of uboot releases and at the end of the installation in terminal you'll be given the necessary command(s) to write the newly installed uboot

Kali linux

(01-18-2024, 01:29 PM)tophneal Wrote:
(01-18-2024, 08:47 AM)jbradley419 Wrote: can someone tell me how to revert to an older version of U-Boot or upgrade to a working version?  I am currently running version 2023.07+dfsg-1.  It will no longer boot from an SD card.   I put a screen shot with the errors then after it flashes like it is adjusting video then boots.  I does then same on reboot but get stuck at the flashing screen.

What OS are you running, some will have older versions of uboot available in their repos that you can install and then write to the appropriate place (for example, iirc Manjaro has dated versions of uboot releases and at the end of the installation in terminal you'll be given the necessary command(s) to write the newly installed uboot

I see the newer version of uboot at /lib/u-boot/pinbook-pro-rk3399.  Now sure what do to with the bin and image files tho
  Reply
#4
>I put a screen shot with the errors then after it flashes like it is adjusting video then boots. I does then same on reboot but get stuck at the flashing screen.
When I read this, it sounds like a cold boot works ???
Reboot has always (or nearly so) been problematic, so why not just shutdown, then restart
dd commands,,... first run lsblk to know where to flash to, replace <emmc> with correct device
dd if=/dev/idbloader.img of=/dev/<emmc> seek=64
dd if=/dev/u-boot.itb of=/dev/<emmc> seek=16384 (or bs=1M seek=8,,, since 8*1024*2=16384)
  Reply
#5
(01-18-2024, 07:01 PM)wdt Wrote: >I put a screen shot with the errors then after it flashes like it is adjusting video then boots.  I does then same on reboot but get stuck at the flashing screen.
When I read this, it sounds like a cold boot works  ???
Reboot has always (or nearly so) been problematic, so why not just shutdown, then restart
dd commands,,... first run lsblk to know where to flash to, replace <emmc> with correct device
dd if=/dev/idbloader.img of=/dev/<emmc> seek=64
dd if=/dev/u-boot.itb of=/dev/<emmc> seek=16384  (or bs=1M seek=8,,, since 8*1024*2=16384)

Yes cold boot works.   I just flashed it yesterday with the 2024 uboot in the repo.  Still getting the CRC error and won't boot off SD to reinstall os on EMMC?
  Reply
#6
With my 2022 PBP:

The Kali installer does disable the Sdcard boot by default when you install it to the eMMC & the color bars are normal for the display after the initial boot-up screen; it doesn’t affect operation.

The PBP will not reboot & when you try, it’ll get stuck on a gray/colors screen similar to the start up one. You always need to power it off instead. (Reinstalling will not change it.)

If you want to modify your U-boot install, here is the complete guide:
https://docs.u-boot.org/en/latest/index.html

or you can build it from source & reinstall it fresh to try another OS:
https://docs.u-boot.org/en/latest/build/source.html

I haven’t had the CRC error on my PBP & it has various causes. If you want to run Kali on your PBP please follow this guide:
https://www.kali.org/docs/arm/pinebook-pro/

Also, for further assistance with Kali their site is here:
https://forums.kali.org/forum.php
PinePhone, Pinebook Pro & PineTab2 owner.
  Reply
#7
(01-19-2024, 10:49 AM)dachalife Wrote: With my 2022 PBP:

The Kali installer does disable the Sdcard boot by default when you install it to the eMMC & the color bars are normal for the display after the initial boot-up screen; it doesn’t affect operation.

The PBP will not reboot & when you try, it’ll get stuck on a gray/colors screen similar to the start up one. You always need to power it off instead. (Reinstalling will not change it.)

If you want to modify your U-boot install, here is the complete guide:
https://docs.u-boot.org/en/latest/index.html

or you can build it from source & reinstall it fresh to try another OS:
https://docs.u-boot.org/en/latest/build/source.html

I haven’t had the CRC error on my PBP & it has various causes. If you want to run Kali on your PBP please follow this guide:
https://www.kali.org/docs/arm/pinebook-pro/

Also, for further assistance with Kali their site is here:
https://forums.kali.org/forum.php
can SD be re-enabled in Kali?
  Reply
#8
The boot rom search order is fixed (spi, emmc, sd), if you have a serial terminal
you can alter uboot priority .... setenv boot_targets mmc1 ; boot
some uboots will look to sd (mmc1) first, check with.... strings u-boot.itb|grep _targets
OR install tow-boot
OR save emmc 1st 16M, save emmc mbr, blank emmc 1st 16M, restore emmc mbr, make a small sd boot card for emmc boot
Since the only uboot is on sd, that is what will boot, if the sd has no boot cfg files will then look to emmc
boot cfg files = boot.scr (or boot/boot.scr), extlinux.conf (in appropriate 2 paths), aarch64.efi
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Keyboard unresponsive after some idle time in uboot Trinatriumcitrat 1 215 11-25-2024, 03:42 PM
Last Post: KC9UDX
  Cant boot into an OS trashtendenz 3 751 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 4,426 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 478 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,945 05-22-2024, 09:33 AM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 663 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,908 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,543 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 1,104 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 2,023 09-19-2023, 08:48 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 2 Guest(s)