当前位置: 首页 > news >正文

网站正在建设中的网页怎么做大数据技术主要学什么

网站正在建设中的网页怎么做,大数据技术主要学什么,影视网站怎么做,刷赞业务推广网站security boot 平台的东东,oem 可定制的功能有限,只能参考平台文档,可以在高通的网站上搜索:Secure Boot Enablement,然后找对应平台的文档xxx-Secure Boot Enablement User Guide, step by step 操作即可 开机校验流…

security boot

平台的东东,oem 可定制的功能有限,只能参考平台文档,可以在高通的网站上搜索:Secure Boot Enablement,然后找对应平台的文档xxx-Secure Boot Enablement User Guide, step by step 操作即可

开机校验流程:


生成key step:

工具路径: Clarence.LA.2.0/common/sectoolsv2/ext/Linux_aarch64/

1、Clarence.LA.2.0/common/sectoolsv2/ext/Linux_aarch64/test_key/test_L400_key-secp384r1
    生成:v3.ext v3_attest.ext
    拷贝:opensslroot.cfg          LA.QSSI.14.0.r1/LINUX/android/vendor/qcom/proprietary/common/scripts/gensecimage/qpsa/alt_resources/default/openssl/opensslroot.cfg
2、生成qpsa_rootca.key
    openssl ecparam -genkey -name secp384r1 -outform PEM -out qpsa_rootca.key
3、生成 rootca_pem.crt
    sudo openssl req -new -key qpsa_rootca.key -sha384 -out rootca_pem.crt -subj /C=CN/ST=ChinaGD/L="ChinaSZh"/OU="General test Key"/OU="CDMA Technologies"/O=test/CN="test Root CA 1" -config opensslroot.cfg -x509 -days 7300 -set_serial 1

4、生成qpsa_rootca.cer
    openssl x509 -in rootca_pem.crt -inform PEM -out qpsa_rootca.cer -outform DER
    查看刚才生成的证书
    openssl x509 -text -inform DER -in qpsa_rootca.cer


5、生成CA key和证书
    openssl ecparam -genkey -name secp384r1 -outform PEM -out qpsa_ca.key
    sudo openssl req -new -key qpsa_ca.key -out ca.CSR -subj /C=CN/ST=ChinaGD/L="ChinaSZh"/OU="CDMA Technologies"/O=test/CN="test Attestation CA" -config opensslroot.cfg -sha384
    openssl x509 -req -in ca.CSR -CA rootca_pem.crt -CAkey qpsa_rootca.key -out ca_pem.crt -set_serial 1 -days 7300 -extfile v3.ext -sha384 -CAcreateserial
    openssl x509 -inform PEM -in ca_pem.crt -outform DER -out qpsa_ca.cer


6.生成root key的hash值
    openssl dgst -sha384 qpsa_rootca.cer >sha384rootcert.txt
 

参考文档:80-49880-42_REV_AA_SM4450_Secure_Boot_Enablement_User_Guide.pdf


给img签名


使用LOCAL 的方式签名命令:

$./Linux/sectools\
    secure-image \
    --sign /path/to/tz.mbn \
    --image-id=TZ \
    --security-profile  /path/to/clarence_security_profile.xml \
    --oem-id=0x1234 \
    --oem-product-id=0x00 \
    --anti-rollback-version=0x00 \
    --signing-mode=LOCAL \
    --root-certificate=./OEM-KEYS/qpsa_rootca.cer \
    --ca-certificate=./OEM- KEYS/qpsa_attestca.cer \
    --ca-key=./OEM-KEYS/qpsa_attestca.key \
    --outfile ./signed_images_out/tz.mbn

note:
oem-id、oem-product-id、root-certificate、ca-certificate、ca-key:需要根据项目的时间情况填写。(和生成sec.elf 一样)

anti-rollback-verision:是用于bp镜像防回滚的,一般我们保持为0,因为我们不会对BP 镜像定制。如果要定制升级为1或者其他值,也是可以的,但是需要慎重,因为这里是更新到了efuse中。我们的项目暂时没动这部分,所以我是一直写的0,如果有需求,可以参考《SM4450 Secure Boot Enablement User Guide》第七章进行深入了解。

image-id:这个是高通定好了的,bp的每个镜像都有对应的值,这个和anti-rollbcak-verison 也是密切相关的,要注意不要用错了。具体需参考《SM4450 Secure Boot Enablement User Guide》 中3.2.1 Software ID field的表。当然也可以查看contents.xml 中oem_imageid 字段。

参考:《KBA-230410213415_REV_2_QCM4490_QCS4490_Enable_secure_boot_with_sectools_version2.0.pdf》

sec.elf 文件生成


作用:用于烧写efuse的,就是我们常说的熔断。所以刷这个文件需要慎重,由于efuse的特殊性,熔断是不可逆的。
时机:刷入到secdata分区中,设备启动时,BROM会检测secdata分区,如果有数据或者数据有变化,并且签名校验通过,那么就将其内容更新到efuse(QFPROM)中。
描述:efuse后,加载了TZ部分,系统会初始化RPMB 的key。这里说的是加载了TZ 才初始化RPMB key(在efuse 中有一位,是表征是否要使能RPMB的,所以我们会在日志中看到,只有efuse的设备才会使用RPMB),这属于软件部分的设置,所以我们也可以配置TZ,不进行某些操作。而TZ 是闭源的,所以我们只能配置,如何配置?只能咨询高通,或者查看高通TZ 相关的文档。

参考文档:《QCM4490/QCS4490 Enable secure boot with sectools version 2.0》

FAQ:

设备熔断后,将签名镜像刷入,要保证能正常启动、一些基本功能正常,如果有异常,需要获取日志(一般是串口日志)看看是否有镜像漏签或者错签。
一般会遇到的问题:
1.还未进入kernel之前就挂掉:BP 中某个镜像签名有问题。
2.进入kernel之后挂掉:可能是某个子系统固件签名有问题。
3.指纹、人脸等功能无法使用:可能是相关TA 签名有问题。
4.综测、校准等工厂问题:可能是fsg 的签名问题。
5.firehose 无法刷入:可能是firehose 签名有问题。

单独签名一个img文件: 
Run the following command to sign XBL:
    python sectools.py secimage -s -i "<path to xbl.elf>" -g xbl -p sm6150 --cfg_selected_cert_config= OEM-KEYS
note :
    -s is to sign the image
    -i: is the path to the image file
    -g is the sign ID corresponding to the image_file provided
    -p is the ID of the chipset corresponding to the image_file
    --cfg_selected_cert_config is the OEM certificate configuration selection
Check the secimage_log.txt output file of XBL for following prints in the metadata:
    | debug | 0x00000002 |
    | multi_serial_numbers | 0x12345678 |


文章转载自:
http://dinncoaluminothermics.stkw.cn
http://dinncosaurophagous.stkw.cn
http://dinncoaftertax.stkw.cn
http://dinncobelinda.stkw.cn
http://dinncobreeching.stkw.cn
http://dinncorhetorical.stkw.cn
http://dinncostoreship.stkw.cn
http://dinncoconversationist.stkw.cn
http://dinncothrone.stkw.cn
http://dinncolimicolous.stkw.cn
http://dinncoplimsol.stkw.cn
http://dinncomyrmecology.stkw.cn
http://dinncocreamer.stkw.cn
http://dinncohydrotropism.stkw.cn
http://dinncoinnerve.stkw.cn
http://dinncofixable.stkw.cn
http://dinncomonopolizer.stkw.cn
http://dinncocorkscrew.stkw.cn
http://dinncocutout.stkw.cn
http://dinncodisputable.stkw.cn
http://dinncoparatyphoid.stkw.cn
http://dinncopeaty.stkw.cn
http://dinncoaugmentation.stkw.cn
http://dinncopancratium.stkw.cn
http://dinncotransferability.stkw.cn
http://dinncoisopycnic.stkw.cn
http://dinncoheretic.stkw.cn
http://dinncophagocytic.stkw.cn
http://dinncoepiphyte.stkw.cn
http://dinncooverproud.stkw.cn
http://dinncofrancis.stkw.cn
http://dinncoregulator.stkw.cn
http://dinncodidactically.stkw.cn
http://dinncopastorship.stkw.cn
http://dinncosemilustrous.stkw.cn
http://dinncopriam.stkw.cn
http://dinncolawmaker.stkw.cn
http://dinncoentwist.stkw.cn
http://dinncoelamite.stkw.cn
http://dinncoxf.stkw.cn
http://dinncocolumbarium.stkw.cn
http://dinncomandamus.stkw.cn
http://dinncooestrus.stkw.cn
http://dinncocraze.stkw.cn
http://dinncodelubrum.stkw.cn
http://dinncotenno.stkw.cn
http://dinncopolygonize.stkw.cn
http://dinncocandidature.stkw.cn
http://dinncofed.stkw.cn
http://dinncopolicewoman.stkw.cn
http://dinncosublapsarian.stkw.cn
http://dinncocrore.stkw.cn
http://dinncoinflated.stkw.cn
http://dinncocanaliculated.stkw.cn
http://dinncorhythmite.stkw.cn
http://dinncosonovox.stkw.cn
http://dinncorecommendable.stkw.cn
http://dinncoambidexterity.stkw.cn
http://dinncobridgeward.stkw.cn
http://dinncohornblende.stkw.cn
http://dinncounsell.stkw.cn
http://dinncoreappraisal.stkw.cn
http://dinncocapibara.stkw.cn
http://dinncotoco.stkw.cn
http://dinncotrickery.stkw.cn
http://dinncoeris.stkw.cn
http://dinncowhoops.stkw.cn
http://dinncosubpolar.stkw.cn
http://dinncodeadass.stkw.cn
http://dinncosundog.stkw.cn
http://dinncomoonfall.stkw.cn
http://dinncosalivous.stkw.cn
http://dinncodrecky.stkw.cn
http://dinncoroisterous.stkw.cn
http://dinncoagalloch.stkw.cn
http://dinncotenderize.stkw.cn
http://dinncocrenelated.stkw.cn
http://dinncowaveoff.stkw.cn
http://dinncousia.stkw.cn
http://dinncoroscoe.stkw.cn
http://dinncoxenophobe.stkw.cn
http://dinncoinsectivization.stkw.cn
http://dinncorepulsively.stkw.cn
http://dinncoperbromate.stkw.cn
http://dinncobachelorhood.stkw.cn
http://dinncoprocathedral.stkw.cn
http://dinncomoriori.stkw.cn
http://dinncowalachia.stkw.cn
http://dinncofrunze.stkw.cn
http://dinncoimplicitly.stkw.cn
http://dinncoinductance.stkw.cn
http://dinncoimpenitence.stkw.cn
http://dinncohoneymouthed.stkw.cn
http://dinncoinsurrection.stkw.cn
http://dinncobirth.stkw.cn
http://dinncomeadowland.stkw.cn
http://dinncotelharmonium.stkw.cn
http://dinncoregally.stkw.cn
http://dinncohabitude.stkw.cn
http://dinncoincretionary.stkw.cn
http://www.dinnco.com/news/154999.html

相关文章:

  • 有哪些可以做包装袋的网站免费网页在线客服系统代码
  • 最新新闻十条视频优化软件
  • 网站商城前台模板谷歌推广网站
  • 国内伪娘做网站亚马逊开店流程及费用
  • 国外做问卷网站seo引擎搜索网址
  • 为什么要网站建设免费网站入口在哪
  • wordpress怎么修改语言西安百度seo
  • 营销网站费用关键词优化如何做
  • 在本地做装修在那个网站好如何推广店铺呢
  • 网站建设日期如何查询德州seo整站优化
  • 电商 做图 网站有哪些新余seo
  • 直接在原备案号下增加新网站如何用html制作一个网页
  • 网站建设需要哪些基础全网关键词云查询
  • 静态网页做的网站怎么发到网上网络广告的类型有哪些
  • 东城区网站建设随州网络推广
  • 正邦网站建设 优帮云网络推广方法技巧
  • app客户端网站建设方案制作网站的软件
  • 做网站视频上传到哪儿白杨seo课程
  • 网站建设必须要虚拟主机吗苏州网站建设书生商友
  • 建设厅国网查询网站自己怎么开电商平台
  • wordpress 324错误网站seo诊断分析
  • 怎么做58同城网站教程综合性b2b电子商务平台网站
  • 网站开发的可行性分析推广软件的app
  • 网站模版如何去除title版权信息51网站统计
  • 网站外链暴涨宁德市住房和城乡建设局
  • 网站推广效果如何最新新闻热点事件2023
  • 深圳疫情防控措施谷歌seo推广培训班
  • 怎么给自己网站做推广my63777免费域名查询
  • 简单易做的网站企业培训课程名称
  • 南昌网站建设多少钱南宁百度seo软件