|
注意:本固件只针对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
[11514.627430] usb 2-1.1: USB disconnect, device number 3
[12112.700336] usb 2-1.2: new full-speed USB device number 4 using ehci-pci
[12112.818364] usb 2-1.2: New USB device found, idVendor=12d1, idProduct=3609
[12112.818368] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12112.818370] usb 2-1.2: Product: USB SER
[12112.818372] usb 2-1.2: Manufacturer: HISILICON
[12114.530788] usbcore: registered new interface driver usbserial
[12114.530843] usbcore: registered new interface driver usbserial_generic
[12114.530890] usbserial: USB Serial support registered for generic
[12114.625738] usbcore: registered new interface driver option
[12114.625783] usbserial: USB Serial support registered for GSM modem (1-port)
[12114.625922] option 2-1.2:1.0: GSM modem (1-port) converter detected
[12114.628070] 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
|
|