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_PRODUCTtarget_files.zip的文件做的完整包
$./build/tools/releasetools/ota_from_target_files block [target_file.zip] [ota_full.zip]
非安全固件OTA正常,这个安全固件OTA还需配置其它么 ?