xref: /OK3568_Linux_fs/u-boot/board/Marvell/db-88f6820-gp/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunUpdate from original Marvell U-Boot to mainline U-Boot:
2*4882a593Smuzhiyun-------------------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe resulting image including the SPL binary with the
5*4882a593Smuzhiyunfull DDR setup is "u-boot-spl.kwb".
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunTo update the SPI NOR flash, please use the following
8*4882a593Smuzhiyuncommand:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun=> sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-spl.kwb;\
11*4882a593Smuzhiyunsf update 2000000 0 60000
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunNote that the original Marvell U-Boot seems to have
14*4882a593Smuzhiyunproblems with the "sf update" command. This does not
15*4882a593Smuzhiyunwork reliable. So here this command should be used:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun=> sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-spl.kwb;\
18*4882a593Smuzhiyunsf erase 0 60000;sf write 2000000 0 60000
19