9
0
Fork 0
Commit Graph

147 Commits

Author SHA1 Message Date
Sascha Hauer 2dbb2d1f09 sandbox: update defconfig
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-12 14:17:15 +02:00
Sascha Hauer c1cf740bec sandbox: use libc ioctl for os part
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-12 14:14:53 +02:00
Sascha Hauer 02ba8a0542 get rid of device ids
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer e7de22476e sandbox: Fix generation of linker script
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-21 23:25:35 +01:00
Sascha Hauer 5e112453b2 Sandbox: Fix make system
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>
2008-09-30 10:45:39 +02:00
Nishanth Menon cb3f2e34c4 Bitops:Remove generic_funcs
Use asm-generic/bitops/xyz.h instead of using
generic_xyz functions.

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:50 +02:00
Sascha Hauer 0fe550662d Fix typo introduced with commit 9e6ee5e795 2008-06-24 11:17:29 +02:00
Sascha Hauer 9e6ee5e795 [sandbox] export ELF_CLASS for sandbox 2008-06-03 13:35:35 +02:00
Sascha Hauer 36ffd6f18a [kbuild] move -pipe from architecture Makefiles to toplevel
Makefile
2008-06-03 12:54:37 +02:00
Sascha Hauer 39a78d9951 [kbuild] remove -Wall from architecture Makefiles. It's already
in toplevel CFLAGS
2008-06-03 12:51:05 +02:00
Sascha Hauer 847934bc96 [kbuild] move -nostdinc from architecture Makefiles to toplevel
Makefile
2008-06-03 12:39:45 +02:00
Sascha Hauer b8725ffe1d [kbuild] move -ffreestanding from architecture Makefiles to toplevel
Makefile
2008-06-03 12:37:52 +02:00
Sascha Hauer bca64df501 [kbuild] move -fno-builtin from architecture Makefiles to toplevel
Makefile
2008-06-03 12:36:35 +02:00
Sascha Hauer 7681d868ba [kbuild] move -Os flag from architecture Makefiles to toplevel
Makefile
2008-06-03 12:29:57 +02:00
Sascha Hauer 878f38de8f [kbuild] change architecture Makefiles not to overwrite
CFLAGS, instead append them to the existing CFLAGS.
	 Also, remove all double CFLAGS
2008-06-03 12:24:50 +02:00
Sascha Hauer 9c7d282579 [general] Move include/configs/* to board/*/config.h 2008-04-07 12:18:05 +02:00
Sascha Hauer 9c9f3ffd16 Doxygen cleanups
- 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>
2008-04-04 14:45:04 +02:00
Sascha Hauer d9016f7cce do not sleep if read gets EAGAIN. Must be some testing leftover 2008-03-11 21:48:38 +01:00
Sascha Hauer 8759e68de2 Add the possibility to have an architecture specific ctrlc() function.
This allows us to return immediately in ctrlc() on sandbox and thus
not slow down network througput.
2008-03-11 00:00:37 +01:00
Sascha Hauer 187847b2b4 add globbing support 2008-03-09 22:35:38 +01:00
Marc Kleine-Budde 5c2afd89e1 [sandbox] fix read for buffers of zero length
This patch fixes the read function for the linux sandbox if a buffer
of zero length should be read. The error handling introduced in
6574529bb5 detects a false positive if the
length is zero.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2008-01-02 21:48:31 +01:00
Marc Kleine-Budde 049063e2ad remove -isystem with empty argument
This patch removes the "-isystem $(gccincdir)" from the
arch/*/Makefile because gccindir is empty.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 20:03:37 +01:00
Marc Kleine-Budde f6f9065213 [sandbox] new defconfig
regenerated sandbox' defconfig

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:46:55 +01:00
Marc Kleine-Budde 6574529bb5 [sandbox] add error handling to read
This patch adds propper error handling to the linux' read functions.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:50 +01:00
Marc Kleine-Budde aff35bbe09 improved codingstyle
this patch improves the codingstyle

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:49 +01:00
Marc Kleine-Budde 66bdf91279 [sparse] define functions static, use NULL as NULL pointer
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>
2007-11-29 10:22:49 +01:00
Marc Kleine-Budde c27f282cc3 [sparse] declare functions static
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>
2007-11-29 10:22:48 +01:00
Marc Kleine-Budde a69f6b6836 [sparse] declare functions static
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>
2007-11-29 10:22:48 +01:00
Marc Kleine-Budde 039248654a [sandbox] fix stdin and stdout fd for sandbox console
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>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde dbfef6fb63 [sandbox] HACK: add variable _SDA_BASE_ to main, to please linker
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>
2007-11-29 10:22:47 +01:00
Marc Kleine-Budde ebe11c4f22 [sandbox] add ELF_{ARCH,FORMAT} for powerpc
This patch adds the needed ELF_{ARCH,FORMAT} for the sandbox on powerpc

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-29 10:22:46 +01:00
Marc Kleine-Budde be57231bc8 [sandbox] use C99 initializers
This patch uses C99 initializers to initialize the timeout in linux_tstc()

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 10:05:47 +01:00
Marc Kleine-Budde 57bb3cd90d don't against link libgcc
We don't want to link against libgcc.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-11-28 08:21:02 +01:00
Juergen Beisert 9b77ffedf7 Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2 2007-11-09 14:09:54 +01:00
Juergen Beisert 9b07bdbbdc Merge branch 'docu' 2007-11-09 14:06:57 +01:00
Marc Kleine-Budde ff0b721962 Revert "add linker script for sandbox"
This reverts commit 175e8438df.
2007-11-09 13:02:31 +01:00
Robert Schwebel 0e58480478 Merge branch 'master' of ssh://rsc@octopus/home/git/projects/u-boot-v2 2007-11-08 17:22:51 +01:00
Juergen Beisert 0a13be8de2 various docu added 2007-11-05 15:20:31 +01:00
Juergen Beisert 4cd877a840 saving added docu 2007-11-05 14:39:07 +01:00
Marc Kleine-Budde 246db4fe93 added lds-y for sandbox
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2007-10-31 16:43:17 +00:00
Robert Schwebel (Laptop) 175e8438df add linker script for sandbox 2007-10-31 17:21:29 +01:00
Juergen Beisert a26f5e995e some doc added to uboot's simlator feature. Not finished yet. 2007-10-20 16:56:29 +02:00
Robert Schwebel (Laptop) 1f9506e7ee update to top of tree 2007-09-25 22:08:34 +02:00
Robert Schwebel (Laptop) e6ca62360e Subject: clean up TEXT_BASE
This patch makes TEXT_BASE a consistent per-arch config switch.
Additionally, it converts all TEXT_BASE occurences from string to hex.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
2007-09-25 22:01:01 +02:00
Sascha Hauer 4b0ac7ecf7 add defconfig for sandbox target 2007-07-14 14:46:24 +02:00
Sascha Hauer 9994dfb818 rename linux target to sandbox 2007-07-12 12:19:39 +02:00
Sascha Hauer d757720766 arch/linux -> arch/sandbox 2007-07-12 12:12:34 +02:00