From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 927 invoked by alias); 21 Oct 2003 14:39:06 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 895 invoked from network); 21 Oct 2003 14:39:03 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by sources.redhat.com with SMTP; 21 Oct 2003 14:39:03 -0000 Received: (qmail 27880 invoked by uid 0); 21 Oct 2003 14:39:01 -0000 Received: from 80.134.42.155 by www31.gmx.net with HTTP; Tue, 21 Oct 2003 16:39:00 +0200 (MEST) Date: Tue, 21 Oct 2003 14:39:00 -0000 From: "Roman Jordan" To: Jay Bennie Cc: ecos-discuss@sources.redhat.com MIME-Version: 1.0 References: <1066743305.13667.35.camel@blade> X-Priority: 3 (Normal) X-Authenticated: #532004 Message-ID: <30569.1066747140@www31.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Re: [ECOS] Loading the rom on an AT91EB40A X-SW-Source: 2003-10/txt/msg00363.txt.bz2 Hi, yes, you have to give the localtion of the file you want to download. The command load -m ymodem -b %{FREEMEMLO} brings RedBoot in download mode. The download has to be started using minicom (key CTRL-a s). Select ymodem and select the file. You can watch the progress. After the download is complete, you can burn the image into flash. Greetings, Roman Jordan > Hi, > > after days of digging, I'm starting to get the hang of eCos and embedded > development in general. > > Anyway to describe the setup. > > I have a standard AT91EB40A(Ver 1.0 Rev 0) Eval board from Atmel. > Flash is a AT49BV1614A > > so far - after many wrong turns i have the following > > ecos-2.0 installed to /opt/ecos as installed by the scripts > cvs is current (21st October 2003) and located in /opt/ecos/cvs/ecos > > i have modified /opt/ecos/ecosenv.sh to point to the cvs Package > repository > > Then in my home directory i have ecos/ram and ecos/rom > > to build the file redboot.elf (Ram version) > > i run the following commands: > $ cd ram > $ ecosconfig new eb40a redboot > $ ecosconfig import > /opt/ecos/cvs/ecos/ecos/packages/hal/arm/at91/eb40a/current/misc/redboot_RAM.ecm > $ ecosconfig tree > $ make > > to build the ROM files > > $ cd ../rom > $ ecosconfig new eb40a redboot > $ ecosconfig import > /opt/ecos/cvs/ecos/ecos/packages/hal/arm/at91/eb40a/current/misc/redboot_ROM.ecm > $ ecosconfig tree > $ make > > then return to ram/install/bin > and type > $ arm-elf-gdb redboot.elf > > > tar rdi s=/dev/ttyS0 > set $cpsr=0xd3 > load > > cont > > > < now open minicom > > $ minicom > > // ================================ Start of paste =============== > > RedBoot> AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 > ** Error: Illegal command: "AT" > RedBoot> version > > > RedBoot(tm) bootstrap and debug environment [RAM] > Non-certified release, version UNKNOWN - built 13:41:16, Oct 21 2003 > > > Platform: Atmel AT91/EB40A (ARM7TDMI) > Copyright (C) 2000, 2001, 2002, Red Hat, Inc. > > > RAM: 0x00000000-0x00040000, [0x0001ff88-0x0003f000] available > FLASH: 0x01000000 - 0x01200000, 32 blocks of 0x00010000 bytes each. > RedBoot> load -m ymodem -b %{FREEMEMLO} > CCCCCCCCC...........Can't load '': Timed out > RedBoot> > > > // ================================ End of paste =============== > > I have to say i don't follow what this is doing, i assumed that i would > need to specify the loactaion of the rom file > /home/jbennie/ecos/rom/install/bin/redboot.srec but from the help for > the AT91 this does not appear to be the case. I now assume that the ram > image is dumped from memory into the flash using the next command > > e.g. RedBoot> fi wr -f 0x01100000 -b %{FREEMEMLO} -l 0x010000 > > - I also noted that there are differences between my memory map and that > published in the help > > http://sources.redhat.com/ecos/docs-latest/ref/at91.html > > Anyway, given that I'm new to all of this any help would be appreciated > and if anyone has any specific advice on the eb40a I'd appreciate a > quick email as i need to compile as much of this information into an > eCos for the eb40a FAQ/mini-HOWTO, it will help the other people i'm > working with get up to speed and hopefully be of some use to the > community as well. > > Regards > Jay > > --------------------------------------- > lincore information systems limited > mob:07976 300036 > eml:jay@lincore.com | jay@lincore.co.uk > --------------------------------------- > > > > > > > > -- > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos > and search the list archive: http://sources.redhat.com/ml/ecos-discuss > -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss