Re: integrating dtc into the sim/ tree
Mike Frysinger <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <1850909.FvmpfGFofc@vapier> |
On Wed 20 Aug 2014 11:53:47 Joel Brobecker wrote: > > so after talking to myself, i guess the issue isn't so much with using > > the system copy of dtc as it is with making it a hard requirement > > (which is different from how the other packages use 3rd party libs -- > > they're all optional). might be able to reduce the requirement so > > only the hw layers hard depend on it, but i'm not sure if even that is > > possible. > > OK. Is that dependency on dtc something new? Or was it there already > for certain sims and not others? > > Dependency requirements like these should be discussed on a > case-per-case basis, I think. And the answers to the questions > you ask above (can it be made optional, what functionality gets > lost, etc) definitely influence the decision. moxie is the only one that hard requires dtc (it might be limited to maintainer mode). but the larger point is to delete a large body of custom code that the sim has today for parsing its device tree like data format and convert over to the standard format that the rest of the world is using now. and longer term, make it so we can share dtc files between linux/u-boot/qemu such that you can feed a fdt to the sim and it'll automatically bring up hardware in the same way as the kernel would have found it. atm, you have to basically write two different device trees with different syntax and names, then feed one to the sim and the other to the kernel. and hope they don't get out of sync :). there's basically no chance of people rewriting the existing sim code so that it gains all the same functionality as the public dtc, and then keeping it in sync. i'd rather just gut it and be done, and get the dtc updates for free. -mike
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJT9L8EAAoJEEFjO5/oN/WBOTIQAMjEcL4WGArBWVCK3ZI3sFUZ fdUQwuSBYmdtkvnoDodu46vnMRtiIIW8IEY5oixuvvsMOjigNW/ldIXU8VbmDCWA 86ln3gwBk11Dv+oRbvHHdUYaYFo0rqBAhujNRi+oqESNPNgifZJEI0C2e0bwjjFr d2/HZXKYaqFUHAl/Ts2MbxNk2phvjaz9LbwZbHtTZeEuHXs5WZaxR4N7A4CGfIEA yFf6uBroHfwsHTFt/n3kdem3Tn5Oup58CFIKomcYChCnrQq8EDaT3R9CzCzmKhp4 DTd4R8Ex+2bdaiM0eCnL6KvhmV3nhxMylGqwQIKdhBugNPPfF+auQmAn3Kc5Km59 to8T7sqVcHLKkE9/KvXNGFDQrI2lMZKUX+/b6FNohFPsOq+zdUgHnNtyKEXxifCr lqT3IUm+JlH4kQzmVSpuu5x8TTLweZcHg6r8B1Zb9TB8fPdtn+1M8AF4OsTA74he BKSh3hftJTYc+LPyfOFYUxygfe7sh1h8uvc6PANA8BtxTw807e/Tc0hbVlPJ0Tc7 9mLLsfX8cHNSLj0VDhkL/gLsPsjN14Xm9Is7EB2qqDyvTp3bT/RSXuhnYtEN5FkT GbnUZKId0T+gQH1lvfirnGl8emNuQvMRrpfO+/MnVYE/RoD2h36WV2HYMP3HBN8E dz1d5cRhD7sIRfrHx+Rl =OFzz -----END PGP SIGNATURE-----