"mkimage" command not found - U-Boot images will not be built
"mkimage" command not found - U-Boot images will not be built
如果使用make uImage 則能生成由uboot 引導的核心檔案, 需要用到
uboot/tools/mkimage,可以在/etc/bashrc 檔案末加入一下語句:
export PATH:=$PATH:/usr/src/arm/u-boot-1.1.5/tools
這樣就能直接引用mkimage 命令。
前提是uboot/tools目錄下有mkimage這個工具,需要編譯才能生成:
修改Makefile
找到
ifeq($(ARCH),arm)
CROSS_COMPILE =
改成
ifeq($(ARCH),arm)
CROSS_COMPILE = arm-softfloat-linux-gnu-
(CROSS_COMPILE = #arm-none-linux-gnueabi- 經測試也可以)
make distclean
make at91sam9260ek_config
make
生成的工具在uboot的tools裡面,把這個mkimage考到/usr/bin下就行了:
#cp mkimage /usr/bin/mkimage
如果使用的是Ubuntu 9.10可以使用下面的命令安裝mkimage:
#apt-get install uboot-mkimage
相關文章
- -bash: id: command not found -bash: tty: command not found
- nodemon: command not found
- pip: command not found
- mac mysql: command not foundMacMySql
- zsh:command not found: xxx
- Mac -bash: mysql: command not foundMacMySql
- Linux:-bash: tree: command not foundLinux
- Linux:-bash: unzip: command not foundLinux
- 【Linux】git note -v command not foundLinuxGit
- centos 7 -bash: mysql: command not foundCentOSMySql
- sudo: apt-get: command not foundapt-get
- 【linux報錯】-bash: xhost: command not foundLinux
- bash: lspci: command not found解決方法
- zsh: command not found: bee bee工具安裝
- bash: ssh-copy-id: command not found...
- -bash: XXX: command not found解決辦法
- python virtualenv報錯-bash: virtualenv: command not foundPython
- zabbix_get :command not found 解決辦法
- Mac終端出現 brew command not found 解決Mac
- Linux提示crontab command not found的解決方法Linux
- Mac之telnet報錯-bash: telnet: command not foundMac
- 解決bash: mysql: command not found的問題MySql
- shell指令碼執行錯誤 $‘\r‘:command not found指令碼
- 解決shell指令碼錯誤$’r’ command not found指令碼
- “command-not-found has crashed” 解決辦法 (*unsolved)
- ubuntu18 沒有 where 命令 -bash: where: command not foundUbuntu
- Error executing Jupyter command 'notebok': [Errno 'jupyter-notebok' not found] 2Error
- CentOS 7 命令 lsb_release: command not found 解決方案CentOS
- 解決 biolinux-conda command not found 2018-05-04Linux
- bug solved | zsh: command not found: mongo (Mac M1/M2 )GoMac
- test.sh: line 3: $‘\r‘: command not found 或者 vim去掉^M字元字元
- Kubernetes – Images
- Android imagesAndroid
- 踩坑記錄:vue-cli-service: command not found(Mac環境下)VueMac
- CentOS 已安裝virtualenv, 但還是報錯誤 bash: virtualenv: command not foundCentOS
- 阿里雲伺服器Centos映象解決方案apt-get: command not found阿里伺服器CentOSapt-get
- insert images to a plot
- 16-containers-ImagesAI
- 【譯】How I built a wind map with WebGLUIWeb