3.13.2. 使用配置
3.13.2.1. U-Boot 编译配置
使能 UserID 功能,需要勾选:
CONFIG_USERID_SUPPORT
[*] UserID support for ZX --->
并且确认相关的 UserID 分区位置与实际匹配:
--- UserID support for ZX
Location of UserID (UserID is in SPINOR) --->
(0xE0000) UserID partition offset
(0x4000) UserID partition Size
3.13.2.2. SDK 编译配置
命令:
make menuconfig
使能 UserID 读写库,需要勾选:
BR2_PACKAGE_LIBUSERID
zx (openwrt) --->
[*] userid r/w library --->