9
0
Fork 0
Commit Graph

88 Commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD 935cdf5a1e move barebox_default_env.h to include/generated/
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-17 10:56:24 +08:00
Jean-Christophe PLAGNIOL-VILLARD b712b26632 Add Menu Framework
Introduce a menu framework that allow us to create list menu to simplify
barebox and make it more user-frendly

This kind of menu is very usefull when you do not have a keyboard or a
serial console attached to your board to allow you to interract with
barebox

For the develloper part,
The framework introduce two API

1) C
that allow you to create menu, submenu, entry and complex menu action

2) Command
that allow you as the C API to create menu, submenu, entry and complex
menu action but this time the actions will be store in a function and
then be evaluated and excecuted at runtime.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-30 20:57:20 +02:00
Jean-Christophe PLAGNIOL-VILLARD d879de38e8 barebox_default_env: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-22 15:49:02 +02:00
Sascha Hauer 600c0e987e Allow to merge default environment from more than one directory
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:40 +02:00
Robert P. J. Day 06c5d3d9fa Remove/adjust erroneous references to CONFIG_MODULE.
The correct config variable is CONFIG_MODULES, so tweak any references
to the incorrect CONFIG_MODULE.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 14:21:45 +01:00
Sascha Hauer a3ffa97f40 rename U-Boot-v2 project to barebox
This has been done with the following script:

find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
	-e 's/u2boot/barebox/g' \
	-e 's/U2Boot/barebox/g' \
	-e 's/U-boot V2/barebox/g' \
	-e 's/u-boot v2/barebox/g' \
	-e 's/U-Boot V2/barebox/g' \
	-e 's/U-Boot-v2/barebox/g' \
	-e 's/U_BOOT/BAREBOX/g' \
	-e 's/UBOOT/BAREBOX/g' \
	-e 's/uboot/barebox/g' \
	-e 's/u-boot/barebox/g' \
	-e 's/u_boot/barebox/g' \
	-e 's/U-Boot/barebox/g' \
	-e 's/U-boot/barebox/g' \
	-e 's/U-BOOT/barebox/g'

find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
	xargs -0 -r rename 's/u[-_]?boot/barebox/'

It needs some manual fixup following in the next patch

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:18:30 +01:00
Jean-Christophe PLAGNIOL-VILLARD 998f9ee2f3 uboot_default_env: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:30 +02:00
Sascha Hauer a2b7cd183b introduce cdev
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:44 +02:00
Sascha Hauer aca52174a9 console: add a simple console for saving space
Add a simple console layer which is not able to handle multiple
consoles for those who don't need it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-08-01 11:47:10 +02:00
Nishanth Menon deaf6db172 007-partitions
[Patch 07/17] U-Boot-V2:Common Make partitions configurable

Not all configurations of Uboot require partitions. This patch modifies partition compilation as configurable param

Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:19 +02:00
Sascha Hauer df31bb46be implement TAB completion 2008-03-01 21:08:14 +01:00
Marc Kleine-Budde e68ac6368d Revert "separating memory commands"
This reverts commit d59c600c65.

Conflicts:

	commands/Makefile
	common/Kconfig
	common/Makefile

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-27 23:19:55 +01:00
Marc Kleine-Budde 56aa0790ae [makesystem] fix default environment handling
This patch fixes the environemnt generate broken in
7b498d9838

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-26 18:32:08 +01:00
Marc Kleine-Budde 7b498d9838 [makesystem] reworked default environment handling
This patch improves the default environment handling, now the makesystem
bails out if the default environment path is empty or points to an
invalid directory (with activated default environment). It also fixes
this error:

find: invalid predicate `'

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-19 10:41:00 +01:00
Juergen Beisert 8413d78ab3 separating environment commands, part 2
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Juergen Beisert d59c600c65 separating memory commands
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
2007-11-12 16:28:23 +01:00
Sascha Hauer 9626c6084f add module.o and module.lds to Makefile 2007-10-11 20:56:33 +02:00
Sascha Hauer a680c7f158 add dependency to include/uboot_default_env.h for startup.c 2007-10-04 13:03:18 +02:00
Sascha Hauer c396c4da49 Add module handling (mostly copied from Linux kernel and stripped down
for U-Boot)
2007-09-28 20:32:15 +02:00
Sascha Hauer 913691eccd add directory handling for environment 2007-09-25 12:58:52 +02:00
Sascha Hauer 14b5c2a647 - teach hush to honour PATH variable
- remove common/main.c. This is now handled in the different shells.
2007-09-24 01:40:06 +02:00
Sascha Hauer 6634cfe849 add default environment 2007-09-13 15:22:23 +02:00
Sascha Hauer e00be03fe0 Remove all unused files from common. They can be added later from
U-Boot 1.x when needed.
2007-09-05 13:11:49 +02:00
Sascha Hauer e47fa9d6ef compile common/memsize.c 2007-07-12 09:23:49 +02:00
Sascha Hauer f35190d65b svn_rev_682
remove double entry
2007-07-05 18:02:16 +02:00
Sascha Hauer b2c5310d4d svn_rev_653
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer bba475d70e svn_rev_650 2007-07-05 18:02:13 +02:00
Sascha Hauer 4b07af6730 svn_rev_643
structure cleanup
2007-07-05 18:02:13 +02:00
Sascha Hauer f500aa051d svn_rev_582
remove miiphyutil.o
2007-07-05 18:02:07 +02:00
Sascha Hauer 15e2990e9b svn_rev_568
remove cmd_console.c. It's obsoleted
2007-07-05 18:02:05 +02:00
Sascha Hauer 758a1107f8 svn_rev_538
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer e935d1a452 svn_rev_511 2007-07-05 18:02:00 +02:00
Sascha Hauer fa668fe184 svn_rev_502
complete multiple console support
2007-07-05 18:01:59 +02:00
Sascha Hauer 5bffd205f6 svn_rev_500 2007-07-05 18:01:59 +02:00
Sascha Hauer 50f42153cb svn_rev_435
rename
2007-07-05 18:01:53 +02:00
Sascha Hauer 6010c51097 svn_rev_384 2007-07-05 18:01:49 +02:00
Sascha Hauer cc43d146a8 svn_rev_350 2007-07-05 18:01:45 +02:00
Sascha Hauer 798de5071d svn_rev_307
some main.c cleanup:
- move the parser used when hush is disabled to parser.c
- move readline related functions to readline.c (with cmdline editing)
  and readline_simple.c (no cmdline editing)
2007-07-05 18:01:42 +02:00
Sascha Hauer 437dcca154 svn_rev_303
add CMD_EDIT and DYNAMIC_CRC_TABLE
2007-07-05 18:01:41 +02:00
Sascha Hauer 1a15aa9b12 svn_rev_302 2007-07-05 18:01:41 +02:00
Sascha Hauer a13560f80e svn_rev_297 2007-07-05 18:01:41 +02:00
Sascha Hauer 37d198dfa1 svn_rev_294 2007-07-05 18:01:40 +02:00
Sascha Hauer cf7a56fc78 svn_rev_268
WIP
2007-07-05 18:01:38 +02:00
Sascha Hauer a5bf47e33a svn_rev_207
move several config options to kconfig
2007-07-05 18:01:33 +02:00
Sascha Hauer abfeb961e0 svn_rev_166
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer a4529648b1 svn_rev_147
remove env_*.o, add env.o
2007-07-05 18:01:27 +02:00
Sascha Hauer 658cc34395 svn_rev_118
thousands of things
2007-07-05 18:01:24 +02:00
Sascha Hauer abfbbad1eb svn_rev_109
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer 6e4fc59650 svn_rev_069
comment out all not essetially needed stuff
2007-07-05 18:01:19 +02:00
Sascha Hauer c03bd6446c svn_rev_049
Kconfig WIP
2007-07-05 18:01:17 +02:00