Giter Site home page Giter Site logo

armworks / nanoboot Goto Github PK

View Code? Open in Web Editor NEW
8.0 10.0 4.0 1.33 MB

A bootloader for the FriendlyARM NanoPi

License: GNU General Public License v2.0

Makefile 0.11% Shell 0.09% C++ 0.11% C 99.15% Assembly 0.55%
nanopi friendlyarm friendlyelec bootloader

nanoboot's Introduction

nanoboot

A bootloader for the FriendlyARM NanoPi (and Mini2451 in SD boot mode)

Source Repo

Releases

This bootloader supports booting a kernel with an optional initrd from the FAT partition of a SD/MicroSD card. Device tree support is in the planning stages.

To build, set your CROSS_COMPILE environment variable to your toolchain's prefix. Mine is arm-buildroot-linux-gnueabi- but yours may be different. You'll also want to make sure your toolchain is in your PATH. Then just run make.

Installation is simple, just use the fuse script:

./fuse.sh /dev/sdX

where /dev/sdX is the device your sd card is on. It will automatically detect if your card is SD or SDHC automatically. If you have a 4GB non-SDHC card, you'll need to pass a 2nd argument, sd to the script.

nanoboot.txt

nanoboot.txt is an optional text you can create within the root of the FAT filesystem, which has a simple syntax allowing you to set various boot options:

  • mini2451 - set Mini2451 device type (128 MB memory)
  • nanopi - (default) set NanoPi device type (64 MB memory)
  • quiet - don't produce any messages except for errors
  • cmdline = ... - set the kernel command line
    • default is console=ttySAC0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
  • cmdline += ... - append to the kernel command line
  • kernel = ... - set the kernel filename
    • default is zImage
  • kernel_address = ... - set the kernel load address
    • default is 0x30008000
  • initramfs = ... - set the initramfs file
    • default is blank, meaning no initramfs
  • initramfs_address = ... - set the initramfs load address
    • default is 0x33000000

nanoboot's People

Contributors

jkent avatar jrspruitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.