Hi all,
I’m trying to build AOSP 9.0 from sources and run it on my HiKey960 (Ver. B). I’m following the official AOSP instructions [1]. I deviate from the instructions in that I’m building a release build:
$ repo init --depth=1 -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r34
Also, I use a modified version of flash-all.sh
that pull the images from our build server to the local machine connected to the board. Apart from that it should be identical.
Android userland is not being run, instead I get repeated errors of this sort:
[ 17.222356] Pending event is same --> ignore this event 2
[ 17.228065] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[ 21.935057] [I/hisi_pd] PE:TYPE-C Only Charger!^M
[ 21.939999] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[ 21.946016] [I/hisi_pd] pd_dpm_report_pd_sink_vbus : Sink 5000 mV, 500 mA
[ 21.953024] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[ 21.960957] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=8,+++
[ 25.220298] ufshcd-hi3660 ff3b0000.ufs: ufshcd_issue_tm_cmd: task management cmd 0x80 timed-out
[ 25.229318] ufshcd-hi3660 ff3b0000.ufs: ufshcd_abort: failed with err -110
[ 25.236545] ufshcd-hi3660 ff3b0000.ufs: ufshcd_task_req_compl: failed, ocs = 0xf
[ 25.244150] ufshcd-hi3660 ff3b0000.ufs: ufshcd_eh_device_reset_handler: failed with err 15
[ 25.434971] ufshcd-hi3660 ff3b0000.ufs: ufshcd_read_desc_param: Failed reading descriptor. desc_id 0 param_offset 0 buff_len 31 ret 0
[ 25.447414] ufshcd-hi3660 ff3b0000.ufs: ufs_get_device_info: Failed reading Device Desc. err = -22
[ 25.456830] ufshcd-hi3660 ff3b0000.ufs: ufs_advertise_fixup_device: Failed getting device info. err = -22
[ 25.469191] ufs final power mode: gear = 3, lane = 2, pwr = 1, rate = 2
[ 25.476040] ufshcd-hi3660 ff3b0000.ufs: set TX_EQUALIZER 3.5db
[ 25.486697] ufshcd-hi3660 ff3b0000.ufs: check TX_EQUALIZER DB value lane0 = 0x1
[ 25.494619] ufshcd-hi3660 ff3b0000.ufs: check TX_EQUALIZER DB value lane1 = 0x1
Looks like a problem accessing the flash. This worked without issues with the pre-installed image as well as well as a more recent factory image. The full logs from flashing and booting the device are here.
Ideas and suggestions are very welcome! Thanks!
Cheers,
Alex