[i.MX8M Plus] zlib in bootloader

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[i.MX8M Plus] zlib in bootloader

跳至解决方案
412 次查看
sophiehu
Contributor III

Hi NXP,

I found there's zlib in bootloader.
Will you use zlib in bootloader?
If yes, when will you use it?
If not, can I remove it and how to remove it?

Best Regards,
Sophie

0 项奖励
回复
1 解答
389 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @sophiehu ,
 
I hope you are doing well.
 
Zlib source code is present at /lib/zlib in u-boot-imx
 
Zlib is used by various filesystems(squashfs,btrfs,ubifs, etc... ), gzip decompression, and bootm command in u-boot.
 
Zlib is enabled in the default config.
It is not recommended to remove it.
 
 can I remove it and how to remove it?
=> One can add CONFIG_ZLIB=n in u-boot configuration file.
 
Thanks & Regards,
Sanket Parekh

在原帖中查看解决方案

0 项奖励
回复
1 回复
390 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @sophiehu ,
 
I hope you are doing well.
 
Zlib source code is present at /lib/zlib in u-boot-imx
 
Zlib is used by various filesystems(squashfs,btrfs,ubifs, etc... ), gzip decompression, and bootm command in u-boot.
 
Zlib is enabled in the default config.
It is not recommended to remove it.
 
 can I remove it and how to remove it?
=> One can add CONFIG_ZLIB=n in u-boot configuration file.
 
Thanks & Regards,
Sanket Parekh
0 项奖励
回复