[U-Boot] arm: sunxi: Bananapi_M2_Ultra not working with DM_MMC

Pablo Sebastián Greco pgreco at centosproject.org
Thu Apr 4 08:51:47 UTC 2019


A few days ago I tried to boot my Bananapi_M2_Ultra with 2019.04rc, I 
found that it wasn't booting, 2019.01 was working ok.
Bisecting indicated that the problem was after 
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a7cca5793774ee139b75a704d6efaa4d29f09f93

Here's what I see when booting:

U-Boot SPL 2019.04-rc4 (Apr 02 2019 - 16:17:43 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2019.04-rc4 (Apr 02 2019 - 16:17:43 +0000) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   Device 'mmc at 1c11000': seq 1 is in use by 'mmc at 1c10000'
mmc at 1c0f000: 0, mmc at 1c10000: 2, mmc at 1c11000: 1
Loading Environment from FAT... ** No valid partitions found **
In:    serial at 1c28000
Out:   serial at 1c28000
Err:   serial at 1c28000
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst

Net:   phy interface7
eth0: ethernet at 1c50000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc1(part 0) is current device
** Invalid partition 1 **
scanning bus for devices...
data abort
pc : [<bff9c6da>]          lr : [<bff98991>]
reloc pc : [<4a01a6da>]    lr : [<4a016991>]
sp : bbf5d620  ip : 0000001c     fp : 000000c0
r10: 00000000  r9 : bbf61ed8     r8 : 00000000
r7 : bbf5d8a0  r6 : bffdbff0     r5 : bffdbff0  r4 : bffdbff0
r3 : 00000000  r2 : 00000000     r1 : ea000016  r0 : bffdbff0
Flags: nZcv  IRQs off  FIQs off  Mode SVC_32
Code: e92dbd10 f8d045f0 b0858080 1000f8d8 (f8d14604)
Resetting CPU ...

resetting ...

Any pointers on what to text next?

Thanks.
Pablo.



More information about the U-Boot mailing list