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

Hi All,
Uboot works.Flash size is 4Mbyte.SDRAM is 32Mbyte.Flash memory map is: 0xBF00 0000 - 0xBF3F FFFF. But MIPS CPU datasheet say: flasy memory map is:0x1F00 0000 - 0x1FFF FFFF. Datasheet is wrong? or flash memory map can be changed by some rules?And What is the rule?
Uboot version: v1.1.3; MIPS CPU: Ralink RT3052;
RT3052 datasheet Memory Map say: Start address end address Size 1F00.0000 - 1FFF.FFFF 16MB(flash) Description When BOOT_FROM = 2’b00,up-to 16MB external 16-bit flash is mapped. When BOOT_FROM = 2’b01, up-to 8MB external 8-bit flash is mapped.
Thanks.

Hi,
No it's not wrong. You should use CKSEG1ADDR() to access that address. KSEG1 is an unmapped uncached address space on physical memory. So, CKSEG1ADDR(1F000000) is basically 0xBF000000.
Regard, Nikolaos Pasaloukos
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot- bounces@lists.denx.de] On Behalf Of RdrouterUboot Router Sent: 28 November 2013 13:06 To: u-boot@lists.denx.de Subject: [U-Boot] ralink RT3052 5X flash memory map
Hi All,
Uboot works.Flash size is 4Mbyte.SDRAM is 32Mbyte.Flash memory map is: 0xBF00 0000 - 0xBF3F FFFF. But MIPS CPU datasheet say: flasy memory map is:0x1F00 0000 - 0x1FFF FFFF. Datasheet is wrong? or flash memory map can be changed by some rules?And What is the rule?
Uboot version: v1.1.3; MIPS CPU: Ralink RT3052;
RT3052 datasheet Memory Map say: Start address end address Size 1F00.0000 - 1FFF.FFFF 16MB(flash) Description When BOOT_FROM = 2'b00,up-to 16MB external 16-bit flash is mapped. When BOOT_FROM = 2'b01, up-to 8MB external 8-bit flash is mapped.
Thanks.
participants (2)
-
Nikolaos Pasaloukos
-
RdrouterUboot Router