This is the mail archive of the
mailing list for the eCos project.
RE: about porting ecos in S3C4510B development board
- From: "Hu Ying" <ying_hu at alliedtelesyn dot com>
- To: "'Jonathan Larmour'" <jifl at eCosCentric dot com>
- Cc: "Ecos-Discuss \(E-mail\)" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 12 Feb 2004 18:26:35 +0800
- Subject: RE: [ECOS] about porting ecos in S3C4510B development board
- Reply-to: <ying_hu at alliedtelesyn dot com>
Thanks for your help.Now Redboot is working.
I followed the example on provided in the book "Embedded software
development with eCos", by Anthony J.Massa, P.300
But when I tried to load file using Redboot, I got the following error
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
RAM: 0x00000000-0x02000000, 0x00024628-0x02000000 available
RedBoot> load -v -m ymodem
*** Abort! Attempt to load S-record to address: 0x00020000, which is not in
xyzModem - CRC mode, 1(SOH)/1(STX)/0(CAN) packets, 3 retries
what does cause this problem?
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Thursday, February 12, 2004 9:55 AM
Subject: Re: [ECOS] about porting ecos in S3C4510B development board
Hu Ying wrote:
> Hi Jonathan,
> I understand what you mean by "Worry about the flash only when you've
> got the basic board port brought up. "
> But the board I am using is not the original SNDS100 board, and it just
> contains the FLASH. No other ROM.
Oh sorry, it's socketed flash with no BDM etc. to set up the SDRAM for
loading to RAM? I see what you mean.
> I put the redboot.bin file to the FLASH, starting from 0x0.
> So I think even the Redboot should contain the driver for the FLASH,
> I right?
RedBoot doesn't need the driver for flash unless you want it to be able to
reprogram the flash itself. That's what I meant by worrying about the flash
later. It will obviously need to set up any bus configuration etc. to
_access_ the flash. But a flash driver for reprogramming can be done
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com]On Behalf Of Jonathan
> Sent: Wednesday, February 11, 2004 9:49 PM
> To: firstname.lastname@example.org
> Cc: email@example.com
> Subject: Re: [ECOS] about porting ecos in S3C4510B development board
> Hu Ying wrote:
>>After these I build the Redboot using eCos configuration tool.
>>Forgot to tell you that the data-bus width for the FLASH and SDRAM are all
>>16-bit wide. I think this is different from the SNDS board, where could I
>>change the data-bus width? in the hal_platform_setup.h?
> Almost certainly. hal_platform_setup.h contains most of the board-specific
> parts of an ARM port so you should go through every single line of that
> file. Certainly it has a comment:
> /* Flash is 16 bit, everything else 32 bit */
>>How could I make the Redboot support AM29LV160 FLASH? Does it support
> Worry about the flash only when you've got the basic board port brought
> SDRAM should be set up in hal_platform_setup.h depending on what's needed.
> You can have a look at other ports depending on what you need to do e.g.
> you have to configure the SDRAM from the SPD data, or you may have fixed
> SDRAM and no SPD.
> eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
> Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand
> --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss