"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
相關文章
- pip: command not found
- mac mysql: command not foundMacMySql
- express: command not found.Express
- Mac -bash: mysql: command not foundMacMySql
- -bash :gradlew command not foundGradle
- 解決 command not found: expressExpress
- bash: hadoop: command not foundHadoop
- Linux:-bash: tree: command not foundLinux
- Linux:-bash: unzip: command not foundLinux
- aix_ssh scp command not foundAI
- sudo: apt-get: command not foundapt-get
- centos 7 -bash: mysql: command not foundCentOSMySql
- sqlplus: command not found解決SQL
- bash: lspci: command not found解決方法
- 【linux報錯】-bash: xhost: command not foundLinux
- zsh: command not found: bee bee工具安裝
- bash: ssh-copy-id: command not found...
- 解決bash: mysql: command not found的問題MySql
- Mac終端出現 brew command not found 解決Mac
- python virtualenv報錯-bash: virtualenv: command not foundPython
- zabbix_get :command not found 解決辦法
- 解決shell指令碼錯誤$’r’ command not found指令碼
- -bash: XXX: command not found解決辦法
- Linux提示crontab command not found的解決方法Linux
- shell指令碼執行錯誤 $‘\r‘:command not found指令碼
- CentOS 7 命令 lsb_release: command not found 解決方案CentOS
- Mac之telnet報錯-bash: telnet: command not foundMac
- 安裝Qt過程中出現g++: command not foundQT
- RHEL7 解決xclock的 bash: xclock: command not found…
- Mommy, I found it! — 15 Practical Linux Find Command ExamplesLinux
- web imagesWeb
- “command-not-found has crashed” 解決辦法 (*unsolved)
- ubuntu18 沒有 where 命令 -bash: where: command not foundUbuntu
- Android imagesAndroid
- Linux Shell執行source或.命令報錯'bash: ..: command not found'Linux
- 【轉】linux root使用者ifconfig報command not foundLinux
- SUSE Linux執行基本命令出現command-not-foundLinux
- XX must be built with ARCUI