锐捷EW6000GX-PRO系列Openwrt分析
约 314 字大约 1 分钟
2025-09-30
root@Ruijie:~# cat /proc/mtd
dev: size erasesize name
mtd0: 08000000 00020000 "spi0.1"
mtd1: 00100000 00020000 "BL2"
mtd2: 00080000 00020000 "u-boot-env"
mtd3: 00200000 00020000 "Factory"
mtd4: 00200000 00020000 "FIP"
mtd5: 00080000 00020000 "product_info"
mtd6: 00080000 00020000 "kdump"
mtd7: 03f00000 00020000 "ubi"
dd if=/dev/mtd0 of=/tmp/spi.bin
dd if=/dev/mtd1 of=/tmp/BL2.bin
dd if=/dev/mtd2 of=/tmp/u-boot-env.bin
dd if=/dev/mtd3 of=/tmp/Factory.bin
dd if=/dev/mtd4 of=/tmp/FIP.bin
dd if=/dev/mtd5 of=/tmp/product_info.bin
dd if=/dev/mtd6 of=/tmp/kdump.bin
dd if=/dev/mtd7 of=/tmp/ubi.bin
root@Ruijie:~# cat /proc/devices
Character devices:
1 mem
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
89 i2c
90 mtd
108 ppp
128 ptm
136 pts
164 conninfra_drv
180 usb
189 usb_device
247 factory_loop
248 ubi0
249 rpmb
250 was_cfg_io
251 watchdog
252 iio
253 rtc
254 gpiochip
Block devices:
7 loop
8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
253 ubiblock
254 device-mapper
259 blkext
root@Ruijie:~# ls /sys/devices/platform
10000000.consys 11200000.xhci 151e0000.wocpu0_ilm leds-gpio
10003000.wed_pcie 11210000.audio-controller 151e8000.wocpu_dlm nmbm_spim_nand
1001c000.watchdog 11d00000.efuse 151f0000.wocpu1_ilm pcie-phy@11c00000
1001f000.pinctrl 15010000.wed 18000000.wbsys power
1020f000.trng 15010000.wed2 Fixed MDIO bus.0 psci
10320000.crypto 15100000.ethernet clkitg reg-dummy
11002000.serial 15100000.hnat gpio-keys serial8250
1100a000.spi 15104800.wdma gsw@0 timer
1100b000.spi 15194000.wocpu_boot ice_debug uevent
1100c800.thermal 151a5000.ap2woccif leds-color usb-phy@11e10000
root@Ruijie:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 411-511, parent: platform/1001f000.pinctrl, pinctrl_moore:
gpio-416 ( |mt753x-reset ) out hi
gpio-417 ( |PHY reset ) out hi ACTIVE LOW
gpio-420 ( |? ) out lo ACTIVE LOW
gpio-421 ( |? ) out hi ACTIVE LOW
gpio-422 ( |? ) out hi ACTIVE LOW
gpio-425 ( |reset ) in hi IRQ
gpio-426 ( |mesh ) in hi IRQ
gpio-433 ( |meshled ) out hi ACTIVE LOW
版权所有
版权归属:Ashley Lee