U-Boot 内核 (一)

本文详细介绍了如何在Ubuntu15.04系统中安装Vmware并设置虚拟机,随后通过一系列终端命令安装必要的开发工具,如编译器和库文件。文中还特别注意到了某些软件包的更改情况,并指导读者如何解决安装过程中可能遇到的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
原因:

在Debian(wheezy)/ Ubuntu的13.10(saucy)起,UBOOT-MKIMAGE包已经移除;该MKIMAGE命令包含在U-Boot的 - 工具包。在Ubuntu12.04,有变动
也需要
gcc-4.7-arm-linux-gnueabihf-base and g++-4.7-arm-linux-gnueabihf 
to 
gcc-4.6-arm-linux-gnueabihf-base and g++-4.6-arm-linux-gnueabih.

等待安装,我的网速比较慢,速度100 Kb/s 左右 ,下完用了差不多三个小时

4、下载BSP包

git clone https://github.com/LeMaker/lemaker-bsp.git

5、编辑U-Boot、内核、固件等

 

转载于:https://www.cnblogs.com/makeup/p/5521624.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值