Skip to content

Instantly share code, notes, and snippets.

@xcvista
Last active November 13, 2018 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xcvista/ed1e6bcf7193f32a5ff9813dbabe1aa3 to your computer and use it in GitHub Desktop.
Save xcvista/ed1e6bcf7193f32a5ff9813dbabe1aa3 to your computer and use it in GitHub Desktop.
U-Boot A64 eMMC bootlog
diff --git a/arch/arm/dts/sun50i-a64-orangepi-win.dts b/arch/arm/dts/sun50i-a64-orangepi-win.dts
index cf76c35..a02ecc0 100644
--- a/arch/arm/dts/sun50i-a64-orangepi-win.dts
+++ b/arch/arm/dts/sun50i-a64-orangepi-win.dts
@@ -79,6 +79,13 @@
status = "okay";
};
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins>;
+ vmmc-supply = <&reg_vcc3v3>;
+ status = "okay";
+};
+
&ohci1 {
status = "okay";
};
U-Boot SPL 2017.07-rc1-g2b1a332-dirty (Jul 29 2017 - 00:16:00)
DRAM: 2048 MiB
Trying to boot from MMC1
U-Boot 2017.07-rc1-g2b1a332-dirty (Jul 29 2017 - 00:16:00 +0800) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: OrangePi Win/Win Plus
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
Warning: HDMI PHY init timeout!
Warning: HDMI PHY init timeout!
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: musb_init_controller failed with status -22
probe failed, error -5
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> mmc dev 1
** First descriptor is NOT a primary desc on 1:1 **
switch to partitions #0, OK
mmc1(part 0) is current device
=> mmc info
Device: SUNXI SD/MMC
Manufacturer ID: 15
OEM: 100
Name: AJNB4
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.6 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 14.6 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
=> ums 0 mmc 1
UMS: LUN 0, dev 1, hwpart 0, sector 0x0, count 0x1d1f000
Controller uninitialized
g_dnl_register: failed!, error: -6
ERROR: g_dnl_register failed
at cmd/usb_mass_storage.c:179/do_usb_mass_storage()
@howey
Copy link

howey commented Nov 13, 2018

Did you ever figure out the "Controller uninitialized" problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment