[U-Boot] U-Boot 2018.07 Still Broken for Allwinner H3 SoCs
Chen-Yu Tsai
wens at csie.org
Wed Jul 11 03:53:04 UTC 2018
On Tue, Jul 10, 2018 at 2:13 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> On Tue, Jul 10, 2018 at 8:34 AM, Chen-Yu Tsai <wens at csie.org> wrote:
>> This is on a Libre Computer ALL-H3-CC H3 variant. Still running a
>> bisect, but v2018.07-rc1 is a working version. From the EHCI error
>> messages, I'm thinking it might be related to the USB changes lately.
>> Not sure if any other SoCs (ex. A64) are broken or not at the moment.
>
> I'm able to boot with BPI-M2+, where I changed the configurations
> based on Libre Computer board.
> - remove/disable ehci0, ohci0
> - enable ehci1, 2, 3 and ohci1, 2, 3
> - remove/disable usb_otg node
> - disable MUSB_GADGET
On BPI-M2+, with Sinovoip_BPI_M2_Plus_defconfig,
cross-compiled using gcc version 7.3.0 (Debian 7.3.0-20)
U-Boot SPL 2018.07 (Jul 11 2018 - 10:32:26 +0800)
DRAM: 1024 MiB
Trying to boot from MMC2
U-Boot 2018.07 (Jul 11 2018 - 10:32:26 +0800) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Banana Pi BPI-M2-Plus
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 1:1... Failed (-5)
In: serial
Out: serial
Err: serial
Allwinner mUSB OTG (Peripheral)
Net: phy interface7
eth0: ethernet at 1c30000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
USB4: USB EHCI 1.00
USB5: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
494 bytes read in 4 ms (120.1 KiB/s)
## Executing script at 43100000
5847064 bytes read in 268 ms (20.8 MiB/s)
16209 bytes read in 5 ms (3.1 MiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
Loading Device Tree to 49ff9000, end 49ffff50 ... OK
Starting kernel ...
data abort
pc : [<3f600018>] lr : [<7df79ed7>]
reloc pc : [<0b687018>] lr : [<4a000ed7>]
sp : 79f53658 ip : 79f59c82 fp : 00000400
r10: 7dfc2d70 r9 : 79f58ed8 r8 : 79fb2ca8
r7 : 00000000 r6 : 42000000 r5 : 49ff9000 r4 : 00000000
r3 : 00000006 r2 : 49ff9000 r1 : 00000006 r0 : 00000006
Flags: nzcv IRQs off FIQs off Mode UK6_32
Code: 00012003 00013003 00014003 00015003 (00016003)
Resetting CPU ...
resetting ...
That PC looks really weird.
ChenYu
> Here is the log:
> U-Boot 2018.07-00008-g9b89c61c72-dirty (Jul 10 2018 - 11:37:46 +0530)
> Allwinner Technology
>
> CPU: Allwinner H3 (SUN8I 1680)
> Model: Banana Pi BPI-M2-Plus
> DRAM: 1 GiB
> MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
> Loading Environment from FAT... Unable to use mmc 1:3... Failed (-5)
> In: serial
> Out: serial
> Err: serial
> Net: No ethernet found.
> starting USB...
> USB0: USB EHCI 1.00
> USB1: USB OHCI 1.0
> USB2: USB EHCI 1.00
> USB3: USB OHCI 1.0
> USB4: USB EHCI 1.00
> USB5: USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> scanning bus 4 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found /extlinux/extlinux.conf
> Retrieving file: /extlinux/extlinux.conf
> 155 bytes read in 3 ms (49.8 KiB/s)
> 1: linux-4.17.0-rc3
> Retrieving file: /zImage
> 3817968 bytes read in 175 ms (20.8 MiB/s)
> append: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
> Retrieving file: /sun8i-h3-bananapi-m2-plus.dtb
> 15691 bytes read in 4 ms (3.7 MiB/s)
> ## Flattened Device Tree blob at 43000000
> Booting using the fdt blob at 0x43000000
> EHCI failed to shut down host controller.
> EHCI failed to shut down host controller.
> EHCI failed to shut down host controller.
> Loading Device Tree to 49ff9000, end 49fffd4a ... OK
>
> Starting kernel ...
>
> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Linux version 4.15.0-rc6-00415-g2f2b41a952de
> (jagan at jagan-XPS-13-9350) (gcc version 6.3.1 20170109 (Linaro GCC
> 6.3-2017.02)) #1 S8
> [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
More information about the U-Boot
mailing list