Hi,friends, the question about the u-boot and device tree?
From: 郭劲 <hidden>
Date: 2008-03-13 15:52:53
3 messages, 3 authors, 2008-03-18 · open the first message on its own page
From: 郭劲 <hidden>
Date: 2008-03-13 15:52:53
Hi,friends, I make all the frequency(timebase-frequency;bus-frequency;clock-frequency) value on device tree file equal to zero, I think those frequency will filled by u-boot during bootm, but in fact, the u-boot did not fill any frequency. after bootm, crashed. Why? Why so many document point out that the zero value will be filled by u-boot?
From: Grant Likely <hidden>
Date: 2008-03-13 19:21:37
T24gVGh1LCBNYXIgMTMsIDIwMDggYXQgOTozMSBBTSwgufm+oiA8Z3VvamluMDJAdHNpbmdodWEu b3JnLmNuPiB3cm90ZToKPiBIaSxmcmllbmRzLAo+Cj4gIEkgbWFrZSBhbGwgdGhlIGZyZXF1ZW5j eSh0aW1lYmFzZS1mcmVxdWVuY3k7YnVzLWZyZXF1ZW5jeTtjbG9jay1mcmVxdWVuY3kpIHZhbHVl Cj4gIG9uIGRldmljZSB0cmVlIGZpbGUgZXF1YWwgdG8gemVybywgSSB0aGluayB0aG9zZSBmcmVx dWVuY3kgd2lsbCBmaWxsZWQgYnkgdS1ib290Cj4gIGR1cmluZyBib290bSwgYnV0IGluIGZhY3Qs IHRoZSB1LWJvb3QgZGlkIG5vdCBmaWxsIGFueSBmcmVxdWVuY3kuIGFmdGVyIGJvb3RtLAo+ICBj cmFzaGVkLiBXaHk/Cj4KPiAgV2h5IHNvIG1hbnkgZG9jdW1lbnQgcG9pbnQgb3V0IHRoYXQgdGhl IHplcm8gdmFsdWUgd2lsbCBiZSBmaWxsZWQgYnkgdS1ib290PwoKSW4gbW9zdCBjYXNlcyBpdCB3 aWxsIGFzc3VtaW5nIHRoYXQgeW91ciB1LWJvb3QgYm9hcmQgcG9ydCBpcwpjb25maWd1cmVkIHRv IGZpbGwgaW4gdGhvc2UgdmFsdWVzLiAgWW91IG5lZWQgdG8gbWFrZSBzdXJlIHRoYXQgdGhlCmZ0 X2JvYXJkX3NldHVwIGZ1bmN0aW9uIGlzIGdldHRpbmcgY2FsbGVkIGJ5IGJvb3RtIGFuZCB0aGF0 IGl0IGZpbGxzCmluIHRob3NlIHByb3BlcnRpZXMuCgpnLgoKLS0gCkdyYW50IExpa2VseSwgQi5T Yy4sIFAuRW5nLgpTZWNyZXQgTGFiIFRlY2hub2xvZ2llcyBMdGQuCg==
From: Scott Wood <hidden>
Date: 2008-03-18 18:28:54
On Thu, Mar 13, 2008 at 11:31:11PM +0800, 郭劲 wrote:
I make all the frequency(timebase-frequency;bus-frequency;clock-frequency) value on device tree file equal to zero, I think those frequency will filled by u-boot during bootm, but in fact, the u-boot did not fill any frequency. after bootm, crashed. Why?
What board? Are you using a device-tree-aware u-boot and the three-argument form of bootm? What sort of crash? How do you know it's not filling in the frequencies?
Why so many document point out that the zero value will be filled by u-boot?
Because it does. :-) If it's not doing so on your board, that needs to be fixed. -Scott