How to use the L1 D-Cache as RAM for p2020 board

2021-10-11 Thread Jerry Zhang
Hi, I have to implement a test case on p2020(powerpc) board 1. Fill the all the 32-Kbyte L1 data cache 2. Some ambient operation like temperature changing 3. Check if the data of L1 data cache changes I was told that in the start.S there is a scenario that use L1 D-Cache as initial RAM, https:

[U-Boot] SST39VF1601 flash driver

2009-01-26 Thread Jerry Zhang
hello, all! I am porting u-boot to my board. I found it is difficult for me to write the flash driver ( flash.c) of SST39VF1601 by myself. Has anyone ever written this driver? Would you please give me a guide? Thanks in advance! Jerry.Zhang ___ U-Boo

[U-Boot] General Flash Programming Error

2009-01-19 Thread Jerry Zhang
Hello, u-boot world! I have wrote u-boot (U-Boot 2009.01-rc1 ) into my smdk2410 board. But when i issued protect off all and then setenv command , i got error as following: SMDK2410 # saveenv Saving Environment to Flash... Un-Protected 1 sectors Erasing Flash...Erasing sector 10 ... ok. Erased 1