zoukankan      html  css  js  c++  java
  • 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
    原因:

    在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、内核、固件等

  • 相关阅读:
    1221D
    1249E
    D. Yet Another Monster Killing Problem
    大佬传送门
    Zookeeper客户端连接报错
    搭建PXC集群
    Docker分布式环境
    Docker使用
    Docker入门
    MySQL数据库集群概述
  • 原文地址:https://www.cnblogs.com/makeup/p/5521624.html
Copyright © 2011-2022 走看看