Have a custom device based on the i.MX6Q processor and have some problem with booting up from SPI-NOR flash.
Using the same file of u-boot.bin burn to SD card,eMMC and SPI-NOR flash.
It can booting up from SD card and eMMC successfully.
But boot up from SPI-NOR flash, when I use the command of "print".
There is no environment variable.
CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 189
Temperature: 31 C, calibration data 0x5a95097d
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: SPI NOR
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
Card did not respond to voltage select!
MMC init failed
In: serial
Out: serial
Err: serial
Found PFUZE100! deviceid=10,revid=11
Net: got MAC address from IIM: 00:04:9f:02:b1:af
FEC0
MX6Q SABRESD U-Boot > print
stdin=serial
stdout=serial
stderr=serial
ethact=FEC0
Environment size: 53/8188 bytes
MX6Q SABRESD U-Boot >
SPI-NOR flash connect to SPI3.The chip select is cs0.
I burn the u-boot image to SPI-NOR flash by MfgTool.
Does someone know what is the problem may be?
Do I need to config the pin of SPI3 no the code of u-boot?
What can I have a try?