Diviner.MK 2023-03-02 16:12 采纳率: 42.9%
浏览 49
已结题

全志A133 安全固件OTA升级失败

A133 androidQ 开启FBE加密后,非首次启动时间都较长。
咨询SDK那边说要刷安全固件,在longan/build/ 下运行createkeys 命令后生成对应的key文件,在android编译完后 pack -v 打包安全固件a133_android10_c3_uart0_secure_v0.img 刷入后开机/重启时间恢复正常。但在OTA时,正常升级完成 点System reboot now重启时卡住,串口打印

[15:53:55:587] [  259.367225] android_work: sent uevent USB_STATE=DISCONNECTED␍␊
[15:53:55:691] [  259.471853] sunxi rtc reboot, arg ␍␊
[15:53:55:691] [  259.475675] unkown reboot arg ␍␊
[15:53:55:707] [  259.479119] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B␍␊
[15:53:55:778] [  259.559137] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B␍␊
[15:53:55:913] [  259.693564] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:919] [  259.702652] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:940] [  259.711701] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:940] [  259.720758] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:958] [  259.729813] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:958] [  259.738864] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:968] [  259.747917] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:976] [  259.756971] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:988] [  259.766022] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:55:991] [  259.775072] sun50iw10p1-pinctrl pio: expect_func as:dsi4lane, but muxsel(4) is func:dsi0␍␊
[15:53:56:012] [  259.792499] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown␍␊
[15:53:56:018] [  259.801071] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown␍␊
[15:53:56:034] [  259.809740] reboot: Restarting system with command ''␍␊

在此就停滞了, 按power键等无效,只有重刷机。

在正常的recovery界面直接重启
reboot: Restarting system with command ''打印后,输出正常开机的打印。

[15:53:56:872] [262]HELLO! SBOOT is starting!␍␊
[15:53:56:872] [265]sboot commit : f10e8c3 ␍␊
[15:53:57:410] NOTICE:  BL3-1: v1.0(debug):e138ea9␍␊
[15:53:57:410] NOTICE:  BL3-1: Built : 09:21:33, 2020-11-18␍␊
[15:53:57:419] NOTICE:  BL3-1 commit: 8␍␊
[15:53:57:419] NOTICE:  cpuidle init version V2.0␍␊
[15:53:57:425] NOTICE:  secure os exist␍␊
[15:53:57:434] MESSAGE: [0x0] TEE-CORE: OP-TEE version: f37cc616 #1 Wed Jan 15 03:00:40 UTC 2020 arm␍␊
[15:53:57:440] NOTICE:  BL3-1: Preparing for EL3 exit to normal world␍␊
[15:53:57:464] NOTICE:  BL3-1: Next image address = 0x4a000000␍␊
[15:53:57:464] NOTICE:  BL3-1: Next image spsr = 0x1d3␍[SCP] :sunxi-arisc driver begin startup 2␍␊
[15:53:57:646] [SCP] :0x1␍␊
[15:53:57:646] [SCP] :arisc version: [000-g-80a9e6c4f0d-12ytri]␍␊
[15:53:57:656] [SCP] :arisc startup ready␍␊
[15:53:57:665] [SCP] :arisc startup notify message feedback␍␊
[15:53:57:665] [SCP] :send hard sync feedback message: 0x900200␍␊
[15:53:57:665] [SCP] :sunxi-arisc driver v1.10 is starting␍␊
[15:54:01:794] [    0.000000] Booting Linux on physical CPU 0x0␍␊
[15:54:01:794] [    0.000000] Linux version 4.9.170 (sn0553@sn0603-linux) (gcc version 5.3.1 2

OTA是pack4dist ­ -v生成的
$OUT/obj/PACKAGING/target_files_intermediates/$TARGET_PRODUCT­target_files.zip的文件做的完整包
$./build/tools/releasetools/ota_from_target_files ­­block [target_file.zip] [ota_full.zip]

非安全固件OTA正常,这个安全固件OTA还需配置其它么 ?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 3月10日
    • 创建了问题 3月2日

    悬赏问题

    • ¥15 安卓C读取/dev/fastpipe屏幕像素数据
    • ¥15 pyqt5tools安装失败
    • ¥15 mmdetection
    • ¥15 nginx代理报502的错误
    • ¥100 当AWR1843发送完设置的固定帧后,如何使其再发送第一次的帧
    • ¥15 图示五个参数的模型校正是用什么方法做出来的。如何建立其他模型
    • ¥100 描述一下元器件的基本功能,pcba板的基本原理
    • ¥15 STM32无法向设备写入固件
    • ¥15 使用ESP8266连接阿里云出现问题
    • ¥15 BP神经网络控制倒立摆