U-Boot bootloader for sysmoBTS
Go to file
Holger Hans Peter Freyther 3fd2eddce5 sysmobts-v2: Introduce a recovery command to reflash the system image
When pressing the reset button on boot the system will enter the
recovery mode, this is done by setting a preboot command. Inside the
preboot command we will sleep and then check if the button is still
pressed, then tftp will be used to download the image and flash it. If
something fails after the DHCP state the network console will be
enabled.
2015-03-03 01:41:27 +01:00
release Add v2.1 binary 2014-11-04 13:56:11 +02:00
u-boot sysmobts-v2: Introduce a recovery command to reflash the system image 2015-03-03 01:41:27 +01:00
CHANGELOG Update version to v2.1 release 2014-11-04 13:52:43 +02:00
Makefile Makefile: new targets skylab and carambola2 2015-03-03 01:41:23 +01:00
README.md Update README.md 2014-11-13 13:19:09 +02:00

README.md

Caraboot

U-Boot for Carambola2 based boards

Build

  1. Build buildroot toolchain (http://buildroot.org)

Download:

cd your_work_dir
git clone git://git.buildroot.net/buildroot

Configure:

cd buildroot
make menuconfig

In Target Options select Target Architecture as MIPS (big endian) and Target Architecture Variant as mips 32r2. In Toolchain select GCC Compiler version as gcc 4.7.x. Save and exit.

Build:

make
  1. Build Caraboot image

Download:

cd your_work_dir
git clone https://github.com/8devices/Caraboot.git

Configure: Open Caraboot Makefile and change CONFIG_TOOLCHAIN_PREFIX to your buildroot binary path, i.e CONFIG_TOOLCHAIN_PREFIX=your_work_dir/buildroot/output/host/usr/bin/mips-linux-

cd Caraboot
vi/nano/gedit Makefile

Build:

make

The bootloader binary will be saved to bin/carambola2_u-boot.bin file. You can now use this file to upgrade your bootloader on Carambola2 board (http://8devices.com/wiki/carambola:2:gettingstarted:bootloader-upgrade)