Hi Ferry,

Ferry de Groot wrote:
The board has already been produced so I'm pretty much stuck with it. I've got one of the more simple application running in the 32-bit mode right now. I'm still working to get DBUG fully running. I'm not fully certain if the SDRAM is initialised the right way, so that'll be the next step. I saw you reply about using the 16-bit DRR-SDRAM in 1,8V, i knew that steriodmicros was going to release this new redesign cause of the obsolete flash memory on the old design. We didn't choos for this option cause of the higher possibility of interferantion with this lower voltage. I would have preferred the 1,8V design, but it wasn't really an option.

Anyway where can I find the system initialisation of the MCF5208 in the uClinux distribution?

In the 2.4 kernel:
linux-2.4.x/arch/m68knommu/platform/5208/M5208EVB/crt0_ram.S
linux-2.4.x/arch/m68knommu/platform/5208/config.c

In 2.6 kernels:
linux-2.6.x/arch/m68knommu/platform/5307/head.S
linux-2.6.x/arch/m68knommu/platform/520x/config.c

But it really doesn't do a lot of system level initialization.
These RAM based setups rely on a boot loader initing the raw
hardware first.

Regards
Greg




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


--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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

Reply via email to