arm: socfpga: Fix QSPI doesn't work on socdk board
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 arm: socfpga: Fix QSPI doesn't work on socdk board
Quoted 148 lines · ?? ?
On Dec 22, 2015, at 05:22 PM, ?? ? <[email protected]> wrote:
On Dec 22, 2015, at 12:33 PM, Marek Vasut <[email protected]> wrote:
On Tuesday, December 22, 2015 at 09:19:16 PM, Marek Vasut wrote:
Quoted 10 lines · shengjiangwu
Updated pinmux group MIXED1IO[15-20] for QSPI. Updated QSPI clock.
Signed-off-by shengjiangwu <[email protected]>Cc Chin Liang See <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Pavel Machek <[email protected]>Cc Marek Vasut <[email protected]>Cc Stefan Roese <[email protected]>Applied, thanks.
I will push your patches to [1] in a few hours, can you try and see if the CV SOCDK works fine for you? Thanks
[1] http://git.denx.de/?p=u-boot/u-boot-
socfpga.git;a=shortlog;h=refs/heads/masterPushed. Please let me know how SoCDK works for you now and if there are still some problems.
Best regards,
Marek VasutHi Marek,
Thank you for your help, I tested the master branch, emac1 and QSPI works. Below is log.
Best Regards,
ShengjiangWu=> reset
resetting ...U-Boot SPL 2016.01-rc2-09121-gc339ea5 (Dec 23 2015 - 09:13:52)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibrationdrivers/ddr/altera/sequencer.c: CALIBRATION PASSEDdrivers/ddr/altera/sequencer.c: Calibration complete Trying to boot from MMCU-Boot 2016.01-rc2-09121-gc339ea5 (Dec 23 2015 - 09:13:52 +0800)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version0x0
BOOT: SD/MMC External Transceiver (1.8V)
Watchdog enabled
I2C: ready
DRAM: 1 GiB
MMC: dwmmc0 atff704000: 0
*** Warning - bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Model: Altera SOCFPGA Cyclone V SoC Development Kit Net:
Error: ethernet atff702000address not set. No ethernet found.
Hit any key to stop autoboot: 0
=> env default -a
## Resetting to default environment
=> setenv netmask 255.255.254.0
=> setenv gatewayip 128.224.98.1
=> setenv ipaddr 128.224.98.85
=> setenv serverip 128.224.99.137
=> setenv ethaddr 00:04:9f:13:57:b4
=> saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
=> reset
resetting ...U-Boot SPL 2016.01-rc2-09121-gc339ea5 (Dec 23 2015 - 09:13:52)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibrationdrivers/ddr/altera/sequencer.c: CALIBRATION PASSEDdrivers/ddr/altera/sequencer.c: Calibration complete Trying to boot from MMCU-Boot 2016.01-rc2-09121-gc339ea5 (Dec 23 2015 - 09:13:52 +0800)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version0x0
BOOT: SD/MMC External Transceiver (1.8V)
Watchdog enabled
I2C: ready
DRAM: 1 GiB
MMC: dwmmc0 atff704000: 0
In: serial
Out: serial
Err: serial
Model: Altera SOCFPGA Cyclone V SoC Development Kit
Net: eth0: ethernet atff702000
Hit any key to stop autoboot: 0
=> tftp0x8000000/tftpboot/altera/uVxWorks
Speed: 100, full duplex
Using ethernet atff702000device
TFTP from server 128.224.99.137; our IP address is 128.224.98.85 Filename '/tftpboot/altera/uVxWorks'.
Load address:0x8000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################################
3.3 MiB/s
done
Bytes transferred = 6418496 (61f040 hex)
=> sf probe
SF: Detected N25Q1024 with page size 256 Bytes, erase size 64 KiB, total 128 MiB => sf read0x700000000x60000
device 0 offset0x0, size0x60000
SF: 393216 bytes @0x0Read: OK
=> md0x7000000
07000000:ea00001ae59ff014e59ff014e59ff014................ 07000010:e59ff014e59ff014e59ff014e59ff014................ 07000020:ffff0020ffff0024ffff0028ffff002c...$...(...,... 07000030:ffff0030ffff0100ffff003812345678 0.......8...xV4. 07000040: 313053412e16000001390000ea000007AS01......9..... 07000050: 010000400000b8540000b8540000b900@...T...T....... 07000060:0000b8540badc0de0badc0de0badc0deT............... 07000070:eb000040e10f0000e3c0001fe38000d3@............... 07000080:e129f000ee110f10e3c00a02ee010f10..)............. 07000090:e59f00a8ee0c0f10eb000008eb000015................070000a0:eb000690ee070f15ee070f9aee070f95................070000b0:e59f0088ee0c0f10e12fff1ee12fff1e........../.../.070000c0:e3a00000ee080f17ee070f15ee070fd5................070000d0:ee070f9aee070f95ee110f10e3c00a02................070000e0:e3c00007e3800002e3800b02e3800a01................070000f0:ee010f10e1a0f00eea000018e320f000.............. . =>
Quoted 1 line
BTW, I tested on master branch of u-boot-socfpga, not SoCDK.
Oh yeah, CV socdk is the abbreviation for "cyclone v soc development kit".
btw can you please fix your mailer so it adds ">" before the quoted text?