Jump to content

Xiaomi Mi Box S uboot doesn't see USB drive


jmandawg

Recommended Posts

Hi all I have UART connected to my MiBox S (which doesn't have a SD card slot only 1 usb).  I'm trying to see if it can boot from USB, but it says there are no storage devices connected.  Is it possible or am i just wasting my time:

 

U-Boot 2015.01-g9a75fc5-dirty (Jul 11 2019 - 19:46:21), Build: jenkins-oneday-699

DRAM:  2 GiB
Relocation Offset is: 76ed3000
gpio: pin gpiodv_24 (gpio 43) value is 1
gpio: pin gpioh_3 (gpio 52) value is 1
register usb cfg[0][1] = 0000000077f5db98
[CANVAS]canvas init
MMC:   aml_priv->desc_buf = 0x0000000073ed3b40
aml_priv->desc_buf = 0x0000000073ed5e60
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
aml log : R1024 check pass!
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: oneday variant: dcdc
        dtb 0 soc: gxl   plat: oneday   vari: dcdc
        dtb 1 soc: gxl   plat: oneday   vari: pmic
      Find match dtb: 0
start dts,buffer=0000000073ed8690,dt_addr=0000000073ed8e90
get_partition_from_dts() 103: ret 0
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: oneday variant: dcdc
        dtb 0 soc: gxl   plat: oneday   vari: dcdc
        dtb 1 soc: gxl   plat: oneday   vari: pmic
      Find match dtb: 0
parts: 14
00:      logo   0000000000800000 1
01:  recovery   0000000001800000 1
02:      misc   0000000000800000 1
03:       dto   0000000000800000 1
04:  cri_data   0000000000800000 2
05:     param   0000000001000000 2
06:      boot   0000000001000000 1
07:       rsv   0000000001000000 1
08:       tee   0000000002000000 1
09:    vendor   0000000006400000 1
10:       oem   0000000012c00000 1
11:    system   0000000046000000 1
12:     cache   0000000010000000 2
13:      data   ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x17400000 
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-2610: calc b35f8ed, store b35f8ed
_verify_dtb_checksum()-2610: calc b35f8ed, store b35f8ed
dtb_read()-2827: total valid 2
update_old_dtb()-2808: do nothing
aml log : R1024 check pass!
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: oneday variant: dcdc
        dtb 0 soc: gxl   plat: oneday   vari: dcdc
        dtb 1 soc: gxl   plat: oneday   vari: pmic
      Find match dtb: 0
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off finish
vpp: vpp_init
hpd_state=1
[1080p60hz] is invalid for cvbs.
set hdmitx VIC = 16
config HPLL = 2970000
HPLL: 0xc000027b
config HPLL done
j = 6  vid_clk_div = 1
hdmitx: set enc for VIC: 16
HDMITX-DWC addr=0x10004006 rd_data=0x40
Error: HDMITX-DWC exp_data=0xff mask=0x9f
rx version is 2.0  div=10
hdmtix: set audio
hdmitx phy setting done
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[KM]Error:f[keymanage_dts_get_key_device]L85:carrier key name is not exist
[KM]Error:f[_get_km_ops_by_name]L231:key carrier not know device 4
[KM]Error:f[key_manage_query_exist]L546:There isn't dts cfg for key[carrier]
[KM]Error:f[key_manage_query_size]L503:Fail in query key exist
Start read misc partition datas!
info->magic = 
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=0
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]addr=0x7f800000 width=5760, height=2160
pull down bt_reset
pull up bt_reset
set hci reset
set scan parameters
set scan enable
pull down bt_enable
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
oneday#<INTERRUPT>
oneday#<INTERRUPT>
oneday#usb start
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
oneday#usb dev

USB device -1: device type unknown
oneday#usb storage
No storage devices, perhaps not 'usb start'ed..?
oneday#

 

Link to comment
Share on other sites

I figured it out, basically there is zero power going to the USB port, so i had to use a usb splitter cable and a hub.

 

1: Hub,  USB Revision 3.0
 - u-boot XHCI Host Controller 
 - Class: Hub
 - PacketSize: 9  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

 

Link to comment
Share on other sites

  • Werner locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines