# Caraboot **Repository Path**: afeng11/Caraboot ## Basic Information - **Project Name**: Caraboot - **Description**: No description available - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-02 - **Last Updated**: 2025-12-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Caraboot ======== U-Boot for Carambola2/Lima/zte e8820/e8821 based boards Build ------- 1) Build buildroot toolchain (http://buildroot.org) Download: ``` cd your_work_dir git clone git://git.buildroot.net/buildroot git checkout 2016.02 ``` 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 toolchain ``` 2) 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 BOARD_TYPE=carambola2 ``` or ``` make BOARD_TYPE=lima ``` or ``` make BOARD_TYPE=e8820 or ``` make BOARD_TYPE=e8821 ``` The bootloader binary will be saved to ```bin/xxx_u-boot.bin``` file. You can now use this file to upgrade your bootloader on Carambola2 (http://8devices.com/wiki/carambola2:uboot) or Lima (http://8devices.com/wiki/lima:uboot).