Giter VIP home page Giter VIP logo

caraboot-ipq's Introduction

Caraboot-ipq

U-Boot for Jalapeno (IPQ40xx) based boards

Build


  1. Build toolchain (http://buildroot.org)
git clone git://git.buildroot.net/buildroot
cd buildroot
git checkout 2018.08.x
make menuconfig

Select options:

  • Target options -> Target Architecture -> ARM (little endian)
  • Target options -> Target Architecture Variant -> cortex-A7
  • Target options -> Target ABI -> EABI
  • Toolchain -> GCC compiler Version -> gcc 5.x

Save and exit.

Build:

make toolchain

  1. Build Caraboot (U-Boot)
cd ..
git clone https://github.com/8devices/Caraboot-ipq.git
cd Caraboot-ipq/
git checkout 8dev/jalapeno
./build.sh BOARD_NAME  #valid BOARD_NAMEs: jalapeno, habanero

If your toolchain is located elsewhere, you can build like this:

CROSS_COMPILE=/your_toolchain_dir/buildroot/output/host/usr/bin/arm-linux- ./build.sh BOARD_NAME

The bootloader binary will be saved to u-boot-jalapeno.elf or u-boot-habanero.elf. Use this file to upgrade bootloader on your board.

Upgrade

- ATTENTION! Bootloader upgrade is a risky operation and should not be performed unless
- absolutely necessary!
- If anything goes wrong during this process (power shortage, mistype, bad compile etc.)
- the board will be BRICKED (broken).
- Keep in mind that warranty does not cover module if it is damaged due to user's fault.

Make sure that you can reach your TFTP server over ethernet conncetion. Set ipaddr and serverip environment variables according to you network setup. Use these commands to upgrade from u-boot shell:

Jalapeno:

tftpboot 84000000 u-boot-jalapeno.elf
sf probe
sf erase 0xf0000 +0x80000
sf write 0x84000000 0xf0000 ${filesize}

Habanero:

tftpboot 84000000 u-boot-habanero.elf
sf probe
sf erase 0xf0000 +0x80000
sf write 0x84000000 0xf0000 ${filesize}

caraboot-ipq's People

Contributors

aneeshv avatar ben-skyportsystems avatar calris avatar dirkbehme avatar fabioestevam avatar glikely avatar grandwolf avatar hippo5329 avatar hsdenx avatar iwamatsu avatar jhershbe avatar kimphill avatar kumargala avatar marex avatar michalsimek avatar minkyukang avatar nvswarren avatar paulgortmaker avatar plagnioj avatar remybohmer avatar sakoman avatar sbabic avatar semihalf-sieka-bartlomiej avatar sjg20 avatar stelian42 avatar stroese avatar trini avatar vapier avatar vdsao avatar wdenx 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.