From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Baozi Subject: Re: Domain 0 crashed when booting OMAP5 uEVM Date: Tue, 13 Aug 2013 16:45:16 +0800 Message-ID: References: <20130812122452.GA21443@cbz-workstation> <5208D969.6090708@linaro.org> <5F9894A3-C273-4C9E-96EE-D9C3F80D85F5@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5F9894A3-C273-4C9E-96EE-D9C3F80D85F5@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrii Anisov Cc: Julien Grall , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Aug 13, 2013, at 3:56 PM, Chen Baozi wrote: > > On Aug 12, 2013, at 10:30 PM, Andrii Anisov wrote: > >> >> >> >>> - Turning on paging - >>> - Ready - >>> fdt: node `cpu@0': invalid #address-cells or #size-cellsfdt: node `cpu@1': >>> - invalid #addref >> >> Hum ... this is why Xen can't find the other cpus. Could you paste the >> content of the node cpus here? >> >> >> I bet, something like this: >> >> }; >> >> cpus { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> cpu@0 { >> + device_type = "cpu"; >> compatible = "arm,cortex-a15"; >> + reg = <0>; >> operating-points = < >> /* kHz uV */ >> /* Only for Nominal Samples */ >> @@ -48,7 +53,9 @@ >> clock-latency = <300000>; /* From omap-cpufreq driver */ >> }; >> cpu@1 { >> + device_type = "cpu"; >> compatible = "arm,cortex-a15"; >> + reg = <1>; >> }; >> }; >> >> will help to Chen. > > I used the original 3.8 kernel's dts from TI. And the cpu node (I've modified > to move the timer node outside it) is like: > > cpus { > cpu@0 { > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x0>; > }; > cpu@1 { > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x1>; > }; > }; > > And I checked the latest git tree I've used, it is: > > cpus { > + #address-cells = <1>; > + #size-cells = <0>; > > cpu@0 { > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x0>; > }; > cpu@1 { > device_type = "cpu"; > compatible = "arm,cortex-a15"; > reg = <0x1>; > }; > }; > > I'll check if the missing address-cells and size-cells caused my > issues. > Yes, it is because of lacking #address-cells and #size-cells. > >> >> Sincerely, >> Andrii Anisov. >