[U-Boot] uboot mips cpu flash memory map 0x1F000000 or 0xBF000000

2013-05-07 Thread RdrouterUboot Router
Hi All, Uboot works.Flash size is 4Mbyte.SDRAM is 32Mbyte.Its actually memory map is: 0xBF00 - 0xBF3F . But MIPS CPU datasheet say: flasy memory map is:0x1F00 - 0x1FFF . Datasheet is wrong? or flash memory map can be changed by some rules?And What is the rule? Uboot version: v1.

[U-Boot] ralink RT3052 5X flash memory map

2013-11-28 Thread RdrouterUboot Router
Hi All, Uboot works.Flash size is 4Mbyte.SDRAM is 32Mbyte.Flash memory map is: 0xBF00 - 0xBF3F . But MIPS CPU datasheet say: flasy memory map is:0x1F00 - 0x1FFF . Datasheet is wrong? or flash memory map can be changed by some rules?And What is the rule? Uboot version: v1.1.3; MI

[U-Boot] Is it necessary that uboot(mips) should read status register($12) before setting it

2011-09-28 Thread RdrouterUboot Router
Hi all, MIPS Uboot works OK.Part of the code is as below. And my questions: 1.read status register($12) and save value to $10,but don't use the value in $10 to do anything. Because uboot overwrite $10. 2.Is it right?I can delete this code "mfc0 $10,$12" from uboot. Thanks. Bruce # Initialize