Thank you very much for your tutorial with concrete and coplete operation steps,I already successfully executed ‘hikey_idt’ program with qemu simulator and flahsed linux to hikey960;
HDMI,USB,network is all worked normally,the following is my host machine’s print message in terminal:
linaro@linaro-alip:~/qemu/tools-images-hikey960$ uname -a
Linux linaro-alip 3.10.52-linaro-bubblegum #22 SMP PREEMPT Fri Apr 15 11:21:43 CST 2016 aarch64 GNU/Linux
linaro@linaro-alip:~/qemu/tools-images-hikey960$
linaro@linaro-alip:~/qemu/tools-images-hikey960$ sudo ./hikey_idt -c config -p /dev/ttyUSB0
Config name: config
Port name: /dev/ttyUSB0
0: Image: ./sec_usb_xloader.img Downalod Address: 0x20000
1: Image: ./sec_uce_boot.img Downalod Address: 0x6a908000
2: Image: ./sec_fastboot.img Downalod Address: 0x1ac00000
Serial port open successfully!
Start downloading ./sec_usb_xloader.img@0x20000…
file total size 99584
downlaod address 0x20000
Finish downloading
Start downloading ./sec_uce_boot.img@0x6a908000…
file total size 23680
downlaod address 0x6a908000
Finish downloading
Start downloading ./sec_fastboot.img@0x1ac00000…
file total size 3430400
downlaod address 0x1ac00000
Finish downloading
linaro@linaro-alip:~/qemu/tools-images-hikey960$
After that,I following How can we deploy latest image with UEFI on hikey960? - #59 by juliansun and ’tools-images-hikey960/install-prebuilt-uefi/hikey960-efi-prebuilt.sh‘ installed linux and it works normally. Via ssh connection,I can use my my hikey960:
login as: root
root@hikey960:~#
root@hikey960:~# ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:39:49:5F:F5
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:E0:4C:36:03:A8
inet addr:192.168.31.190 Bcast:192.168.31.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe36:3a8%4817440/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:270 errors:0 dropped:0 overruns:0 frame:0
TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24142 (23.5 KiB) TX bytes:21203 (20.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%4817440/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:672 (672.0 B) TX bytes:672 (672.0 B)
root@hikey960:~# lsusb
Bus 001 Device 005: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 002: ID 0424:5734 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:2734 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@hikey960:~# login as: root
Password:
With this success of qemu simulation,I can do more work wich need x86 machine before,the x86 computer used as server and production machine became optional and I can throw down it;