More patches
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 14 05:48:30 EDT 2010
Hi all,
Here are some more patches, most notably the the possibility to merge
the default environment together from different directories. We can then
introduce a generic default environment which can be used from multiple
boards. Each board can make specific additions to this default environment.
Also, maybe this is controversal, the network stack now generates a random
MAC address if now valid address is found.
Sascha
The following changes since commit 52f760cd61e3f6ca6deb8e5c47eef168b598a674:
dhcp: do not call net_unregister if net_udp_new failed (2010-06-14 09:39:29 +0200)
are available in the git repository at:
git://git.pengutronix.de/git/barebox.git pu
Sascha Hauer (11):
pcm037: Add MMU support
bootu: Allow passing in devices as parameter
Allow to merge default environment from more than one directory
include support for a simple pseudo number generator
net: implement random_ether_addr
net: use a random mac address if the current device does not have one
add a generic default environment
pcm038: use generic default env
pcm043: use generic default env
pcm037: use generic default env
pca100: use generic default env
Makefile | 15 ---
arch/arm/configs/pca100_defconfig | 2 +-
arch/arm/configs/pcm037_defconfig | 2 +-
arch/arm/configs/pcm038_defconfig | 2 +-
arch/arm/configs/pcm043_defconfig | 2 +-
arch/arm/lib/armlinux.c | 10 ++-
arch/arm/mach-imx/Kconfig | 2 +
board/pcm037/env/bin/boot | 47 ---------
board/pcm037/env/bin/init | 37 -------
board/pcm037/env/bin/update_root | 16 ---
board/pcm037/env/config | 62 ++++++++---
board/pcm037/pcm037.c | 31 ++++++
board/pcm038/env/bin/_update | 36 -------
board/pcm038/env/bin/boot | 47 ---------
board/pcm038/env/bin/hush_hack | 1 -
board/pcm038/env/bin/init | 37 -------
board/pcm038/env/bin/update_kernel | 15 ---
board/pcm038/env/bin/update_root | 16 ---
board/pcm038/env/config | 62 ++++++++---
board/pcm043/env/bin/_update | 36 -------
board/pcm043/env/bin/boot | 47 ---------
board/pcm043/env/bin/hush_hack | 1 -
board/pcm043/env/bin/update_kernel | 15 ---
board/pcm043/env/config | 65 +++++++++---
board/phycard-i.MX27/env/bin/_update | 36 -------
board/phycard-i.MX27/env/bin/boot | 40 -------
board/phycard-i.MX27/env/bin/hush_hack | 1 -
board/phycard-i.MX27/env/bin/init | 37 -------
board/phycard-i.MX27/env/bin/update_kernel | 15 ---
board/phycard-i.MX27/env/bin/update_root | 16 ---
board/phycard-i.MX27/env/config | 57 ++++++++---
common/Kconfig | 4 +-
common/Makefile | 6 +-
{board/pcm037/env => defaultenv}/bin/_update | 5 +-
defaultenv/bin/boot | 110 ++++++++++++++++++++
{board/pcm037/env => defaultenv}/bin/hush_hack | 0
{board/pcm043/env => defaultenv}/bin/init | 11 +--
{board/pcm037/env => defaultenv}/bin/update_kernel | 2 +-
.../update_root => defaultenv/bin/update_rootfs | 4 +-
include/net.h | 17 +++
include/random.h | 7 ++
lib/Makefile | 1 +
lib/random.c | 22 ++++
net/net.c | 11 ++-
scripts/genenv | 17 +++
45 files changed, 424 insertions(+), 601 deletions(-)
delete mode 100644 board/pcm037/env/bin/boot
delete mode 100644 board/pcm037/env/bin/init
delete mode 100644 board/pcm037/env/bin/update_root
delete mode 100644 board/pcm038/env/bin/_update
delete mode 100644 board/pcm038/env/bin/boot
delete mode 100644 board/pcm038/env/bin/hush_hack
delete mode 100644 board/pcm038/env/bin/init
delete mode 100644 board/pcm038/env/bin/update_kernel
delete mode 100644 board/pcm038/env/bin/update_root
delete mode 100644 board/pcm043/env/bin/_update
delete mode 100644 board/pcm043/env/bin/boot
delete mode 100644 board/pcm043/env/bin/hush_hack
delete mode 100644 board/pcm043/env/bin/update_kernel
delete mode 100644 board/phycard-i.MX27/env/bin/_update
delete mode 100644 board/phycard-i.MX27/env/bin/boot
delete mode 100644 board/phycard-i.MX27/env/bin/hush_hack
delete mode 100644 board/phycard-i.MX27/env/bin/init
delete mode 100644 board/phycard-i.MX27/env/bin/update_kernel
delete mode 100644 board/phycard-i.MX27/env/bin/update_root
rename {board/pcm037/env => defaultenv}/bin/_update (86%)
create mode 100644 defaultenv/bin/boot
rename {board/pcm037/env => defaultenv}/bin/hush_hack (100%)
rename {board/pcm043/env => defaultenv}/bin/init (59%)
rename {board/pcm037/env => defaultenv}/bin/update_kernel (91%)
rename board/pcm043/env/bin/update_root => defaultenv/bin/update_rootfs (91%)
create mode 100644 include/random.h
create mode 100644 lib/random.c
create mode 100755 scripts/genenv
More information about the barebox
mailing list