Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework

2009-06-15 Thread Mike Frysinger
On Saturday 13 June 2009 15:13:01 Jean-Christophe PLAGNIOL-VILLARD wrote: Introduce a menu framework that allow us to create list menu to simplify u-boot and make it more convivial for the end-user. This kind of menu is very usefull when you do not have a keyboard or a serial console attached

Re: [U-Boot] [PATCH v4 2/3] net: Add Marvell Kirkwood gigabit ethernet driver

2009-06-15 Thread Ben Warren
Prafulla Wadaskar wrote: This patch adds a egiga driver for the Marvell Kirkwood SoC's. Contributors: Yotam Admon yo...@marvell.com Michael Blostein michae...@marvell.com Reviewed-by: Ronen Shitrit rshit...@marvell.com Acked-by: Stefan Rose s...@denx.de Signed-off-by: Prafulla Wadaskar

Re: [U-Boot] [PATCH] A VLAN tagged DHCP request/discover is 4 bytes short

2009-06-15 Thread Ben Warren
Norbert van Bolhuis wrote: The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes. If sending a VLAN tagged frame (when env variable vlan is set) this should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns. diff --git a/net/bootp.c b/net/bootp.c index

[U-Boot] Pull request - net

2009-06-15 Thread Ben Warren
Wolfgang, The following changes since commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6: Mike Frysinger (1): add %.c-%.i and %.c-%.s rules are available in the git repository at: git://git.denx.de/u-boot-net master Ben Warren (4): Moved Davinci Ethernet driver to drivers/net

Re: [U-Boot] [PATCH 0/2] new video driver and board update

2009-06-15 Thread Anatolij Gustschin
Dear Wolfgang, Wolfgang Denk wrote: In message gsna1g$2t...@ger.gmane.org Jens Scharsig wrote: the following patch set introduced a new common video driver (patch part 1) and update current boards (EB+MCF-EV123) to use it (patch part 2). this driver is also used for upcomming new

Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework

2009-06-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 02:04 Mon 15 Jun , Mike Frysinger wrote: On Saturday 13 June 2009 15:13:01 Jean-Christophe PLAGNIOL-VILLARD wrote: Introduce a menu framework that allow us to create list menu to simplify u-boot and make it more convivial for the end-user. This kind of menu is very usefull when you

Re: [U-Boot] ENV_IS_EMBEDDED vs CONFIG_ENV_IS_EMBEDDED

2009-06-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200906142240.59607.vap...@gentoo.org you wrote: is there a reason to keep ENV_IS_EMBEDDED around ? i see a few places that use CONFIG_ENV_IS_EMBEDDED, but it seems to be largely useless at the moment as the define doesn't really do anything without

Re: [U-Boot] Pull request - net

2009-06-15 Thread Wolfgang Denk
Dear Ben Warren, In message 4a35f5a0.4030...@gmail.com you wrote: Wolfgang, The following changes since commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6: Mike Frysinger (1): add %.c-%.i and %.c-%.s rules are available in the git repository at: git://git.denx.de/u-boot-net

Re: [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config

2009-06-15 Thread Giulio Benetti
Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:52 Sat 13 Jun , Giulio Benetti wrote: In this way the linux driver won't work(the one by Renaud CERRATO). Because it expects MR register not to be set, or to be set enabled. it's work we have test it you need to enable it in the at91bootstrap

Re: [U-Boot] [PATCH 2/2] at91sam9263ek: active watchdog support via at91sam9263ek_wdt_config

2009-06-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:38 Mon 15 Jun , Giulio Benetti wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:52 Sat 13 Jun , Giulio Benetti wrote: In this way the linux driver won't work(the one by Renaud CERRATO). Because it expects MR register not to be set, or to be set enabled. it's work we

Re: [U-Boot] [RFC/PATCH 1/2] r2dplus: add menu example support

2009-06-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 01:15 Sun 14 Jun , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1244920382-21434-2-git-send-email-plagn...@jcrosoft.com you wrote: this patch is just an example to show you how to create your own menu using the C API. It will not be a part of the final

Re: [U-Boot] [RFC/PATCH 1/2] Add menu Framework

2009-06-15 Thread Jean-Christophe PLAGNIOL-VILLARD
+#if defined(CONFIG_CMD_MENU_MANAGEMENT) + if (!strncmp(argv[0], a, 1)) + return do_menu_add(cmdtp, flag, argc, argv); + if (!strncmp(argv[0], e, 1)) + return do_menu_entry(cmdtp, flag, argc, argv); +#endif + if (!strncmp(argv[0], l, 1)) + return

[U-Boot] mcf5445x watchdog support in U-Boot

2009-06-15 Thread Matthew Lear
Hi TsiChung et al, I was wondering if there are plans to support and utilise the watchdog in the mcf5445x devices within U-Boot? I've ported a kernel driver from the bitshrine gpp (http://www.bitshrine.org/gpp/linux-2.6.25-mcfv4e-watchdog.patch) so that it hooks into my 54455 hw (Freescale EVB),

Re: [U-Boot] Out-of-tree build of API code fails

2009-06-15 Thread Rafal Jaworowski
Dear Wolfgang, On 2009-06-14, at 21:29, Wolfgang Denk wrote: in message 63279ff4-75bf-44e5-914e-213c2bf41...@semihalf.com you wrote: it seems the api_examples/ code fails when building out of tree: ... Could you please have a look? Thanks in advance. Sure, I'll take a look. Did

Re: [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC ethernet controller on i.MX27

2009-06-15 Thread Johan
I have trouble using your patch together with our LogicPD iMX27 Litekit. Seems like the FEC driver does not work well. Here is some output from when I try to load files with tftp U-Boot 2009.06-rc1 (jun 15 2009 - 15:46:31) CPU: Freescale i.MX27 at 399 MHz DRAM: 128 MB Flash: 2 MB NAND: 64

[U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

2009-06-15 Thread Mike Frysinger
The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger

[U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads

2009-06-15 Thread Yong Yang
I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. lib_arm/libarm.a(board.o)(.text+0x1d8): In function `start_armboot': /home/yong/cross-compile/u-boot-2009.03/lib_arm/board.c:211: undefined reference to `flash_init'

[U-Boot] [PATCH] mpc83xx: set 64BIT_VSPRINTF for boards using nand_util

2009-06-15 Thread Kim Phillips
When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Dave Liu dave...@freescale.com Cc: Ron Madrid ron_mad...@sbcglobal.net Cc: Anton Vorontsov

[U-Boot] [PATCH] net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning

2009-06-15 Thread Kim Phillips
fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/net/tsec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH] common: fix 'dummy' is used uninitialized in this function warning

2009-06-15 Thread Kim Phillips
fix this gcc 4.4 warning: xyzModem.c: In function 'xyzModem_stream_open': xyzModem.c:564: warning: 'dummy' is used uninitialized in this function Signed-off-by: Kim Phillips kim.phill...@freescale.com --- common/xyzModem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error

2009-06-15 Thread Kim Phillips
fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- include/usb/ehci-fsl.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h

[U-Boot] [PATCH 3/6] Blackfin: bf548-ezkit: bump up monitor size

2009-06-15 Thread Mike Frysinger
The latest version of U-Boot got a bit fatter in the BSS section which caused overflows in the RAM region, so increase the monitor size. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bf548-ezkit.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 2/6] Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash

2009-06-15 Thread Mike Frysinger
From: Vivi Li vivi...@analog.com The SPI flash layer is much stricter about sector usage than the eeprom layer we used to use, so update the env settings to better match the sector alignment of the flashes we use. Signed-off-by: Vivi Li vivi...@analog.com Signed-off-by: Mike Frysinger

[U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

2009-06-15 Thread Mike Frysinger
The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger

[U-Boot] [PATCH 0/6] Blackfin fixes for 2009.08

2009-06-15 Thread Mike Frysinger
A few fixes and tweaks to use latest code in master. Mike Frysinger (4): Blackfin: bf548-ezkit: bump up monitor size Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Blackfin: fix SPI flash speed define name Blackfin: move ALL += u-boot.ldr to blackfin_config.mk Vivi Li

[U-Boot] [PATCH 1/6] Blackfin: bump up default JTAG console timeout

2009-06-15 Thread Mike Frysinger
From: Vivi Li vivi...@analog.com The debug tools that interface with the other side of the JTAG console got much slower when generalizing things, so bump up the default timeout value on the U-Boot side to cope. Hopefully at some point we can improve the debug tools to speed things back up.

[U-Boot] [PATCH 6/6] Blackfin: move ALL += u-boot.ldr to blackfin_config.mk

2009-06-15 Thread Mike Frysinger
The way the ALL variable is used allows for config.mk's to add more targets themselves without having to clutter up the top level Makefile. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |4 +--- blackfin_config.mk |6 -- 2 files changed, 5 insertions(+), 5

[U-Boot] [PATCH 4/6] Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards

2009-06-15 Thread Mike Frysinger
Building the compression code in lib_generic/ with -O2 rather than -Os gives a nice speed boost without too much code size increase. Signed-off-by: Mike Frysinger vap...@gentoo.org --- board/bf518f-ezbrd/config.mk |3 +++ board/bf526-ezbrd/config.mk |3 +++ board/bf527-ezkit/config.mk

[U-Boot] [PATCH 5/6] Blackfin: fix SPI flash speed define name

2009-06-15 Thread Mike Frysinger
The SPI flash define is named CONFIG_SF_DEFAULT_SPEED, not CONFIG_SF_DEFAULT_HZ, so fix the typos in the Blackfin boards. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/configs/bf518f-ezbrd.h |2 +- include/configs/bf526-ezbrd.h|2 +- include/configs/bf527-ezkit.h|

[U-Boot] [PATCH] compiler.h: unify system ifdef cruft here

2009-06-15 Thread Mike Frysinger
Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X)

Re: [U-Boot] [PATCH] usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error

2009-06-15 Thread Remy Bohmer
Hello, 2009/6/15 Kim Phillips kim.phill...@freescale.com: fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips kim.phill...@freescale.com ---  include/usb/ehci-fsl.h |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

2009-06-15 Thread Mike Frysinger
erp, globbed too many files when sending out -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

2009-06-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200906151443.41007.vap...@gentoo.org you wrote: erp, globbed too many files when sending out What does that mean? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5,

[U-Boot] Driver for SDHC controller on IMX27

2009-06-15 Thread alfred steele
Hi Ilya/Fabio, I followed your guidelines for trying to use the MX27 SDHC driver/MMC framework as the base code and make appropiate mods to make it work on the MX31 PDK board but i have been unsuccessful till this point. i had left this task off at a point because of higher priorities. Do you

Re: [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC ethernet controller on i.MX27

2009-06-15 Thread Eric Lammerts
On 06/15/09 10:01, Johan wrote: I have trouble using your patch together with our LogicPD iMX27 Litekit. Seems like the FEC driver does not work well. Here is some output from when I try to load files with tftp snip Loading: #T #T #T

Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads

2009-06-15 Thread Wolfgang Denk
Dear Yong Yang, In message 737b0be30906150750j28387c06u3a7ba7ffea736...@mail.gmail.com you wrote: I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads. I cannot reproduce any such errors: - git checkout

[U-Boot] [PATCH] fsl: remove _IO_BASE and KSEG1ADDR from board configuration files

2009-06-15 Thread Timur Tabi
The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically defined to 0 if it isn't already set, so there's no need to

Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads

2009-06-15 Thread Yong Yang
I downloaded the source tar files from the FTP site, instead of from git. My cross-compiler is arm-elf-gcc from http://www.gnuarm.org/ It seems my tool chain works, since I maked images for omap5112osk successfully. :((( On Mon, Jun 15, 2009 at 4:16 PM, Wolfgang Denk w...@denx.de wrote: Dear

[U-Boot] newbie question about patch to fix 'fatal: cannot describe'

2009-06-15 Thread Rainer Keller
Hi All, This is my first posting to the list and I just joined the mailing list about a week ago. Plus I am pretty new to the open source world as well, so please send me pointers to where to look things up if the posting is not inappropriate or does not belong here. Any time I build U-Boot

Re: [U-Boot] [PATCH 1/6] sh7785lcr: fix out of tree build

2009-06-15 Thread Nobuhiro Iwamatsu
Hi, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com ---  Makefile                         |    5 +++--  

Re: [U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads

2009-06-15 Thread Yong Yang
Error was fixed by using another tool chain. On Mon, Jun 15, 2009 at 4:51 PM, Yong Yang yangyon...@gmail.com wrote: I downloaded the source tar files from the FTP site, instead of from git. My cross-compiler is arm-elf-gcc from http://www.gnuarm.org/ It seems my tool chain works, since I

Re: [U-Boot] [PATCH] fsl: remove _IO_BASE and KSEG1ADDR from board configuration files

2009-06-15 Thread Kumar Gala
On Jun 15, 2009, at 4:53 PM, Timur Tabi wrote: The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically

Re: [U-Boot] [PATCH] mpc83xx: set 64BIT_VSPRINTF for boards using nand_util

2009-06-15 Thread Kumar Gala
On Jun 15, 2009, at 11:50 AM, Kim Phillips wrote: When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips kim.phill...@freescale.com Cc: Dave Liu dave...@freescale.com Cc:

Re: [U-Boot] [PATCH] kallsyms: fix escaping of NUL char in strings

2009-06-15 Thread Mike Frysinger
On Monday 15 June 2009 15:08:10 Wolfgang Denk wrote: Dear Mike Frysinger, In message 200906151443.41007.vap...@gentoo.org you wrote: erp, globbed too many files when sending out What does that mean? it means this patch isnt part of this small series -mike signature.asc Description: This

Re: [U-Boot] [PATCH 3/6 V2] sh: unify linker script

2009-06-15 Thread Nobuhiro Iwamatsu
Dear ,Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: all sh boards use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk tested on r2dplus

Re: [U-Boot] [PATCH 4/6] sh: introduce clock framework

2009-06-15 Thread Nobuhiro Iwamatsu
Dear, Jean-Christophe PLAGNIOL-VILLARD 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com ---  include/asm-sh/clk.h |   35

Re: [U-Boot] [PATCH 5/6] sh3/sh4: fix CONFIG_SYS_HZ to 1000

2009-06-15 Thread Nobuhiro Iwamatsu
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com ---  include/configs/MigoR.h     |    2 +-  

Re: [U-Boot] [PATCH 6/6] sh3/sh4: rename config option TMU_CLK_DIVIDER to CONFIG_SYS_TMU_CLK_DIV

2009-06-15 Thread Nobuhiro Iwamatsu
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nobuhiro Iwamatsu iwamatsu.nobuh...@renesas.com ---  include/configs/MigoR.h     |    2 +-  

Re: [U-Boot] [PATCH 2/6 V2] sh: make the linker scripts more generic

2009-06-15 Thread Nobuhiro Iwamatsu
Dear, Jean-Christophe PLAGNIOL-VILLARD. 2009/6/4 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: currently we need to sync the linker script enty and TEXT_BASE manualy and the reloc_dst is based on it instead provide it now from the ldflags tested on r2dplus Signed-off-by: