Copying U-boot from RAM to FLASH

cancel
Showing results for 
Search instead for 
Did you mean: 

Copying U-boot from RAM to FLASH

Jump to solution
1,003 Views
vladimirovseych
Contributor III

Hello, Dear Everyone!

Could you explain the way to copy U-Boot, loaded with MFG Tools / Mxsldr into the RAM, to NAND flash?

Thank you very much!

Labels (1)
Tags (2)
0 Kudos
1 Solution
409 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Vladimir

MFG Tools / Mxsldr use different appraches, for MFG Tools one

can look at commands in ucl.xml file

Programmers (Flash, etc.) (5)

IMX_MFG_TOOL

http://www.nxp.com/products/interface-and-connectivity/interface-and-system-management/switch-monito...

for Mxsldr:

http://www.denx-cs.de/doku/?q=m28evkusbdownloader

http://www.denx.de/wiki/view/DULG/Manual?stickboard=m28evk

Best regards

igor

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

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

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

View solution in original post

0 Kudos
2 Replies
410 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Vladimir

MFG Tools / Mxsldr use different appraches, for MFG Tools one

can look at commands in ucl.xml file

Programmers (Flash, etc.) (5)

IMX_MFG_TOOL

http://www.nxp.com/products/interface-and-connectivity/interface-and-system-management/switch-monito...

for Mxsldr:

http://www.denx-cs.de/doku/?q=m28evkusbdownloader

http://www.denx.de/wiki/view/DULG/Manual?stickboard=m28evk

Best regards

igor

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

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

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

0 Kudos
409 Views
vladimirovseych
Contributor III

As I understood it can be made by "nand write ... ". But how can I find out addresses and size of u-boot to copy?

My bootloader size is 3m (0x300000). So what should I write?

nand erase 0x0 0x300000

nand write 0x0 ??? 0x300000

0 Kudos