GithubHelp home page GithubHelp logo

eivindbohler / tinyllama-bios Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 116.83 MB

ROM / BIOS for the TinyLlama retro computer

License: GNU General Public License v3.0

Makefile 0.73% Shell 0.14% C 90.89% C++ 0.36% Assembly 2.56% Lex 0.03% Yacc 0.07% M4 0.01% Roff 0.03% ASL 4.06% POV-Ray SDL 0.01% Pawn 0.01% HTML 0.93% Batchfile 0.03% Perl 0.05% Python 0.08% SmPL 0.01% sed 0.01%

tinyllama-bios's Introduction

TinyLlama BIOS

This repo contains the tools necessary to build the TinyLlama BIOS (Coreboot/SeaBIOS).
Based on the 86Duino project from https://github.com/roboard/build-coreboot

Tested on:

  • Ubuntu 16.04 i386
  • macOS Big Sur x86_64
  • macOS Monterey x86_64 and arm64

Other operating systems and architectures are probably easy to get working as well, but your mileage may vary.

Prerequisites

Ubuntu

Install various tools:

$ sudo apt install git build-essential m4 bison flex python texinfo gnat

macOS (x86_64)

For Apple Silicon (arm64) CPUs, look here.

  1. Install Homebrew:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install gcc version 6:
$ brew install gcc@6
$ ln -s /usr/local/bin/gcc-6 /usr/local/bin/gcc
$ ln -s /usr/local/bin/g++-6 /usr/local/bin/g++
  1. Install gnu-tar and wget:
$ brew install gnu-tar wget

Build cross compiler

$ ./build-xgcc.sh

Build the ROM file

$ make

If building is successful, the 1 MB output ROM file will be in the out/ directory. Another file is also made - out/xxx-padded.rom - padded with 0xFF to fit 8 MB, for flashing directly to the SPI ROM using a hardware programmer. The Coreboot/SeaBIOS ROM will be located at the end of this 8 MB file.

tinyllama-bios's People

Contributors

eivindbohler avatar

Stargazers

 avatar Andrei Belov avatar 74LS4323 avatar  avatar Winnie avatar loudaslife avatar Marcin Kulik avatar Mtv Europe avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

rigred

tinyllama-bios's Issues

Crossbar documentation

Is there any documentation available on how you generated or modified the crossbar .bin file used in the BIOS? The only information I've been able to find online refers to an "SocCfgTool" that doesn't seem to be publicly available.

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.