锐捷BE68U系列Openwrt分析
约 301 字大约 1 分钟
2025-09-30
root@Ruijie68u:~# cat /proc/mtd
dev: size erasesize name
mtd0: 10000000 00020000 "spi0.0"
mtd1: 00100000 00020000 "BL2"
mtd2: 00080000 00020000 "u-boot-env"
mtd3: 00200000 00020000 "Factory"
mtd4: 00080000 00020000 "product_info"
mtd5: 00180000 00020000 "kdump"
mtd6: 00200000 00020000 "FIP"
mtd7: 07080000 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/product_info.bin
dd if=/dev/mtd5 of=/tmp/kdump.bin
dd if=/dev/mtd6 of=/tmp/FIP.bin
dd if=/dev/mtd7 of=/tmp/ubi.bin
root@Ruijie68u:~# 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
248 factory_loop
249 ubi0
250 was_cfg_io
251 watchdog
252 rtc
253 pmsg
254 gpiochip
Block devices:
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
254 ubiblock
259 blkext
root@Ruijie68u:~# ls /sys/devices/platform
10000000.consys 15010000.wed2 e500000.tops-ocd
10003000.wed_pcie 15010000.wed3 f100000.phy-firmware
1000310c.infra_bus_prot 15020000.switch0 gpio-keys
1001c000.watchdog 15100000.ethernet leds
1001f000.pinctrl 15100000.hnat mtk-cpufreq
1001f6f0.boottrap 15104800.wdma nmbm_spim_nand
10048000.pwm 15194000.wocpu_boot pce@15100000
10080000.usxgmiisys 151a5000.ap2woccif pmu
10081000.usxgmiisys 151e0000.wocpu0_ilm power
11000000.serial 151e8000.wocpu_dlm psci
11003000.i2c 152e0000.wocpu1_ilm reg-dummy
11004000.i2c 153e0000.wocpu2_ilm regulator-3p3v
11007000.spi 15600000.crypto regulatory.0
1100a000.lvts 18000000.wbsys serial8250
11300000.pcie 1d00000003.gsw timer
11d10000.topmisc 42ff0000.ramoops tops-mbox
11f20000.xfi_pextp 8000000.hwver trng@1020f000
11f30000.xfi_pextp 9100000.tops uevent
11f40000.xfi_pll 9106000.hpdma usb-phy@11c50000
11f50000.efuse 9606000.hpdma usb-phy@11e10000
15010000.wed Fixed MDIO bus.0 wsys_adie@0
root@Ruijie68u:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 428-511, parent: platform/1001f000.pinctrl, pinctrl_moore:
gpio-430 ( |irq ) in lo
gpio-431 ( |reset ) out hi
gpio-435 ( |wifi-reset ) out hi
gpio-441 ( |reset ) in hi IRQ
gpio-442 ( |mesh ) in hi IRQ
root@Ruijie68u:~#
版权所有
版权归属:Ashley Lee