Move actual script execution into a new function run_script(), which then
can be called from other modules.
Signed-off-by: Michael Walle
Cc: Wolfgang Denk
---
common/cmd_source.c | 71 --
include/common.h|1 +
2 files changed, 41 inserti
On Tue, Jan 10, 2012 at 4:01 PM, Scott Wood wrote:
> On 12/13/2011 01:33 PM, Stefano Babic wrote:
>> Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM
>> which is likely to contain already loaded data.
>> The patch saves the oob data and the ecc on the stack replacing
>> the
On Wed, Oct 12, 2011 at 09:31:59AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This patch merges the BCH ECC algorithm from the 3.0 Linux kernel.
> This enables U-Boot to support modern NAND flash chips that
> require more than 1-bit of
On Wed, Oct 12, 2011 at 09:32:00AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This patch merges the additional NAND flash types from the 3.0 Linux
> kernel.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Adds 1244 byte
On Wed, Oct 12, 2011 at 09:32:01AM +0200, Christian Hitz wrote:
> Bring up to date with corresponding file from linux.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Changes since v1:
> - split whitespace changes into seperate patch
Applied to u-boot-nand-flash
-Scott
___
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This patch synchronizes the nand driver with the Linux 3.0 state.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Adds 968 bytes to the image
On Wed, Oct 12, 2011 at 09:32:04AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This patch synchronizes the nand driver with the Linux 3.0 state.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Adds 1096 bytes to the imag
On Tuesday 10 January 2012 17:26:22 Doug Anderson wrote:
> As Mike Frysinger writes:
> We didn't enable silent=1 by default in any of the Blackfin boards
> Just made the functionality available to people if they wanted to
> test things out with it when prototyping on dev boards.
>
> --- a/in
On Wed, Oct 12, 2011 at 09:32:05AM +0200, Christian Hitz wrote:
> [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe]
>
> This is part of the synchronization with the nand driver to the
> Linux 3.0 state.
>
> Signed-off-by: Christian Hitz
> Cc: Scott Wood
> ---
>
> Adds 168 b
On Mon, Dec 12, 2011 at 05:49:57PM +0800, Shengzhou Liu wrote:
> - fix NAND_CMD_READID command for ONFI detect.
> - add NAND_CMD_PARAM command to read the ONFI parameter page.
>
> Signed-off-by: Shengzhou Liu
> ---
> drivers/mtd/nand/fsl_elbc_nand.c | 17 ++---
> 1 files changed, 1
On Tuesday 10 January 2012 17:28:05 Wolfgang Denk wrote:
> Doug Anderson wrote:
> > This makes fixup_silent_linux() use malloc() to allocate its
> > working space, meaning that our maximum kernel command line
> > should only be limited by malloc(). Previously it was silently
> > overflowing the st
On Tuesday 10 January 2012 17:51:15 Doug Anderson wrote:
> On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk wrote:
> > I think your patch is likely to break all these architectures?
>
> I'm not sure how my patch would break these architectures.
if the kernel doesn't do len checking on the input str
Mike,
On Tue, Jan 10, 2012 at 3:27 PM, Mike Frysinger wrote:
> not sure why you don't just squash it into 1/3 and never bother defining it ?
I was attempting to keep changes isolated as much as possible, but
everyone seems to like to do this differently and I'm still getting a
feel for what you
On Tuesday 10 January 2012 18:04:19 Michael Walle wrote:
> --- a/common/cmd_source.c
> +++ b/common/cmd_source.c
>
> +/*
> + * Run a series of commands, separated by '\n'.
> + * Beware, the contents of script may be modified while it is parsed.
> + */
> +int run_script(char *script)
const
also,
On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote:
> 3. Something else (?)
getenv returns a writable buffer, so i wonder if things couldn't be avoided
easily all around. after all, you're just deleting bytes here, not adding new
ones.
-mike
signature.asc
Description: This is a digitally
On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger wrote:
> On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote:
> getenv returns a writable buffer, so i wonder if things couldn't be avoided
> easily all around. after all, you're just deleting bytes here, not adding new
> ones.
Actually, that's
Hi Mike,
On Tue, Jan 10, 2012 at 10:07 AM, Mike Frysinger wrote:
> On Monday 09 January 2012 17:25:15 Simon Glass wrote:
>> --- a/arch/sandbox/cpu/os.c
>> +++ b/arch/sandbox/cpu/os.c
>>
>> +#include
>> #include
>> +#include
>> #include
>> #include
>> -#include
>> #include
>> -#include
Tidy this up as the list is long and likely to get longer.
Signed-off-by: Simon Glass
---
Changes in v2:
- Sort correctly: include/, sys/, linux/, asm/
Changes in v3:
- Keep 'U-Boot header' separate at the end
arch/sandbox/cpu/os.c |8
1 files changed, 4 insertions(+), 4 deletions
We should include the sys/time.h header to avoid warnings.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase after changes to sandbox header sort patch
arch/sandbox/cpu/os.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os
This adds support for a controlling fdt, mirroring the ARM implementation.
Signed-off-by: Simon Glass
---
arch/sandbox/include/asm/global_data.h |1 +
arch/sandbox/lib/board.c |8
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/sandbox/include/
Enable fdt code and safe snprintf() options for sandbox.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 10565e6..6790216 100644
--- a/include/confi
Enable the new GPIO driver for sandbox.
Signed-off-by: Simon Glass
---
include/configs/sandbox.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 6790216..e7e97cc 100644
--- a/include/configs/sandbox.h
+++ b/
The state exists through the life of U-Boot. It can be adjusted by command
line options and perhaps later through a config file. It is available
to U-Boot through state_...() calls (within sandbox code).
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/Makefile |2 +-
arc
This provides a way of simulating GPIOs by setting values which are seen
by the normal gpio_get/set_value() calls.
Signed-off-by: Simon Glass
---
Changes in v2:
- Use generic GPIO command and interface
- Fix gpio_direction_output() to actually set the value
arch/sandbox/include/asm/gpio.h | 6
This provides a way for callers to create files for writing. We define
flags which mirror the POSIX values.
Another approach would be to translate the flags at runtime. Perhaps we can
leave to whoever wants to port this to another OS?
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c |2
In order to pass command line arguments to sandbox we need to be able
to act on them. So take control back at the end of board_init_r() from
where we can call the main loop or do something else.
Signed-off-by: Simon Glass
---
Changes in v2:
- Call cpu_main_loop() from board_init_r()
arch/sandbo
This adds simple command-line parssing to sandbox. The idea is that it
sets up the state with options provided, and this state can then be
queried as needed later.
For now we just allow it to run a command.
Passing a command to U-Boot on stdin is not as convenient IMO.
The parsing code is in os.
On Tuesday 10 January 2012 18:54:05 Simon Glass wrote:
> Tidy this up as the list is long and likely to get longer.
added to my sandbox branch
-mike
signature.asc
Description: This is a digitally signed message part.
___
U-Boot mailing list
U-Boot@list
On Tuesday 10 January 2012 18:54:06 Simon Glass wrote:
> We should include the sys/time.h header to avoid warnings.
added to my sandbox branch
-mike
signature.asc
Description: This is a digitally signed message part.
___
U-Boot mailing list
U-Boot@list
On Tuesday 10 January 2012 18:48:12 Doug Anderson wrote:
> On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger wrote:
> > On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote:
> > getenv returns a writable buffer, so i wonder if things couldn't be
> > avoided easily all around. after all, you're j
On Thursday 01 December 2011 13:05:42 Mike Frysinger wrote:
> On Wednesday 30 November 2011 23:32:10 Macpaul Lin wrote:
> > 1. Add linkage.h support from blackfin to common include,
> >
> >which is a reduced version from Linux.
> >
> > 2. Add architecture part support of linkage.h into blackf
Hi Mike,
2012/1/11 Mike Frysinger
>
> FYI, i'll be including it as part of my Blackfin merge when the window
> closes
> -mike
>
>
Thanks for your information, I'll do other fix based on this commit.
--
Best regards,
Macpaul Lin
___
U-Boot mailing lis
On Wed, Nov 30, 2011 at 5:23 AM, Macpaul Lin wrote:
> Add linkage.h support from blackfin to common include,
> which is a reduced version from Linux.
>
> Signed-off-by: Macpaul Lin
> ---
> arch/blackfin/include/asm/linkage.h | 74
> ---
> include/linux/linkage.
On Tuesday 10 January 2012 21:05:35 Fabio Estevam wrote:
> On Wed, Nov 30, 2011 at 5:23 AM, Macpaul Lin wrote:
> > Add linkage.h support from blackfin to common include,
> > which is a reduced version from Linux.
> >
> > Signed-off-by: Macpaul Lin
> > ---
> > arch/blackfin/include/asm/linkage.h
Dear HeungJun, Kim,
On 10 January 2012 18:00, HeungJun, Kim wrote:
> This patch adds support for Samsung TRATS board
>
> Signed-off-by: HeungJun, Kim
> Signed-off-by: Kyungmin Park
> ---
> MAINTAINERS | 4 +
> board/samsung/trats/Makefile | 43 ++
> board/samsun
Liu Gang-B34182 wrote:
> Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code
> that uses it?
> [Liu Gang-B34182] Sorry I documented this definition in "[PATCH 6/8]
> powerpc/boot: Slave uploads ucode when boot from SRIO",
You need to update the README. That's where all t
Hi Minkyu Kang,
On 2012년 01월 11일 11:35, Minkyu Kang wrote:
Dear HeungJun, Kim,
On 10 January 2012 18:00, HeungJun, Kim wrote:
This patch adds support for Samsung TRATS board
Signed-off-by: HeungJun, Kim
Signed-off-by: Kyungmin Park
---
MAINTAINERS |4 +
board/sam
This patch adds support for Samsung TRATS board
Signed-off-by: HeungJun, Kim
Signed-off-by: Kyungmin Park
---
Changes for RESEND since v3
- Add prefix board_ for board functions
- Rename setup.h from trats_setup.h
- Remove *_OFFSET in setup.h
- Remove GPIO and UART definitions in setup.h
This patch adds support for Samsung TRATS board
Signed-off-by: HeungJun, Kim
Signed-off-by: Kyungmin Park
---
Changes for RESEND since v3
- Add prefix board_ for board functions
- Rename setup.h from trats_setup.h
- Remove *_OFFSET in setup.h
- Remove GPIO and UART definitions in setup.h
-Original Message-
From: Tabi Timur-B04825
Sent: Wednesday, January 11, 2012 1:03 AM
To: Liu Gang-B34182
Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang
Roy-R61911; Xie Shaohui-B21989
Subject: Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when b
Hi, Timur,
Thanks for your comments.
Please find my replies inline.
Best Regards,
Liu Gang
-Original Message-
From: Tabi Timur-B04825
Sent: Wednesday, January 11, 2012 12:48 AM
To: Liu Gang-B34182
Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang
Roy-R61911
S
-Original Message-
From: Tabi Timur-B04825
Sent: Wednesday, January 11, 2012 1:11 AM
To: Liu Gang-B34182
Cc: u-boot@lists.denx.de; alexandre.boun...@idt.com; Gala Kumar-B11780; Zang
Roy-R61911; Xie Shaohui-B21989
Subject: Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from
Thanks very much!
I'll update the patch based on your comments.
Best Regards,
Liu Gang
-Original Message-
From: Tabi Timur-B04825
Sent: Wednesday, January 11, 2012 11:00 AM
To: Liu Gang-B34182
Cc: 'u-boot@lists.denx.de'; 'alexandre.boun...@idt.com'; Gala Kumar-B11780;
Zang Roy-R61911;
Hi Marek,
Thanks for you review.
On Tue, Jan 10, 2012 at 9:37 PM, Marek Vasut wrote:
>> From: "Govindraj.R"
>>
>> Clean up added ehci-omap.c and make it generic for re-use across
>> soc having same ehci ip block. Also pass the modes to be configured
>> and configure the ports accordingly. All u
On Tue Jan 10, 2012 at 09:07:58PM +0100, Marek Vasut wrote:
> > The current implementation invalidates the cache instead of flushing
> > it. This causes problems on platforms where the spl/u-boot is already
> > loaded to the RAM, with caches enabled by a first stage bootloader.
>
> What platforms
Hello Sughosh,
Sughosh Ganu wrote:
> This patch moves hawkboard to the new spl infrastructure from the
> older nand_spl one.
>
> Removed the hawkboard_nand_config build option -- The spl code now
> gets compiled with hawkboard_config, after building the main u-boot
> image, using the CONFIG_SPL_T
Hello Tom, Jérôme,
Sorry for the late reply, but I just starting to look through my
backlog, after my vacation ...
Tom Rini wrote:
> On Wed, Dec 21, 2011 at 10:36 PM, Jérôme Carretero
> wrote:
>> Hi Tom,
>>
>> I'm requesting comments on the following (untested) patch.
>> It adds support for mul
Hello Chandan,
On 10.01.2012 07:38, Chandan Nath wrote:
> This patch is added to replace CONFIG_AM335X symbol
> with CONFIG_AM333XX for AM33XX platforms.
>
One 3 in CONFIG_AM333XX too much, but only in description.
It runs on the Beaglebone.
Tested-by: Thomas Weber
Thanks.
Thomas
> Signed-off-
Hello e...@bus-elektronik.de (Jens?),
e...@bus-elektronik.de wrote:
> * Since AT91 name schema was changed to ATMEL_BASE_xxx, I2C_SOFT
> on AT91 devices fails with 'error: ATMEL_FIO_BASE undeclared'
> * change ATMEL_PIO_BASE to ATMEL_BASE_PIOA will fix this
>
> Signed-off-by: Jens Scharsig
>
Hello Wolfgang,
The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952:
ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100)
are available in the git repository at:
git://git.denx.de/u-boot-i2c.git master
e...@bus-elektronik.de (1):
fix: error ATME
Hello Christian,
Christian Riesch wrote:
> This patch adds support for the Calimain board from
> OMICRON electronics GmbH. The board features a Texas Instruments AM1808
> SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and
> CS3.
>
> Signed-off-by: Christian Riesch
> ---
>
Dear Liu Gang,
In message <1326195751-20729-6-git-send-email-gang@freescale.com> you wrote:
> When boot from SRIO, slave's ucode can be stored in master's memory space,
> then slave can fetch the ucode image through SRIO interface.
...
> + /* configure inbound window for slave's ucode */
>
Dear Liu Gang-B34182,
In message
<9a1c2a9acc704641bc472a1588ce1647164...@039-sn1mpn1-005.039d.mgd.msft.net> you
wrote:
>
> Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code
> that uses it?
> [Liu Gang-B34182] Sorry I documented this definition in "[PATCH 6/8]
> power
Dear Liu Gang,
In message <1326195751-20729-4-git-send-email-gang@freescale.com> you wrote:
> For the powerpc processors with SRIO interface, boot location can be
> configured
> from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without
> flash
> for u-boot image. The image c
Dear Liu Gang,
In message <1326195751-20729-2-git-send-email-gang@freescale.com> you wrote:
> When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors:
>
> ./common/env_nowhere.o: In function `env_relocate_spec':
> ./common/env_nowhere.c:38: multiple definition of `env_reloca
Dear Liu Gang,
In message <1326195751-20729-1-git-send-email-gang@freescale.com> you wrote:
> Many registers were not defined in the struct ccsr_rio_t in the file
> arch/powerpc/include/asm/immap_85xx.h. For example it lacks registers
> from offset 0xc0600 to 0xd0160. Accordingly, some registe
hi Heiko,
On Wed Jan 11, 2012 at 07:52:02AM +0100, Heiko Schocher wrote:
> Hello Sughosh,
>
> Sughosh Ganu wrote:
> > This patch moves hawkboard to the new spl infrastructure from the
> > older nand_spl one.
> >
> > Removed the hawkboard_nand_config build option -- The spl code now
> > gets comp
101 - 157 of 157 matches
Mail list logo