Home Forum Getting Started Dropping ack during bubt Reply To: Dropping ack during bubt

#435
nanasi
Participant

My example(from SD/eMMC to SPI-NOR).


BootROM - 2.03
Starting CP-1 IOROM 1.07
Booting from SPI NOR flash 1 (0x32)
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  9 2017 - 12:02:05)
mv_ddr: completed successfully
Booting Trusted Firmware
BL1: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
BL1: Built : 12:02:06, Mar  9 2017
NOTICE:  BL1: Booting BL2
lNOTICE:  BL2: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
NOTICE:  BL2: Built : 12:02:06, Mar  9 2017
NOTICE:  BL1: Booting BL31
lNOTICE:  BL31: v1.2(release):armada-17.02.0:2017.02-218-g1558a93
NOTICE:  BL31: Built : 12:02:06, Mar  9 2017
l

U-Boot 2015.01-armada-17.02.0 (Mar 09 2017 - 12:01:25)

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
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

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 [PRIME], 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, egiga3
Error: egiga3 address not set.

Hit any key to stop autoboot:  3
Marvell>> v

U-Boot 2015.01-armada-17.02.0 (Mar 09 2017 - 12:01:25)
aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2017.05-git-00218-g1558a93) 5.4.0
GNU ld (GNU Binutils) 2.26.1
Marvell>> mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     4096            258048          8630c597-01     0e
  2     262144          15007744        8630c597-02     83
Marvell>> mmc dev 0:1
switch to partitions #0, OK
mmc0(part 0) is current device
Marvell>> help fatls
fatls - list files in a directory (default /)

Usage:
fatls <interface> [<dev[:part]>] [directory]
    - list files from 'dev' on 'interface' in a 'directory'
Marvell>> fatls mmc 0:1 /
    35155   armada-8040-mcbin.dtb
 12698624   image
   920264   bootloader-2015.01-armada-17.02.0.bin
   920952   uboot-stock-spi.bin
 12687360   image.org
    33736   armada-8040-mcbin.dtb.org
 12689408   image-4.4.52-armada-17.06.2-gcaa3a4f-dirty
    35004   armada-8040-mcbin-4.4.52-armada-17.06.2.dtb
 12698624   image-4.4.52-armada-17.08.1+
   947356   bootloader-2015.01-devel-17.04.1-gf964c08-dirty

10 file(s), 0 dir(s)

Marvell>> fatls mmc 1:1 /
 12689408   image
    35004   armada-8040-mcbin-4.4.52-armada-17.06.2.dtb
    33736   armada-8040-mcbin.dtb.org
   920264   bootloader-2015.01-armada-17.02.0.bin
    35012   armada-8040-mcbin-armada-17.06.2.dtb
    35012   armada-8040-mcbin.dtb
 12689408   image-4.4.52-armada-17.06.2-gcaa3a4f-dirty
 12687360   image.org
      994   setenv.ub

9 file(s), 0 dir(s)

Marvell>> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
Marvell>> mmc info
Device: XENON-SDHCI
Manufacturer ID: 15
OEM: 100
Name: 8GME4
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 8-bit

Marvell>> mmc dev 1
switch to partitions #0, OK
mmc1 is current device
Marvell>> mmc info
Device: XENON-SDHCI
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit

Marvell>> sf probe 0
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Marvell>> sf erase 0 100000
SF: 1048576 bytes @ 0x0 Erased: OK
Marvell>> printenv loadaddr
loadaddr=0x2000000
Marvell>> fatload
fatload - load binary file from a dos filesystem

Usage:
fatload <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
    - Load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from dos filesystem.
      'pos' gives the file position to start loading from.
      If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'.
      'bytes' gives the size to load. If 'bytes' is 0 or omitted,
      the load stops on end of file.
      If either 'pos' or 'bytes' are not aligned to
      ARCH_DMA_MINALIGN then a misaligned buffer warning will
      be printed and performance will suffer for the load.

Marvell>> fatload mmc 0:1 $loadaddr bootloader-2015.01-devel-17.04.1-gf964c08-dirty
reading bootloader-2015.01-devel-17.04.1-gf964c08-dirty
947356 bytes read in 175 ms (5.2 MiB/s)
Marvell>> echo $filesize
e749c
Marvell>> sf write  $loadaddr 0 $filesize
SF: 947356 bytes @ 0x0 Written: OK
Marvell>> reset
resetting ...

BootROM - 2.03
Starting CP-1 IOROM 1.07
Booting from SPI NOR flash 1 (0x32)
Found valid image at boot postion 0x000
lNOTICE:  Starting binary extension
NOTICE:  Gathering DRAM information
mv_ddr: mv_ddr-devel-17.04.0-gf0fda76 (Jun  6 2017 - 15:19:54)
mv_ddr: completed successfully
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):devel-17.04.0:80316c8
NOTICE:  BL1: Built : 15:20:05, Jun  6 2017
NOTICE:  BL1: Booting BL2
lNOTICE:  BL2: v1.3(release):devel-17.04.0:80316c8
NOTICE:  BL2: Built : 15:20:07, Jun  6 2017
BL2: Initiating SCP_BL2 transfer to SCP
NOTICE:  Load image to AP MSS
NOTICE:  Loading MSS image from address 0x4023000 Size 0x559c to MSS at 0xf0580000
NOTICE:  Done
NOTICE:  BL1: Booting BL31
lNOTICE:  BL31: v1.3(release):devel-17.04.0:80316c8
NOTICE:  BL31: Built : 15:20:11, Jun  6 2017
l

U-Boot 2015.01-devel-17.04.1-gf964c08-dirty (Jun 06 2017 - 13:54:30)

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: SFI
Comphy-5: SATA1
Comphy chip #1:
Comphy-0: SGMII1        1.25 Gbps
Comphy-1: SATA0
Comphy-2: USB3_HOST0
Comphy-3: SATA1
Comphy-4: SFI
Comphy-5: SGMII2        1.25 Gbps

ERROR: UTMI PHY port type is invalid

at /mnt/sda/marvell/u-boot-marvell/drivers/phy/comphy_cp110.c:1760/comphy_dedicated_phys_init()

ERROR: UTMI PHY port type is invalid

at /mnt/sda/marvell/u-boot-marvell/drivers/phy/comphy_cp110.c:1760/comphy_dedicated_phys_init()

ERROR: UTMI PHY port type is invalid

at /mnt/sda/marvell/u-boot-marvell/drivers/phy/comphy_cp110.c:1760/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
SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB
*** Warning - bad CRC, using default environment

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 [PRIME], 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, egiga3
Error: egiga3 address not set.

Hit any key to stop autoboot:  3
Marvell>> v

U-Boot 2015.01-devel-17.04.1-gf964c08-dirty (Jun 06 2017 - 13:54:30)
aarch64-linux-gnu-gcc (Debian/Linaro 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.28
Marvell>>

Simple document is here.
bubt.txt

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