[Android Software Development] Geli1976:
Yes i have Uart Logs:

100 we ignore!!

[ 881.823843@0] monitor_sensor proj_event LEFT value=1

[ 883.693828@0] monitor_sensor proj_event RIGHT value=0

[ 887.143833@0] monitor_sensor proj_event RIGHT value=1

[ 889.313820@0] monitor_sensor proj_event LEFT value=0

[ 890.753826@0] monitor_sensor proj_event RIGHT value=0

[ 896.649979@0] init: powerctl cmd: dead0002, target:

[ 896.660182@0] SysRq : Emergency Remount R/O

[ 897.056062@3] binder: transaction release 324713 bad handle 12, ret = -22

[ 898.095160@0] saradc c8100600.saradc: busy, 94024041

[ 898.135088@0] saradc c8100600.saradc: busy, 94034041

[ 898.145090@0] saradc c8100600.saradc: busy, 94024041

[ 898.195076@0] saradc c8100600.saradc: busy, 94024041

[ 898.244981@0] saradc c8100600.saradc: busy, 94024041

[ 898.294959@0] saradc c8100600.saradc: busy, 94024041

[ 898.335647@0] saradc c8100600.saradc: busy, 94034041

[ 898.344123@1] free_rdev: ffffffc035d60000 73104 saved to rdev_buf

[ 898.345056@0] saradc c8100600.saradc: busy, 94024041

[ 898.394975@0] saradc c8100600.saradc: busy, 94024041

[ 898.444965@0] saradc c8100600.saradc: busy, 94024041

[ 898.494944@0] saradc c8100600.saradc: busy, 94024041

[ 898.535076@0] saradc c8100600.saradc: busy, 94034041

[ 898.545481@0] saradc c8100600.saradc: busy, 94024041

[ 898.595441@0] saradc c8100600.saradc: busy, 94024041

[ 898.645262@0] saradc c8100600.saradc: busy, 94024041

[ 898.695258@0] saradc c8100600.saradc: busy, 94024041

[ 898.704157@0] reboot: Power down

[ 898.704208@0] do_aml_poweroff()

INFO: PSCI Affinity Map:

INFO: AffInst: Level 0, MPID 0x0, State ON

INFO: AffInst: Level 0, MPID 0x1, State ON

INFO: AffInst: Level 0, MPID 0x2, State ON

INFO: AffInst: Level 0, MPID 0x3, State ON

bl31 reboot reason: 0x1

bl31 reboot reason: 0xe

system cmd 1.

▒ҺROR: gxbb System R▒GXTVBB:Bt@▒

Œ▒▒▒2U▒▒*Ee▒▒S&▒▒'Tj▒▒ڒ5▒▒▒▒▒EMMC:0;READ:0;CHK:0;

no sdio debug board detected

TE: 96597

BL2 Built : 17:57:38, Apr 1 2016.

gxtvbb gb30adc1 - xiaobo.gu@droid05

set vcck to 1100 mv

set vddee to 1130 mv

DRAM reset...

Board ID = 0

CPU clk: 1536MHz

STICKY_REG0: 0x00000000

STICKY_REG1: 0x00000000

DDR channel: DDR0+1 two channel @ 720MHz

DQS-corr enabled

DDR0: 1024MB-2T-11

DDR1: 1024MB-2T-11

DataBus test pass!

AddrBus test pass!

-s

Load fip header from eMMC, src: 0x0000c000, des: 0x01400000, size: 0x00004000

Load bl30 from eMMC, src: 0x00010000, des: 0x01000000, size: 0x0000d460

Sending bl30......................................................OK.

Run bl30...

Load bl31 from eMMC, src: 0x00020000, des: 0x101b0000, size: 0x00013140

l30: check_permit, count is 1

bl30: check_permit: ok!

efuse_pw_en: 0x3

Load bl33 from eMMC, src: 0x00034000, des: 0x01000000, size: 0x000dbd50

[Image: gxtvb_v1.1.3109-f651ed3 2016-05-05 19:38:44 xing.xu@droid05]

efuse_setup() 223: OPS=0x12

bl30: check_permit, count is 1

bl30: check_permit: ok!

chipid: ef be ad de d f0 ad ba ef be ad de not ES chip

[0.454032 Inits done]

secure task start!

high task start!

low task start!

low task NOTICE: BL3-1: v1.0(debug):d1ef098

NOTICE: BL3-1: Built : 10:34:39, Mar 22 2016

bl30: check_permit, count is 1

bl30: check_permit: ok!

bl30: check_permit, count is 1

bl30: check_permit: ok!

bl30: check_permit, count is 1

bl30: check_permit: ok!

INFO: BL3-1: Initializing runtime services

WARNING: No OPTEE provided by BL2 boot loader

ERROR: Error initializing runtime service opteed_fast

INFO: BL3-1: Preparing for EL3 exit to normal world

INFO: BL3-1: Next image address = 0x1000000

INFO: BL3-1: Next image spsr = 0x3c9

U-Boot 2015.01-gc014362 (Apr 30 2019 - 09:54:36), Build: jenkins-Batman_release- 494

DRAM: 2 GiB

Relocation Offset is: 76e93000

board_init pwm_misc = 8000

register usb cfg[0][1] = 0000000077f5edd0

###### g9bb board_i2c_set_pinmux end

aml_i2c_init g_aml_i2c_plat_num: 2

aml_i2c_init 3 init.

aml_i2c_init 2 init.

gpio: pin GPIOX_23 (gpio 117) value is 1

gpio: pin GPIOW_3 (gpio 3) value is 1

gpio: pin GPIOX_3 (gpio 97) value is 1

MMC: aml_priv->desc_buf = 0x0000000073e93ea0

aml_priv->desc_buf = 0x0000000073e95eb0

SDIO Port B: 0, SDIO Port C: 1

emmc/sd response timeout, cmd8, status=0x1ff2800

emmc/sd response timeout, cmd55, status=0x1ff2800

[mmc_init] mmc init success

mmc read lba=0x14000, blocks=0x400

Amlogic multi-dtb tool

Multi dtb detected

checkhw: hardware_id = 0x1

Multi dtb tool version: v2 .

Support 4 dtbs.

aml_dt soc: gxtvbb platform: batman variant: fm10

dtb 0 soc: gxtvbb plat: batman vari: fm10

dtb 1 soc: gxtvbb plat: batman vari: fm154k

dtb 2 soc: gxtvbb plat: batman vari: l166

dtb 3 soc: gxtvbb plat: batman vari: l246

Find match dtb: 0

start dts,buffer=0000000073e98570,dt_addr=0000000073e98d70

parts: 14

00: logo 0000000000400000 1

01: recovery 0000000001000000 1

02: param 0000000002000000 2

03: crypt 0000000001000000 1

04: misc 0000000001000000 1

05: boot 0000000001400000 1

06: system 0000000040000000 1

07: cache 0000000010000000 2

08: cri_data 0000000000800000 2

09: tvinfo 0000000000a00000 4

10: panic 0000000000400000 4

11: persist 0000000000800000 4

12: backup 0000000024000000 4

13: data ffffffffffffffff 4

get_dtb_struct: Get emmc dtb OK!

overide_emmc_partition_table: overide cache

[mmc_get_partition_table] skip partition cache.

Partition table get from SPL is :

name offset size flag

================================================================================ ===

0: bootloader 0 400000 0

1: reserved 2400000 4000000 0

2: cache 6c00000 10000000 2

3: env 17400000 800000 0

4: logo 18400000 400000 1

5: recovery 19000000 1000000 1

6: param 1a800000 2000000 2

7: crypt 1d000000 1000000 1

8: misc 1e800000 1000000 1

9: boot 20000000 1400000 1

10: system 21c00000 40000000 1

11: cri_data 62400000 800000 2

12: tvinfo 63400000 a00000 4

13: panic 64600000 400000 4

14: persist 65200000 800000 4

15: backup 66200000 24000000 4

16: data 8aa00000 e04e00000 4

mmc read lba=0x12000, blocks=0x2

mmc read lba=0x12002, blocks=0x2

mmc_read_partition_tbl: mmc read partition OK!

eMMC/TSD partition table have been checked OK!

mmc env offset: 0x17400000

In: serial

Out: serial

Err: serial

board_late_init() reboot_mode=reset_poweroff

dlp:: threeDim_status 0!

board_late_init upgrade_step = 0

board_late_init wipe_backenv = 0

board_late_init() reboot_mode=reset_poweroff

Disable cec poweron

[store]To run cmd[emmc dtb_read 0x1000000 0x40000]

read emmc dtb

Amlogic multi-dtb tool

Multi dtb detected

checkhw: hardware_id = 0x1

Multi dtb tool version: v2 .

Support 4 dtbs.

aml_dt soc: gxtvbb platform: batman variant: fm10

dtb 0 soc: gxtvbb plat: batman vari: fm10

dtb 1 soc: gxtvbb plat: batman vari: fm154k

dtb 2 soc: gxtvbb plat: batman vari: l166

dtb 3 soc: gxtvbb plat: batman vari: l246

Find match dtb: 0

vpu: clk_level in dts: 7

vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)

amlkey_init() enter!

bl30: check_permit, count is 1

bl30: check_permit: ok!

bl30: check_permit, count is 1

bl30: check_permit: ok!

bl30: check_permit, count is 1

bl30: check_permit: ok!

bl30: check_permit, count is 1

bl30: check_permit: ok!

[EFUSE_MSG]keynum is 4

factory_power_mode: secondary

product_id: 17101

hardware_version: fm10_0

brand_name: xiaoming

panel_detect: get_adc_value(0) = 510

panel_detect: panel_id = 1, panel_type = lvds_0

Saving Environment to aml-storage...

mmc env offset: 0x17400000

Writing to MMC(1)... done

lcd: no lcd_debug_print flag

lcd: no lcd_debug_test flag

lcd: detect mode: tv, key_valid: 0

lcd: failed to get lcd_cpu_gpio_names

lcd: load config from dts

lcd: use panel_type=lvds_0

lcd: set phy vswing=3, preemphasis=0

lcd: bl: no backlight exist

vpp: vpp_init

Net: No ethernet found.

bl30: check_permit, count is 1

bl30: check_permit: ok!

efuse_pw_en: 0x3

WARNING! efuse bits is disabled

Enable A53 JTAG to EE

wipe_data=successful

wipe_cache=successful

upgrade_step=0

low task comd=0x00060100

into process_low_task

into LOW_TASK_Saving Environment to aml-storage...

mmc env offset: 0x17400000

Writing to MMC(1)... done

amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet

[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet

gpio: pin GPIOAO_3 (gpio 125) value is 1

reboot_mode=reset_poweroff

IR init done!

do_monitor_bt_cmdline

gpio: pin GPIOY_5 (gpio 37) value is 1

gpio: pin GPIOAO_13 (gpio 135) value is 1

gpio: pin GPIOAO_4 (gpio 126) value is 1

gpio: pin GPIOAO_4 (gpio 126) value is 0

bt_vendor_name = Broadcom,bt_vendor_id= 0xf00

fw_patchfile:BCM43569A2.hcd

cmd=ext4size mmc 1:c BCM43569A2.hcd 73e824c0

vfs_getsize size = 0x9db9

cmd=ext4load mmc 1:c 73e99840 BCM43569A2.hcd 9db9

40377 bytes read in 3 ms (12.8 MiB/s)

OK

start

run_dl_fw() -- hci send update baute rate

run_dl_fw() -- hci send update baute rate complete

run_dl_fw() -- start to dl fw

run_dl_fw() - download FW done

Now is reset_poweroff,skip entry recovery!

BT_MAC:d0:d9:4f:ef:07:01

cmd=ext4size mmc 1:c wake_on_ble.conf 73e82450

vfs_getsize size = 0x77

cmd=ext4load mmc 1:c 73ea3de0 wake_on_ble.conf 77

119 bytes read in 2 ms (57.6 KiB/s)

OK

27 4c fc 24 00 20 00 ff c2 76 cf 29 eb 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07 02 01 05 03 ff 00 01

configure rc address:

0x01, 0x4c, 0xfc, 0x24, 0x00, 0x20, 0x00, 0xff, 0xc2, 0x76, 0xcf, 0x29, 0xeb, 0x 08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x02, 0x01, 0x05, 0x03, 0xff, 0x00, 0x01,

gpio: pin GPIOAO_13 (gpio 135) value is 1

enter wake on ble!

INFO: PSCI Affinity Map:

INFO: AffInst: Level 0, MPID 0x0, State ON

INFO: AffInst: Level 0, MPID 0x1, State OFF

INFO: AffInst: Level 0, MPID 0x2, State OFF

INFO: AffInst: Level 0, MPID 0x3, State OFF

bl31 reboot reason: 0x101

bl31 reboot reason: 0x101

system cmd 0.

process command 00000006

bl30 enter suspend!

store restore gp0 pll

cpu clk suspend rate 1536000000

process command 00000001

CEC cfg:0x0000

te008915d0000000000x035