U-Boot 内核
Posted 小十八
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了U-Boot 内核 相关的知识,希望对你有一定的参考价值。
1、首先安装Vmware,安装Ubuntu 15.04 (安装时记住用户名和密码)
2、终端命令Ctrl+Alt+T
3、进行准备工作
安装工具
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential u-boot-tools uboot-mkimage binutils-arm-linux-gnueabihf gcc-4.7-arm-linux-gnueabihf-base g++-4.7-arm-linux-gnueabihf gcc-arm-linux-gnueabihf cpp-arm-linux-gnueabihf libusb-1.0-0 libusb-1.0-0-dev git wget fakeroot kernel-package zlib1g-dev libncurses5-de
提示一下错误:
Package uboot-mkimage is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
u-boot-tools:i386 u-boot-tools
E: Package ‘uboot-mkimage‘ has no installation candidate
[email protected]:~$ cd /proc/apt
bash: cd: /proc/apt: No such file or directory
解决方法:sudo gedit /etc/apt/sources.list
添加:
deb http://kr.archive.ubuntu.com/ubuntu lucid main
输入sudo apt-get update后,再敲apt-get install uboot-mkimage就安装成功了,没解决
以上是关于U-Boot 内核 的主要内容,如果未能解决你的问题,请参考以下文章
Tiny4412 u-boot分析u-boot 引导内核流程