From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4345 invoked by alias); 9 Jun 2009 13:44:13 -0000 Received: (qmail 4335 invoked by uid 22791); 9 Jun 2009 13:44:13 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hermes.mlbassoc.com (HELO mail.chez-thomas.org) (76.76.67.137) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Jun 2009 13:44:04 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 65DD13B526F8; Tue, 9 Jun 2009 07:44:01 -0600 (MDT) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id F0C4D3B526F4; Tue, 9 Jun 2009 07:44:00 -0600 (MDT) Message-ID: <4A2E6720.6000902@mlbassoc.com> Date: Tue, 09 Jun 2009 13:44:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: gilles.bulthe@phelma.grenoble-inp.fr CC: ecos-discuss@ecos.sourceware.org References: <20090609132211.M25721@phelma.grenoble-inp.fr> In-Reply-To: <20090609132211.M25721@phelma.grenoble-inp.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Booting Linux from arm X-SW-Source: 2009-06/txt/msg00047.txt.bz2 Gilles Bulthé wrote: > Hello, > > I have difficulties to boot Linux Kernel from my xm27 based platform, and am > wondering whether there is link with RedBoot or not. > My customized RedBoot starts as following : > > ----------- StartOfQuote------------------------------------------- > > ... Read from 0x03ee0000-0x03f00000 at 0xa0060000: . > ... Read from 0x03ed3000-0x03ed4000 at 0xa007f000: . > Turning on PMIC regulators: 1,2,3,4,5 > Unrecognized chip: 0xf8!!! > hardware reset by WDOG > > Clock input is 24 MHz > Booting from [NOR flash] > > RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, > version FSL 200904 - built 16:22:29, May 22 2009 > > > Platform: Freescale (i.MX27 ) PASS 1.0 [x32 DDR] Copyright (C) 2000, 2001, > 2002, 2003, 2004 Red Hat, Inc. > Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited > > > RAM: 0x00000000-0x03f00000, [0x0000eb78-0x03ed1000] available > FLASH: 0xa0000000 - 0xa4000000, 512 blocks of 0x00020000 bytes each. > RedBoot> > RedBoot> load -r -m xmodem -b 0x100000 > CRaw file loaded 0x00100000-0x0028940f, assumed entry at 0x00100000 xyzModem - > CRC mode, 12585(SOH)/0(STX)/0(CAN) packets, 1 retries > RedBoot> exec > entry=0x80008000, target=0x80008000 > Using base address 0x00100000 and length 0x00189410 Uncompressing > Linux......................................................................................................... > done, booting the. > > ------------EndOfQuote----------------------------------------------------------- > and then, it stops. > > > I see "RAM: 0x00000000-0x03f00000, [0x0000eb78-0x03ed1000] available" > -> why is not all the RAM available ? RedBoot uses the RAM which is listed as "not available" > And : "entry=0x80008000, target=0x80008000" > -> this entry point 0x8008000 is then out of available range, > isn't it ? Is it possible to change it ? There are options to 'exec' for this. Try 'help exec' :-) Also, the address '0x80008000' is a PHYSICAL address. The addresses printed by RedBoot (available range, etc) are LOGICAL addresses - not the same. > > Regarding my ARM Linux sources and debugging with LED, I have notice that > Linux bugs from the moment when it "__turn_mmu_on". There may be a link. > I am now thinking that the MMU and the memory related lines quoted above may > have link, but do not really know how. > > If you have any idea about what's going on, it would be very helpfull ! > Thank you in advance for reading me. > Gilles. > You really should ask these questions on the Linux-ARM lists, not here, as they have basically nothing to do with eCos/RedBoot. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss