2021.10 u-boot broken on emmc
#1
I just spent a while troubleshooting and I didn't see any post.

The most recent u-boot release, 2021.10, doesn't work for booting from the emmc. It works fine on the sd card with emmc disabled.  Here's the error that it sends over serial:

Code:
U-Boot TPL 2021.10-1 (Oct 10 2021 - 22:34:18)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.10-1 (Oct 10 2021 - 22:34:18 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Someone reported it on the u-boot mailing list but it hasn't gotten much follow up
https://www.mail-archive.com/u-boot@list...16881.html
  Reply
#2
(10-26-2021, 08:33 PM)clonex10100 Wrote: I just spent a while troubleshooting and I didn't see any post.

The most recent u-boot release, 2021.10, doesn't work for booting from the emmc. It works fine on the sd card with emmc disabled.  Here's the error that it sends over serial:

Code:
U-Boot TPL 2021.10-1 (Oct 10 2021 - 22:34:18)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.10-1 (Oct 10 2021 - 22:34:18 +0000)
Trying to boot from SPI
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Someone reported it on the u-boot mailing list but it hasn't gotten much follow up
https://www.mail-archive.com/u-boot@list...16881.html
I think very few people update U-Boot, but it looks like it is better people don't update to U-boot 2021.10.
Thanks for the report.
  Reply
#3
I'm not updating uboot often enough but this did caught me by surprise once I flashed the eMMC...

Device: Pinebook Pro 128GB No:246 / MainOS: Manjaro ARM
Godot and Flutter - creating something can be fun with the right tools!
  Reply
#4
Not sure if this related, but I just noticed this in the fixes section of the latest Manjaro (not sure if this was already reported with earlier updates).

Device stopped booting after Uboot update
The uboot update included a change to the extlinux.conf file. This change will be incompatible with the old 1 partition layout of some devices.
So if you are updating installs made with images 20.02.1 or older, you need to apply this fix before rebooting!
To fix this please edit your /boot/extlinux/extlinux.conf file and add 2 periods in front of each first slash, like so:

KERNEL ../Image
FDT ../dtbs/ #etc.
APPEND initrd=../initramfs-linux.img #etc.

Save the file and reboot.

https://forum.manjaro.org/t/arm-stable-u...ls/94518/2
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant boot into an OS trashtendenz 3 670 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,728 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 384 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,613 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,283 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 630 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,724 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,470 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 1,046 11-22-2023, 11:47 AM
Last Post: fxc
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 67,925 11-20-2023, 06:22 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)