AnsweredAssumed Answered

i.MX6Q uboot boot from SATA

Question asked by William Liu on Dec 10, 2014
Latest reply on Dec 10, 2014 by igorpadykov

Hi:

        I use i.MX6 Series SABRE,   u-boot-2009.08,linux-3.0.35

 

        I had modified mx6q_sabresd.h in uboot:

              #define CONFIG_CMD_SATA

 

             #undef CONFIG_FSL_ENV_IN_MMC

             #define CONFIG_FSL_ENV_IN_SATA

 

       after uboot boot,printf:

 

U-Boot 2009.08 (Dec 10 2014 - 15:15:43)

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 181

Temperature:   31 C, calibration data 0x5794cd7d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 264000000Hz

emi_slow clock: 132000000Hz

ddr clock     : 528000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]

Boot Device: SATA

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

flags: ncq stag pm led clo only pmp pio slum part

No port device detected!

In:    serial

Out:   serial

Err:   serial

Found PFUZE100! deviceid=10,revid=11

Net:   got MAC address from IIM: 00:04:9f:03:77:d5

FEC

MX6Q SABRESD U-Boot > printenv

stdin=serial

stdout=serial

stderr=serial

ethact=FEC0

 

Environment size: 53/8188 bytes

 

It's wrong use SATA in-uboot, but I had tested mount filesystem on SATA in Linux.

 

WhereI need modify in u-boot?

 

Best Regards,

Outcomes