We're still having problems... Is there anywhere else in the code that I need to be looking?
On Thu, 06 Dec 2007 15:29:22 +1000, "Hasjim Williams" <[EMAIL PROTECTED]> said: > I think I found the problem (which was MMU related): > > --- packages/hal/arm/arm9/ep93xx/current/include/hal_platform_setup.h > +++ packages/hal/arm/arm9/ep93xx/current/include/hal_platform_setup.h > @@ -494,20 +494,20 @@ > // > // Create a read-write mapping of FLASH at virtual address > 0x6000_0000. > // > add r1, r0, #0x00001800 > #if defined(HAL_PLATFORM_EP9301) || defined(HAL_PLATFORM_EP9302) > mov r2, #0x00000040 > #else > // If you are using a Flash size of 64MB you need this value here > - // mov r2, #0x00000100 // 64MB > - mov r2, #0x00000080 // 32MB > + mov r2, #0x00000100 // 64MB > + // mov r2, #0x00000080 // 32MB > #endif > orr r3, r12, #0x00000012 > orr r3, r3, #0x00000c00 > map_flash_6: > str r3, [r1], #4 > add r3, r3, #0x00100000 > subs r2, r2, #4 > bne map_flash_6 > > Thanks for your help... Just didn't know where to look in redboot > source. > > On Thu, 6 Dec 2007 05:29:02 +0100, "Manfred Gruber" <[EMAIL PROTECTED]> > said: > > hi ! > > > > i have worked for a company where ep93xx and spansion flashes are used, > > please > > look at http://dev.contec.at, there i have made a redboot bootloader > > which > > can handle such flashes, but i have used flash_v2 branche, so it will not > > help u. > > > > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400; > > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400; > > > > this things i have only seen if the mmu is set up wrong, so maybe it > > helps > > check your mmu settings in redboot. maybe the 512 chip adresses obverlap > > somewhere... > > > > regards manfred > > mfg > > Manfred Gruber > > Software Engineering > > [EMAIL PROTECTED] > > http://www.manfred-gruber.at.tt > > http://www.myspace.com/fredl_grma > > > > Am Thursday 06 December 2007 schrieb Hasjim Williams: > > > Hello everyone, > > > > > > I'm having problems getting my ARM920T based EP9315 board to work with > > > 64MB flash. We have 64MB of RAM onboard. We previously had S29GL128N > > > and S29GL256N parts on the board, and haven't been able to get Redboot > > > to boot up correctly with the S29GL512N. It works fine with the > > > S29GL256N or S29GL128N still. > > > > > > As soon as it boots up, it spits out this error message, constantly: > > > > > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400; > > > #dd$T0a0f:f06a0100;0d:f07e0400;#dd$T0a0f:f06a0100;0d:f07e0400; > > > > > > Can anyone suggest anything that I'm missing: > > > > > > packages/devs/flash/arm/edb9312/current/cdl/flash_edb9312_a_amd.cdl: > > > > > > requires CYGHWR_DEVS_FLASH_AMD_S29GL128N > > > requires CYGHWR_DEVS_FLASH_AMD_S29GL256N > > > requires CYGHWR_DEVS_FLASH_AMD_S29GL512N > > > > > > packages/hal/arm/arm9/ep93xx/current/include/conf/mlt_arm9_edb9315a_romram. > > >ldi: > > > > > > MEMORY > > > { > > > ram : ORIGIN = 0, LENGTH = 0x10000000 > > > rom : ORIGIN = 0x60000000, LENGTH = 0x8000000 > > > } > > > > > > packages/hal/arm/arm9/ep93xx/current/include/conf/mlt_arm9_edb9315a_romram. > > >h: > > > > > > #define CYGMEM_REGION_rom (0x60000000) > > > #define CYGMEM_REGION_rom_SIZE (0x8000000) > > > #define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R) > > > > > > Thanks for any suggestions, > > > > > > > > > Hasjim Williams