From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Salter To: MynamVS@nsc-msg01.network.com Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] sdram scrubbing and MMU enabling. Date: Fri, 03 Aug 2001 09:55:00 -0000 Message-id: <200108031655.f73GtNs01062@deneb.localdomain> References: X-SW-Source: 2001-08/msg00133.html >>>>> Mynampati, Venkata S writes: > Hi > in hal_platform_setup.h ( iq80310/include), i noticed that we are > enabling MMU and then scrubbing sdram starting from RAM_BASE i.e A0000000. > Now, my doubt is: > since we have mapped the first 4K of RAM to flash, > [ mmu_table_rambase: > // Map 4k page at 0xa0000000 virt --> 0x00000000 physical > // Read-Write, cacheable, non-bufferable ] > does that mean writing a 0x00 to a0000000 is same as writing to flash? > Am i missing something here? No, its a problem. It came up this week on the ARM linux kernel mailing list. I'm working on a fix. --Mark