1. P2020 download uboot to nor flash ,erase failed,timeout。
thank you,
2. burn address for uboot, is 0XFFF40000 OR 0xEFF40000 ?
#ifndef CONFIG_SYS_TEXT_BASE
//新版SDK 对应UBOOT的实际烧录地址 0xFFF40000 , 原因是 uboot变大到了 768K
#define CONFIG_SYS_TEXT_BASE 0xeff40000
#endif
i want burn uboot to nor flash , which initial tcl file should i use?
does i used the wrong tcl file? what's the difference between P2020RDB-PC_init_core.tcl and P2020RDB-PC_init_sram.tcl,thank you
For custom board bringing up, you could use CodeWarrior initialization file P2020RDB-PC_init_sram.tcl, which configures L2 Cache to SRAM to run flash programming algorithm in SRAM to avoid to use DDR memory.
According to MMU configuration section in P2020RDB-PC_init_sram.tcl, u-boot should be programmed at fff40000.
If you didn't use the same type flash as P2020RDB-PC on your custom board, you need to modify P2020RDB-PC_init_sram.tcl to make it suitable for you custom board.
You need to modify LAW configuration, ORx/BRx configuration in Local Bus memory controller and MMU initialization sections.