From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8804 invoked by alias); 19 Sep 2012 13:49:17 -0000 Received: (qmail 8781 invoked by uid 22791); 19 Sep 2012 13:49:14 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_20,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,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; Wed, 19 Sep 2012 13:49:01 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TEKeC-0001OB-FV for ecos-discuss@ecos.sourceware.org; Wed, 19 Sep 2012 06:49:00 -0700 Message-ID: <34452557.post@talk.nabble.com> Date: Wed, 19 Sep 2012 13:49:00 -0000 From: venkatch 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-09/txt/msg00021.txt.bz2 Hi Ragavendra, I have observed exactly the same issue when I tried to load kernel onto MIPS based Atheros boards. My board also uses Redboot as the bootloader. If you have already resolved this issue, can you please post how you resolved it? Thanks & Regards Venkat 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-tp33078899p34452557.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