From: 郭劲 <guojin02@tsinghua.org.cn>
To: "Grant Likely" <grant.likely@secretlab.ca>
Cc: u-boot-users@lists.sourceforge.net, support.asia@freescale.com,
linuxppc-embedded@ozlabs.org
Subject: Re: [U-Boot-Users] Hi, friends, the question about the u-boot and device tree?
Date: Fri, 14 Mar 2008 09:40:42 +0800 [thread overview]
Message-ID: <405458842.27358@tsinghua.org.cn> (raw)
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.
>
WARNING: multiple messages have this Message-ID (diff)
From: 郭劲 <guojin02@tsinghua.org.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Hi, friends, the question about the u-boot and device tree?
Date: Fri, 14 Mar 2008 09:40:42 +0800 [thread overview]
Message-ID: <405458842.27358@tsinghua.org.cn> (raw)
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.
>
next reply other threads:[~2008-03-14 2:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 1:40 郭劲 [this message]
2008-03-14 1:40 ` [U-Boot-Users] Hi, friends, the question about the u-boot and device tree? 郭劲
2008-03-14 5:14 ` Support Customer
2008-03-14 13:01 ` Jerry Van Baren
-- strict thread matches above, loose matches on Subject: below --
2008-03-19 1:22 郭劲
2008-03-19 16:17 ` Scott Wood
2008-03-13 15:31 郭劲
2008-03-13 19:21 ` Grant Likely
2008-03-13 19:21 ` Grant Likely
2008-03-18 18:28 ` Scott Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=405458842.27358@tsinghua.org.cn \
--to=guojin02@tsinghua.org.cn \
--cc=grant.likely@secretlab.ca \
--cc=linuxppc-embedded@ozlabs.org \
--cc=support.asia@freescale.com \
--cc=u-boot-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.