用于lz4压缩的u-boot所需的更改?

时间:2015-01-09 08:39:32

标签: u-boot

我正在使用3.12内核和u-boot。我在" make menuconfig"中选择了lz4压缩。对于内核。 u-bbot方面为支持lz4压缩所需的任何更改?

1 个答案:

答案 0 :(得分:1)

我已经完成了以下步骤。

1. Built u-boot image.
2. built device tree.
3. Selected lz4 compression in "make menuconfig" for kernel and built uImage.
4. Flashed u-boot image , device tree binary and uImage. after power up board is booting fine.  

我检查了内核构建日志,我可以看到" piggy.lz4.o"创建了。

LZ4拱/臂/靴/压缩/ piggy.lz4
  AS arch / arm / boot / compressed / piggy.lz4.o

my doubht here is whether lz4 compression is used while creating uImage and lz4 un-compression is used during uncompressing the kernel.