root@hj-virtual-machine:/home/hj/u-boot# sudo sunxi-fel ver
AWUSBFEX soc=00001663(unknown) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000
root@hj-virtual-machine:/home/hj/u-boot# sunxi-fel uboot /home/hj/u-boot/u-boot-sunxi-with-spl.bin
Warning: no 'soc_sram_info' data for your SoC (id=1663)
Unexpected SCTLR (00052078)
谁帮我解释一下是什么意思
离线
把原来的卸载了,重新拉分支git clone -b f1c100s-spiflash https://github.com/Icenowy/sunxi-tools.git 安装报错
root@hj-virtual-machine:/home/hj/sunxi-tools# make && sudo make install
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ `pkg-config --cflags libusb-1.0` `pkg-config --cflags zlib` -o sunxi-fel \
fel.c thunk.c progress.c soc_info.c fel_lib.c fel-spiflash.c `pkg-config --libs libusb-1.0` `pkg-config --libs zlib`
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
fel_lib.c:26:10: fatal error: libusb.h: 没有那个文件或目录
#include <libusb.h>
^~~~~~~~~~
compilation terminated.
Makefile:142: recipe for target 'sunxi-fel' failed
make: *** [sunxi-fel] Error 1
然后安装sudo apt-get install libusb-1.0-0-dev 不行,一样报错
然后安装sudo apt-get install libusb-dev 还是一样报错
然后安装sudo apt-get install build-essential pkg-config 还是一样报错
什么情况
离线
就是参考的这个,说到的都安装了,还是一样
离线
看3楼的,都有安装。不过现在又安装了一遍,竟然好了。估计前面没安装好
离线
多谢晕哥
离线