jianyi520

Results comments of jianyi520

> compile with rom inline. it will boot使用 ROM 内联编译。它会启动。 What should I do to make the kernel compiled from this source code boot successfully?

> > 大哥我也被小米这个wiki坑惨了!!!你怎么用clang编译的,指点一下行吗? > > 我写了一篇在手机上编译的文章,现在出来的内核都不开机了,也不知道小米更新了什么。 https://zixijian.github.io/2021/01/15/008.html 大哥,现在26年了,我还是没法用这些源码编译出能开机的内核,求指点

> [@jianyi520](https://github.com/jianyi520) 根据内核版本选择编译方法。我4.14的内核用AOSP的Clang+Binutils(不是LLVM,LLVM的某些工具我的设备源码用不了,会崩)。比较新的内核一般都是Clang+LLVM能直接过的。说说你用的工具链组合和内核版本? 我用的是google gcc4.9或者arm compiler aarch-none-linux-gnu-

> [@jianyi520](https://github.com/jianyi520) 根据内核版本选择编译方法。我4.14的内核用AOSP的Clang+Binutils(不是LLVM,LLVM的某些工具我的设备源码用不了,会崩)。比较新的内核一般都是Clang+LLVM能直接过的。说说你用的工具链组合和内核版本? 编译没问题,但是刷入总是没法正常开机

> Hi [@jianyi520](https://github.com/jianyi520) , the log records a vscode server crash. You may want to report this issue at https://github.com/microsoft/vscode. > > The log also shows extensive use of the...

> **内核没问题**,大多数人的问题就是gcc版本的问题。这里提个小建议### 去看内核最早的commit时间,然后去googlesource clone比提交时间早几个月的版本的gcc。😂😂 找不到在哪clone 求教

> tiffany What is the principle behind this?

> 补一刀 [194b4c5](https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/194b4c565e412c162a11eb30afc1d0d49cb1122f) 这个commit为啥删这么多代码

> 用的cas-q-oss分支,改了源码里面n个坑后,编译出来的kernel(只)替换boot.img的kernel后,开机无限重启。 原boot.img的kernel 40多M,而编译出来的只有39M,是什么原因呢 > > make O=out REAL_CC=${PWD}/toolchains/llvm-Snapdragon_LLVM_for_Android_8.0/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- cas_user_defconfig make -j$(nproc) O=out REAL_CC=${PWD}/toolchains/llvm-Snapdragon_LLVM_for_Android_8.0/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- 大佬解决了吗