up
100
作者 blueardour 2019-05-07 12:38:11
Wrote 0 BlogsTotally 0 words
HiKey970 update OS (3)

download kernel

seems many online files are not available, refer to belowing links

try this one:
https://doc.bwbot.org/zh-cn/books-online/hikey970-doc/topic/547.html

update image

# ! /bin/bash

echo "hikey 970 updating"

cd hikey970_debin_0531_support_uvc
fastboot flash xloader sec_xloader.img
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
cd -

#cd hikey970_debin_0531_support_uvc
#fastboot flash ptable prm_ptable.img
fastboot flash ptable 64gtoendprm_ptable.img
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
#cd -

cd hikey970_debin_0531_support_uvc
fastboot flash fastboot l-loader.bin
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
cd -

cd hikey970_debin_0531_support_uvc
fastboot flash fip fip.bin
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
cd -

cd hikey970_debin_0531_support_uvc
fastboot flash boot boot2grub.uefi.img
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
cd -

cd hikey970_debin_0531_support_uvc
fastboot flash system rootfs.sparse.img
if [ "$?" != "0" ]; then echo "Update Failed!"; cd -; exit -1; fi
cd -

echo "update success"

setup

  1. wifi

install driver

sudo apt-get install firmware-ti-connectivity

connect:

sudo nmcli device wifi connect TP-LINK_5G_A134 password blueWhale

其中TP-LINK_5G_A134为wifi的ssid,blueWhale为wifi的密码,请根据自己的情况设置。

  1. apt source
    ```
    deb http://http.debian.net/debian/ stretch main contrib non-free
    #deb http://security.debian.org/ stretch/updates main contrib non-free
    #deb http://http.debian.net/debian/ stretch-updates main contrib non-free

#deb-src http://http.debian.net/debian/ stretch main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://http.debian.net/debian/ stretch-updates main contrib non-free

deb http://archive.debian.org/debian stretch main contrib non-free

```

Refer:

  1. Hikey 970 Build Linux Kernel and update
  2. 01-步骤整理-华为海思Hikey970开发板的AOSP编译烧写
  3. HiSilicon Hikey 970 - Shunya Desktop Image For HiKey970
  4. Getting Started with the HiKey970
  5. 海思 hikey970 开发板简介
-->