peter 发表于 2018-5-9 15:15:28

hikey960 发行版本linux debian

注意:本固件只针对2018年5月前买的板子,用三星flash的板子才能跑起来,之后买的板子千万不要刷。
固件下载
链接:https://pan.baidu.com/s/1A_ctIjusXb-7VT26m4tkkA 密码:5kbj

用户名: root
密码: toor


烧录教程:

Pre-requisites:
Hardware:-
1) Hikey960 board
2) Power Anapter 12V 3A
3) Type C USB cable
4) 1.8v USB to TTL UART connector
5) Host device running on Ubuntu 16.04

Software:-
1) android-tools-fastboot

To install the software run the following command:

sudo apt-get install android-tools-fastboot


**********************************************************************************************************************
                              *INSTALLING UEFI(only new boards)*
**********************************************************************************************************************

If UEFI is already installed(board which was flashed before)
then move on to Step 5.

Step 1: Turning on the Switches

      Make
      Switch 1 : ON
      Switch 2 : ON
      Switch 3 : OFF

      Note: If the switches are not in correct order then fastboot will not work. Giving error message "<waiting for device>"

Step 2: Connecting Cables

      Connect Type C USB cable to the host and board and make sure it is configured as ttyUSB1 (workaround : you can connect a dummy usb to serial first before connecting type C so usb serial becomes ttyUSB0 and type C is ttyUSB1
      Connect Power Adapter

      Confirm if the cables are connected correctly using dmesg command
                USB Type C should now be connected to ttyUSB1
                        
      Sample dmesg Log:
      
                        [ 7402.694006] usb 1-1.2: New USB device found, idVendor=18d1, idProduct=d00d
                        [ 7402.694010] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                        [ 7402.694012] usb 1-1.2: Product: HiKey960
                        [ 7402.694014] usb 1-1.2: Manufacturer: 96Boards
                        [ 7402.694016] usb 1-1.2: SerialNumber: 5EA41CC0223F215
                        [ 7516.698997] usb 1-1.2: USB disconnect, device number 4
                         usb 2-1.1: USB disconnect, device number 3
                         usb 2-1.2: new full-speed USB device number 4 using ehci-pci
                         usb 2-1.2: New USB device found, idVendor=12d1, idProduct=3609
                         usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
                         usb 2-1.2: Product: USB SER
                         usb 2-1.2: Manufacturer: HISILICON
                         usbcore: registered new interface driver usbserial
                         usbcore: registered new interface driver usbserial_generic
                         usbserial: USB Serial support registered for generic
                         usbcore: registered new interface driver option
                         usbserial: USB Serial support registered for GSM modem (1-port)
                         option 2-1.2:1.0: GSM modem (1-port) converter detected
                         usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB1

Step 3: Clone into the tools-images-hikey960 repo

      git clone https://github.com/96boards-hikey/tools-images-hikey960.git

Step 4: We need to install uefi on the hikey960 board

      cd tools-images-hikey960/install-prebuilt-uefi
      sudo ./hikey960-efi-prebuilt.sh -r -v 57

      The above line downloads & installs the uefi on the board
      Note: 57 is the version of UEFI released by Linaro so make sure you download the correct one.
      It might change over a period of time.


NOTE: The UART cable is necessary till this step only. Now You can unplug it if you want.

*******************************************************************************************************************************
                                        *FLASHING Debian IMAGE*
********************************************************************************************************************************
Step 5: Turning on the Switches

      Make
      Switch 1 : ON
      Switch 2 : OFF
      Switch 3 : ON

      Note: If the switches are not in correct order then fastboot will not work.

Step 6: Connecting Cables

      Connect USB Type C cable to the host and board
      Connect the Power Adapter.

Step 7: Untar the Debian Images

      tar -xvzf Debian-shunya.tar.gz
      cd Debian-shunya

Step 8: Flashing the Debian Images
      sudo fastboot devices
      this command should return some value(e.g 335C7C2023D4004 fastboot) if the board is in the fastboot

      sudo fastboot flash boot boot-shunya.uefi.img
      sudo fastboot flash system debian-shunya.img

Step 9: Turning on the Switches

      Make
      Switch 1 : ON
      Switch 2 : OFF
      Switch 3 : OFF

      Note: If the switches are not in correct order then console will not work.

Step 10: Booting your image

      **Remove USB Type C cable (important)         
      Connect HDMI cable.
      Connect the Power Adapter.      
      
NOTE: Plug the HDMI cable before powering up.HDMI hot plug may not work.
      HDMI resolution is fixed in grub to 1280x800 @ 60Hz.



for wifi on Command line run : nmtui



QQ_40E9DA 发表于 2018-5-29 17:26:20

请问主机用高版本的ubuntu是否可以,比如ubuntu-17.04-desktop-amd64。

QQ_40E9DA 发表于 2018-5-29 17:27:40

请问该方法适用hikey970吗?

官微宏 发表于 2018-6-9 09:41:45

请问 debian 镜像的版本,对于 flash 版本(海力士与否)是否有区别?

peter 发表于 2018-6-20 19:15:48

有关系的,这个版本的debian,只能运行于三星flash的版本上

风火轮用户98529 发表于 2018-6-25 11:52:42

debian 镜像如何生成?
页: [1]
查看完整版本: hikey960 发行版本linux debian