Difference between revisions of "Building VIBE2 Boot Image"
From Yantrr Wiki
Line 5: | Line 5: | ||
* ARM Cross Compiler – Linaro: http://www.linaro.org | * ARM Cross Compiler – Linaro: http://www.linaro.org | ||
**Linaro Toolchain Binaries: http://www.linaro.org/downloads/ | **Linaro Toolchain Binaries: http://www.linaro.org/downloads/ | ||
− | |||
* Bootloader | * Bootloader | ||
** Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Boot | ** Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Boot | ||
** Source: http://git.denx.de/?p=u-boot.git;a=summary | ** Source: http://git.denx.de/?p=u-boot.git;a=summary | ||
− | |||
* Linux Kernel | * Linux Kernel | ||
** Linus's Mainline tree: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git | ** Linus's Mainline tree: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git | ||
Line 15: | Line 13: | ||
** Debian : http://www.debian.org/ | ** Debian : http://www.debian.org/ | ||
** Ubuntu: http://www.ubuntu.com | ** Ubuntu: http://www.ubuntu.com | ||
+ | |||
+ | == ARM Cross Compiler: GCC == | ||
+ | Download and extract the ARM Cross compiler linaro gcc. | ||
+ | '''~/''' | ||
+ | |||
+ | wget -c https://releases.linaro.org/components/toolchain/binaries/5.4-2017.01/arm-linux-gnueabihf/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf.tar.xz | ||
+ | tar xf gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf.tar.xz | ||
+ | export CC=`pwd`/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- | ||
+ | |||
+ | '''Test:''' |
Revision as of 06:52, 10 May 2017
Note : All steps are executed on the Ubuntu 16.04.2 LTS and as a root user. Most of the steps are similar Robert C Nelson BBB Wiki.
Basic Requirements
- Running a recent release of Debian, Fedora or Ubuntu; without OS Virtualization Software.
- ARM Cross Compiler – Linaro: http://www.linaro.org
- Linaro Toolchain Binaries: http://www.linaro.org/downloads/
- Bootloader
- Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Boot
- Source: http://git.denx.de/?p=u-boot.git;a=summary
- Linux Kernel
- Linus's Mainline tree: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
- ARM based rootfs
- Debian : http://www.debian.org/
- Ubuntu: http://www.ubuntu.com
ARM Cross Compiler: GCC
Download and extract the ARM Cross compiler linaro gcc.
~/
wget -c https://releases.linaro.org/components/toolchain/binaries/5.4-2017.01/arm-linux-gnueabihf/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf.tar.xz tar xf gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf.tar.xz export CC=`pwd`/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
Test: