From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5261 invoked by alias); 16 Oct 2005 21:21:09 -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 5178 invoked by uid 22791); 16 Oct 2005 21:21:04 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 16 Oct 2005 21:21:04 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1ERFt9-0001r6-00; Sun, 16 Oct 2005 23:17:51 +0200 Date: Sun, 16 Oct 2005 21:21:00 -0000 To: Ali Sina Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20051016211751.GA7087@lunn.ch> Mail-Followup-To: Ali Sina , ecos-discuss@ecos.sourceware.org References: <20050928085827.GU28077@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 From: Andrew Lunn Subject: Re: [ECOS] Porting eCos / Redboot / Memory map modifications / E7T X-SW-Source: 2005-10/txt/msg00112.txt.bz2 On Sun, Oct 16, 2005 at 08:46:53PM +0000, Ali Sina wrote: > Thanks Andrew, > we finally got the memory recognized by properly modifying the 3 files. > Indeed, modification of hal_platform_setup.h was necessary. > > Now the next two questions arise: > > 1. I would like to make Redboot the only bootloader on the system and get > rid of the ARM BSL. Can this be done reasonably easy on the E7T? > I understand that Redboot needs to be told to start at 0x01800000 instead > of 0x01820000. I have proceeded along the instructions provided here-> > http://www.kozio.com/technology/tech_briefs/ChangingRedBootsStartingAddress/ > and put the RB binary in the flash via Wiggler, but the image will not > boot. Am I missing something? The code for the eCos E7T in the repository has RedBoot as the only boot loader. So you might want to compare your code with the E7T code and see what is different.... > 2. It seems that upon start Redboot is doing _something_ on UART0 of the > E7T platform - which is the user UART, while UART1 is used for console > communication /debug. This is a problem because the application assumes > external equipment to be attached to UART0 and whatever is send out of > UART0 by Redboot causes the external equipment (which we cannot change or > control) to crash. > Also, UART1 is assumed to be used for communication purposes, and the roles > cannot be switched because of the way our hardware is built. > After some investigation I concluded that this _something_ might be Redboot > trying to find a channel to use for console communication. Looking briefly > at the RB source I did not see anything right away. Any ideas of how to fix > this? If you look in packages/hal/arm/e7t/current/src/hal_diag.c you will see it defines two e7t_ser_channels. One is for UART0 and the other is for UART1. Try disabling UART0. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss