我把 spi flash 模块换成了W25Q128 大部分修改的地方都修改了,当输入 sp probe 0 时 显示 SF: Detected W25Q128 with page size 4 KiB, total 16 MiB ,SD 卡可以正常启动 MLO.byteswap 和 u-boot.bin 烧写的地址分别为 0x0 , 0x20000 ,当以spi flash 启动时
U-Boot SPL 2013.01.01-g2431fc9-dirty (Nov 18 2013 – 17:59:23)
general purpose
timed out in wait_for_pin: I2C_STAT=0
profile ok
board_init_r
boot-common.c spl_board_init
into gpmc_init
gpmc_init
timed out in wait_for_pin: I2C_STAT=0
into am33xx_spl_board_init
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
arch_misc_init
ok spl_board_init
SF: Detected W25Q128 with page size 4 KiB, total 16 MiB
然后就不动了!!
Gary Wu:
你好!SDK06.00.00.00中的u-boot应该烧写在0x80000
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x80000
相比于之前的SDK05.06是在0x20000
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
laughing Zou:
回复 Gary Wu:
我把#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x80000 改成了#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000 还是无法启动
laughing Zou:
回复 Gary Wu:
我也试过写在 0x80000 这个地址但是还是 启动不了