# 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)
离线
用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
离线