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

  • 相关阅读:
    收缩清空数据库
    ExecuteScalar 返回值问题
    JS“缺少标识符 字符串或数字”错误
    Access判断空字符串的SQL语句
    decimal与 float的区别
    按照特定的字符拆分字段
    php中heredoc与nowdoc的使用方法
    php 类接口继承练习
    委托
    关闭form前提示是否保存
  • 原文地址:https://www.cnblogs.com/makeup/p/5521624.html
Copyright © 2011-2022 走看看