Now that we've got boards.cfg and most people have converted over,
start warning people who have yet to so we can phase board configs
completely out of the Makefile.
Signed-off-by: Mike Frysinger
---
mkconfig |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/mkconf
On Sat, Sep 17, 2011 at 12:29 PM, Marek Vasut wrote:
> On Saturday, September 17, 2011 06:48:41 PM Simon Glass wrote:
>> We won't actually load an image with this architecture, but we still need
>> to define it.
>>
>> Signed-off-by: Simon Glass
>> ---
>> common/image.c | 5 +++--
>> include/
On Sat, Sep 17, 2011 at 2:40 PM, Graeme Russ wrote:
> Hi Simon,
>
> On 18/09/11 02:46, Simon Glass wrote:
>> This patch set points towards a possible way to improve the test
>> infrastructure in U-Boot. The goal is to have a test suite that can run in
>> a minute or two on a Linux PC and test all
This e-mail address is no longer valid, and the boards are long
since EOL.
Signed-off-by: Paul Gortmaker
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f60a60..12fe091 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -355,11 +355,6 @@ Kim Phillips
MPC8349EMDS MPC8349
-Daniel Poirot
On Sunday, September 18, 2011 04:19:28 AM Jana Rapava wrote:
> From: Marek Vasut
>
> This commit adds USB support for EfikaMX and EfikaSB.
>
> Signed-off-by: Marek Vasut
> Signed-off-by: Jana Rapava
> ---
> Changes for v2:
> - changed to proper patch
> Changes for v3:
> - merged ot
From: Marek Vasut
This commit adds USB support for EfikaMX and EfikaSB.
Signed-off-by: Marek Vasut
Signed-off-by: Jana Rapava
---
Changes for v2:
- changed to proper patch
Changes for v3:
- merged other USB patches from u-boot-pxa/efikasb
- offset-based access changed
On Saturday, September 10, 2011 09:17:28 Andrew Murray wrote:
> +#else
> +#define DO_INITCALL(x, ...) \
> + ({ (x)(__VA_ARGS__); })
this should be do{}while(0) to avoid differences in behavior with the other
DO_INITCALL() helper
> +#define DO_INITCALL_END(x) \
> + do { \
> +
On Saturday, September 10, 2011 08:37:06 Andrew Murray wrote:
> --- a/common/main.c
> +++ b/common/main.c
>
> @@ -385,11 +385,11 @@ void main_loop (void)
> run_command (s, 0);
> # else
> parse_string_outer(s, FLAG_PARSE_SEMICOLON |
> - FL
On Saturday, September 10, 2011 08:37:04 Andrew Murray wrote:
> +#if defined(CONFIG_BOOT_TRACE)
> + printf("completed relocate to ram\n");
> +#endif
looks like you should have a boot trace printf helper to avoid having to put
ifdef's around all of these printf call sites
-mike
signature.asc
On Saturday, September 10, 2011 08:37:03 Andrew Murray wrote:
> +int printf(const char *fmt, ...)
> +{
> + va_list args;
> + uint i = 0;
> +
> + va_start(args, fmt);
> + i = vprintf(fmt, args);
> + va_end(args);
> +
> + return i;
> +}
could you split this change out by itse
On Monday, September 05, 2011 13:25:04 Vladimir Zapolskiy wrote:
> This is a trivial fix in the documentation, which corrects
> board_init_r() source reference.
Acked-by: Mike Frysinger
-mike
signature.asc
Description: This is a digitally signed message part.
___
On Saturday, September 17, 2011 12:48:57 Simon Glass wrote:
> There are a few variables set but not used - this marks these as unused
> for the compiler.
summary says "sandbox:" but i dont think this has anything to do with sandbox.
you're just using a newer compiler.
> --- a/common/cmd_mem.c
>
On Saturday, September 17, 2011 12:48:56 Simon Glass wrote:
> --- /dev/null
> +++ b/include/configs/sandbox.h
missing #ifdef multiple include protection
> +#define CONFIG_NR_DRAM_BANKS 1
> +#define CONFIG_SYS_SDRAM_BASE0
> +#define CONFIG_DRAM_SIZE (128 << 20)
do you need any of this
On Saturday, September 17, 2011 12:48:52 Simon Glass wrote:
> --- a/arch/sandbox/config.mk
> +++ b/arch/sandbox/config.mk
>
> -PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__
> +PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -I/usr/include
since this gets used by all u-boot files, shouldn
On Saturday, September 17, 2011 12:48:46 Simon Glass wrote:
> --- /dev/null
> +++ b/board/sandbox/sandbox/Makefile
>
> +clean:
> + rm -f $(OBJS)
> +
> +distclean: clean
> + rm -f $(LIB) core *.bak $(obj).depend
these dont get used, so punt them
-mike
signature.asc
Description: This is
On Saturday, September 17, 2011 12:48:48 Simon Glass wrote:
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
>
> +#if BITS_PER_LONG == 32
> int (*appl)(int, char * const []);
> +#endif
>
> +#if BITS_PER_LONG == 32
> appl = (int (*)(int, char * const []))ntohl(images.ep);
>
On Saturday, September 17, 2011 12:48:45 Simon Glass wrote:
> Since the sandbox architecture doesn't do relocation, we prefer to call
> board_init_r() explicitly when board_init_f() returns. Similarly we
> prefer to call main_loop() when board_init_r returns.
NAK; i dont see how sandbox is special
On Saturday, September 17, 2011 12:48:44 Simon Glass wrote:
> These files are taken from the ARM board implementation and then reduced
> to remove unneeded cr!uft.
"cr!uft" -> "cruft"
> --- /dev/null
> +++ b/arch/sandbox/lib/Makefile
>
> +LIBGCC = $(obj)libgcc.o
>
> +LGOBJS := $(addpr
On Saturday, September 17, 2011 12:48:43 Simon Glass wrote:
> --- /dev/null
> +++ b/arch/sandbox/config.mk
>
> +LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
the top level Makefile should take care of this for you so you can just delete
this line
> --- /dev/null
> +++ b/arch/sandbox/cpu/sandbox/cp
On Saturday, September 17, 2011 12:48:42 Simon Glass wrote:
> Temporary fix for 64-bit building.
why is it temporary ? why not fix it permanently ?
> --- a/include/compiler.h
> +++ b/include/compiler.h
>
> #include
> #include
>
> +#if __SIZEOF_LONG__ == 8
> +# define __WORDSIZE 64
> +#elif
On Saturday, September 17, 2011 12:48:40 Simon Glass wrote:
> --- /dev/null
> +++ b/arch/sandbox/include/asm/arch-sandbox/clock.h
>
> +enum periph_id {
> + PERIPH_COUNT
> +};
is this needed by anything ?
> --- /dev/null
> +++ b/arch/sandbox/include/asm/arch-sandbox/gpio.h
>
> +enum {
> +
Hello.
On 17-09-2011 1:01, Wolfgang Denk wrote:
> Dear Sergei Shtylyov,
Thank you for the really quick response. :-)
>> MDSTAT.STATE occupies bits 0..5 according to all available documentation, so
>> fix
>> the masks which previously was leaving out the intermediate state indicator
>> bit
Hi Simon,
On 18/09/11 02:46, Simon Glass wrote:
> This patch set points towards a possible way to improve the test
> infrastructure in U-Boot. The goal is to have a test suite that can run in
> a minute or two on a Linux PC and test all non-platform code.
It is odd the patches 2-20 are in-reply-t
On Saturday, September 17, 2011 15:33:40 Sebastian Andrzej Siewior wrote:
> On 09/17/2011 03:10 PM, Wolfgang Denk wrote:
> > Sebastian Andrzej Siewior wrote:
> >>> Are you 100% sure this is a GPLv2+ compatible license??? I don't think
> >>> so...
> >>
> >> How so? This is a 3-clause BSD license. A
On 09/17/2011 03:10 PM, Wolfgang Denk wrote:
> Dear Sebastian Andrzej Siewior,
Hi Wolfgang,
> In message<4e73bf68.9040...@linutronix.de> you wrote:
>>
>>> Are you 100% sure this is a GPLv2+ compatible license??? I don't think
>>> so...
>>
>> How so? This is a 3-clause BSD license. According to [0
On Saturday, September 17, 2011 06:48:41 PM Simon Glass wrote:
> We won't actually load an image with this architecture, but we still need
> to define it.
>
> Signed-off-by: Simon Glass
> ---
> common/image.c |5 +++--
> include/image.h |3 +++
> 2 files changed, 6 insertions(+), 2 dele
Portale Italiano
Uno strumento per accedere agli argomenti e servizi che cerchi.
Informazione - Offerte lavoro - Finanziamenti - Agevolazioni - Fisco - Notizie
- Cronaca - Gossip - News - Tv - Radio
Chat amicizie
Inoltra questo msg ad un amico
Visita il sito
Remove
_
At this point U-Boot will build and run on x86 under Linux.
The idea is to define a new architecture called 'sandbox', alongside ARM
and x86. This runs natively on Linux to suit the host machine. All
hardware access is either omitted or emulated.
The purpose of this system is to test the bulk of
This uart simply writes to stdout and reads from stdin. We might imagine
instead buffering the data so that a test interface can check output and
inject input.
Signed-off-by: Simon Glass
---
drivers/serial/Makefile |1 +
drivers/serial/sandbox.c | 67 ++
Create a basic empty board_init() to get us running.
Signed-off-by: Simon Glass
---
board/sandbox/common/Makefile |2 +-
board/sandbox/common/board.c | 25 +
2 files changed, 26 insertions(+), 1 deletions(-)
create mode 100644 board/sandbox/common/board.c
diff --
This includes just a few basic features to illustrate the concept.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h | 80 +
1 files changed, 80 insertions(+), 0 deletions(-)
create mode 100644 include/configs/sandbox.h
diff --git a/include/
This fixes a problems when building on some 64-bit machines.
Signed-off-by: Simon Glass
---
common/cmd_mem.c |2 +-
common/fdt_support.c |8
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 1168766..94d3926 100644
--- a
We want to keep all OS-dependent code in once place, with a simple interface
to U-Boot. For now, this is that place.
Signed-off-by: Simon Glass
---
arch/sandbox/config.mk|2 +-
board/sandbox/common/Makefile | 47 +++
board/sandbox/common/os.c
Add a main program so that we can run U-Boot.
Signed-off-by: Simon Glass
---
board/sandbox/common/Makefile |2 +-
board/sandbox/common/main.c | 34 ++
2 files changed, 35 insertions(+), 1 deletions(-)
create mode 100644 board/sandbox/common/main.c
diff -
This is required for the bdinfo command to work.
Signed-off-by: Simon Glass
---
common/cmd_bdinfo.c | 34 ++
1 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 6051120..0faca6f 100644
--- a/common/cmd_
These files are taken from the ARM board implementation and then reduced
to remove unneeded cr!uft.
Ideally we would work towards unifying arch/xxx/lib files, particularly
board.c.
Signed-off-by: Simon Glass
---
arch/sandbox/lib/Makefile | 62 +
arch/sandbox/lib/board.c | 29
There are a few variables set but not used - this marks these as unused
for the compiler.
Signed-off-by: Simon Glass
---
common/cmd_mem.c|2 +-
common/cmd_nvedit.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 4daa1b3.
We prefer to U-Boot's malloc but for now it is easier to use the C library's
version.
Signed-off-by: Simon Glass
---
common/Makefile |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/Makefile b/common/Makefile
index 2edbd71..8d17a54 100644
--- a/common/Makefile
+++
This is an initial implementation with all functions defined but not working.
Signed-off-by: Simon Glass
---
arch/sandbox/config.mk | 21
arch/sandbox/cpu/sandbox/Makefile | 47 +++
arch/sandbox/cpu/sandbox/cpu.c | 59 +++
We won't actually load an image with this architecture, but we still need to
define it.
Signed-off-by: Simon Glass
---
common/image.c |5 +++--
include/image.h |3 +++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/common/image.c b/common/image.c
index d38ce4a..8283561 1
This adds basic files for the sandbox board. The lds file is very simple
since we can rely mostly on the linker defaults.
Signed-off-by: Simon Glass
---
board/sandbox/sandbox/Makefile | 50
board/sandbox/sandbox/sandbox.c | 54 +++
This is not useful on the sandbox architecture since we can simply link all
our code with U-Boot.
Signed-off-by: Simon Glass
---
Makefile |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index e9ba6a4..672b5cd 100644
--- a/Makefile
+++ b/Makefi
Temporary fix for 64-bit building.
Signed-off-by: Simon Glass
---
include/compiler.h | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/include/compiler.h b/include/compiler.h
index 4e047c7..78f8f0a 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -11
By default sections are 16-byte aligned on some architectures, but the
command name structure (struct cmd_tbl_s) does not have padding to
16 bytes. This reduces the alignment to 4-bytes so that the command
table can be accessed correctly on any architecture.
(Note: this needs doing properly)
Sign
This adds sandbox architecture support to bootm, although it is probably
not useful to load sandbox code into the address space and execute it.
These changes at least make the file build correctly on 64-bit machines.
Signed-off-by: Simon Glass
---
common/cmd_bootm.c | 11 ---
1 files
Since the sandbox architecture doesn't do relocation, we prefer to call
board_init_r() explicitly when board_init_f() returns. Similarly we
prefer to call main_loop() when board_init_r returns.
Signed-off-by: Simon Glass
---
include/common.h |9 +++--
1 files changed, 7 insertions(+), 2
Signed-off-by: Simon Glass
---
arch/sandbox/include/asm/arch-sandbox/clock.h | 25
arch/sandbox/include/asm/arch-sandbox/gpio.h | 29 +
arch/sandbox/include/asm/bitops.h | 162 +
arch/sandbox/include/asm/byteorder.h | 40 ++
arch/s
This patch set points towards a possible way to improve the test
infrastructure in U-Boot. The goal is to have a test suite that can run in
a minute or two on a Linux PC and test all non-platform code.
This RFC aims to be just enough boot to U-Boot to a command prompt. You
can type help; anything
From: Nagabhushana Netagunte
move the functions related to clock from cpu.c to the new file
speed.c.
Signed-off-by: Nagabhushana Netagunte
---
arch/arm/cpu/arm926ejs/davinci/Makefile |2 +-
arch/arm/cpu/arm926ejs/davinci/cpu.c| 173 ---
arch/arm/cpu/arm926ejs/d
From: Nagabhushana Netagunte
remove the macro CONFIG_DISPLAY_CPUINFO as it is no longer
required. This is because clock info will be printed as part
'clocks' command.
Signed-off-by: Nagabhushana Netagunte
---
arch/arm/cpu/arm926ejs/davinci/speed.c |2 --
include/configs/davinci_dm355evm.h
From: Nagabhushana Netagunte
This patch series adds new command - 'clocks' for
davinci family of SOCs. The command prints CPU, DSP
core frequencies and DDR frequency. Also, support
for printing frequency info during u-boot initialization
is removed as it will delay u-boot coming up.
Nagabhushana
From: Nagabhushana Netagunte
print ARM and DDR frequency for da8xx as part of clocks
command and a function is added in hardware.h to find which
PLL clock is used.
Signed-off-by: Rajashekhara, Sudhakar
Signed-off-by: Nagabhushana Netagunte
---
arch/arm/cpu/arm926ejs/davinci/speed.c |
From: Nagabhushana Netagunte
add support for dm365 in speed.c file to use appropriate
PLL clocks to calculate cpu frequency and print.
Signed-off-by: sugumar
Signed-off-by: Nagabhushana Netagunte
---
arch/arm/cpu/arm926ejs/davinci/speed.c | 44 +++
1 files change
From: Nagabhushana Netagunte
add 'clocks' command to print various clock frequency info found
in SOC such as ARM core frequency, DSP core frequency and DDR
frequency.
Signed-off-by: Nagabhushana Netagunte
---
arch/arm/cpu/arm926ejs/davinci/speed.c | 26 ++
1 files cha
Dear Sebastian Andrzej Siewior,
In message <4e73bf68.9040...@linutronix.de> you wrote:
>
> > Are you 100% sure this is a GPLv2+ compatible license??? I don't think
> > so...
>
> How so? This is a 3-clause BSD license. According to [0] it is
> compatible. Is there anything I missed here?
The "All
Hi there
Please do let me know when you are looking at advertising next - we represent
some interesting niche print and online titles here in London, all of which hit
the top 5% of the AB demographic in UK & Europe.
Best, John Winters
Introductions Director
SKS Media London
www.niche-advertis
On Friday, September 16, 2011 09:15:12 PM Scott Wood wrote:
> On 09/08/2011 03:42 PM, Marek Vasut wrote:
> > Signed-off-by: Marek Vasut
> > Cc: Stefano Babic
> > Cc: Wolfgang Denk
> > Cc: Detlev Zundel
> > ---
> >
> > include/configs/m28evk.h | 11 +--
> > 1 files changed, 9 inserti
(board maintainers in CC:)
Hi all,
There remains 13 boards listed as having warnings or errors at this
point in a ./MAKEALL arm:
- SUMMARY
Boards compiled: 242
Boards with warnings or errors: 13 ( omap3_beagle actux1_4_16
actux1_8_16 actux1_4_32
On Thu, Sep 8, 2011 at 5:42 PM, Marek Vasut wrote:
...
> +/* Environment is in NAND */
> +#define CONFIG_ENV_IS_IN_NAND 1
You should remove the "1".
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-bo
59 matches
Mail list logo