OpenWRT branches i work with
Go to file
Gabor Juhos b7914344ad base-files: add macaddr_canonicalize helper function
In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

However on some boards, the MAC addresses are stored
in different format in the mtd partition. Some vendors
are using hyphens or dots as separators instead of
colons. Also the leading zeroes may be missing from the
individual octets or those are replaced with spaces.

Add a new function which can be used to convert these
into the 'xx:xx:xx:xx:xx:xx' format. Also update the
'mtd_get_mac_ascii' function to use the new helper.

The helper function is based on this code:
  http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38803
2013-11-14 17:44:42 +00:00
docs docs: update remaining references to functions.sh 2012-12-20 15:29:33 +00:00
include image: don't force ubifs journal size 2013-11-14 01:35:21 +00:00
package base-files: add macaddr_canonicalize helper function 2013-11-14 17:44:42 +00:00
scripts build: fix build on Mac OS X 10.9 2013-10-28 15:15:09 +00:00
target bcm53xx: this ARM SoC does not have a FPU, use soft float. 2013-11-13 22:26:08 +00:00
toolchain uClibc: get rid of bogus unused strlcpy definition to fix build errors 2013-10-28 15:15:35 +00:00
tools tools: adapt addpattern for WD's Range Extender 2013-11-07 22:31:48 +00:00
.gitattributes
.gitignore
BSDmakefile
Config-kernel.in buildroot: split Kernel config options to Config-kernel.in 2013-10-24 00:28:33 +00:00
Config.in Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now 2013-11-14 01:35:22 +00:00
feeds.conf.default feeds.conf.default: switch packages feed to git (#13818) 2013-07-05 02:04:40 +00:00
LICENSE
Makefile build: it is no longer necessary to call make target/linux/clean as part of make clean 2012-12-02 15:26:28 +00:00
README build: BSD compile fixes 2013-03-07 17:32:29 +00:00
rules.mk build: include the cpu type as part of the toolchain/target directory name 2013-09-26 17:53:32 +00:00

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl
make, find, grep, diff, unzip, gawk, getopt, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your OpenWrt Project
	http://openwrt.org