Re: [armv7] dtb specified with FDT_DTS_FILE in kernconf not built when using release.sh

Matteo Riondato <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <20220410202244.xkojjsg7ppri6nbc@host-ubertino-mac-24f5a28a9493.wired.10net.amherst.edu>
On 2022-04-10 at 16:15 EDT, Mitchell Horne <[email protected]> wrote:
>On 4/10/22 16:58, Matteo Riondato wrote:
>>makeoptions FDT_DTS_FILE=am335x-sancloud-bbe.dts
>
>I believe this option is used to embed a static DTB in the kernel 
>binary, not to have it compiled as part of the build.

I see, I thought that a static DTB in the kernel would only be the case 
if
options        FDT_DTB_STATIC
was also specified, and otherwise a standalone dtb would be compiled.

>What you most likely want instead is: 
>    makeoptions MODULES_EXTRA+="dtb/am335x"
>
>This line is already included as part of the GENERIC config. However, 
>you will need to modify sys/modules/dtb/am335x/Makefile to include the 
>sancloud variant that you are interested in.

I'll try that. Thank you.

Matteo
signature.asc (application/pgp-signature, 862 B)
-----BEGIN PGP SIGNATURE-----

iQJHBAABCgAxFiEEa9uKZL0hP4E8Nl5vGwL9SVQlVQEFAmJTPJQTGGhrcHM6Ly9w
Z3AubWl0LmVkdQAKCRAbAv1JVCVVAdnGD/9ZlhchZpUyqEuBDsFVTBKOQM5XEft5
D5/d5wb5NXcO9J7/oDctTyHks6rBrcTb8RFivqrchzkd7aYps5K8AUDaQ9NP2197
Bauf8Etqs3tRahYr7yeFLFyn29RxMltbdDS2GJcpKliq4JzST82viWpnJ1yyrmKU
eZp85B4OnqNMMxF2YEU0blWlKfXmFqaBTLX1j4qjKJeeV4OWb0PBYvVqeiWo78uh
sn3ibTcxRArAcH/HLcJqZW52YF7nJhqYxVpaKDlosS7p3L+L/4THai2872UQ3BCr
mma06buob9HaTlT9f/O4Rrw0oPDbjTkGTGQ1M/mUz5xUST3HHB0CgM65A2hbKO59
unk/x2OcqljihmMqWcz7hkKCt7BlF8LJyZBSMXXiYWz1rF6RHOZuco+sM2nNrw23
AxrRuM8tYiR4X/qEXRFalEeWnZKVUJck5BrvkvfkVjo88UWF4ZVovCHHh9tNs9/5
u7KkRCFn4gkppwMforB15BKp+u1I2vQgRQg3a7boE0qfNubqOwx96Sj+cpuZHJWs
B92aWVve+tlhJKbHMwb8W7HoQan4U/ay3XpzDpd2O2Dj/Pv2ztVyteRAJG2uRTjj
ulpjSt9OZPpNzXqOP8ETPU1SxDe5BaUmRsK1Y2yu7Ecr2w+QuLoRDkWdsN01/QcJ
QfVwzk3hUf8Gbw==
=XwPH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.