Giter VIP home page Giter VIP logo

ebaz4205_buildroot's Introduction

meta-ebaz4205

The EBAZ4205 was originally developed as cryptomining control board. Due to it's low price on the marked it is also perfect to learn the Zynq platform. This br2-external tree provides everything to build a linux system with basic BSP (Board Support Package).

Maintainer

Lukas Lichtl ([email protected])

Dependencies

This layer depends on:

URI: git://git.busybox.net/buildroot
branch: 2020.11.x

Build

make BR2_EXTERNAL=/path/to/ebaz4205_buildroot zynq_ebaz4205_defconfig
make 2>&1 | tee build.log

Installation

The following files from within the output/images/ need to be copied to a SD-Card with a FAT-formatted partition with boot flag set:

  • boot.bin
  • ebaz4205_top.bin (from the Vivado build)
  • ebaz4205-zynq7.dtb
  • rootfs.cpio.uboot
  • u-boot.bin
  • u-boot.img
  • uEnv.txt
  • uImage

BSP Details

FSBL(First Stage Bootloader)

Basic system initialization.

U-Boot(Second Stage Bootloader)

Tailored for SD-Boot, since this is how the board is mainly used. In this distribution, u-boot (instead of the FSBL) is responsible for configuring the Bitstream. Wait time during boot is set to zero. In order to interrupt the boot process, press and hold Button S2 during boot and you will end up in the u-boot console.

In order to identify boot issues, the following LED codes are.

LED red LED green Boot State Description
on on 0 init/pwr up
on off 1 Bitstream config done
off on 2 DDR load done
off off 3 -

Linux

Credentials

The systems default credentials are root / root.

Init

As init system, busybox was chosen.

Ethernet

The phy on the board supports 10/100Mbit and the image makes use of Dropbears SSH-server. This allows you to connect to the board without the use of the serial console.

LEDs

In order to identify that linux was booted as intended and the system is running, the green LED provides a heartbeat.

LED red LED green Boot State Description
off heartbeat 0 init done

Mount Points

The boot partition is mounted on /media/mmcblk0p1. This allows access to the boot files while the system is running (eg. to modify uEnv.txt or provide updates).

Buttons

Button presses can be detected in user-space using /dev/input/event0.

LEDs

Both LEDs on the front (green, red) are accessable from within user space /sys/class/leds.

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.