Hi Ferry, > Anyway where can I find the system initialisation of the MCF5208 in the > uClinux distribution?
Much of the initialization is done by dBUG, which then runs uClinux. You should be able to download the dBUG source code from the Freescale website. I believe that uClinux probes the flash to figure out how to interact with it ..provided it is CFI flash. I am not certain about this, though. Bfn, Bob Furber > Ferry de Groot > > >From: "Bob Furber" <[EMAIL PROTECTED]> > >Reply-To: uClinux development list <[email protected]> > >To: "uClinux development list" <[email protected]> > >Subject: RE: [uClinux-dev] Porting DBUG MCF5208 to 32-bits mode > >Date: Mon, 29 Jan 2007 09:21:36 -0800 > > > >Hi Ferry, > > > > > We've just made an board with MCF5208EVB with, 2 x 16 bits > > > K4S641632H SDRAM > > > and 2 x 16 bits S29JL032H Flash memory. Since the evalution > board design > > > : > > > In other words is there an part > > > in the flash memory where its stores the hardware > configuration, such as > > > telling it's running in 32 bits SDRAM mode? Or does the pin > > > DRAMSEL describe this all? > > > >You will have to modify sysinit.c (..\proj\m5208evb\src\sysinit.c on the > >M5208EVB dBUG project) to support your SDRAM. > > > >You will also have to change ..\src\dev\flash\amd_flash.c and > amd_flash.h > >to > >support your flash and in the equivalent of > ..proj\m5208evb\src\m5208evb.h > >you will wnat to change "#define AMD_FLASH_AM29BDD160GB_16BIT" to specify > >your flash. > > > > > DBUG uses several files for programming configuration files the > > > programmer > > > such as the mcf5208.cfg, but these seem to used by the programmer > > > it self. > > > >I am not sure what you mean by "the programmer" > > > > > Some of the linker configuration files flash.lcf and sdram.lcf in > > > 5208_DBUG\dbug\proj\m5208evb\build\mwerks refer to the hardware > > > configuration, but I can't see any reference to 32 bits SDRAM > mode. Do I > > > need to change one of these files to get it running. > > > >I can't speak to MWerks. But, gor GCC you will want to adjust > RAM and flash > >sizes in the equivalent of \proj\m5208evb\build\gnu\flash.ld. > > > > > Ferry de Groot > > > > > > _________________________________________________________________ > > > Windows Live Mail: Kies je eigen kleur, indeling en contacten! > > > http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl > > > > > > _______________________________________________ > > > uClinux-dev mailing list > > > [email protected] > > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > > > This message was resent by [email protected] > > > To unsubscribe see: > > > http://mailman.uclinux.org/mailman/options/uclinux-dev > > > > > > > > >_______________________________________________ > >uClinux-dev mailing list > >[email protected] > >http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > >This message was resent by [email protected] > >To unsubscribe see: > >http://mailman.uclinux.org/mailman/options/uclinux-dev > > _________________________________________________________________ > Profiteer van de nieuwe, fantastische voordelen van Live Mail! > http://imagine-windowslive.com/mail/launch/default.aspx?Locale=nl-nl > > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
