Home Forum Getting Started Supported USB drives? Reply To: Supported USB drives?

#420
nanasi
Participant

I have tested Sandisk SDCZ80-064G and Kingston DTHX30/64GB.
U-boot: https://wiki.solid-run.com/lib/exe/fetch.php?media=products:a8040:software:os:flash-image.bin.gz


BootROM - 2.03
Starting CP-0 IOROM 1.07
Booting from SD 0 (0x29)
Found valid image at boot postion 0x000
lNOTICE:  Starting binary extension
NOTICE:  Gathering DRAM information
mv_ddr: mv_ddr-armada-17.02.0-g42da6da (Mar  6 2017 - 21:24:03)
mv_ddr: completed successfully
Booting Trusted Firmware
BL1: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
BL1: Built : 21:24:04, Mar  6 2017
NOTICE:  BL1: Booting BL2
lNOTICE:  BL2: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
NOTICE:  BL2: Built : 21:24:04, Mar  6 2017
NOTICE:  BL1: Booting BL31
lNOTICE:  BL31: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
NOTICE:  BL31: Built : 21:24:05, Mar  6 2017
l

U-Boot 2015.01-armada-17.02.0 (Mar 06 2017 - 21:17:26)

I2C:   ready
DRAM:  3.8 GiB
Board: MACCHIATOBin-8040
Clock:  CPU     2000 [MHz]
        DDR     1200 [MHz]
        FABRIC  1200 [MHz]
        MSS     200  [MHz]
        DDR 64 Bit width
        LLC Enabled (Exclusive Mode)
Comphy chip #0:
Comphy-0: PEX0
Comphy-1: PEX0
Comphy-2: PEX0
Comphy-3: PEX0
Comphy-4: KR
Comphy-5: SATA1
Comphy chip #1:
Comphy-0: SGMII1        1.25 Gbps
Comphy-1: SATA0
Comphy-2: USB3_HOST0
Comphy-3: SATA1
Comphy-4: KR
Comphy-5: SGMII2        1.25 Gbps

ERROR: UTMI PHY port type is invalid

at drivers/phy/comphy_cp110.c:1498/comphy_dedicated_phys_init()

ERROR: UTMI PHY port type is invalid

at drivers/phy/comphy_cp110.c:1498/comphy_dedicated_phys_init()

ERROR: UTMI PHY port type is invalid

at drivers/phy/comphy_cp110.c:1498/comphy_dedicated_phys_init()
UTMI PHY 0 initialized to USB Host255
UTMI PHY 1 initialized to USB Host255
UTMI PHY 2 initialized to USB Host255
Now running in RAM - U-Boot at: 3ff0a000
U-Boot DT blob at : 000000003f9f4548
NAND:  0 MiB
MMC:   XENON-SDHCI: 0, XENON-SDHCI: 1
PCIE-0: Link up (Gen2-x1, Bus0)
SCSI:  SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
Net:   Skipping disabled port egiga1
Skipping disabled port egiga2
egiga0, egiga1
Warning: egiga1 MAC addresses don't match:
Address in SROM is         00:00:00:00:51:81
Address in environment is  00:00:00:00:51:82
, egiga2 [PRIME], egiga3
Error: egiga3 address not set.

Hit any key to stop autoboot:  0
Marvell>>
Marvell>> version

U-Boot 2015.01-armada-17.02.0 (Mar 06 2017 - 21:17:26)
aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2017.05-git-00218-g1558a93) 5.4.0
GNU ld (GNU Binutils) 2.26.1

Marvell>> usb start
(Re)start USB...
USB0:   Register 2000120 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>>

Marvell>>  usb info
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

2: Mass Storage,  USB Revision 3.0
 - SanDisk Extreme AA010901120XXXXXXXXX
 - Class: (from Interface) Mass Storage
 - PacketSize: 9  Configurations: 1
 - Vendor: 0x0781  Product 0x5580 Version 0.16
   Configuration: 1
   - Interfaces: 1 Bus Powered 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 1024
     - Endpoint 2 Out Bulk MaxPacket 1024

Marvell>>  usb storage
  Device 0: Vendor: SanDisk  Rev: 0001 Prod: Extreme
            Type: Removable Hard Disk
            Capacity: 61057.3 MB = 59.6 GB (125045424 x 512)

Marvell>> usb part

Partition Map for USB device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x002cb000      0x002d1fff      "STATE"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   fc875410-39fa-c244-9d69-0f3036caae33
  2     0x00005000      0x0000cfff      "KERN-A"
        attrs:  0x01ff000000000000
        type:   fe3a2a5d-4f32-41a7-b725-accc3285a309
        guid:   6dc7a2b5-9be5-b946-826c-aa959d265496
  3     0x00046000      0x002cafff      "ROOT-A"
        attrs:  0x0000000000000000
        type:   3cb8e202-3b7e-47dd-8a3c-7ff2a13cfcec
        guid:   e90d1848-9a1a-8447-a25a-b1c4b882f347
  4     0x0000d000      0x00014fff      "KERN-B"
        attrs:  0x0000000000000000
        type:   fe3a2a5d-4f32-41a7-b725-accc3285a309
        guid:   9825c24f-f975-cf41-8885-62604f99d8e6
<snip>

Marvell>> ext4ls usb 0:1
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<DIR>       4096 unencrypted
           65536 vmlinuz_hd.vblock

Marvell>> ext4ls usb 0:3
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<DIR>       4096 mnt
<DIR>       4096 usr
<DIR>       4096 var
<DIR>       4096 lib
<DIR>       4096 sbin
<DIR>       4096 tmp
<DIR>       4096 bin
<DIR>       4096 etc
<DIR>       4096 dev
<DIR>       4096 run
<DIR>       4096 opt
<SYM>         26 postinst
<DIR>       4096 root
<DIR>       4096 home
<DIR>       4096 debugd
<DIR>       4096 media
<DIR>       4096 proc
<DIR>       4096 sys
Marvell>>

Marvell>> printenv
baudrate=115200
bootcmd=run get_images; run set_bootargs; booti $kernel_addr $ramfs_addr $fdt_addr
bootdelay=3
console=console=ttyS0,115200
eth1addr=00:00:00:00:51:82
eth2addr=00:00:00:00:51:83
ethact=egiga2
ethaddr=00:00:00:00:51:81
ethprime=egiga2
fdt_addr=0x1000000
fdt_high=0xffffffffffffffff
fdt_name=fdt.dtb
gatewayip=10.4.50.254
get_images=tftp $kernel_addr $image_name; tftp $fdt_addr $fdt_name; run get_ramfs
get_ramfs=if test "${ramfs_name}" != "-"; then setenv ramfs_addr 0x3000000; tftp $ramfs_addr $ramfs_name; else setenv ramfs_addr -;fi
hostname=marvell
image_name=Image
initrd_addr=0xa00000
initrd_size=0x2000000
ipaddr=0.0.0.0
kernel_addr=0x2000000
loadaddr=0x2000000
loads_echo=0
netdev=eth0
netmask=255.255.255.0
ramfs_addr=0x3000000
ramfs_name=-
root=root=/dev/nfs rw
rootpath=/srv/nfs/
serverip=0.0.0.0
set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath $extra_params
stderr=serial
stdin=serial
stdout=serial

Environment size: 1084/65532 bytes

Technical specification tables can not be displayed on mobile. Please view on desktop