Code Monkey home page Code Monkey logo

orangepi-lite-uboot's Introduction

OrangePi-Lite-UBoot

OrangePi-Lite

本仓库提供了适用于 Orange Pi Lite 的 boot-script / u-boot 的源码和已编译的镜像文件。

其中 u-boot 提供了三个不同版本的镜像文件。

Stable RC Git
下载 Stable 版 下载 RC 版 @fa6f458c

使用

Boot Srcipt

  1. 将对应的内存卡通过读卡器插入电脑设备
  2. 挂载: mount /dev/sdX /mnt
  3. 复制: cp boot.scr /mnt/boot/

U-Boot

  • 写入: sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8

F.A.Q

如何定制/编译 boot-srcipt?

  1. 进入 boot-srcipt 目录
    • cd source/boot-script/
  2. 根据自己的需求修改 boot.cmd 代码
    • vim boot.cmd
  3. 生成镜像
    • mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "OrangePi-Lite Boot Script" -d boot.cmd boot.scr

注:

使用 mkimage 命令需系统已安装 uboot-tools 软件包。

如何定制/编译 u-boot 镜像?

  1. 进入 u-boot 目录
    • cd source/u-boot/
  2. 根据自己的需求修改代码
  3. 编译
    • make -j16 ARCH=arm CROSS_COMPILE=arm-none-eabi- orangepi_lite_defconfig
    • make -j16 ARCH=arm CROSS_COMPILE=arm-none-eabi-

注:

编译需系统已安装 arm-none-eabi-gccdtcswig 软件包。

orangepi-lite-uboot's People

Contributors

kitty-panics avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.