I loaded the Lebian image downloaded from the Lemaker downloads page using the method in the accompanying text file. Everything seemed to go OK.
The output was:
Flashing ptable
target reported max download size of 134217728 bytes
sending ‘ptable’ (24 KB)…
OKAY [ 0.001s]
writing ‘ptable’…
OKAY [ 0.005s]
finished. total time: 0.006s
target reported max download size of 134217728 bytes
sending ‘xloader’ (164 KB)…
OKAY [ 0.007s]
writing ‘xloader’…
OKAY [ 0.008s]
finished. total time: 0.016s
target reported max download size of 134217728 bytes
sending ‘fastboot’ (1152 KB)…
OKAY [ 0.039s]
writing ‘fastboot’…
OKAY [ 0.057s]
finished. total time: 0.096s
target reported max download size of 134217728 bytes
sending ‘fip’ (1224 KB)…
OKAY [ 0.047s]
writing ‘fip’…
OKAY [ 0.058s]
finished. total time: 0.106s
target reported max download size of 134217728 bytes
sending ‘boot’ (65536 KB)…
OKAY [ 2.194s]
writing ‘boot’…
OKAY [ 0.414s]
finished. total time: 2.608s
Please be patient…
target reported max download size of 134217728 bytes
erasing ‘system’…
OKAY [ 0.053s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.593s]
writing ‘system’…
OKAY [ 0.684s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.591s]
writing ‘system’…
OKAY [ 0.768s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.599s]
writing ‘system’…
OKAY [ 0.730s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.569s]
writing ‘system’…
OKAY [ 0.722s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.569s]
writing ‘system’…
OKAY [ 0.721s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.561s]
writing ‘system’…
OKAY [ 0.725s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.583s]
writing ‘system’…
OKAY [ 0.719s]
sending sparse ‘system’ (126368 KB)…
OKAY [ 4.397s]
writing ‘system’…
OKAY [ 0.836s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.609s]
writing ‘system’…
OKAY [ 0.867s]
sending sparse ‘system’ (131068 KB)…
OKAY [ 4.599s]
writing ‘system’…
OKAY [ 0.734s]
sending sparse ‘system’ (130912 KB)…
OKAY [ 4.580s]
writing ‘system’…
OKAY [ 0.650s]
sending sparse ‘system’ (121600 KB)…
OKAY [ 4.253s]
writing ‘system’…
OKAY [ 0.805s]
finished. total time: 63.520s
Then I reset the DIP Switches to ON OFF OFF OFF. I attached a mouse and keyboard and an HDMI monitor. I waited for 10 minutes but saw nothing on the monitor. I then powered down the system and attached a USB cable to the USB-C port that is near the two switches and the LS connector. Attached the other end to my Linux PC (Centos 7.5) and used minicom with the following settings 11520 8N1 software flow control ON
Applied power to the board. It starts booting and then reaches the following spot and hangs
Booting `Lebian 9 (HiKey970 Lebian)’
EFI stub: Booting Linux Kernel…
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map…
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.78-147538-g244928755bbe (andy@andy-virtual-m8
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options ‘115200’)
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] Ion: insert heap-name carveout_gralloc
[ 0.031938] /soc/interrupt-controller@0xf4000000: Unable to locate ITS domn
[ 0.039266] /soc/interrupt-controller@0xf4000000: unable to locate ITS domn
[ 0.408709] dmi: Firmware registration failed.
[ 0.413369] Ion: invalid heap-name in node iommu_info, please check the na
[ 0.420519] Ion: invalid heap-name in node linear, please check the name
[ 0.427329] Ion: node name [heap_sys_user], heap-name [sys_heap]
[ 0.433335] Ion: heap index 0 : name sys_heap base 0x0 size 0x0 id 0 type 0
[ 0.440295] Ion: heap sys_heap base =0, try to find dynamic area
[ 0.446386] Ion: name = sys_heap, table name carveout_gralloc
[ 0.452216] Ion: name = sys_heap, table name
[ 0.456655] Ion: name = sys_heap, table name
[ 0.461093] Ion: name = sys_heap, table name
[ 0.465531] Ion: name = sys_heap, table name
[ 0.469976] Ion: node name [heap_carveout_gralloc], heap-name [carveout_gr]
[ 0.477370] Ion: heap index 1 : name carveout_gralloc base 0x0 size 0x0 id2
[ 0.485022] Ion: heap carveout_gralloc base =0, try to find dynamic area
[ 0.491806] Ion: name = carveout_gralloc, table name carveout_gralloc
[ 0.498329] Ion: have found heap name carveout_gralloc base = 0xbc800000, 0
[ 0.506344] of_get_iova_info:start_addr 0x40000, size 0xbffc0000 align 0x80
[ 0.517742] no hisilicon,hisi-pmic-irq-num1 property set
[ 0.523055] hisi_pmic 2-00: the platform don’t support ext-interrupt.
[ 0.537016] <[hisi_dt_parse_ip_atf]: regulator_id=0, ppll0_clock_set_rate_>
[ 0.544664] <[hisi_dt_parse_ip_atf]: regulator_id=1, ppll0_clock_set_rate_>
[ 0.552227] <[hisi_ip_to_atf_is_enabled]:regulator_id=1>
[ 0.557669] <[hisi_dt_parse_ip_atf]: regulator_id=8, ppll0_clock_set_rate_>
[ 0.565268] <[hisi_dt_parse_ip_atf]: regulator_id=2, ppll0_clock_set_rate_>
[ 0.572790] <[hisi_ip_to_atf_is_enabled]:regulator_id=2>
[ 0.578196] <[hisi_dt_parse_ip_atf]: regulator_id=3, ppll0_clock_set_rate_>
[ 0.585720] <[hisi_ip_to_atf_is_enabled]:regulator_id=3>
[ 0.591136] <[hisi_dt_parse_ip_atf]: regulator_id=4, ppll0_clock_set_rate_>
[ 0.598657] <[hisi_ip_to_atf_is_enabled]:regulator_id=4>
[ 0.604061] <[hisi_dt_parse_ip_atf]: regulator_id=5, ppll0_clock_set_rate_>
[ 0.611581] <[hisi_ip_to_atf_is_enabled]:regulator_id=5>
[ 0.616986] <[hisi_dt_parse_ip_atf]: regulator_id=6, ppll0_clock_set_rate_>
[ 0.624503] <[hisi_ip_to_atf_is_enabled]:regulator_id=6>
[ 0.629925] <[hisi_dt_parse_ip_atf]: regulator_id=7, ppll0_clock_set_rate_>
[ 0.637442] <[hisi_ip_to_atf_is_enabled]:regulator_id=7>
[ 0.652065] Kirin-pcie f4000000.pcie: eye_param_vboost = [0xffffffff]
[ 0.658530] Kirin-pcie f4000000.pcie: eye_param_iboost = [0xffffffff]
[ 0.664973] Kirin-pcie f4000000.pcie: eye_param_pre = [0xffffffff]
[ 0.671156] Kirin-pcie f4000000.pcie: eye_param_post = [0xffffffff]
[ 0.677422] Kirin-pcie f4000000.pcie: eye_param_main = [0xffffffff]
[ 0.779550] ion domain already init return domain
It hangs there for a fair amount of time (several minutes) then the system reboots.
Any help would be mightily appreciated. Thanks