Stefan Roese | 5caab19 | 2015-03-25 13:35:15 +0100 | [diff] [blame] | 1 | Update from original Marvell U-Boot to mainline U-Boot: |
| 2 | ------------------------------------------------------- |
| 3 | |
| 4 | The resulting image including the SPL binary with the |
Pali Rohár | df71c31 | 2022-11-02 18:51:28 +0100 | [diff] [blame] | 5 | full DDR setup is "u-boot-with-spl.kwb". |
Stefan Roese | 5caab19 | 2015-03-25 13:35:15 +0100 | [diff] [blame] | 6 | |
| 7 | To update the SPI NOR flash, please use the following |
| 8 | command: |
| 9 | |
Pali Rohár | df71c31 | 2022-11-02 18:51:28 +0100 | [diff] [blame] | 10 | => sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-with-spl.kwb;\ |
Stefan Roese | 5caab19 | 2015-03-25 13:35:15 +0100 | [diff] [blame] | 11 | sf update 2000000 0 60000 |
| 12 | |
| 13 | Note that the original Marvell U-Boot seems to have |
| 14 | problems with the "sf update" command. This does not |
| 15 | work reliable. So here this command should be used: |
| 16 | |
Pali Rohár | df71c31 | 2022-11-02 18:51:28 +0100 | [diff] [blame] | 17 | => sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-with-spl.kwb;\ |
Stefan Roese | 5caab19 | 2015-03-25 13:35:15 +0100 | [diff] [blame] | 18 | sf erase 0 60000;sf write 2000000 0 60000 |