谷动谷力

 找回密码
 立即注册
谷动谷力 首页 嵌入式 查看内容

【openwrt】Linux查看版本版本及编译器版本

2023-5-25 09:46| 发布者: sunsili| 查看: 342| 评论: 2|原作者: sunsili

摘要: 【openwrt】Linux查看内核版本及编译器版本 查看operwrt系统信息(开机时也会打印出来的) cat /etc/banner _______ ________ __ | |.-----.-----.-----.||||.----.||_ | - ||_|-__| |||||| _|| _| | . ...

【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)

鲜花

握手

雷人

路过

鸡蛋

相关阅读

发表评论

最新评论

sunsili 2023-7-19 11:04
查看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: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
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


sunsili 2023-7-19 11:05
openwrt  查看安装的驱动
lsmod
arc4                    1312  0
cdc_wdm                 7797  1 qmi_wwan
crc16                   1015  1 ext4
crc_ccitt               1019  1 ppp_async
crc_itu_t               1019  0
crypto_blkcipher       10503  1 arc4
crypto_hash             9730  2 ext4
dma_shared_buffer      13766  2 videobuf2_vmalloc
ehci_hcd               31516  1 ehci_platform
ehci_platform           3744  0
ext4                  303740  0
fat                    46895  1 vfat
fuse                   66233  0
gpio_button_hotplug     6032  0
gpio_control_driver     1390  3
grace                    897  1 lockd
i2c_core               16357  8 snd_soc_mt76xx_machine
i2c_dev                 3920  0
i2c_ralink              2208  0
i2c_wm8960              4502  1 snd_soc_mt76xx_i2s_ctl
input_core             24510  2 uvcvideo
ip6_tables              9185  3 ip6table_raw
ip6t_REJECT             1184  0
ip6table_filter          608  0
ip6table_mangle         1040  0
ip6table_raw             576  0
ip_tables               9389  4 iptable_nat
ipt_MASQUERADE           624  0
ipt_REJECT               912  0
iptable_filter           672  0
iptable_mangle           928  0
iptable_nat              768  0
iptable_raw              640  0
ipv6                  257128 42 nf_conntrack_ipv6
jbd2                   48194  1 ext4
leds_gpio               2896  0
ledtrig_usbdev          1936  0
lockd                  49263  2 nfsv3
lzo_compress            2082  1 regmap_core
lzo_decompress          1415  1 regmap_core
mbcache                 4557  1 ext4
mii                     3528  1 usbnet
mmc_block              21473  0
mmc_core               73702  3 mmc_block
mt76x8                612771  2
mtk_sd                 15440  0
nf_conntrack           47691 11 nf_nat_ipv4
nf_conntrack_ftp        5280  1 nf_nat_ftp
nf_conntrack_ipv4       4624  1
nf_conntrack_ipv6       4944  0
nf_conntrack_rtcache    2448  0
nf_defrag_ipv4           806  1 nf_conntrack_ipv4
nf_defrag_ipv6          9063  1 nf_conntrack_ipv6
nf_log_common           2351  2 nf_log_ipv4
nf_log_ipv4             3248  0
nf_log_ipv6             3376  0
nf_nat                  8939  5 nf_nat_ipv4
nf_nat_ftp              1216  0
nf_nat_ipv4             3713  1 iptable_nat
nf_nat_masquerade_ipv4    1372  1 ipt_MASQUERADE
nf_reject_ipv4          1795  1 ipt_REJECT
nf_reject_ipv6          2055  1 ip6t_REJECT
nfs                   100841  1 nfsv3
nfsv3                  15208  0
nls_base                5008  5 vfat
nls_cp437               4432  0
nls_iso8859_1           2896  0
ohci_hcd               21951  1 ohci_platform
ohci_platform           3248  0
option                 27520  1
ppp_async               6352  0
ppp_generic            20626  3 pppoe
pppoe                   8128  0
pppox                   1354  1 pppoe
qmi_wwan               10850  0
ralink_eeprom_api       1515  1 mt76x8
ralink_gdma             3397  1 snd_soc_mt76xx_i2s_ctl
regmap_core            31358  4 snd_soc_wm8960
regmap_i2c              1670  1 snd_soc_wm8960
regmap_spi              1094  0
scsi_mod               85655  2 usb_storage
sd_mod                 26288  0
sdhci                  18333  1 sdhci_pltfm
sdhci_pltfm             2770  0
slhc                    4347  1 ppp_generic
snd                    39205 10 snd_soc_wm8960
snd_compress            6191  1 snd_soc_core
snd_hwdep               4558  0
snd_mixer_oss          12601  1 snd_pcm_oss
snd_pcm                60455  5 snd_soc_mt76xx_pcm
snd_pcm_oss            33921  0
snd_rawmidi            15434  0
snd_seq_device          4381  1 snd_rawmidi
snd_soc_core           96790  4 snd_soc_mt76xx_machine
snd_soc_mt76xx_i2s      1488  1
snd_soc_mt76xx_i2s_ctl   40352  3 snd_soc_mt76xx_machine
snd_soc_mt76xx_machine    1792  0
snd_soc_mt76xx_pcm      2880  1
snd_soc_wm8960         16592  1
snd_timer              15118  1 snd_pcm
soundcore               3756  1 snd
sunrpc                145578  3 nfsv3
usb_common              1740  1 usbcore
usb_storage            37263  0
usb_wwan                4631  1 option
usbcore               117364 13 option
usbnet                 16982  1 qmi_wwan
usbserial              17787  4 option
uvcvideo               62151  0
v4l2_common             4003  1 videobuf2_core
vfat                    7840  0
videobuf2_core         28764  1 uvcvideo
videobuf2_memops        1216  1 videobuf2_vmalloc
videobuf2_vmalloc       2145  1 uvcvideo
videodev               97390  3 uvcvideo
x_tables               10741 26 ipt_REJECT
xt_CT                   2224  0
xt_LOG                   768  0
xt_REDIRECT             1056  0
xt_TCPMSS               2656  0
xt_comment               480  0
xt_conntrack            2144  0
xt_id                    480  0
xt_limit                 992  0
xt_mac                   624  0
xt_mark                  672  0
xt_multiport            1200  0
xt_nat                  1072  0
xt_state                 688  0
xt_tcpudp               1728  0
xt_time                 1648  0


查看全部评论(2)

最新热点

QQ|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号|Sitemap

GMT+8, 2024-2-21 22:08 , Processed in 0.091400 second(s), 36 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

返回顶部