flashing to SPANSION flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flashing to SPANSION flash

2,001 Views
saida
Contributor II

hi

I.mx community

i have downloaded new u-boot-2015-01 and configured for mx6dlsabresd_defconfig  to my custom board and debugging with ARM DS-5 its working fine

but sabresd development board doesn't have NOR LASH(spansion29jl064h), from u-boot i have seen flsah related commnads. my idea is erase flash,load u-boot.imx in to ddr than copy to flash using cp command in u-boot

is this works ? , am i doing correct or not

plz can any one ca help me in this regard

thank you

Labels (1)
0 Kudos
3 Replies

1,799 Views
igorpadykov
NXP Employee
NXP Employee

Hi saida

flashing parallel nor is supported on Sabre AI board, please refer to

attached Linux Guide sect.4.4.1.4 Flashing U-Boot on Parallel NOR from U-Boot

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,798 Views
saida
Contributor II

Hi igorpadykov

I'm my custom board I don't have SD card but I am booting from ds5(loading in DDR and running from it) prompt is coming in hyper terminal

Ai board supports nor flash I have seen it but can I do this like flash related #defines I will copy from mx6dlsabreai.h file and put into mx6dlsabresd.h and than run now will it work for flashing u-boot one more thing I want to mention that sabre ai board have atmel flash I think but mine is spansion

I am facing problems with eim bus

Like address 0  to 14 is coming when CS comes,address 15 is always high but when CS comes it becomes low and address 16 to25 are fixed according to my address there are not changing with cs, I am veryfieng in scope with arm ds5 ice. I am doing all pads configuration also.

I am little bit confusing with eim address bus in shifting and non shifting mode (AUS bit) can you explain if I set unshift mode and DSZ is 1,2,3 than how address appears on bus for each setting

In this regard your support is very helpful to me

0 Kudos

1,798 Views
igorpadykov
NXP Employee
NXP Employee

Hi saida

one can test eim with nor using SDK eim_test.c

"MX6_PLATFORM_SDK "

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeId=018rH3ZrDRB24A&fpsp=1&t...

for spansion flash one will have to modify sources and add its ID check.

Reagrding AUS bit, it may be recommended to use default (shift) mode, use

connections given on Sabre AI schematic

"I.MX6_SABRE_AI_DESIGNFILES"

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREAUTO&fpsp=1&tab=Design_Too...

Best regards

igor

0 Kudos