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
Satisfied PinePhone, Pinebook Pro & PineTab2 owner; Thank you Pine64Team for your work!  Smile
  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
  Video Flashing/adjusting on boot and reboot jbradley419 0 294 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,230 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 701 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 590 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,184 09-19-2023, 08:48 AM
Last Post: dachalife
  Will it be possible to upgrade the Pinebook Pro if/when a newer model is released? Rat24 4 1,439 09-15-2023, 03:00 PM
Last Post: KC9UDX
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,880 08-03-2023, 03:30 PM
Last Post: tophneal
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 803 07-13-2023, 01:50 PM
Last Post: PaulQ
  New Pinebook pro won’t boot Generaltuxenburg 4 1,948 06-14-2023, 07:20 AM
Last Post: KC9UDX
Tongue Yet another Pinebook Pro won't boot thread pinemouth 4 2,442 05-20-2023, 01:02 AM
Last Post: jackwilson

Forum Jump:


Users browsing this thread: 1 Guest(s)