ROS交流群
ROS Group
产品服务
Product Service
开源代码库
Github
官网
Official website
技术交流
Technological exchanges
激光雷达
LIDAR
ROS教程
ROS Tourials
深度学习
Deep Learning
机器视觉
Computer Vision

hikey 970 debian 镜像(有opencl 和 tensorflow)



  • @myzhuang 你测得好认真啊 厉害啊



  • 能提供下 ubuntu 和debian rootfs制作流程么,感谢



  • 这是我按照这篇文章操作的记录,可以给大家做个参考:
    hikey970开发板lebian系统烧写(ubuntu下):
    https://blog.csdn.net/qqqzmy/article/details/82691880
    hikey970开发板lebian系统空间拓展:
    https://blog.csdn.net/qqqzmy/article/details/82701619
    tensorflow环境的搭建:
    https://blog.csdn.net/qqqzmy/article/details/82767635


  • administrators

    @myzhuang scipy是一个python包可以通过下面的方式安装

    # 使用 apt-get
    sudo apt-get install python-scipy
    # 使用 pip
    sudo pip install scipy
    


  • 我想问一下这个安装scipy成功了吗?我使用sudo apt-get install scipy 安装会出错。



  • @weijiz 抱歉,应该是我用错镜像了,这里下载的确实有带tf,我原先烧的那个没带,而且装好后里面的python3也没办法import tensorflow


  • administrators

    @myzhuang 镜像解压出的文件如下

    0_1536816269449_fdc762b4-90f3-4b11-9849-23cccc022b13-image.png

    可以看到有一个是带tf的。是不是你下载的并不是此文中提供的镜像。



  • @weijiz 镜像里面的文件是hikey970-lebian9.img,所以命令应该写
    sudo fastboot flash userdata hikey970-lebian9.img
    才对,没有带“tf”的


  • administrators

    @myzhuang hikey970-lebian9-tf.img 是原本镜像里面带的文件。补丁只是修改uefi,相当于修改后重刷一下系统。



  • @weijiz 重刷问题解决了,可是分区补丁的那个文件中,没有hikey970-lebian9-tf.img这个文件啊,只有boot-hikey970.uefi.2.img


  • administrators

    @myzhuanghikey 970 debian 镜像(有opencl 和 tensorflow) 中说:

    ERROR Read connector status timout,

    我没有遇到过这个问题,不太清楚。你可以重刷镜像试试。



  • 我按照这个教程烧写可是Debian无法启动。接通电源后会出现Debian和fastboot选择,选择Debian后串口打印部分信息就没法启动了,这是什么问题?
    串口打印:
    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-machine) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Thu May 31 10:58:02 CST 2018
    [ 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.031939] /soc/interrupt-controller@0xf4000000: Unable to locate ITS domain
    [ 0.039265] /soc/interrupt-controller@0xf4000000: unable to locate ITS domain
    [ 0.393094] dmi: Firmware registration failed.
    [ 0.397745] Ion: invalid heap-name in node iommu_info, please check the name
    [ 0.404943] Ion: invalid heap-name in node linear, please check the name
    [ 0.411752] Ion: node name [heap_sys_user], heap-name [sys_heap]
    [ 0.417763] Ion: heap index 0 : name sys_heap base 0x0 size 0x0 id 0 type 0
    [ 0.424726] Ion: heap sys_heap base =0, try to find dynamic area
    [ 0.430820] Ion: name = sys_heap, table name carveout_gralloc
    [ 0.436652] Ion: name = sys_heap, table name
    [ 0.441091] Ion: name = sys_heap, table name
    [ 0.445530] Ion: name = sys_heap, table name
    [ 0.449971] Ion: name = sys_heap, table name
    [ 0.454418] Ion: node name [heap_carveout_gralloc], heap-name [carveout_gralloc]
    [ 0.461813] Ion: heap index 1 : name carveout_gralloc base 0x0 size 0x0 id 2 type 2
    [ 0.469467] Ion: heap carveout_gralloc base =0, try to find dynamic area
    [ 0.476252] Ion: name = carveout_gralloc, table name carveout_gralloc
    [ 0.482777] Ion: have found heap name carveout_gralloc base = 0xbc800000, size 31457280
    [ 0.490793] of_get_iova_info:start_addr 0x40000, size 0xbffc0000 align 0x8000
    [ 0.502246] no hisilicon,hisi-pmic-irq-num1 property set
    [ 0.507560] hisi_pmic 2-00: the platform don’t support ext-interrupt.
    [ 0.521120] <[hisi_dt_parse_ip_atf]: regulator_id=0, ppll0_clock_set_rate_flag=0>
    [ 0.528786] <[hisi_dt_parse_ip_atf]: regulator_id=1, ppll0_clock_set_rate_flag=0>
    [ 0.536346] <[hisi_ip_to_atf_is_enabled]:regulator_id=1>
    [ 0.541756] <[hisi_dt_parse_ip_atf]: regulator_id=8, ppll0_clock_set_rate_flag=0>
    [ 0.549357] <[hisi_dt_parse_ip_atf]: regulator_id=2, ppll0_clock_set_rate_flag=0>
    [ 0.556877] <[hisi_ip_to_atf_is_enabled]:regulator_id=2>
    [ 0.562289] <[hisi_dt_parse_ip_atf]: regulator_id=3, ppll0_clock_set_rate_flag=0>
    [ 0.569809] <[hisi_ip_to_atf_is_enabled]:regulator_id=3>
    [ 0.575230] <[hisi_dt_parse_ip_atf]: regulator_id=4, ppll0_clock_set_rate_flag=0>
    [ 0.582748] <[hisi_ip_to_atf_is_enabled]:regulator_id=4>
    [ 0.588160] <[hisi_dt_parse_ip_atf]: regulator_id=5, ppll0_clock_set_rate_flag=0>
    [ 0.595680] <[hisi_ip_to_atf_is_enabled]:regulator_id=5>
    [ 0.601088] <[hisi_dt_parse_ip_atf]: regulator_id=6, ppll0_clock_set_rate_flag=0>
    [ 0.608608] <[hisi_ip_to_atf_is_enabled]:regulator_id=6>
    [ 0.614028] <[hisi_dt_parse_ip_atf]: regulator_id=7, ppll0_clock_set_rate_flag=0>
    [ 0.621546] <[hisi_ip_to_atf_is_enabled]:regulator_id=7>
    [ 0.636327] Kirin-pcie f4000000.pcie: eye_param_vboost = [0xffffffff]
    [ 0.642791] Kirin-pcie f4000000.pcie: eye_param_iboost = [0xffffffff]
    [ 0.649235] Kirin-pcie f4000000.pcie: eye_param_pre = [0xffffffff]
    [ 0.655541] Kirin-pcie f4000000.pcie: eye_param_post = [0xffffffff]
    [ 0.661808] Kirin-pcie f4000000.pcie: eye_param_main = [0xffffffff]
    [ 0.767524] ion domain already init return domain
    [ 0.973911] [drm:adv7511_detect.isra.7] ERROR Read connector status timout, time = 10
    [ 1.095695] gpio_hub_power_on:regulator_enable