summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
Commit message (Collapse)AuthorAgeFilesLines
* move boards to arch/<architecure>/boardsJean-Christophe PLAGNIOL-VILLARD2010-07-2312-5/+523
| | | | | | | | | | | | this will allow each arch to handle the boards more simply and depending on there need the env var BOARD will refer to the current board dirent for sandbox as we have only one board the board dirent is arch/sandbox/board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make reset_cpu a __noreturn functionSascha Hauer2010-03-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: update defconfigSascha Hauer2009-12-181-7/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: common: fix device names for environment files (-e)Peter Korsgaard2009-12-161-1/+1
| | | | | | | | The env%d string got created, but the the hardcoded "env" string was always used instead, causing errors with loading the env. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-158-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-225-22/+58
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* [SANDBOX] move include/asm-sandbox to arch/arm/include/sandboxJean-Christophe PLAGNIOL-VILLARD2009-10-2211-0/+231
| | | | | | | Move platform independent header files to arch/sandbox/include/asm, leaving those in asm/arch*. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* sandbox: update defconfigSascha Hauer2009-10-121-23/+55
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* sandbox: use libc ioctl for os partSascha Hauer2009-10-121-1/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* get rid of device idsSascha Hauer2009-07-211-4/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: Fix generation of linker scriptSascha Hauer2009-01-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Sandbox: Fix make systemSascha Hauer2008-09-305-11/+9
| | | | | | | | | | | | | | | Sandbox compilation failed with: gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)" -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c In file included from /usr/include/bits/socket.h:32, from /usr/include/sys/socket.h:36, from arch/sandbox/lib/tap.c:29: /usr/include/limits.h:125:26: error: limits.h: No such file or directory /usr/include/limits.h uses the next_include directive This was because of the -nostdinc Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Bitops:Remove generic_funcsNishanth Menon2008-08-151-0/+1
| | | | | | | Use asm-generic/bitops/xyz.h instead of using generic_xyz functions. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Fix typo introduced with commit 9e6ee5e79516f5af5366bd95fab801a692728373Sascha Hauer2008-06-241-1/+1
|
* [sandbox] export ELF_CLASS for sandboxSascha Hauer2008-06-031-1/+5
|
* [kbuild] move -pipe from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] remove -Wall from architecture Makefiles. It's alreadySascha Hauer2008-06-031-1/+1
| | | | in toplevel CFLAGS
* [kbuild] move -nostdinc from architecture Makefiles to toplevelSascha Hauer2008-06-031-2/+1
| | | | Makefile
* [kbuild] move -ffreestanding from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -fno-builtin from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -Os flag from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] change architecture Makefiles not to overwriteSascha Hauer2008-06-031-1/+1
| | | | | CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS
* [general] Move include/configs/* to board/*/config.hSascha Hauer2008-04-076-249/+1
|
* Doxygen cleanupsSascha Hauer2008-04-041-9/+9
| | | | | | | | | - Remove trailing whitespaces from doxygen files - escape '<' '>' with backslashes. Otherwise Doxygen interpretes them as html tags Signed-off-by: Carsten Schlote <schlote@vahanus.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* do not sleep if read gets EAGAIN. Must be some testing leftoverSascha Hauer2008-03-111-2/+2
|
* Add the possibility to have an architecture specific ctrlc() function.Sascha Hauer2008-03-111-3/+10
| | | | | This allows us to return immediately in ctrlc() on sandbox and thus not slow down network througput.
* add globbing supportSascha Hauer2008-03-091-1/+2
|
* [sandbox] fix read for buffers of zero lengthMarc Kleine-Budde2008-01-021-0/+3
| | | | | | | | | This patch fixes the read function for the linux sandbox if a buffer of zero length should be read. The error handling introduced in 6574529bb5a233278e9886a93afeed70e9993b54 detects a false positive if the length is zero. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* remove -isystem with empty argumentMarc Kleine-Budde2007-11-291-3/+1
| | | | | | | This patch removes the "-isystem $(gccincdir)" from the arch/*/Makefile because gccindir is empty. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] new defconfigMarc Kleine-Budde2007-11-291-15/+17
| | | | | | regenerated sandbox' defconfig Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] add error handling to readMarc Kleine-Budde2007-11-291-5/+22
| | | | | | This patch adds propper error handling to the linux' read functions. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* improved codingstyleMarc Kleine-Budde2007-11-291-1/+1
| | | | | | this patch improves the codingstyle Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sparse] define functions static, use NULL as NULL pointerMarc Kleine-Budde2007-11-291-2/+2
| | | | | | | | fixes: arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static? arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static? Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sparse] declare functions staticMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | this fixes: arch/sandbox/board/clock.c:28:10: warning: symbol 'linux_clocksource_read' was not declared. Should it be static? Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sparse] declare functions staticMarc Kleine-Budde2007-11-291-2/+2
| | | | | | | | this fixes: arch/sandbox/board/hostfile.c:32:9: warning: symbol 'hf_read' was not declared. Should it be static? arch/sandbox/board/hostfile.c:43:9: warning: symbol 'hf_write' was not declared. Should it be static? Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] fix stdin and stdout fd for sandbox consoleMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | u_boot_register_console uses the wrong filedescriptors for in and out the are swapped. This patch fixes this problem and uses fileno instead. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] HACK: add variable _SDA_BASE_ to main, to please linkerMarc Kleine-Budde2007-11-291-0/+5
| | | | | | | | | | | This patch is a _CRUDE_HACK_ the linker complains about the missing symbol _SDA_BASE_ on powerpc, so git it to him to please him and finally link the sandbx. LD uboot /usr/lib/gcc/powerpc-linux-gnu/4.2.3/../../../../lib/crt1.o:(.rodata+0x0): undefined reference to `_SDA_BASE_' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] add ELF_{ARCH,FORMAT} for powerpcMarc Kleine-Budde2007-11-291-0/+4
| | | | | | This patch adds the needed ELF_{ARCH,FORMAT} for the sandbox on powerpc Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] use C99 initializersMarc Kleine-Budde2007-11-281-5/+4
| | | | | | This patch uses C99 initializers to initialize the timeout in linux_tstc() Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* don't against link libgccMarc Kleine-Budde2007-11-281-3/+1
| | | | | | We don't want to link against libgcc. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2v2.0.0-rc1Juergen Beisert2007-11-091-1/+0
|\
| * Revert "add linker script for sandbox"Marc Kleine-Budde2007-11-091-1/+0
| | | | | | | | This reverts commit 175e8438df25835c497025ebece6f5ccd5766b9d.
* | Merge branch 'docu'Juergen Beisert2007-11-092-20/+69
|\ \ | |/ |/|
| * various docu addedJuergen Beisert2007-11-052-20/+69
| |\
| | * saving added docuJuergen Beisert2007-11-051-0/+5
| | |
| | * some doc added to uboot's simlator feature. Not finished yet.Juergen Beisert2007-10-201-20/+64
| | |
* | | Merge branch 'master' of ssh://rsc@octopus/home/git/projects/u-boot-v2Robert Schwebel2007-11-081-0/+1
|\| |
| * | added lds-y for sandboxMarc Kleine-Budde2007-10-311-0/+1
| |/ | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* / add linker script for sandboxRobert Schwebel (Laptop)2007-10-311-0/+1
|/
* update to top of treeRobert Schwebel (Laptop)2007-09-251-18/+10
|