PINE64
2021.10 u-boot broken on emmc - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: 2021.10 u-boot broken on emmc (/showthread.php?tid=15192)



2021.10 u-boot broken on emmc - clonex10100 - 10-26-2021

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@lists.denx.de/msg416881.html


RE: 2021.10 u-boot broken on emmc - jiyong - 10-27-2021

(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@lists.denx.de/msg416881.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.


RE: 2021.10 u-boot broken on emmc - PakoSt - 11-21-2021

I'm not updating uboot often enough but this did caught me by surprise once I flashed the eMMC...


RE: 2021.10 u-boot broken on emmc - jiyong - 12-14-2021

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-update-2021-12-13-firefox-kde-gear-thunderbird-libreoffice-icu-and-kernels/94518/2