您尚未登录。

楼主 #1 2020-05-08 11:20:39

大帅
会员
注册时间: 2019-01-17
已发帖子: 169
积分: 128.5

求教:log日志的Linux version 4.15.0-rc8-licheepi-nano在内核代码里哪地方定义?

# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version  4.15.0-rc8-licheepi-nano

log日志的Linux version  4.15.0-rc8-licheepi-nano在内核代码里哪地方定义?

find . -name "*4.15.0-rc8-licheepi-nano*"
怎么搜索不到?

再次搜索只能在设备树里找到一些
find . -name "*licheepi*"
./arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
./arch/arm/boot/dts/sun5i-a13-licheepi-one.dts
./arch/arm/boot/dts/.suniv-f1c100s-licheepi-nano.dtb.dts.tmp
./arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
./arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts
./arch/arm/boot/dts/.suniv-f1c100s-licheepi-nano.dtb.cmd
./arch/arm/boot/dts/.suniv-f1c100s-licheepi-nano.dtb.d.pre.tmp
./arch/arm/boot/dts/.suniv-f1c100s-licheepi-nano.dtb.d.dtc.tmp
./arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb

最近编辑记录 大帅 (2020-05-08 11:22:58)

离线

#2 2020-05-08 11:27:59

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: 求教:log日志的Linux version 4.15.0-rc8-licheepi-nano在内核代码里哪地方定义?

用grep搜源码目录,我记得是脚本生成





离线

楼主 #3 2020-05-08 11:36:40

大帅
会员
注册时间: 2019-01-17
已发帖子: 169
积分: 128.5

Re: 求教:log日志的Linux version 4.15.0-rc8-licheepi-nano在内核代码里哪地方定义?

哇酷小二 说:

用grep搜源码目录,我记得是脚本生成

惭愧。。。。

查找指令用错了,找到了!

Binary file drivers/net/mii.ko matches
Binary file drivers/net/usb/rtl8150.mod.o matches
Binary file drivers/net/usb/rtl8150.ko matches
Binary file arch/arm/boot/Image matches
Binary file .tmp_vmlinux1 matches
include/config/kernel.release:1:4.15.0-rc8-licheepi-nano
include/generated/utsrelease.h:1:#define UTS_RELEASE "4.15.0-rc8-licheepi-nano"
Binary file init/version.o matches
Binary file kernel/sys.o matches
Binary file kernel/module.o matches
Binary file .tmp_vmlinux2 matches
Binary file vmlinux matches
Binary file crypto/echainiv.mod.o matches
Binary file crypto/echainiv.ko matches
Binary file vmlinux.o matches

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn