Other Parts Discussed in Thread: AM62P
部件号: AM62P
SDK:TI-PROCESSOR-SDK-LINUX-am62pxx-EVM-11.02.08.02
为了降低成本、我们需要将文件系统调整到 256MB 以下。
但 libLLVM.so 库占用 96MB 空间、供 tidss_drv.so 使用。
是否有任何方法可以优化/删除 libLLVM.so 库
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
尊敬的 Donghul:
mesa-PVR 正在使用 libLLVM。
为 mesa-PVR 创建 bbappend 文件-
meta-arago/meta-arago-distro /食谱-graphics/mesa/mesa-pvr_%.bbappend
# AM62P: Strip unused drivers to eliminate libLLVM.so PACKAGECONFIG:remove = "gallium-llvm virgl zink" GALLIUMDRIVERS:pn-mesa-pvr = "swrast" EXTRA_OEMESON:append = " -Dllvm=disabled "
重建 mesa-PVR 并重建映像
bitbake -c cleansstate mesa-pvr bitbake mesa-pvr bitbake tisdk-default-image
这将删除 libLLVM 相关性并减小其大小。
此致、
Vinu
亲爱的东辉。
我可以询问您这边的 Yocto 环境是否正常吗? 这个解决方案是否起作用?
[报价 userid=“678328" url="“ url="~“~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1628202/am62p-change-emmc-to-256mb-nand-flash-strip-libllvm-so-from-rootfs/6281180mesa-PVR 正在使用 libLLVM。
为 mesa-PVR 创建 bbappend 文件-
meta-arago/meta-arago-distro /食谱-graphics/mesa/mesa-pvr_%.bbappend
# AM62P: Strip unused drivers to eliminate libLLVM.so PACKAGECONFIG:remove = "gallium-llvm virgl zink" GALLIUMDRIVERS:pn-mesa-pvr = "swrast" EXTRA_OEMESON:append = " -Dllvm=disabled "
重建 mesa-PVR 并重建映像
bitbake -c cleansstate mesa-pvr bitbake mesa-pvr bitbake tisdk-default-image
这将删除 libLLVM 相关性并减小其大小。
[/报价]非常感谢!
Yong