Skip to contentSkip to conversation

Hi,friends, the question about the u-boot and device tree?

DISCUSSION 郭劲 3 participants 3 messages Mar 13, 2008 – Mar 18, 2008

lore
Share & tools
lore

郭劲

author
#0 lore raw

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?

#1 lore raw

Re: [U-Boot-Users] Hi, friends, the question about the u-boot and device tree?

Quoted 8 lines · ??

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.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#2 lore raw
In reply to 郭劲
Quoted 4 lines · ??

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?

Quoted 1 line

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