From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27293 invoked by alias); 5 Jan 2012 02:19:35 -0000 Received: (qmail 27285 invoked by uid 22791); 5 Jan 2012 02:19:34 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,TW_XB X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jan 2012 02:19:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RicvJ-00064h-DQ for ecos-discuss@ecos.sourceware.org; Wed, 04 Jan 2012 18:19:21 -0800 Message-ID: <33083366.post@talk.nabble.com> Date: Thu, 05 Jan 2012 02:19:00 -0000 From: ragavendrapec To: ecos-discuss@ecos.sourceware.org In-Reply-To: <33078899.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <33078899.post@talk.nabble.com> X-IsSubscribed: yes 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: [ECOS] Re: Re[ECOS] dboot hangs while loading kernel X-SW-Source: 2012-01/txt/msg00009.txt.bz2 Hi Anyone faced this unusual situation? Plz help me it's quite urgent that I need to get this working. ragavendrapec wrote: > > Hi > > This is my scenario. I am using Redboot bootloader for my mips-32 board > from Atheros. I am able to boot into the redboot prompt and flash the > kernel and filesystem. However when i try to boot it stops after saying > > Now booting linux kernel: > Base address 0x80050000 Entry 0x8020cb90 > Cmdline : console=ttyS0,115200 root=31:02 rootfstype=jffs2 > init=/sbin/init > > > The kernel doesn't load after that. What could be the issue? Below is my > fconfig -l output > > Run script at boot: true > Boot script: > .. fis load -d vmlinux > .. exec > > Boot script timeout (1000ms resolution): 2 > Use BOOTP for network configuration: false > Gateway IP address: 0.0.0.0 > Local IP address: 192.168.1.2 > Local IP address mask: 255.255.255.0 > Default server IP address: 192.168.1.112 > Console baud rate: 115200 > GDB connection port: 9000 > Force console for special debug messages: false > Network debug at boot time: false > > The fis list output is as below > > Name FLASH addr Mem addr Length Entry point > RedBoot 0xBF000000 0xBF000000 0x00040000 0x00000000 > vmlinux 0xBF040000 0x80060000 0x00150000 0x8020CB90 > filesystem 0xBF190000 0x80500000 0x00600000 0x00000000 > FIS directory 0xBF7E0000 0xBF7E0000 0x0000F000 0x00000000 > RedBoot config 0xBF7EF000 0xBF7EF000 0x00001000 0x00000000 > > During bootup it correctly executes the boot script, however the system > hangs and doesn't print anything after that. I am using a NOR flash and > the linux kernel i've compiled is 2.6.31 version. I've tried even a lower > linux version but still the same issue. > > The commands i used for flashing the bootloader, kernel and filesystem are > > load -r -b 0x80500000 redboot.rom > fis write -f 0xbf000000 -l 0x40000 -b 0x80500000 > > load -r -b 0x80500000 vmlinux.bin.gz > fis create -b 0x80500000 -e 0x8020cb90 -r 0x80060000 -l 0x150000 -f > 0xbf040000 vmlinux > the 0x8020cb90 was present in the vmlinux.info file. > load -r -b 0x80500000 > fis create -b 0x80500000 -l -e 0 filesystem > Tftp and the rest are working fine, as it says Raw file loaded after > running the load command, and fis create also works fine. > Kindly suggest some directions where I can find info regarding this. Plz > help. > > Regards > R.Vasanth Ragavendran. > -- View this message in context: http://old.nabble.com/Redboot-hangs-while-loading-kernel-tp33078899p33083366.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss