You are on page 1of 5

Amlogic Application Notes

Application Notes

License configuration
Revision 0.1

Amlogic, Inc.
3930 Freedom Circle
Santa Clara, CA 95054
U.S.A.
www.amlogic.com§

Legal Notices
© 2013 Amlogic, Inc. All rights reserved. Amlogic ® is registered trademarks of Amlogic, Inc. All other registered
trademarks, trademarks and service marks are property of their respective owners.

This document is Amlogic Company confidential and is not intended for any external distribution.

Amlogic Confidential 1/5


Amlogic Application Notes

目录
简介....................................................................................................................................................................................... 4
1. 配置目录........................................................................................................................................................................... 4
2. MAC 配置..........................................................................................................................................................................4
3. USID 类配置......................................................................................................................................................................5
4. HDCP 配置.........................................................................................................................................................................5
5. 其它 KEY 配置...................................................................................................................................................................6

Amlogic Confidential 2/5


Amlogic Application Notes

修改记录

版本 日期 作者 修改
0.1 Aug 26, 2014 Jinkai.li 初稿

Amlogic Confidential 3/5


Amlogic Application Notes

简介
本文主要描述 V2 烧录工具烧录 KEYS 时,ini 文件的配置方法及说明。

1. 配置目录
配置文件必须放到工具目录,即..\USB_Burning_Tool\license 目录下。

2. MAC 配置

用户只需要配置 Group 字段的 start 和 end,start 表示起始地址,end 表示终止地址。Mac 总数由


Keysprovider.dll 动态库计算得出;used 表示已经使用的 mac 数,每烧录成功一个 mac,used 即增1。如上图
表示 mac 的总数=0xffffff - 0x000001 + 1 = 0xffffff 个,已经有一个 mac 被使用。
Fragment 字段用于记录烧录失败的 mac,一般在关闭工具时生成,为空表示没有失败的 mac,如有失败的
mac 数大于 1,则 mac 之间以逗号隔开。此时可用的 mac 数为 mac 总数-used 数+fragment 记录数。Fragment
由 keysprovider.dll 管理,用户不要进行编辑。
已知的 mac 类配
置文件:mac 对

mac_ether.ini,
bt 对应
mac_bt.ini,wifi
对应 mac_wifi.ini

3. USID 类配

Amlogic Confidential 4/5


Amlogic Application Notes

用户可以配置 Group 字段,usid 表示生成的 usid 字符串序列原型,尖括号“<>”表示可以替换的字符域,没


有尖括号的表示固定的字符域。数字 1、2 表示字符域序号,如图中有两个字符域,那么生成 usid 时,先递
增1所对应的参数;1满后,2 递增,1再从起始处递增。尖括号“<>”可以出现在字符串任何可替换的位置
上,这样可以实现配置灵活多样化。
“param_1_xxxx”表示的是替换“<1>”的格式化配置,其中“format”表示格式化串,根据需要可以格式化 10
进制、16 进制数值,“start”表示起始数值,“end”表示终止数值,“used”表示用掉的个数。
同样,fragment 段也不需要用户编辑,由 Keysprovider.dll 管理。
支持 usid 类配置的有:usid 对应文件 usid.ini,uuid 对应文件 uuid.ini,sn 对应文件 sn.ini。

4. HDCP 配置

HDCP_LIENCE.ini 由 Keysprovider.dll
生成并管理,与 HDCP_LIENCE 一起
使用,客户不需要编辑这个文件。
这里仅简单说明各个参数的含义,
“used”表示已经使用的 HDCP 的个
数,“current”表示指向当前 HDCP
的偏移。

5. 其它 KEY 配置
SECURE_BOOT_SET、telcomkeybox 不需要配置,只需要把二进制文件放到 license 目录下即可,每次烧录都把同样
的内容烧录到板子上。

Amlogic Confidential 5/5

You might also like