明远智睿技术论坛
标题:
u-boot-2015.04-svn41(20160216).tar.xz 编译出来的Image找不到SPI FLASH
[打印本页]
作者:
85024692
时间:
2017-1-5 11:27
标题:
u-boot-2015.04-svn41(20160216).tar.xz 编译出来的Image找不到SPI FLASH
我购买的是Imx ek314 的开发板,用你们编译好的uboot image可以找到spi flash,下面是正常的uboot打印信息。
U-Boot 2015.04-svn54 (Aug 04 2016 - 15:31:38)
CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 54 C
Reset cause: POR
Board: MYZR i.MX6 Evaluation Kit
Model: MY-IMX6-EK314-6Q-1G
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
但我用下面的命令编译出来的image不能找到spi flash.
我的编译命令是:
make myimx6ek314-6q_config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
烧写我编译出来的image命令后打印信息如下:
U-Boot 2015.04 (Jan 05 2017 - 11:08:39)
CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 53 C
Reset cause: POR
Board: MYZR i.MX6 Evaluation Kit
Model: MY-IMX6-EK314-6Q-1G
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
*** Warning - spi_flash_probe() failed, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x600)
In: serial
Out: serial
Err: serial
Net: using phy at 5
FEC [PRIME]
Warning: FEC MAC addresses don't match:
Address in SROM is 1c:87:76:51:0d:56
Address in environment is 00:01:02:03:04:05
Normal Boot
Hit any key to stop autoboot: 0
=> setenv uboot_file u-boot.imx
=> run update_uboot
Using FEC device
TFTP from server 172.18.11.142; our IP address is 172.18.11.81
Filename 'u-boot.imx'.
Load address: 0x12000000
Loading: ##########################
1.3 MiB/s
done
Bytes transferred = 379904 (5cc00 hex)
SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
SF: 2097152 bytes @ 0x0 Erased: ERROR
SF: 524288 bytes @ 0x400 Written: ERROR
=>
作者:
软件01
时间:
2017-1-5 12:03
你现在用的核心板应该是EK314-RevB版本的。
u-boot-2015.04-svn41(20160216).tar.xz这个不是最新的版本,默认是EK314-V1.0版本的,如果想用EK314-RevB版本,需要打补丁uboot(svn41)支持RevB的修改.patch,在网盘有。
u-boot-2015.04-svn51(20160722).tar.xz这个是最新的版本,默认是EK314-RevB版本,不需要打补丁,直接编译就能用。
欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/)
Powered by Discuz! X3.2