Dear @mi-code,
I am writing to report that the kernel source for Xiaomi 11T, branch agate-u-oss, appears to be incomplete or broken.
For the past three weeks, I have tried to boot into the binary compiled from the kernel source but failed. I used the defconfigs provided in the kernel source and also tried extracting the config from the device running a 4.19 kernel, but the kernel refuses to boot. Neither using the build script nor compiling the kernel manually produces a bootable binary.
Regarding defconfigs: agate_defconfig seems to provide the least painful way to compile the kernel, but none of the defconfigs provided in the tree have resulted in a bootable system.
While attempting to compile the kernel with the clang version used to build the 4.19 kernel for HyperOS 1, version r383902, I noticed that some Makefiles in the drivers/ folder include dead entries. This is not toolchain-specific. This raises suspicion that some files—possibly important enough to make the binary bootable—were stripped out before publishing the branch.
The current condition of the OSS kernel violates GPLv2, under which the Linux kernel is licensed. Paragraph 3 suggests that we should receive a complete, corresponding source for the binary, but I and other developers cannot verify the "completeness" without a bootable binary.
I kindly ask for the branch to be reviewed and fixed to the state in which it can provide the exact kernel binary used in HyperOS 1 for the Xiaomi 11T. Otherwise, I will have to reopen this case as an ongoing GPLv2 violation, as this situation only contributes to your apparent non-compliance.
Sincerely, tovgar.
Dear @mi-code,
I am writing to report that the kernel source for Xiaomi 11T, branch agate-u-oss, appears to be incomplete or broken.
For the past three weeks, I have tried to boot into the binary compiled from the kernel source but failed. I used the defconfigs provided in the kernel source and also tried extracting the config from the device running a 4.19 kernel, but the kernel refuses to boot. Neither using the build script nor compiling the kernel manually produces a bootable binary.
Regarding defconfigs: agate_defconfig seems to provide the least painful way to compile the kernel, but none of the defconfigs provided in the tree have resulted in a bootable system.
While attempting to compile the kernel with the clang version used to build the 4.19 kernel for HyperOS 1, version r383902, I noticed that some Makefiles in the drivers/ folder include dead entries. This is not toolchain-specific. This raises suspicion that some files—possibly important enough to make the binary bootable—were stripped out before publishing the branch.
The current condition of the OSS kernel violates GPLv2, under which the Linux kernel is licensed. Paragraph 3 suggests that we should receive a complete, corresponding source for the binary, but I and other developers cannot verify the "completeness" without a bootable binary.
I kindly ask for the branch to be reviewed and fixed to the state in which it can provide the exact kernel binary used in HyperOS 1 for the Xiaomi 11T. Otherwise, I will have to reopen this case as an ongoing GPLv2 violation, as this situation only contributes to your apparent non-compliance.
Sincerely, tovgar.