|
|
Subscribe / Log in / New account

Device tree troubles

Device tree troubles

Posted Jul 29, 2013 16:56 UTC (Mon) by dlang (guest, #313)
In reply to: Device tree troubles by etienne
Parent article: Device tree troubles

>> by the way, where do you expect the data to come from to get linked into your binary?

>You write it from the same docs that you would write your DT from.

I was meaning, where does the system trying to boot find the data to link into your binary. you seem to be saying that the DTis no good because there's no place to store it, so where do you store this other data that needs to be linked?


to post comments

Device tree troubles

Posted Jul 29, 2013 19:12 UTC (Mon) by etienne (guest, #25256) [Link]

What I am saying is that you should not have 3 files (uboot, kernel, device tree) and try to combine the last two at a time where you cannot even display an error message.
That is, combine the last two files at installation into the sdcard time, when you are running linux, windows or OSx to write that sdcard, when you can display error messages and check stuff.
In the PC world it would be at grub-install-kernel time.
And what I then mean is all this complex DT is just doing what the LD linker do, but a lot more slowly, with a lot more code, and with errors delayed to execution time when it would be better to just use LD.
TL,dr: no DT partition or file, generic kernel is partial link, specialised at installation time.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds