Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 20:47:13 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-arm@freebsd.org
Subject:   Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07
Message-ID:  <87mtqsn0we.wl-herbert@gojira.at>
In-Reply-To: <87o8b8n1rf.wl-herbert@gojira.at>
References:  <202107071618.167GIvXd048504@gitrepo.freebsd.org> <874kd3390q.wl-herbert@gojira.at> <87o8b8n1rf.wl-herbert@gojira.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87mtqsn0we.wl-herbert>