linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Hi,friends, the question about the u-boot and device tree?
@ 2008-03-13 15:31 郭劲
  2008-03-13 19:21 ` [U-Boot-Users] Hi, friends, " Grant Likely
  2008-03-18 18:28 ` Hi,friends, " Scott Wood
  0 siblings, 2 replies; 4+ messages in thread
From: 郭劲 @ 2008-03-13 15:31 UTC (permalink / raw)
  To: support.asia, linuxppc-embedded, u-boot-users

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [U-Boot-Users] Hi, friends, the question about the u-boot and device tree?
@ 2008-03-14  1:40 郭劲
  0 siblings, 0 replies; 4+ messages in thread
From: 郭劲 @ 2008-03-14  1:40 UTC (permalink / raw)
  To: Grant Likely; +Cc: u-boot-users, support.asia, linuxppc-embedded

Hi,friends,

I¡¡made follow define on my MPC8360EMDS.h file. Is it enough? The uboot still did
not fill the zero frequency on dtb. I think the ft_cpu_setup and ft_board_setup
function have been run.


/* pass open firmware flat tree */
#define CONFIG_OF_FLAT_TREE	         1
#define CONFIG_OF_BOARD_SETUP	1
/* maximum size of the flat tree (8K) */
#define OF_FLAT_TREE_MAX_SIZE	8192


>From: "Grant Likely" <grant.likely@secretlab.ca>
>Reply-To: 
>To: "¹ù¾¢" <guojin02@tsinghua.org.cn>
>Subject: Re: [U-Boot-Users] Hi, friends, the question about the u-boot and device
tree?
>Date:Thu, 13 Mar 2008 13:21:35 -0600
>
>On Thu, Mar 13, 2008 at 9:31 AM, ¹ù¾¢ <guojin02@tsinghua.org.cn> wrote:
>> 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?
>
>In most cases it will assuming that your u-boot board port is
>configured to fill in those values.  You need to make sure that the
>ft_board_setup function is getting called by bootm and that it fills
>in those properties.
>
>g.
>
>-- 
>Grant Likely, B.Sc., P.Eng.
>Secret Lab Technologies Ltd.
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-18 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 15:31 Hi,friends, the question about the u-boot and device tree? 郭劲
2008-03-13 19:21 ` [U-Boot-Users] Hi, friends, " Grant Likely
2008-03-18 18:28 ` Hi,friends, " Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2008-03-14  1:40 [U-Boot-Users] Hi, friends, " 郭劲

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).