On some boards with a very short watchdog timeout, the "cp" and
"cmp" commands may reset the board. This patch adds some
watchdog resets inside the loops. Otherwise for example the lwmon5
board will reset while doing something like this:
=> cp.b fc00 100 10
Signed-off-by: Stefan Roese
This has always been confusing, and the idea of these functions returning the
number of interfaces initialized was half-baked and ultimately pointless.
Instead, act more like regular functions and return < 0 on failure, >= 0 on
success.
This change shouldn't break anything.
Signed-off-by: Ben War
All are within an #ifdef CONFIG_NET_MULTI block already
Signed-off-by: Ben Warren
---
net/eth.c | 16
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/net/eth.c b/net/eth.c
index 993306f..5c70d4f 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -263,7 +263,6 @@ int eth
This patch adds basic support for spi mode 0~3 by control gpio bitbang.
It uses several gpio pin and emulates spi chipselect signal, clock signal
and sda signal as if spi controller generate spi signal.
Signed-off-by: Donghwa Lee http://lists.denx.de/mailman/listinfo/u-boot>>
---
drivers/spi/s
You can find the official port of u-boot for the Hawkboard over at
hawkboard.org, but if you want to build the latest version of u-boot
that can be done as well.
The Hawkboard is very similar to the DA850 EVM so as a first step, you
could simply build u-boot for that board and it should boot just
Hi Michal,
Sorry for the delay in reviewing
On 8/2/2010 5:49 AM, Michal Simek wrote:
> Emaclite was using old net api that's why
> this patch move emaclite to NET_MULTI api.
>
> Signed-off-by: Michal Simek
> ---
> drivers/net/xilinx_emaclite.c | 84
> +++
Scott Wood-2 wrote:
>
> On Fri, 27 Aug 2010 20:35:12 -0700
>
> Could you try it on current U-Boot? It should already have support for
> i.mx25's NAND controller in drivers/mtd/nand/mxc_nand.c.
>
>> I make a simply testing process, what I do is, firstly, I only erase page
>> 0 of block 0,
>
Hi Marri,
On Wednesday 01 September 2010 00:35:32 Tirumala Marri wrote:
> > > Add bluestone board name to the board.cfg.
> > > Change Makefile to include bluestone board support.
> >
> > Not needed with board.cfg now. Please remove your changes to Makefile.
>
> [Marri] You mean we only need boa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/01/2010 08:48 AM, Shinya Kuribayashi wrote:
> On 8/31/2010 10:36 AM, Shinya Kuribayashi wrote:
>>> As said in the previous mail the patch is tentative and won't
>>> work with ELDK, and as fas as I could see nothing has been
>>> changed since my v
From: Tirumala Marri
Add support code for bluestone board wth APM82XXX processor based.
This patch includes early board init, misc init, configure EBC,
initializes UIC, MAKEALL, board.cfg and MAINTAINERS file.
Signed-off-by: Tirumala R Marri
---
V1:
* Remove "All rights reserved" phrase from
From: Tirumala Marri
APM82XXX is a new line of SoCs which are derivatives of
PPC44X family of processors.
This patch adds support of CPU, cache,
tlb, 32k ocm, bootstraps, PLB AHB bus, DDR and
Some common register definitions.
Signed-off-by: Tirumala R Marri
---
V1:
* Squash some of the patc
From: Tirumala Marri
APM8 is Applied Micro Circuits Corporations naming
convention for new line of SoCs.
V1:
* Squash some of the patches.
* add space between "||" and "\".
* Add spaces around operators.
* Unsigned int to u32.
* Add empty line which was removed.
* remove warning
On 8/31/2010 10:36 AM, Shinya Kuribayashi wrote:
>> As said in the previous mail the patch is tentative and won't
>> work with ELDK, and as fas as I could see nothing has been
>> changed since my version.
>
> So I'm overlooking something, will have to think about it.
Oh, I remember now. The aim
For some variables, for example "ipaddr", when I try to change them using
"setenv" it does not update the current "ipaddr" variable in RAM it creates
a new one and append it to the end of the variable list. As a result I end
up having two "ipaddr" variables in RAM, one with the original value an
>
> On Tue, 2010-08-31 at 16:21 -0700, Steve Sakoman wrote:
> > This patch series adds support for TI's OMAP36XX/377XX processors and
> > modifies the Beagle and Overo board files to support upcoming versions
> > of these boards based upon processors from the OMAP36XX/37XX families.
> >
> > A num
>
> This printk was added recently and results in ugly output on systems
> with no NAND:
>
> NAND: nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x00,
> Chip ID: 0x00 0 MiB
>
> instead of:
>
> NAND: 0 MiB
Scott,
What do you think of this patch?
>
> Signed-off-by: Steve Sa
On Tue, 2010-08-31 at 16:21 -0700, Steve Sakoman wrote:
> This patch series adds support for TI's OMAP36XX/377XX processors and
> modifies the Beagle and Overo board files to support upcoming versions
> of these boards based upon processors from the OMAP36XX/37XX families.
>
> A number of cleanup
From: Mans Rullgard
On OMAP34xx ES1.0, the L2 enable bit can only be set in secure mode,
so an SMC call to the ROM monitor is required. On later versions,
and on newer devices, this bit is banked and we can set it directly.
The code checked only the ES revision of the chip, and hence incorrectl
An upcoming version of Overo uses a Wifi/BT module with 1.8V signaling,
eliminating the need for an external transceiver to handle the level
shifting. This patch detects whether an external transceiver is present
and adjusts the pinmux settings as appropriate.
Signed-off-by: Steve Sakoman
---
b
This patch adds support for the Beagle xM. It uses the board ID
GPIO bits to recognize this revision and perform appropriate setup.
Signed-off-by: Steve Sakoman
---
board/ti/beagle/beagle.c | 16 ++--
board/ti/beagle/beagle.h | 33 ++---
2 files chang
Future versions of these boards have options for POP memory with no NAND.
This option prevents display of error messages when no NAND is detected.
Signed-off-by: Steve Sakoman
---
include/configs/omap3_beagle.h |1 +
include/configs/omap3_overo.h |1 +
2 files changed, 2 insertions(+),
This printk was added recently and results in ugly output on systems
with no NAND:
NAND: nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x00, Chip
ID: 0x00 0 MiB
instead of:
NAND: 0 MiB
Signed-off-by: Steve Sakoman
---
drivers/mtd/nand/nand_base.c |2 ++
1 files changed, 2
Upcoming Beagle and Overo revisions use POP memory with 256MB or 512MB
per bank. This patches uses the SDRC settings from x-load or the config
header to set up timing properly.
Signed-off-by: Steve Sakoman
---
arch/arm/cpu/armv7/omap3/sdrc.c | 43 +++
1 fil
Using the reset command on OMAP36XX/37XX and OMAP4 caused a hang. This
patch uses the reset bit appropriate for each CPU architecture.
Signed-off-by: Steve Sakoman
---
arch/arm/cpu/armv7/omap-common/reset.S |4 +++-
arch/arm/include/asm/arch-omap3/cpu.h |1 +
arch/arm/include/asm/arch
From: Mans Rullgard
The workarounds for errata 621766 and 725233 should only be applied
on affected Cortex-A8 revisions. Recent chips use r3px cores where
these have been fixed.
Signed-off-by: Mans Rullgard
Signed-off-by: Steve Sakoman
---
arch/arm/cpu/armv7/omap3/cache.S | 13 ++--
From: Mans Rullgard
This function consists entirely of inline asm statements, so writing
it directly in a .S file is simpler. Additionally, the inline asm is
not safe as is, since registers are not guaranteed to be preserved
between asm() statements.
Signed-off-by: Mans Rullgard
Signed-off-by:
This patch configures clocks properly when a 36XX/37XX
processor is detected.
Signed-off-by: Steve Sakoman
---
arch/arm/cpu/armv7/omap3/clock.c | 549 +---
arch/arm/cpu/armv7/omap3/lowlevel_init.S | 69 +++
arch/arm/include/asm/arch-omap3/clocks.h
TI has added new processors to the OMAP3 family. This patch enhances
the code in sysinfo.c to detect which family member is present.
Signed-off-by: Steve Sakoman
---
arch/arm/cpu/armv7/omap3/sys_info.c | 147 ++-
arch/arm/include/asm/arch-omap3/cpu.h | 1
This patch series adds support for TI's OMAP36XX/377XX processors and
modifies the Beagle and Overo board files to support upcoming versions
of these boards based upon processors from the OMAP36XX/37XX families.
A number of cleanups and bug fixes to generic OMAP3 code are also
included since they
Hi Stefan,
> > Add bluestone board name to the board.cfg.
> > Change Makefile to include bluestone board support.
>
> Not needed with board.cfg now. Please remove your changes to Makefile.
>
[Marri] You mean we only need board.cfg change and we don't need Makefile
entry ?
Regards,
Marri
_
I ran Software Update on my Fedora 13 system, and now whenever I build
U-Boot, I get a bunch of warnings like this:
dlmalloc.c: In function 'malloc':
dlmalloc.c:2252: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2252: note: initialized from here
dlmall
On Tue, 31 Aug 2010 17:46:09 -0400
Ben Gardiner wrote:
> On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> > - erase_length = opts->length;
> > + erase_length = lldiv(opts->length + meminfo->erasesize - 1,
> > + meminfo->erasesize);
>
> checkpatch is co
This patch adds an additional column to the output of list_partitions. The
additional column will contain the net size and a '(!)' beside it if the net
size is not equal to the partition size.
Signed-off-by: Ben Gardiner
CC: Wolfgang Denk
CC: Scott Wood
---
V2:
* formatting: spaces after 'if
This patch adds a new 'mtdparts add' variant: add.spread. This command variant
adds a new partition to the mtdparts variable but also increases the partitions
size by skipping bad blocks and aggregating any additional bad blocks found at
the end of the partition.
Signed-off-by: Ben Gardiner
CC: W
On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> The dump command is made to increment its address on repeat,
> as md does. Other commands do not make sense to issue repeatedly,
> and can be irritating when it happens accidentally, so don't.
>
> Signed-off-by: Scott Wood
applies cleanly to
Ben Gardiner (5):
mtdparts: regroup calls to get_mtd_device_nm
mtd: add an mtd method for get_len_incl_bad()
mtdparts: show net size in mtdparts list
mtdparts: add new sub-command "spread"
mtdparts: new add.spread: add part skipping bad blocks
common/cmd_mtdparts.c| 260 +++
The logic to 'spread' mtd partitions needs to calculate the length in
the mtd device, including bad blocks.
This patch introduces a new function, mtd_get_len_incl_bad that can
return both the length including bad blocks and whether that length
was truncated on the device. This new function will be
This patch introduces the 'spread' sub-command of the mtdparts command.
This command will modify the existing mtdparts variable by increasing
the size of the partitions such that 1) each partition's net size is at
least as large as the size specified in the mtdparts variable and 2)
each partition s
On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> A while back, in http://lists.denx.de/pipermail/u-boot/2009-June/054428.html,
> Michele De Candia posted a patch to not count bad blocks toward the
> requested size to be erased. This is desireable when you're passing in
> something like $files
On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> - If the current device is overridden by a named partition,
> - update the caller's pointer/index, rather than copy over the
> nand_info struct, and
> - be sure to call board_nand_select_device even when the device
> is overridden by a n
The get_mtd_device_nm function is called in a couple places and the
string that is passed to it is not really used after the calls.
This patch regroups the calls to this function into a new function,
get_mtd_info.
Signed-off-by: Ben Gardiner
Acked-by: Stefan Roese
CC: Wolfgang Denk
---
V2:
On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> Get rid of the several "#if 0" sections that were keeping around Linux
> code that isn't relevant to U-Boot. Besides cluttering the code, these
> sections make tracking upstream changes harder, rather than easier.
> It's easy to discard obvious
On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood wrote:
> The underlying code in nand_base.c already supports non-page-aligned reads
> and writes, but the block-skipping wrapper code did not.
>
> With block skipping, an unaligned start address is not useful since you
> really want to be starting at the
Timur Tabi wrote:
> The Freescale MPC8610 DIU code had re-implement two features that already
> existed in U-Boot: bitmap drawing and top-of-screen logo (CONFIG_VIDEO_LOGO).
> So delete the 8610-specific code and use the built-in features instead.
>
> Signed-off-by: Timur Tabi
> ---
Ugh, this pa
The Freescale MPC8610 DIU code had re-implement two features that already
existed in U-Boot: bitmap drawing and top-of-screen logo (CONFIG_VIDEO_LOGO).
So delete the 8610-specific code and use the built-in features instead.
Signed-off-by: Timur Tabi
---
This patch depends on the patch, "logos: a
Checking the status field of the qTD token in the current code
do not take into acount cases where endpoint stall (halted) bit
is set together with some other status bits. As a result clearing
stall on an endpoint won't be done if other status bits were set.
E.g. 'usb start' often fails with Toshi
Hi Detlev,
2010/8/30 Detlev Zundel :
> Hi Gérald,
>
>> I have some few problems with usb start / reset commands on last uboot.
>>
>> USB hard drive are not always detected.
>>
>> Is there something I missed ?
>
> Only the fact that USB is a nightmare to work with. No, honestly, we
> have a contin
Patch 253cb831 [zlib: add watchdog reset call] added already a few
watchdog reset calls to the new zlib U-Boot port. But on some boards
this is not enough. Additional calls are needed on boards with
short watchdog timeouts.
This was detected and tested on the lwmon5 board with a very short
watchdo
The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854:
Wolfgang Denk (1):
Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master
are available in the git repository at:
git://git.denx.de/u-boot-mpc85xx master
Kim Phillips (1):
powerpc/8xxx: share
Am 2010-08-31 09:36, schrieb Reinhard Meyer:
> Hi,
> }
> -- 1.6.0.2
>
> Applied to u-boot-atmel/next
> Thanks,
>
> Reinhard
>
What is the reason for the new branch/Custodian Tree u-boot-atmel.
Thanks for more details
Jens
___
U-Boot mailing list
U-
On Aug 27, 2010, at 4:25 PM, York Sun wrote:
> Signed-off-by: York Sun
> ---
> arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c |1 +
> board/freescale/p2020ds/ddr.c|4 ++--
> 2 files changed, 3 insertions(+), 2 deletions(-)
applied
- K
___
On Aug 27, 2010, at 4:25 PM, York Sun wrote:
> Use more bits to support 36-bit addressing
>
> Signed-off-by: York Sun
> ---
> drivers/dma/fsl_dma.c |8 ++--
> 1 files changed, 6 insertions(+), 2 deletions(-)
applied
- K
___
U-Boot mailing lis
Hi Ben,
[...]
>> +COBJS-$(CONFIG_DRIVER_TI_CPSW) += cpsw.o
> Please don't use the word DRIVER here. If possible, use something more
> verbose than "CPSW" too.
Will TI_CPSW_SWITCH work better considering that "CPSW" is the name of
the hardware block?
[...]
>> +++ b/drivers/net/cpsw.c
> Please re
On Tue, 31 Aug 2010 09:51:15 -0400
Ben Gardiner wrote:
> But I'm not sure what I'm supposed to do with this block now since
> Wolfgang Denk has asked for me to 1) not use a bunch of
> #ifdefs to define the field [1] 2) not introduce changes that increase
> the code size on boards that do not en
On Aug 19, 2010, at 2:02 AM, Kumar Gala wrote:
> From: Scott Wood
>
> fdt_parent_offset() is an expensive operation, so we'd like to reduce
> unnecessary calls to it.
>
> Further, the practice of iterating up to the root if address/size cells
> aren't found was apparently done for Linux for co
On Mon, Aug 30, 2010 at 4:50 PM, Scott Wood wrote:
> On Mon, 30 Aug 2010 13:38:58 -0400
> Ben Gardiner wrote:
>
>> +#if defined(CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES)
>> /**
>> - * Format and print out a partition list for each device from global device
>> - * list.
>> + * Get the net size (w/o bad
On Mon, Aug 30, 2010 at 4:57 PM, Scott Wood wrote:
> On Mon, 30 Aug 2010 13:38:57 -0400
> Ben Gardiner wrote:
>> +void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
>> + const uint64_t length, uint64_t *len_incl_bad,
>> + int *truncated)
>
On Mon, Aug 30, 2010 at 5:01 PM, Scott Wood wrote:
> On Mon, 30 Aug 2010 13:38:59 -0400
> Ben Gardiner wrote:
>
>> +static void spread_partition(struct mtd_info *mtd, struct part_info *part,
>> + uint64_t *next_offset)
>> +{
>> + uint64_t net_size, padding_size = 0;
>
Hi Mike,
On Tuesday 31 August 2010 15:18:03 Mike Frysinger wrote:
> On Tuesday, August 31, 2010 07:57:33 Stefan Roese wrote:
> > + /* reset watchdog from time to time */
> > + if ((count % 1000) == 0)
> > + WATCHDOG_RESET();
>
> please pick a number that does
On Tuesday, August 31, 2010 07:57:33 Stefan Roese wrote:
> + /* reset watchdog from time to time */
> + if ((count % 1000) == 0)
> + WATCHDOG_RESET();
please pick a number that doesnt involve needing to call libgcc math
functions. like 1024.
-mike
si
On some boards with a very short watchdog timeout, the "cp" and
"cmp" commands may reset the board. This patch adds some
watchdog resets inside the loops. Otherwise for example the lwmon5
board will reset while doing something like this:
=> cp.b fc00 100 10
Signed-off-by: Stefan Roese
Now that the defines are moved to header files we don't need this
conditional compilation any more. Remove it.
Signed-off-by: Stefan Roese
---
common/cmd_flash.c| 10 ++
drivers/mtd/cfi_mtd.c | 10 +-
2 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/common/
This patch simplifies the use of CONFIG_SYS_MAX_FLASH_BANKS_DETECT. By
moving these optional variables and defines into the common code, board
specific code is minimized. Currently only the following board use
this feature:
APC405, IDS8247, TQM834x
And IDS8247 doesn't seem to really need this fea
cfi_flash_bank_addr(int bank_nr) returns the base addresses of the
requested bank. Introducing this weak default enables boards to override
this functions with a board specific version when required.
This feature will be used in the lwmon5 board update, supporting runtime
detection of 2 board revi
This patch removes an unecessary check in the return statement. This is
not needed, since "info" is initializes to NULL. And "info" will not be
written to again, if the flash address is not found.
Additionally "info" is not initialized to "0" but to "NULL".
Signed-off-by: Stefan Roese
---
drive
Hi,
following are a few patches with minor code clean-up and simplification for
the cfi_flash driver. Especially the usage of
CONFIG_SYS_MAX_FLASH_BANKS_DETECT to support dynamic flash bank number
detection is reworked a bit. Additionally, now the flash base address list can
be dynamically cha
Hi ,
I am trying to cross compile some libraries for ARM board
I will port a Linux OS to the hawkboard.
Want to study u-boot specific to this board so I ll be able to do
this. The first chore is to port u-boot on this board.
PLz help me , I was going through the uboot readme which directed me
to st
Please pull u-boot-samsung/master
Thanks
The following changes since commit 9efac4a1eb99d9c5539aa6992025eeacab7980c6:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-samsung
are available in the git repository at:
git://git.denx.de/u-boot-samsung master
Minkyu K
Hello Sergei,
Sergei Shtylyov wrote:
> Heiko Schocher wrote:
>
>> compiling edminiv2 board throws following warning:
>
>> Configuring for edminiv2 board...
>> In file included from
>> /home/hs/i2c/u-boot-i2c/include/asm/arch/orion5x.h:39,
>> from cpu.c:32:
>
>And? Where's t
We need to invalidate the data cache after it has been used as init-ram.
This problem was detected on the lwmon5 update.
Signed-off-by: Stefan Roese
---
arch/powerpc/cpu/ppc4xx/start.S |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/cpu/ppc4xx/start.S b
Hello.
Heiko Schocher wrote:
> compiling edminiv2 board throws following warning:
> Configuring for edminiv2 board...
> In file included from /home/hs/i2c/u-boot-i2c/include/asm/arch/orion5x.h:39,
> from cpu.c:32:
And? Where's the warning text? :-)
> introduced from commi
Hi,
this patch also fixed BOOTDELAY on AT91:
* Fix: return value of get_tbclk
* this fixes issue with prematurely restart/retry, if BOOT_RETRY_TIMEOUT is used
Signed-off-by: Jens Scharsig
---
cpu/arm926ejs/at91/timer.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git
use a union to cause necessary alignment per architecture
Signed-off-by: Reinhard Meyer
---
lib/display_options.c | 24 +---
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/lib/display_options.c b/lib/display_options.c
index 20319e6..4f2ad69 100644
--- a/li
73 matches
Mail list logo