Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreabedini/ezbox
Automatically exported from code.google.com/p/ezbox
https://github.com/andreabedini/ezbox
Last synced: about 11 hours ago
JSON representation
Automatically exported from code.google.com/p/ezbox
- Host: GitHub
- URL: https://github.com/andreabedini/ezbox
- Owner: andreabedini
- License: other
- Created: 2015-03-25T11:29:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T11:37:45.000Z (over 9 years ago)
- Last Synced: 2024-10-11T23:45:59.106Z (27 days ago)
- Language: C
- Size: 98.7 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
ezbox embedded-system study platform
==
Package Content
==
1. bootstrap/ :
The bootstrap/ directory contains build tools to construct a bootstrap system for ezbox.
The major part of build tools is from openwrt project(https://dev.openwrt.org/wiki)2. distro/ :
The distro/ directory contains distribution-related packages.
Each distribution has its own purpose, and contains different packages.3. misc/ :
This directory stores a lot of nothing, may be removed :-)4. realtime/ :
This directory contains real-time patches for Linux kernel.5. scripts/ :
This directory contains scripts used by building system.==
Quick Start
==
The ezbox sample build is a kuafu distro on ar71xx board.1. Copy the default.mk.sample to BASE_DIR
cp default.mk.sample ../default.mk2. Start to build the kuafu distro
make kuafu3. Check the build log in BASE_DIR
cat ../XXX-kuafu-ar71xx-build.log==
Build Instructions
==
1. Before building the target system for ezbox, you should select a distro and symbol link the target arch to bootstrap/target/linux directory. Following examples will use distro kuafu and target CPU is ar7240.
1) Copy bootstrap system source tree to a working directory
rm -rf bootstrap.ar71xx
cp -af bootstrap bootstrap.ar71xx2) Symbol link target
ln -s `pwd`/distro/kuafu/target/linux/ar71xx bootstrap.ar71xx/target/linux/ar71xx3) Use distro default packages
cp distro/kuafu/feeds.conf bootstrap.ar71xx/feeds.conf4) Use default config for the target distro
cp distro/kuafu/configs/defconfig-ar71xx bootstrap.ar71xx/.config2. Set environment variables
1) Set target device type
export DEVICE_TYPE=ezbox2) Set target arch
export ARCH=mips3. Enter working directory and start build
1) Goto bootstrap.ar71xx/ directory
cd bootstrap.ar71xx/2) Get target distro default packages
./scripts/feeds update -a3) Install all target distro default packages
./scripts/feeds install -a4) Generate fresh config file
make ARCH=mips oldconfig5) Start build, and record output to build.txt
make DEVICE_TYPE=ezbox V=99 2>&1 | tee build.log==
CPU Architecture Settings.
==
1. ar71xx
export ARCH=mips2. brcm47xx
export ARCH=mipsel3. x86
export ARCH=i386
==
Known issues
==
1. Please set LD_LIBRARY_PATH if it can't find correct libraries for building host tools.
$ export LD_LIBRARY_PATH="/path/to/your/staging/host/lib:$LD_LIBRARY_PATH"