* Problem booting linux with device tree table
@ 2007-09-18 7:53 Mustafa Cayir
2007-09-18 8:06 ` Bartlomiej Sieka
2007-09-18 9:01 ` Andrew Liu
0 siblings, 2 replies; 5+ messages in thread
From: Mustafa Cayir @ 2007-09-18 7:53 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 2231 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem booting linux with device tree table
2007-09-18 7:53 Problem booting linux with device tree table Mustafa Cayir
@ 2007-09-18 8:06 ` Bartlomiej Sieka
2007-09-19 19:05 ` Jon Loeliger
2007-09-18 9:01 ` Andrew Liu
1 sibling, 1 reply; 5+ messages in thread
From: Bartlomiej Sieka @ 2007-09-18 8:06 UTC (permalink / raw)
To: Mustafa Cayir; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem booting linux with device tree table
2007-09-18 7:53 Problem booting linux with device tree table Mustafa Cayir
2007-09-18 8:06 ` Bartlomiej Sieka
@ 2007-09-18 9:01 ` Andrew Liu
2007-09-18 15:17 ` Scott Wood
1 sibling, 1 reply; 5+ messages in thread
From: Andrew Liu @ 2007-09-18 9:01 UTC (permalink / raw)
To: Mustafa Cayir; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]
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
[-- Attachment #2: shengping.liu.vcf --]
[-- Type: text/x-vcard, Size: 385 bytes --]
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem booting linux with device tree table
2007-09-18 9:01 ` Andrew Liu
@ 2007-09-18 15:17 ` Scott Wood
0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2007-09-18 15:17 UTC (permalink / raw)
To: Andrew Liu; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem booting linux with device tree table
2007-09-18 8:06 ` Bartlomiej Sieka
@ 2007-09-19 19:05 ` Jon Loeliger
0 siblings, 0 replies; 5+ messages in thread
From: Jon Loeliger @ 2007-09-19 19:05 UTC (permalink / raw)
To: Bartlomiej Sieka; +Cc: linuxppc-embedded@ozlabs.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-19 19:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 7:53 Problem booting linux with device tree table Mustafa Cayir
2007-09-18 8:06 ` Bartlomiej Sieka
2007-09-19 19:05 ` Jon Loeliger
2007-09-18 9:01 ` Andrew Liu
2007-09-18 15:17 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).