Hi,friends, the question about the u-boot and device tree?
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?
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.
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