As the title says, I am trying to modify my .dtb I am using to remove the wireless NIC and Bluetooth capabilities completely. I am currently using dtc, I was able to decompile to a .dts and use a text editor to remove the sections for bluedroid, bcmdhd_wlan, and bcmdhd_pcie_wlan. When I use dtc afterwards to try and recompile this to a dtb I get a slew of errors. I was wondering if anyone has some resources they can point me to for accomplishing this correctly as I’d rather learn than just be given the answer. Though, if I still can’t figure it out I would be happy to work through it and post all the commands run and errors that were spit out.
Actually, before I try that I want to make sure. I want these to not even show up as an option after boot, would doing “disable” achieve that effect? To meet compliance, it has to be like the Wireless NIC and Bluetooth aren’t even there.
This I cannot answer. However, if you were to put in other measures, then this measure would have to first work. I think this might be one “ingredient” even if regulatory compliance needs more.
Incidentally, removing a device tree node is likely not different than disabling a node so far as compliance goes.
Disregard, I figured out my issue. I was getting way too hung up on error messages when using dtc for decompiling and recompiling the dts and dtbs. If you find this and are struggling it was as follows.
find the .dtb your .conf uses when you’re flashing, decompile it with device tree compiler into a .dts, use a text editor to remove the lines you want. For me it was just removing the following: