恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 429|回复: 1

高通IPQ807x OPENWRT系统如何写入MAC

[复制链接]
发表于 2021-1-4 13:42 | 显示全部楼层 |阅读模式
1恩山币
1.开发用的高通IPQ807x OPENWRT系统,不知道如何写入MAC地址。查看分区ART分区,发现MAC地址并没有写入该分区,不知道高通的MAC地址是写在哪个分区。
/sys/class/net# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "0:SBL1"
mtd1: 00100000 00020000 "0:MIBIB"
mtd2: 00080000 00020000 "0:BOOTCONFIG"
mtd3: 00080000 00020000 "0:BOOTCONFIG1"
mtd4: 00300000 00020000 "0SEE"
mtd5: 00300000 00020000 "0SEE_1"
mtd6: 00080000 00020000 "0EVCFG"
mtd7: 00080000 00020000 "0EVCFG_1"
mtd8: 00080000 00020000 "0:APDP"
mtd9: 00080000 00020000 "0:APDP_1"
mtd10: 00080000 00020000 "0:RPM"
mtd11: 00080000 00020000 "0:RPM_1"
mtd12: 00080000 00020000 "0:CDT"
mtd13: 00080000 00020000 "0:CDT_1"
mtd14: 00080000 00020000 "0:APPSBLENV"
mtd15: 00100000 00020000 "0:APPSBL"
mtd16: 00100000 00020000 "0:APPSBL_1"
mtd17: 00080000 00020000 "0:ART"
mtd18: 02e00000 00020000 "rootfs"
mtd19: 00900000 00020000 "0:WIFIFW"
mtd20: 02e00000 00020000 "rootfs_1"
mtd21: 00900000 00020000 "0:WIFIFW_1"
mtd22: 00080000 00020000 "0:ETHPHYFW"
mtd23: 00540000 00020000 "cfg_backup"
mtd24: 005b1000 0001f000 "kernel"
mtd25: 01b5e000 0001f000 "ubi_rootfs"
mtd26: 0062d000 0001f000 "rootfs_data"
mtd27: 0020f000 0001f000 "wifi_fw"


2.ART分区情况:

/sys/class/net# cat /dev/mtd17 | hexdump
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
0080000









我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-1-9 02:38 | 显示全部楼层
也有可能在bootloader 里,高通不一定
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-1-24 02:30

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表