[i.MX8M Plus] zlib in bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX8M Plus] zlib in bootloader

Jump to solution
411 Views
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 Kudos
Reply
1 Solution
388 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
389 Views
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 Kudos
Reply