From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24223 invoked by alias); 15 Aug 2005 02:56:24 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 24204 invoked by uid 22791); 15 Aug 2005 02:56:19 -0000 Received: from h73-210-66-39.seed.net.tw (HELO mail.syncom.com.tw) (210.66.39.73) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 15 Aug 2005 02:56:19 +0000 Received: from mychat037aeabb (asky.syncom.com.tw [192.168.1.103]) (authenticated bits=0) by mail.syncom.com.tw (8.12.8/8.9.2) with ESMTP id j7F2tlHN021496; Mon, 15 Aug 2005 10:55:55 +0800 Message-ID: <000c01c5a144$d725e480$6905a8c0@mychat037aeabb> From: "Jiun-Shian Ho" To: "Wolfgang Kobler" Cc: Date: Mon, 15 Aug 2005 02:56:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="big5"; reply-type=original Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] ecos porting for Atmel AT91RM9200-DK X-SW-Source: 2005-08/txt/msg00142.txt.bz2 Hi, Good news. (Another bad news is that my hard-disk go on strike, all data are crash) The RomBoot from atmel is 1.02 and I compiled it with ADS 1.2 http://www.at91.com/Pages/products/EvaluationBoard/AT91RM9200EK/other/AT91RM9200-DataFlashBoot.zip I just modify the the last sources/main.c:AT91F_StartBoot() Skip copy/check and jump to proper location of redboot (ROM). The PLL is configured by sources/main.c:AT91F_SetPLL() I tried to reset it in hal_hw_init() of ecos, but do not work fine. I need to check errata. I will not use serial flash in my design, but only parallel flash. The datasheed said it will check the 6th vector (0x14) as length of bootloader, and copy it to sram then run it ?! However, the 6th vector is zero, and do you know how to let it work ? Because I think it's too burdensome to use 2 boot-loader. I do not get timeout problems. Maybe you can check the configuration of PHY, and disable or replace hw_delay_us() 2005/8/13, Wolfgang Kobler : > Hi, > > I succeeded in compiling and running redboot on my lomx-board with an > additional AT45DB041B Dataflash. > I had to modify my atmel bootloader so it > - supports my small dataflash device, > (quite simple, changes available at request if someone is interested) > - loads redboot at the correct address (0x20001000), > (I corrected this value and suddenly it just worked) > - and uses the correct PLL settings, but now it works. > (you get funny characters on the serial console if the clock settings > are not correct and you try to boot linux.) > > I used the gcc version of the atmel bootloader (from teest.com, version > 1.01). > You seem to use version 1.02 of the bootloader. Do you use the ADS > compiler > or is there also a gcc version of it ? (I use the ecos gcc for the > bootloader, too.) > > I also noticed that the default frequency setting in redboot is at 184MHz. > (CYGNUM_HAL_ARM_AT91RM9200_CPU_CLOCK). I thought the CPU would always run > at > 180MHz ? At least the current AT91RM9200 errata (page 2) says the PLL is > limited to 180MHz. > > I get some timeouts when I use tftp when downloading big files, but not > too > many. > > I can not boot the linux delivered with my board, as this uses a ramdisk > and thus would require the redboot exec command. I can run it via "go", > but of > course then I get a kernel panic. But this is not a problem to me as I do > not > want to use linux here anyway. > > > Bye, > Wolfgang > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss