【openwrt】Linux查看版本版本及编译器版本
【openwrt】Linux查看内核版本及编译器版本
查看operwrt系统信息(开机时也会打印出来的)
cat /etc/banner
_______ ________ __
| |.-----.-----.-----.||||.----.||_
| - ||_|-__| |||||| _|| _|
|_______|| __|_____|__|__||________||__||____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r49396)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
查看内核及编译器版本
cat /proc/version
Linux version 3.18.29 (hexiongwu@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49396) ) #6 Mon Apr 24 04:18:50 PDT 2023
内核版本:Linux version 3.18.29
编译器版本:OpenWrt/Linaro GCC 4.8-2014.04 r49396)
查看openwrt CPU及硬件相关信息
cat /proc/cpuinfo
system type : MediaTek MT7628AN ver:1 eco:2
machine : Mediatek MT7628AN evaluation board
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 380.92
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector: yes
hardware watchpoint : yes, count: 4, address/irw mask:
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
openwrt查看安装的驱动
lsmod
arc4 13120
cdc_wdm 77971 qmi_wwan
crc16 10151 ext4
crc_ccitt 10191 ppp_async
crc_itu_t 10190
crypto_blkcipher 105031 arc4
crypto_hash 97302 ext4
dma_shared_buffer 137662 videobuf2_vmalloc
ehci_hcd 315161 ehci_platform
ehci_platform 37440
ext4 3037400
fat 468951 vfat
fuse 662330
gpio_button_hotplug 60320
gpio_control_driver 13903
grace 8971 lockd
i2c_core 163578 snd_soc_mt76xx_machine
i2c_dev 39200
i2c_ralink 22080
i2c_wm8960 45021 snd_soc_mt76xx_i2s_ctl
input_core 245102 uvcvideo
ip6_tables 91853 ip6table_raw
ip6t_REJECT 11840
ip6table_filter 6080
ip6table_mangle 10400
ip6table_raw 5760
ip_tables 93894 iptable_nat
ipt_MASQUERADE 6240
ipt_REJECT 9120
iptable_filter 6720
iptable_mangle 9280
iptable_nat 7680
iptable_raw 6400
ipv6 257128 42 nf_conntrack_ipv6
jbd2 481941 ext4
leds_gpio 28960
ledtrig_usbdev 19360
lockd 492632 nfsv3
lzo_compress 20821 regmap_core
lzo_decompress 14151 regmap_core
mbcache 45571 ext4
mii 35281 usbnet
mmc_block 214730
mmc_core 737023 mmc_block
mt76x8 6127712
mtk_sd 154400
nf_conntrack 47691 11 nf_nat_ipv4
nf_conntrack_ftp 52801 nf_nat_ftp
nf_conntrack_ipv4 46241
nf_conntrack_ipv6 49440
nf_conntrack_rtcache 24480
nf_defrag_ipv4 8061 nf_conntrack_ipv4
nf_defrag_ipv6 90631 nf_conntrack_ipv6
nf_log_common 23512 nf_log_ipv4
nf_log_ipv4 32480
nf_log_ipv6 33760
nf_nat 89395 nf_nat_ipv4
nf_nat_ftp 12160
nf_nat_ipv4 37131 iptable_nat
nf_nat_masquerade_ipv4 13721 ipt_MASQUERADE
nf_reject_ipv4 17951 ipt_REJECT
nf_reject_ipv6 20551 ip6t_REJECT
nfs 1008411 nfsv3
nfsv3 152080
nls_base 50085 vfat
nls_cp437 44320
nls_iso8859_1 28960
ohci_hcd 219511 ohci_platform
ohci_platform 32480
option 275201
ppp_async 63520
ppp_generic 206263 pppoe
pppoe 81280
pppox 13541 pppoe
qmi_wwan 108500
ralink_eeprom_api 15151 mt76x8
ralink_gdma 33971 snd_soc_mt76xx_i2s_ctl
regmap_core 313584 snd_soc_wm8960
regmap_i2c 16701 snd_soc_wm8960
regmap_spi 10940
scsi_mod 856552 usb_storage
sd_mod 262880
sdhci 183331 sdhci_pltfm
sdhci_pltfm 27700
slhc 43471 ppp_generic
snd 39205 10 snd_soc_wm8960
snd_compress 61911 snd_soc_core
snd_hwdep 45580
snd_mixer_oss 126011 snd_pcm_oss
snd_pcm 604555 snd_soc_mt76xx_pcm
snd_pcm_oss 339210
snd_rawmidi 154340
snd_seq_device 43811 snd_rawmidi
snd_soc_core 967904 snd_soc_mt76xx_machine
snd_soc_mt76xx_i2s 14881
snd_soc_mt76xx_i2s_ctl 403523 snd_soc_mt76xx_machine
snd_soc_mt76xx_machine 17920
snd_soc_mt76xx_pcm 28801
snd_soc_wm8960 165921
snd_timer 151181 snd_pcm
soundcore 37561 snd
sunrpc 1455783 nfsv3
usb_common 17401 usbcore
usb_storage 372630
usb_wwan 46311 option
usbcore 117364 13 option
usbnet 169821 qmi_wwan
usbserial 177874 option
uvcvideo 621510
v4l2_common 40031 videobuf2_core
vfat 78400
videobuf2_core 287641 uvcvideo
videobuf2_memops 12161 videobuf2_vmalloc
videobuf2_vmalloc 21451 uvcvideo
videodev 973903 uvcvideo
x_tables 10741 26 ipt_REJECT
xt_CT 22240
xt_LOG 7680
xt_REDIRECT 10560
xt_TCPMSS 26560
xt_comment 4800
xt_conntrack 21440
xt_id 4800
xt_limit 9920
xt_mac 6240
xt_mark 6720
xt_multiport 12000
xt_nat 10720
xt_state 6880
xt_tcpudp 17280
xt_time 16480
页:
[1]