From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from itri.bte.mam.gov.tr (www.bte.mam.gov.tr [193.140.75.15]) by ozlabs.org (Postfix) with SMTP id 77FF7DDE18 for ; Tue, 18 Sep 2007 17:53:36 +1000 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F9C8.F6A307D5" Subject: Problem booting linux with device tree table Date: Tue, 18 Sep 2007 10:53:13 +0300 Message-ID: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> From: "Mustafa Cayir" To: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F9C8.F6A307D5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am trying to boot TQM5200 with linux 2.6 kernel. i am using latest = version of linux and u-boot from denx. And compiled with ELDK4.1=20 i use dtc compiler with following command: dtc -O dtb -o tqm5200.dtb -b 0 tqm5200.dts Booting process gives following error and reset the board. WARNING: could not create /chosen FDT_ERR_NOSPACE. ERROR: /chosen node create failed - must RESET the board to recover. Regards. Using FEC ETHERNET device TFTP from server 10.18.2.83; our IP address is 10.18.5.44 Filename 'uImage'. Load address: 0x200000 Loading: = ################################################################# #################################### done Bytes transferred =3D 1473038 (167a0e hex) Using FEC ETHERNET device TFTP from server 10.18.2.83; our IP address is 10.18.5.44 Filename 'tqm5200.dtb'. Load address: 0x400000 Loading: # done Bytes transferred =3D 3816 (ee8 hex) ## Booting image at 00200000 ... Image Name: Linux-2.6.23-rc6-gf695e369 Created: 2007-09-19 1:31:43 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1472974 Bytes =3D 1.4 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Booting using the fdt at 0x400000 WARNING: could not create /chosen FDT_ERR_NOSPACE. ERROR: /chosen node create failed - must RESET the board to recover. ------_=_NextPart_001_01C7F9C8.F6A307D5 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Problem booting linux with device tree table

Hi all,

I am trying to boot TQM5200 with linux 2.6 kernel. i am using latest = version of linux and u-boot from denx. And compiled with ELDK4.1

i use dtc compiler with following command:
dtc -O dtb -o tqm5200.dtb -b 0 tqm5200.dts

Booting process gives following error and reset the board.

WARNING: could not create /chosen FDT_ERR_NOSPACE.
ERROR: /chosen node create failed - must RESET the board to recover.

Regards.



Using FEC ETHERNET device
TFTP from server 10.18.2.83; our IP address is 10.18.5.44
Filename 'uImage'.
Load address: 0x200000
Loading: = #################################################################
         = ####################################
done
Bytes transferred =3D 1473038 (167a0e hex)
Using FEC ETHERNET device
TFTP from server 10.18.2.83; our IP address is 10.18.5.44
Filename 'tqm5200.dtb'.
Load address: 0x400000
Loading: #
done
Bytes transferred =3D 3816 (ee8 hex)
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.23-rc6-gf695e369
   Created:      = 2007-09-19   1:31:43 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip = compressed)
   Data Size:    1472974 Bytes =3D  1.4 = MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using the fdt at 0x400000
WARNING: could not create /chosen FDT_ERR_NOSPACE.
ERROR: /chosen node create failed - must RESET the board to recover.




------_=_NextPart_001_01C7F9C8.F6A307D5-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.semihalf.com (mail.semihalf.com [83.12.36.68]) by ozlabs.org (Postfix) with ESMTP id 5707DDDDDB for ; Tue, 18 Sep 2007 18:07:49 +1000 (EST) Message-ID: <46EF8715.4030707@semihalf.com> Date: Tue, 18 Sep 2007 10:06:45 +0200 From: Bartlomiej Sieka MIME-Version: 1.0 To: Mustafa Cayir Subject: Re: Problem booting linux with device tree table References: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> In-Reply-To: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mustafa Cayir wrote: > Hi all, > > I am trying to boot TQM5200 with linux 2.6 kernel. i am using latest > version of linux and u-boot from denx. And compiled with ELDK4.1 > > i use dtc compiler with following command: dtc -O dtb -o tqm5200.dtb > -b 0 tqm5200.dts The following switches to dtc taken from http://www.denx.de/wiki/UBoot/UBootFdtInfo work for me: dtc -b 0 -V 17 -R 4 -S 0x3000 -I dts -O dtb -f tqm5200.dts > tqm5200.dtb You might want to try them out, especially the "-S 0x3000". Regards, Bartlomiej From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.wrs.com (mail.windriver.com [147.11.1.11]) by ozlabs.org (Postfix) with ESMTP id 0526EDDE20 for ; Tue, 18 Sep 2007 23:23:41 +1000 (EST) Message-ID: <46EF93D8.6050201@windriver.com> Date: Tue, 18 Sep 2007 17:01:12 +0800 From: Andrew Liu MIME-Version: 1.0 To: Mustafa Cayir Subject: Re: Problem booting linux with device tree table References: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> In-Reply-To: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> Content-Type: multipart/mixed; boundary="------------060604090100030400030904" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------060604090100030400030904 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Latest U-boot need a chosen node in your DTS file, So u need to add a chosen node in your DTS file. Take mpc8272ads for example: in its DTS, has the following: chosen { name = "chosen"; linux,platform = <0>; interrupt-controller = <&Cpm_pic>; }; BRs, Andrew Mustafa Cayir wrote: > > Hi all, > > I am trying to boot TQM5200 with linux 2.6 kernel. i am using latest > version of linux and u-boot from denx. And compiled with ELDK4.1 > > i use dtc compiler with following command: > dtc -O dtb -o tqm5200.dtb -b 0 tqm5200.dts > > Booting process gives following error and reset the board. > > WARNING: could not create /chosen FDT_ERR_NOSPACE. > ERROR: /chosen node create failed - must RESET the board to recover. > > Regards. > > > > Using FEC ETHERNET device > TFTP from server 10.18.2.83; our IP address is 10.18.5.44 > Filename 'uImage'. > Load address: 0x200000 > Loading: ################################################################# > #################################### > done > Bytes transferred = 1473038 (167a0e hex) > Using FEC ETHERNET device > TFTP from server 10.18.2.83; our IP address is 10.18.5.44 > Filename 'tqm5200.dtb'. > Load address: 0x400000 > Loading: # > done > Bytes transferred = 3816 (ee8 hex) > ## Booting image at 00200000 ... > Image Name: Linux-2.6.23-rc6-gf695e369 > Created: 2007-09-19 1:31:43 UTC > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 1472974 Bytes = 1.4 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > Booting using the fdt at 0x400000 > WARNING: could not create /chosen FDT_ERR_NOSPACE. > ERROR: /chosen node create failed - must RESET the board to recover. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded --------------060604090100030400030904 Content-Type: text/x-vcard; charset=utf-8; name="shengping.liu.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="shengping.liu.vcf" begin:vcard fn:Andrew Liu n:;Andrew Liu org:China Development Center;Engineering adr:;;Wangjing Zhonghuan Nanlu No.9 Wangjing Plaza Tower B 15F Chaoyang District Beijing China;Beijing;;100102;China email;internet:shengping.liu@windriver.com tel;work:86-10-8477-8639 tel;fax:86-10-6479-0367 tel;cell:86-13717751687 url:http://twiki.wrs.com/do/view/Main/AndrewLiu version:2.1 end:vcard --------------060604090100030400030904-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 944F3DDE08 for ; Wed, 19 Sep 2007 01:19:17 +1000 (EST) Date: Tue, 18 Sep 2007 10:17:16 -0500 From: Scott Wood To: Andrew Liu Subject: Re: Problem booting linux with device tree table Message-ID: <20070918151716.GA788@ld0162-tx32.am.freescale.net> References: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> <46EF93D8.6050201@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <46EF93D8.6050201@windriver.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Sep 18, 2007 at 05:01:12PM +0800, Andrew Liu wrote: > Latest U-boot need a chosen node in your DTS file, It does not. > So u need to add a chosen node in your DTS file. > > Take mpc8272ads for example: in its DTS, has the following: > > chosen { > name = "chosen"; > linux,platform = <0>; > interrupt-controller = <&Cpm_pic>; > }; Please don't use that file as an example. :-) -Scott From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id A7B2DDDDFB for ; Thu, 20 Sep 2007 05:06:08 +1000 (EST) Subject: Re: Problem booting linux with device tree table From: Jon Loeliger To: Bartlomiej Sieka In-Reply-To: <46EF8715.4030707@semihalf.com> References: <7B9A8FF57DBB524190E98CABF6E56F070B9298@itri.bte.mam.gov.tr> <46EF8715.4030707@semihalf.com> Content-Type: text/plain Message-Id: <1190228750.24204.6.camel@ld0161-tx32> Mime-Version: 1.0 Date: Wed, 19 Sep 2007 14:05:50 -0500 Cc: "linuxppc-embedded@ozlabs.org" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2007-09-18 at 03:06, Bartlomiej Sieka wrote: > The following switches to dtc taken from > http://www.denx.de/wiki/UBoot/UBootFdtInfo work for me: > > dtc -b 0 -V 17 -R 4 -S 0x3000 -I dts -O dtb -f tqm5200.dts > tqm5200.dtb -V 17 is the current default, btw. jdl