English 中文(简体)
• 如何在军械库中增加新的弹 to模式
原标题:how to add new kernel compression mode for arm

我目前正在使用4.9座方言,这不支持压缩方法。 然而,我要给我增加压缩支持,但我不知道如何这样做。

attempted to follow the method of adding zstd in the x86 architecture of the 6.7 kernel, but it seems I failed. This might be due to not modifying the essential parts. Currently, I have: 1、Added the following code in arch/arm/boot/compressed/decompress.c:

#ifdef CONFIG_KERNEL_ZSTD
#include "../../../../lib/decompress_unzstd.c"
#endif

2 在档案/记录/记录/记录中添加以下线:

compress-$(CONFIG_KERNEL_ZSTD) = zstd

我还对马克茨案作了一些修改,以确保我能够选择在凯尔特-马努吉。 然而,我对如何确定我是否拥有有关弹.的压缩法感到不快。 我认为,《守则》是相关的。 编辑后,我收到了以下错误:

/bin/sh: 1: Syntax error: ";" unexpected
make[7]: *** [arch/arm/boot/compressed/Makefile:187: arch/arm/boot/compressed/piggy_data] Error 2
make[6]: *** [arch/arm/boot/Makefile:62: arch/arm/boot/compressed/vmlinux] Error 2
make[5]: *** [arch/arm/Makefile:331: zImage] Error 2
问题回答

您在座标书中应加上一栏,再作反射。

CONFIG_CRYPTO_ZSTD=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y

Here it indicates a compilation error. Could you please double-check whether the line containing CONFIG_KERNEL_ZSTD is at line 187? If it is, then CONFIG_KERNEL_ZSTD might not be configured in the config file, and the configuration method is as mentioned above.





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签