Giter VIP home page Giter VIP logo

awboot's Introduction

AWBoot

Small linux bootloader for Allwinner T113-S3

Building

Run make LOG_LEVEL=40.
This will generate the bootloader with a valid EGON header, usable with the xfel tool or BOOTROM
You can change the log level with the LOG_LEVEL argument. Default is 30 (info).

Using

You will need xfel for uploading the file to memory or SPI flash.
This it not needed for writing to an SD card.

FEL memory boot:

xfel write 0x30000 awboot-fel.bin
xfel exec 0x30000

FEL SPI NOR boot:

make spi-boot.img
xfel spinor
xfel spinor write 0 spi-boot.img
xfel reset

FEL SPI NAND boot:

make spi-boot.img
xfel spi_nand
xfel spi_nand write 0 spi-boot.img
xfel reset

SD Card boot:

  • create an MBR or GPT partition table and a FAT32 partition with an offset of 4MB or more using fdisk.
sudo fdisk /dev/(your sd device)

write awboot-boot.bin to sdcard with an offset of:

  • MBR: 8KB (sector 16)
  • GPT: 128KB (sector 256)
sudo dd if=awboot-boot-sd.bin of=/dev/(your sd device) bs=1024 seek=8
  • compile (if needed) and copy your .dtb file to the FAT partition.
  • copy zImage to the FAT partition.

Linux kernel:

WIP kernel from here: https://github.com/smaeul/linux/tree/d1/all

awboot's People

Contributors

szemzoa avatar fpoussin avatar yuzukitsuru avatar adeepn avatar andrerenaud 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.