[U-Boot] [PATCH] common/fdt_support.c: Fix compile warnings

2010-10-20 Thread Wolfgang Denk
Commit a6bd9e8 "FDT: Add fixup support for multiple banks of memory" removed code but forgot to remove the variables used by it, resulting in warnings: fdt_support.c: In function 'fdt_fixup_memory_banks': fdt_support.c:399: warning: unused variable 'sizecell' fdt_support.c:399: warning: unused var

Re: [U-Boot] facing issue in compiling latest u-boot for P1020RDB(powerpc)

2010-10-20 Thread Wolfgang Denk
Dear Jain Priyanka-B32167, In message you wrote: > sed version on my machine is GNU 3.02 Please try updating. Tested with sed-4.2.1 (as Kumar under F13). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchens

Re: [U-Boot] [PATCH 1/1] MX5: Unable to get ip address when using dhcp

2010-10-20 Thread Wolfgang Denk
Dear Jason Liu, In message <1287555088-3125-1-git-send-email-r64...@freescale.com> you wrote: > Can't get IP address with dhcp due to the dhcp server not > allow the empty param list request under some network env > > Add the advanced DHCP options to fix this issue: > > CONFIG_BOOTP_SUBNETMASK >

Re: [U-Boot] [PATCH] FAT: buffer overflow with FAT12/16

2010-10-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1287557505-3955-1-git-send-email-sba...@denx.de> you wrote: > Last commit 3831530dcb7b71329c272ccd6181f8038b6a6dd0a was intended > "explicitly specify FAT12/16 root directory parsing buffer size, instead > of relying on cluster size". Howver, the underlying function

Re: [U-Boot] [RFC/PATCH] Makefile: allow boards to check file size limits

2010-10-20 Thread Wolfgang Denk
Dear Vaibhav Bedia, In message you wrote: > > Just displaying the binary size can be misleading IMHO. If the info printed > contains the complete memory requirement (stack+heap+bss) then it can > potentially save a lot of time during debugging Just run "MAKEALL" for your board and you get exact

Re: [U-Boot] [PATCH 05/17] ppc: Don't initialize write protected NOR flashes

2010-10-20 Thread Stefan Roese
On Wednesday 20 October 2010 08:46:03 Kumar Gala wrote: > On Sep 29, 2010, at 2:05 PM, Peter Tyser wrote: > > From: John Schmoller > > > > If a NOR flash is write protected it can not be initialized/detected so > > add the ability for boards to skip NOR initialization on bootup. A > > board can

[U-Boot] ARM: Warning with current master

2010-10-20 Thread Matthias Weißer
Hi after pulling the latest changes I get the following warning during linking of arm boards (I tested jadecpu and tx25). arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object. Must have something to do with the latest ELF based relocation changes but I am not an expert in these tool c

[U-Boot] Observation: rebasing against current master increases code size by 1.8k

2010-10-20 Thread Reinhard Meyer
Just an observation on my AT91SAM9XE based board: based on yesterday's master + arm elf relocations + my (then not mainstreamed) patches: 256288 bytes based on current master: 258020 bytes Otherwise it compiles without warnings and runs fine. Just some non-reloc-related patches have increased co

Re: [U-Boot] [PATCH] Fix compile warning in uli526x driver

2010-10-20 Thread Kumar Gala
On Oct 20, 2010, at 1:56 AM, Kumar Gala wrote: > uli526x.c: In function 'uli526x_init_one': > uli526x.c:314:2: warning: dereferencing type-punned pointer will break > strict-aliasing rules > uli526x.c:314:2: warning: dereferencing type-punned pointer will break > strict-aliasing rules > > Sign

Re: [U-Boot] [PATCH] FAT: buffer overflow with FAT12/16

2010-10-20 Thread Mikhail Zolotaryov
Stefano, you're right, sorry for that. Isn't it better to define LINEAR_PREFETCH_SIZE as 2 (blocks) and change get_vfatname() to something like that in such case: __u8 *buflimit = cluster + ((curclust == 0) ? LINEAR_PREFETCH_SIZE :

[U-Boot] [PATCH] sparc: add asm/unaligned.h

2010-10-20 Thread Mike Frysinger
It isn't possible to build any sparc boards without this ... Signed-off-by: Mike Frysinger --- arch/sparc/include/asm/unaligned.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/sparc/include/asm/unaligned.h diff --git a/arch/sparc/include/asm/unaligned.h b/

[U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD

2010-10-20 Thread Mike Frysinger
Building for boards that have CONFIG_CMD_CDP enabled fail with: cmd_net.c:301: error: expected expression before ',' token Signed-off-by: Mike Frysinger --- common/cmd_net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_net.c b/common/cmd_net.c index 44d17d

[U-Boot] [PATCH] MAKEALL: drop non-existent i386 config

2010-10-20 Thread Mike Frysinger
--- MAKEALL |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/MAKEALL b/MAKEALL index c1f3842..febf89c 100755 --- a/MAKEALL +++ b/MAKEALL @@ -559,9 +559,7 @@ LIST_mips_el=" \ ## i386 Systems ##

[U-Boot] [PATCH] command_t: punt unused type

2010-10-20 Thread Mike Frysinger
The recent command clean up to constify the argv option to command funcs missed the command_t type itself. This is probably because there are no build time warnings from it because no one is actually using this thing. So just punt it rather than fix it. Signed-off-by: Mike Frysinger --- include

[U-Boot] [PATCH] do_bootm: unify duplicate prototypes

2010-10-20 Thread Mike Frysinger
The duplication of the do_bootm prototype has gotten out of hand, and they're pretty much all outdated (wrt constness). Unify them all in command.h. Signed-off-by: Mike Frysinger --- board/barco/barco.c|1 - board/cm5200/fwupdate.c|1 - board/esd/common/cmd_loadpci.c

[U-Boot] [PATCH] do_bootd: unify duplicate prototypes

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/hush.c |4 common/main.c |2 -- include/command.h |3 +++ 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/common/hush.c b/common/hush.c index 4dd9513..2482506 100644 --- a/common/hush.c +++ b/common/hush.c @@ -93,8 +

[U-Boot] [PATCH] do_reset: unify duplicate prototypes

2010-10-20 Thread Mike Frysinger
The duplication of the do_reset prototype has gotten out of hand, and they're not all in sync. Unify them all in command.h. Signed-off-by: Mike Frysinger --- api/api.c |3 --- arch/m68k/cpu/mcf5227x/cpu.c |2 +- arch/m68k/cp

Re: [U-Boot] Observation: rebasing against current master increases code size by 1.8k

2010-10-20 Thread Mike Frysinger
On Wednesday, October 20, 2010 03:30:33 Reinhard Meyer wrote: > Just an observation on my AT91SAM9XE based board: > > based on yesterday's master + arm elf relocations + > my (then not mainstreamed) patches: 256288 bytes > > based on current master: 258020 bytes > > Otherwise it compiles without

[U-Boot] Please pull u-boot-mpc85xx.git

2010-10-20 Thread Kumar Gala
The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx master Aaron Sierra (1): 85xx: Add support for not releasing secondary co

Re: [U-Boot] [PATCH] kirkwood: Fix Makefile TEXT_BASE for mkimage

2010-10-20 Thread Mike Frysinger
On Wednesday, October 20, 2010 02:03:10 Prafulla Wadaskar wrote: > Hi Gray please dont top post > It will be great if you put some comments too. > That to describe patch objective Wolfgang recently cleaned up TEXT_BASE so it no longer exists -mike signature.asc Description: This is a digitally

Re: [U-Boot] ARM: Warning with current master

2010-10-20 Thread Albert ARIBAUD
Le 20/10/2010 09:22, Matthias Weißer a écrit : > Hi > > after pulling the latest changes I get the following warning during > linking of arm boards (I tested jadecpu and tx25). > > arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object. Hmm... Which toolchain do you use? Amicalement, -- A

[U-Boot] [PATCH] autocomplete: remove runtime handler install

2010-10-20 Thread Mike Frysinger
Rather than add runtime overhead of installing completion handlers, do it statically at build time. This requires a new build time helper macro to declare a command and the completion handler at the same time. Then we convert the env related funcs over to this. This gives an opportunity to also

Re: [U-Boot] ARM: Warning with current master

2010-10-20 Thread Matthias Weißer
Am 20.10.2010 09:44, schrieb Albert ARIBAUD: > Le 20/10/2010 09:22, Matthias Weißer a écrit : >> Hi >> >> after pulling the latest changes I get the following warning during >> linking of arm boards (I tested jadecpu and tx25). >> >> arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object. >

[U-Boot] hi,all

2010-10-20 Thread xinrong fu
Dear All: A newbie post the first email. Best Regards ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Observation: rebasing against current master increases code size by 1.8k

2010-10-20 Thread Reinhard Meyer
Dear Mike Frysinger, > On Wednesday, October 20, 2010 03:30:33 Reinhard Meyer wrote: >> Just an observation on my AT91SAM9XE based board: >> >> based on yesterday's master + arm elf relocations + >> my (then not mainstreamed) patches: 256288 bytes >> >> based on current master: 258020 bytes >> >> O

Re: [U-Boot] [PATCH 0/5] New environment code

2010-10-20 Thread Mike Frysinger
On Saturday, July 17, 2010 15:45:43 Wolfgang Denk wrote: > The following patch series adds some utilities (qsort and hash table > based database functions) and uses these to reimplement the code used > for the internal handling of environment variables. seems to break autocompletion CONFIG_AUTO_CO

Re: [U-Boot] Observation: rebasing against current master increases code size by 1.8k

2010-10-20 Thread Mike Frysinger
On Wednesday, October 20, 2010 04:02:26 Reinhard Meyer wrote: > Mike Frysinger wrote: > > On Wednesday, October 20, 2010 03:30:33 Reinhard Meyer wrote: > >> Just an observation on my AT91SAM9XE based board: > >> > >> based on yesterday's master + arm elf relocations + > >> my (then not mainstreame

Re: [U-Boot] ARM: Warning with current master

2010-10-20 Thread Wolfgang Denk
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, In message <4cbe98a1.9020...@arcor.de> you wrote: > > after pulling the latest changes I get the following warning during > linking of arm boards (I tested jadecpu and tx25). > > arm-unknown-eabi-ld: warning: creating a DT_TEXTREL in object. Which exac

Re: [U-Boot] [PATCH 0/5] New environment code

2010-10-20 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201010200408.15020.vap...@gentoo.org> you wrote: > > > The following patch series adds some utilities (qsort and hash table > > based database functions) and uses these to reimplement the code used > > for the internal handling of environment variables. > > seems

[U-Boot] Notification in Malloc

2010-10-20 Thread Kostaras Nikolaos
Hi, During some tests with the u-boot-2010.09 source release, I discovered that when invoking malloc with size 0, the code proceeds and corrupts the malloc structures, thus totally breaking the malloc invocations from then on (malloc will always fail after that). The cause of my problem was a bur

Re: [U-Boot] [PATCH] MAKEALL: drop non-existent i386 config

2010-10-20 Thread Graeme Russ
On Wednesday, October 20, 2010, Mike Frysinger wrote: > --- >  MAKEALL |    4 +--- >  1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/MAKEALL b/MAKEALL > index c1f3842..febf89c 100755 > --- a/MAKEALL > +++ b/MAKEALL > @@ -559,9 +559,7 @@ LIST_mips_el="                      \ >  #

Re: [U-Boot] facing issue in compiling latest u-boot for P1020RDB(powerpc)

2010-10-20 Thread Jain Priyanka-B32167
Thanks Dear Wolfgang Denk and Dear Kumar Gala, I was able to solve compilation error by upgrading sed. Regards Priyanka -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Wednesday, October 20, 2010 12:35 PM To: Jain Priyanka-B32167 Cc: Kumar Gala; u-boot@lists.denx.de S

Re: [U-Boot] [PATCH] ppc4xx: Add Io and IoCon 405EP board support

2010-10-20 Thread Stefan Roese
Hi Dirk, On Thursday 14 October 2010 11:59:10 Dirk Eibach wrote: > Board support for the Guntermann & Drunck CATCenter Io. > Board support for the Guntermann & Drunck IoCon. I just tried to apply this patch, but it doesn't work: [ste...@quad u-boot-ppc4xx (master)]$ git am -3 -s patches_update-

Re: [U-Boot] [PATCH] ppc4xx: Change tsr/tcr macros to upper case

2010-10-20 Thread Stefan Roese
On Monday 04 October 2010 11:09:40 Stefan Roese wrote: > Remove uneccessary functions to access the TCR/TSR registers as well. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr

Re: [U-Boot] [PATCH] ppc4xx/POST: Add board specific UART POST test to lwmon5

2010-10-20 Thread Stefan Roese
On Thursday 07 October 2010 14:16:25 Stefan Roese wrote: > Add CONFIG_POST_UART to implement a board specific UART POST test. > This is done since lwmon5 needs to set POST_ALWAYS to run this > test on each reboot. And we don't want to change the default > behavious of this this. Applied to u-boot-

Re: [U-Boot] [PATCH] ppc4xx: Enable NOR flash support in sequoia_ramboot target

2010-10-20 Thread Stefan Roese
On Monday 11 October 2010 15:50:10 Stefan Roese wrote: > Until now, the Sequoia RAM-booting image disabled NOR flash support > as this image was mainly created for NAND-only boards. This patch > now enables NOR flash support for this RAM-booting version as well. Applied to u-boot-ppc4xx/master. Th

Re: [U-Boot] [PATCH] ppc4xx: Fix default environment for AMCC boards

2010-10-20 Thread Stefan Roese
On Friday 15 October 2010 08:41:01 Stefan Roese wrote: > Commit 0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d [ppc4xx: cleanup > default environment for AMCC boards] broke the default env for > many PPC4xx boards. The '\0' character got removed at the end > of some environment commands like "update". Th

[U-Boot] Please pull u-boot-ppc4xx/master

2010-10-20 Thread Stefan Roese
The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (4): ppc4xx: Change tsr/tcr macros to upper ca

[U-Boot] [PATCH][v0] RTC driver for PT7C4338 chip.

2010-10-20 Thread Priyanka Jain
PT7C4338 chip is manufactured by Pericom Technology Inc. It is a serial real-time clock which provides: 1)Low-power clock/calendar. 2)Programmable square-wave output. It has 56 bytes of nonvolatile RAM. Freescale P1010RDB uses PT7C4338 as RTC. Signed-off-by: Priyanka Jain Acked-by: Timur Tabi -

Re: [U-Boot] [PATCH] MAKEALL: drop non-existent i386 config

2010-10-20 Thread Mike Frysinger
On Wednesday, October 20, 2010 04:23:18 Graeme Russ wrote: > On Wednesday, October 20, 2010, Mike Frysinger wrote: > > --- a/MAKEALL > > +++ b/MAKEALL > > -LIST_x86="$(boards_by_arch i386) > > - sc520_eNET \ > > -" > > +LIST_x86="$(boards_by_arch i386)" > > Thanks Mike. I won't get a ch

[U-Boot] [PATCH] Blackfin: adi boards: set compiled size limits

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/configs/bf548-ezkit.h |1 + include/configs/bfin_adi_common.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/bf548-ezkit.h b/include/configs/bf548-ezkit.h index 4412177..1c035cf 100644 --- a/include/conf

Re: [U-Boot] [PATCH] USB: sync Queue Element Transfer Descriptor against EHCI spec

2010-10-20 Thread Remy Bohmer
Hi, 2010/10/20 Wolfgang Denk : > > In message <1287497595-22758-1-git-send-email...@denx.de> I wrote: >> Appendix B "EHCI 64-Bit Data Structures" of the "Enhanced Host >> Controller Interface Specification for Universal Serial Bus" (Rev. >> 1.0, March 12, 2002) defines additional fields which were

Re: [U-Boot] [PATCH][v0] RTC driver for PT7C4338 chip.

2010-10-20 Thread Heiko Schocher
Hello Priyanka, Priyanka Jain wrote: > PT7C4338 chip is manufactured by Pericom Technology Inc. > It is a serial real-time clock which provides: > 1)Low-power clock/calendar. > 2)Programmable square-wave output. > It has 56 bytes of nonvolatile RAM. > > Freescale P1010RDB uses PT7C4338 as RTC. >

[U-Boot] [PATCH v4 00/01] NDS32: Add NDS32 architecture support to u-boot.

2010-10-20 Thread Macpaul Lin
NDS32 is a new 32-bit RISC architecture invented by andestech.com. It has a 16-bit/32-bit mixed-length instruction set to achieve optimal system performance, code density, and power efficiency. NDS32 also provide N9, N10, N12 different CPU core families for soft-core and hard-core SoC design. Ma

[U-Boot] [PATCH 01/01] nds32: add header files support for nds32

2010-10-20 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/bitops.h | 150 ++ arch/nds32/include/asm/byteorder.h| 36 arch/nds32/include/asm/cache.h

Re: [U-Boot] [PATCH v2] arm926ejs, suen3: fix relocation issues

2010-10-20 Thread Prafulla Wadaskar
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Tuesday, October 19, 2010 1:39 PM > To: u-boot@lists.denx.de > Cc: Heiko Schocher; Prafulla Wadaskar > Subject: [PATCH v2] arm926ejs, suen3: fix relocation issues > > - use internal 2k security SRAM as RAM for ea

[U-Boot] [PATCH][v1] RTC driver for PT7C4338 chip.

2010-10-20 Thread Priyanka Jain
PT7C4338 chip is manufactured by Pericom Technology Inc. It is a serial real-time clock which provides: 1)Low-power clock/calendar. 2)Programmable square-wave output. It has 56 bytes of nonvolatile RAM. Freescale P1010RDB uses PT7C4338 as RTC. Signed-off-by: Priyanka Jain Acked-by: Timur Tabi S

Re: [U-Boot] [PATCH] arm926ejs, suen3: fix relocation issues

2010-10-20 Thread Prafulla Wadaskar
> -Original Message- > From: Prafulla Wadaskar > Sent: Tuesday, October 19, 2010 4:35 PM > To: 'Eric Cooper'; Heiko Schocher > Cc: u-boot@lists.denx.de > Subject: RE: [PATCH] arm926ejs, suen3: fix relocation issues > > > > > -Original Message- > > From: Eric Cooper [mailto:e

[U-Boot] [PATCH] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Prafulla Wadaskar
It has been observed that, the complete u-boot banner does not appear on the console when the system is booted from NAND/NOR/SPI flash. This patch fixes this issue on all Marvell boards by adding board_early_init_f() support Signed-off-by: Prafulla Wadaskar --- board/Marvell/guruplug/guruplug.c

[U-Boot] [PATCH] MX51: add CONFIG_SYS_TEXT_BASE to vision2 board, use general ld script

2010-10-20 Thread Stefano Babic
Recent patch changed TEXT_BASE to CONFIG_SYS_TEXT_BASE and vision2 board was not updated. Signed-off-by: Stefano Babic --- board/ttcontrol/vision2/config.mk |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/ttcontrol/vision2/config.mk b/board/ttcontrol/vision2/co

[U-Boot] [PATCH][v2] RTC driver for PT7C4338 chip.

2010-10-20 Thread Priyanka Jain
PT7C4338 chip is manufactured by Pericom Technology Inc. It is a serial real-time clock which provides: 1)Low-power clock/calendar. 2)Programmable square-wave output. It has 56 bytes of nonvolatile RAM. Freescale P1010RDB uses PT7C4338 as RTC. Signed-off-by: Priyanka Jain Acked-by: Timur Tabi -

[U-Boot] [PATCH] omap3evm: Fix mechanism to identify board revision

2010-10-20 Thread Sanjeev Premi
Function omap3_evm_get_revision() - to identify the board revision was called at end of setup_net_chip(). Board revision can be ascertained only by identifying the Ethernet chipset - but combining setup operations with revision detection isn't a good idea. So, moved the function after call to setu

Re: [U-Boot] [Patch V2] update board EB+CPUx9K2

2010-10-20 Thread Jens Scharsig
Am 2010-10-20 08:48, schrieb Andreas Bießmann: > Dear Reinhard Meyer, > > Am 19.10.2010 um 20:30 schrieb Reinhard Meyer: >>> +#define CONFIG_SYS_TEXT_BASE 0x >> How does this work with a text base of 0? Am I missing something? > > This should work when booting from NOR. The

Re: [U-Boot] Notification in Malloc

2010-10-20 Thread Wolfgang Denk
Dear Kostaras Nikolaos, In message <4cbea38b.9080...@intracomdefense.com> you wrote: > > error on the requested space. New condition includes the equal as well > as the less: > > if ((long)bytes <= 0) return 0; > > This seems to fix the problems, after the malloc invocatio

Re: [U-Boot] [PATCH] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Heiko Schocher
Hello Prafulla, Prafulla Wadaskar wrote: > It has been observed that, the complete u-boot banner > does not appear on the console when the system is booted > from NAND/NOR/SPI flash. > > This patch fixes this issue on all Marvell boards by adding > board_early_init_f() support > > Signed-off-by:

[U-Boot] [PATCH] nand: constify id/manu tables

2010-10-20 Thread Mike Frysinger
These id tables need not be writable. Signed-off-by: Mike Frysinger --- drivers/mtd/nand/nand_base.c |6 +++--- drivers/mtd/nand/nand_ids.c |4 ++-- include/linux/mtd/nand.h |4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/dr

[U-Boot] [PATCH] usb: musb: constify a bit

2010-10-20 Thread Mike Frysinger
These ep and root hub structures need not be writable. Signed-off-by: Mike Frysinger --- drivers/usb/musb/musb_core.c |2 +- drivers/usb/musb/musb_core.h |2 +- drivers/usb/musb/musb_hcd.c | 36 +++- 3 files changed, 21 insertions(+), 19 deletions(-) d

[U-Boot] [PATCH] mmc: constify & localize data

2010-10-20 Thread Mike Frysinger
These local vars need not be writable nor exported. Signed-off-by: Mike Frysinger --- drivers/mmc/mmc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index c543d83..0e6c710 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c

[U-Boot] [PATCH] usb_storage: constify us_direction lookup table

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/usb_storage.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/usb_storage.c b/common/usb_storage.c index 613c4f0..1e6cd6a 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -70,7 +70,7 @@ /* direction table --

[U-Boot] [PATCH] copy_filename: constify "src" arg

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/net.h |2 +- net/net.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net.h b/include/net.h index a29dafc..dd673f0 100644 --- a/include/net.h +++ b/include/net.h @@ -526,7 +526,7 @@ extern ushort string_to_VLAN(c

[U-Boot] [PATCH] string_to_VLAN: constify "var" arg

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/net.h |2 +- net/net.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net.h b/include/net.h index dd673f0..5e3495b 100644 --- a/include/net.h +++ b/include/net.h @@ -520,7 +520,7 @@ extern IPaddr_t string_to_ip(c

[U-Boot] [PATCH] string_to_ip: constify "s" arg

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/net.h |2 +- lib/net_utils.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net.h b/include/net.h index 5e3495b..95ef8ab 100644 --- a/include/net.h +++ b/include/net.h @@ -514,7 +514,7 @@ static inline int is_valid

[U-Boot] [PATCH] cmd_date: constify

2010-10-20 Thread Mike Frysinger
Many strings in this file need not be writable. Signed-off-by: Mike Frysinger --- common/cmd_date.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_date.c b/common/cmd_date.c index 50b4240..88c8d85 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c

[U-Boot] [PATCH] cmd_itest: constify & localize op table

2010-10-20 Thread Mike Frysinger
No one else needs this table. While we're here, use the standard ARRAY_SIZE helper macro. Signed-off-by: Mike Frysinger --- common/cmd_itest.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common/cmd_itest.c b/common/cmd_itest.c index 8dd8927..fa6a0c3 100644 --

[U-Boot] [PATCH] image: constify lookup tables

2010-10-20 Thread Mike Frysinger
These are pure lookup tables -- no need to be writable. Signed-off-by: Mike Frysinger --- common/image.c | 14 +++--- include/image.h |4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/image.c b/common/image.c index 385464d..0005fc5 100644 --- a/common/

[U-Boot] [PATCH] ctype: constify lookup table

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/linux/ctype.h |2 +- lib/ctype.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/ctype.h b/include/linux/ctype.h index afa3639..6dec944 100644 --- a/include/linux/ctype.h +++ b/include/linux/ctype.h @@

[U-Boot] [PATCH] boot cmds: convert to getenv_yesno() with autostart

2010-10-20 Thread Mike Frysinger
Use the new helper func to clean up duplicate logic handling of the autostart env var. Signed-off-by: Mike Frysinger --- common/cmd_fdc.c |3 +-- common/cmd_fdos.c |2 +- common/cmd_ide.c |2 +- common/cmd_nand.c |4 ++-- common/cmd_net.c |2 +- common/cmd_scsi.c |2 +-

[U-Boot] [PATCH] stdio: constify "name" arg in public api

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/console.c|4 ++-- common/stdio.c |4 ++-- include/common.h|2 +- include/iomux.h |2 +- include/stdio_dev.h |4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/console.c b/common/console.c ind

[U-Boot] [PATCH] ext2: constify file/dir names

2010-10-20 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- fs/ext2/ext2fs.c |4 ++-- include/ext2fs.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ext2/ext2fs.c b/fs/ext2/ext2fs.c index a88cf87..e119e13 100644 --- a/fs/ext2/ext2fs.c +++ b/fs/ext2/ext2fs.c @@ -749,7 +749,7 @@ int ext2

Re: [U-Boot] [PATCH] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Prafulla Wadaskar
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Wednesday, October 20, 2010 4:42 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH] Kirkwood: bugfix: broken early > console messages > > He

[U-Boot] [PATCH 1/1] MX5:use common u-boot.lds of cpu layer

2010-10-20 Thread Jason Liu
Remove u-boot.lds from mx5 and use the common u-boot.lds of cpu layer. This patch also fix the building errors: arch/arm/cpu/armv7/start.o: In function `_rel_dyn_start_ofs': arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_start' arch/arm/cpu/armv7/start.o: In function `_rel_dyn_e

Re: [U-Boot] [PATCH] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Eric Cooper
I can confirm that this patch solves the problem on the dockstar hardware. Minor: there was incorrect extra whitespace in this line: #define CONFIG_BOARD_EARLY_INIT_F /* call board_init_f for early inits*/ Should be: #define CONFIG_BOARD_EARLY_INIT_F /* call board_init_f for early

Re: [U-Boot] "Verifying Checksum ... Bad Data CRC" when kernel

2010-10-20 Thread Detlev Zundel
Hi ZHAO JiHua, > I've found the answer and confirmed it. FTP transfer corrupted uImage. [...] > I don't know which, FileZilla or WS_FTP, corrupted uImage. Very likely you need to sort out the well known ascii/binary problem (e.g. [1]) for your ftp setups. Cheers Detlev -- So maybe I lost t

[U-Boot] [PATCH 1/1] vision2: add u-boot.imx to ALL targe

2010-10-20 Thread Jason Liu
Signed-off-by: Jason Liu --- board/ttcontrol/vision2/config.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/ttcontrol/vision2/config.mk b/board/ttcontrol/vision2/config.mk index 59f3367..1b18489 100644 --- a/board/ttcontrol/vision2/config.mk +++ b/board/ttcontro

Re: [U-Boot] [PATCH 1/1] MX5:use common u-boot.lds of cpu layer

2010-10-20 Thread Stefano Babic
On 10/20/2010 02:02 PM, Jason Liu wrote: > Remove u-boot.lds from mx5 and use the common u-boot.lds > of cpu layer. This patch also fix the building errors: > > arch/arm/cpu/armv7/start.o: In function `_rel_dyn_start_ofs': > arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_start'

Re: [U-Boot] [PATCH 1/1] vision2: add u-boot.imx to ALL targe

2010-10-20 Thread Stefano Babic
On 10/20/2010 02:19 PM, Jason Liu wrote: > Signed-off-by: Jason Liu > --- > board/ttcontrol/vision2/config.mk |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/board/ttcontrol/vision2/config.mk > b/board/ttcontrol/vision2/config.mk > index 59f3367..1b18489 100644 > -

[U-Boot] [PATCH v2 0/4] ARMV7: OMAP: I2C driver: Restructure code to eliminate udelay calls and improve performance

2010-10-20 Thread Steve Sakoman
I've been preparing a patch series for Beagle and Overo that detects expansion board configuration information by reading a 128 byte I2C EEPROM on each expansion board. Using the OMAP I2C driver in its current form takes about 5-6 seconds to read this small number of bytes! Executing the i2c prob

[U-Boot] [PATCH v2 1/4] ARMV7: OMAP: I2C driver: Use same timeout value as linux kernel driver

2010-10-20 Thread Steve Sakoman
This patch matches the poll interval (1 millisecond) and timeout (1 second) used in the linux driver. It also adds a return value of 0 in the event of a timeout error and cleans up some formatting errors in that section of the code. Signed-off-by: Steve Sakoman Tested-by: Heiko Schocher --- dri

[U-Boot] [PATCH v2 2/4] ARMV7: OMAP: I2C driver: Restructure i2c_read_byte function

2010-10-20 Thread Steve Sakoman
This patch removes the "magic number" delays and instead monitors state changes in the status register bits. Signed-off-by: Steve Sakoman Tested-by: Heiko Schocher --- drivers/i2c/omap24xx_i2c.c | 76 +-- 1 files changed, 37 insertions(+), 39 deletions(

[U-Boot] [PATCH v2 3/4] ARMV7: OMAP: I2C driver: Restructure i2c_write_byte function

2010-10-20 Thread Steve Sakoman
This patch removes the "magic number" delays and instead monitors state changes in the status register bits. Signed-off-by: Steve Sakoman Tested-by: Heiko Schocher --- drivers/i2c/omap24xx_i2c.c | 78 +++ 1 files changed, 42 insertions(+), 36 deletions(

Re: [U-Boot] [PATCH RFC 3/4] ARMV7: OMAP: I2C driver: Restructure i2c_write_byte function

2010-10-20 Thread Steve Sakoman
On Wed, 2010-10-20 at 08:08 +0200, Heiko Schocher wrote: > Hello Steve, > > Steve Sakoman wrote: > > This patch removes the "magic number" delays and instead > > monitors state changes in the status register bits. > > > > Signed-off-by: Steve Sakoman > > --- > > drivers/i2c/omap24xx_i2c.c | 7

[U-Boot] [PATCH v2 4/4] ARMV7: OMAP: I2C driver: Restructure i2c_probe function

2010-10-20 Thread Steve Sakoman
This patch removes the "magic number" delays and instead monitors state changes in the status register bits. Signed-off-by: Steve Sakoman Tested-by: Heiko Schocher --- drivers/i2c/omap24xx_i2c.c | 41 ++--- 1 files changed, 30 insertions(+), 11 deletions(-)

Re: [U-Boot] [PATCH RFC 3/4] ARMV7: OMAP: I2C driver: Restructure i2c_write_byte function

2010-10-20 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > On Wed, 2010-10-20 at 08:08 +0200, Heiko Schocher wrote: >> Hello Steve, >> >> Steve Sakoman wrote: >>> This patch removes the "magic number" delays and instead >>> monitors state changes in the status register bits. >>> >>> Signed-off-by: Steve Sakoman >>> ---

Re: [U-Boot] [PATCH v2 0/4] ARMV7: OMAP: I2C driver: Restructure code to eliminate udelay calls and improve performance

2010-10-20 Thread Heiko Schocher
Hello Steve, Steve Sakoman wrote: > I've been preparing a patch series for Beagle and Overo that detects expansion > board configuration information by reading a 128 byte I2C EEPROM on each > expansion board. > > Using the OMAP I2C driver in its current form takes about 5-6 seconds to read > this

Re: [U-Boot] [PATCH] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Prafulla Wadaskar
> -Original Message- > From: Eric Cooper [mailto:e...@cmu.edu] > Sent: Wednesday, October 20, 2010 5:54 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] Kirkwood: bugfix: broken early console messages > > I can confirm that this patch solves the problem on t

[U-Boot] Pull request: u-boot-i2c

2010-10-20 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Steve Sakoman (4): ARMV7: OMAP: I2C driver: Use s

[U-Boot] [PATCH V2] Kirkwood: bugfix: broken early console messages

2010-10-20 Thread Prafulla Wadaskar
It has been observed that, the complete u-boot banner does not appear on the console when the system is booted from NAND/NOR/SPI flash. This patch fixes this issue on all Marvell boards by adding board_early_init_f() support Signed-off-by: Prafulla Wadaskar --- Change log: v2: Whitespace removed

[U-Boot] [PATCH v2] Seagate FreeAgent DockStar support

2010-10-20 Thread Eric Cooper
start with sheevaplug configuration add modifications by Alexander Holler change RAM definitions to one bank (128 MB) change ident string change environment to 0xA define MTD partitions and default environment variables add support for LEDs Signed-off-by: Eric Cooper --- Changes

[U-Boot] maybe a priority mistake in mpc85xx_cpu\init.c

2010-10-20 Thread geniis
hi, I notice that in "arch\powerpc\cpu\mpc85xx\cpu_init.c" line 193, version 2010.06: if (! memctl->br1 & 1) The original intention is to check if V bit of BR1 is set or not, but the operator "!" has higher priority than "&" ,I think it should be changed to: if (! (memctl->br1 & 1))

[U-Boot] Subject: [PATCH v2] Support for sending DHCP client options

2010-10-20 Thread Gray Remlin
If CONFIG_BOOTP_OPTIONS is defined at compile-time, the environment will be checked for the supported DHCPv4 client options during construction of a "DHCP Discover" or "DHCP Request" packet. Any found (as listed below, prefixed with dhcp_) will have their value included in the dhcp packet. dhcp_

[U-Boot] ELF_RELOC causes strange I-cache issues

2010-10-20 Thread Wolfgang Denk
Hello everybody, after nailing down a few USB and FAT related bugs we had USB running stable on i.MX31, but suddenly the current mainline code behaves strangely again: Repeating simple calls like "usb read 8080 0 1000" will reliably hard hang the system after 3...5 calls. The problem can be

Re: [U-Boot] [PATCH] USB: sync Queue Element Transfer Descriptor against EHCI spec

2010-10-20 Thread Wolfgang Denk
Dear Remy Bohmer, In message you wrote: > > > Remy, I hope this is OK with you. > > You seem to be in a hurry... I thought we could be close to a -rc1. Alas, I was wrong once more. > Patch is OK... Unfortunately it seems it ain't so :-( Patch follows... Best regards, Wolfgang Denk -- D

[U-Boot] [PATCH] USB: fix Queue Element Transfer Descriptor changes

2010-10-20 Thread Wolfgang Denk
Commit 3ed1607 "USB: sync Queue Element Transfer Descriptor against EHCI spec" added an "__attribute__ ((aligned (32)))" to the declaration of struct qTD, as used for example in the Linux kernel as well. However, it turns out that this attribute causes errors in "usb start" (like "ERROR: NOT USB_C

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2010-10-20 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: > > FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) > > are available in the git repository at: > git://git.denx.de/u-boot-mpc85xx master > > Aaron Sierra (1

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2010-10-20 Thread Wolfgang Denk
Dear Stefan Roese, In message <201010201042.24780...@denx.de> you wrote: > The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: > > FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) > > are available in the git repository at: > git://www.denx.de/git/u-boo

Re: [U-Boot] Pull request: u-boot-i2c

2010-10-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4cbef038.5020...@denx.de> you wrote: > Hello Wolfgang, > > The following changes since commit 11c8dd36edcc82564a19dbd0103302df66d66db0: > > FAT: buffer overflow with FAT12/16 (2010-10-20 09:14:38 +0200) > > are available in the git repository at: > git://git

Re: [U-Boot] [PATCH] Devkit8000: Adapt changes to ARM relocation support

2010-10-20 Thread Wolfgang Denk
Dear Thomas Weber, In message <1287409095-19645-1-git-send-email-we...@corscience.de> you wrote: > Fix compilation of Devkit8000 after introduction of > ARM relocation support. > > Signed-off-by: Thomas Weber > --- > board/timll/devkit8000/config.mk |2 +- > include/configs/devkit8000.h

Re: [U-Boot] [PATCH] ftrtc010.c : enhance code according to original datasheet

2010-10-20 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1287490476-22544-1-git-send-email-macp...@andestech.com> you wrote: > Add missing codes according to original datasheet. > This patch also makes ftrtc010 could be adapted to PCLK and EXT_CLK. > > Signed-off-by: Macpaul Lin > --- > drivers/rtc/ftrtc010.c | 11

Re: [U-Boot] ICACHE in core initialization to improve u-boot boot time: Breaks booting with i2c code while executing in flash.

2010-10-20 Thread Wolfgang Denk
Dear Richard Retanubun, In message <4cbdc153.30...@ruggedcom.com> you wrote: > > It does not work on our platform (similar to MPC8360EMDS). I think this is > specific to our platform because > we need to initialize i2c and use i2c while still executing from flash in > checkboard()) to read and

Re: [U-Boot] [PATCH V2] Update TEXT_BASE to CONFIG_SYS_TEXT_BASE

2010-10-20 Thread Wolfgang Denk
Dear Sughosh Ganu, In message <1287538444-2162-1-git-send-email-urwithsugh...@gmail.com> you wrote: > This was missed out in a couple of files under nand_spl > > Signed-off-by: Sughosh Ganu > --- > V2: > Fix whitespace issues. > > nand_spl/nand_boot.c |3 ++- > nand_spl/nand_boot_

  1   2   >