Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Sun, 11 Jul 2021 20:47:13 +0200
On Sun, 11 Jul 2021 20:28:36 +0200, "Herbert J. Skuhra" wrote:
> 
> On Fri, 09 Jul 2021 15:35:17 +0200, "Herbert J. Skuhra" wrote:
> >  
> > With u-boot 2021.07 two of my RPis no longer boot:
> > 
> > Raspberry Pi 3 Model B V1.2: mmc not detected; tries to boot over the network.
> 
> With u-boot 2021.04 I get:
> 
> > mmc list 
> mmc_at_7e300000: 0 (SD)
> 
> > mmc part
> 
> Partition Map for MMC device 0  --   Partition Type: DOS
> 
> Part    Start Sector    Num Sectors     UUID            Type
>   1     2048            102400          5fd0f4e4-01     0c Boot
>   2     104448          124631040       5fd0f4e4-02     a5
> 
> > mmcinfo 
> Device: mmc_at_7e300000
> Manufacturer ID: 3
> OEM: 5344
> Name: SC64G 
> Bus Speed: 25000000
> Mode: MMC legacy
> Rd Block Len: 512
> SD version 3.0
> High Capacity: Yes
> Capacity: 59.5 GiB
> Bus Width: 4-bit
> Erase Group Size: 512 Bytes
> 
> But with u-boot 2021.07 (starting with rc1) I get:
> 
> > mmc list
> mmc_at_7e300000: 2 (SD)
> 
> > mmc part
> MMC Device 0 not found
> no mmc device at slot 0
> 
> > mmc info
> MMC Device 0 not found
> no mmc device at slot 0
> 
> I have to run
> 
> > mmc dev 2
> 
> Afterwards 'mmc part' and 'mmc info' show the above output.
> But how do I boot from mmc dev 2? And how can I change this
> permanently?

My RPi3 boots if I run:

U-Boot> setenv boot_targets 'mmc2'
U-Boot> setenv bootcmd_mmc2 'devnum=2; run mmc_boot'
U-Boot> boot

--
Herbert
Received on Sun Jul 11 2021 - 18:47:13 UTC

Original text of this message