Re: [U-Boot] question about TEXT_BASE in U-boot

2008-12-14 Thread tike64
wangrui wrote: > After power up board, CPU will execute the instruction store at 0x0 (ROM > flash), and I download u-boot > to ROM flash (start from 0x0) so that the instruction store at 0x0 is > "a0f0: ea14 b a0f00058 " > > Then program will jump to 0xa0f00058 (SDRAM)... No, it does not

Re: [U-Boot] [PATCH] mpc83xx: Size optimization of start.S

2008-12-14 Thread Jens Gehrlein
Hi Ron, Ron Madrid schrieb: > Currently there are in excess of 100 bytes located at the beginning of the > image > built by start.S that are not being utilized. Hmmm, are you sure? What if someone designs a board, where the processor shall load its reset configuration from a local bus EEPROM, e.

[U-Boot] Pluto not work after log message : Errno 28: No space left on device

2008-12-14 Thread 陈琳涛
Hi , all : Linux kernel 2.6.19 , klips nat-t patched Openswan 2.4.9 pluto not work after message 2008/12/14 16:36:10 INTERNET pluto[1415]: ERROR: "PROFILE_1"[676] 60.166.215.36 #21071: pfkey write() of SADB_ADD message 63711 for Add SA tun.4...@60.166.215.36 failed. Errno 28: No space

[U-Boot] timer interface

2008-12-14 Thread Roman Mashak
Hello I'm in the process of porting U-Boot on arm926ej-s based board and now approached to timer configuration. This is my understanding that U-Boot has its timer interface, API, which shoudl be consistently used across the boards: timer_init() / reset_timer() get_timer() / set_timer() udelay()

Re: [U-Boot] [PATCH 00/15 v6] OMAP3: Add support for some of TIs ARM-Cortex A8 OMAP3 boards

2008-12-14 Thread Dirk Behme
On Sun, Dec 14, 2008 at 9:47 AM, Dirk Behme wrote: > > This patch series adds U-Boot v1 support for some of TI's ARM-Cortex A8 based > OMAP3 boards. These are BeagleBoard [1][2], EVM [3], Overo [4], Pandora [5] > and > Zoom1 [6]. > ... Just in case somebody likes to pull this OMAP3 patch series

Re: [U-Boot] question about TEXT_BASE in U-boot

2008-12-14 Thread wangrui
Hi zhenhua: After power up board, CPU will execute the instruction store at 0x0 (ROM flash), and I download u-boot to ROM flash (start from 0x0) so that the instruction store at 0x0 is "a0f0: ea14 b a0f00058 " Then program will jump to 0xa0f00058 (SDRAM). However there shall be nothing i

Re: [U-Boot] [PATCH] lib_ppc: rework the flush_cache

2008-12-14 Thread Wolfgang Denk
Dear "Liu Dave", In message <79c363b768933f4fb918025ff7eb56a...@zch01exm21.fsl.freescale.net> you wrote: > > > That comment was on the version you posted in the NAND patch; the > > lib_ppc version actually looks worse -- it tried to round > > down to avoid > > the issue, but it was missi

Re: [U-Boot] [PATCH v2] Remove unused CONFIG_ADDR_STREAMING defines

2008-12-14 Thread Wolfgang Denk
Dear Peter Tyser, In message <1228170165-22331-1-git-send-email-pty...@xes-inc.com> you wrote: > Signed-off-by: Peter Tyser > --- > doah, forgot SOB > > include/configs/ATUM8548.h|1 - > include/configs/MPC8536DS.h |1 - > include/configs/MPC8540ADS.h |1 - > include/configs/

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-12-14 Thread Daniel Mack
Hi Wolfgang, On Sun, Dec 14, 2008 at 12:12:24PM +0100, Wolfgang Denk wrote: > > This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken > > from the environment variable 'ethaddr' and the NIC is configured > > accordingly. Needed for boards that don't have an EEPROM to store this

Re: [U-Boot] [PATCH v4 2/3] Add support for Maxim's DS4510 I2C device

2008-12-14 Thread Wolfgang Denk
Dear Peter Tyser, In message <300544b7901dacbe6b9e3edd052629f612b92735.1228160312.git.pty...@xes-inc.com> you wrote: > Initial support for the DS4510, a CPU supervisor with > integrated EEPROM, SRAM, and 4 programmable non-volatile > GPIO pins. The CONFIG_DS4510 define enables support > for the

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2008-12-14 Thread Wolfgang Denk
Dear Daniel Mack, In message <20081203010154.ge2...@buzzloop.caiaq.de> you wrote: > This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken > from the environment variable 'ethaddr' and the NIC is configured > accordingly. Needed for boards that don't have an EEPROM to store this

Re: [U-Boot] [PATCH] Fix new found CFG_

2008-12-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:58 Sun 14 Dec , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1229246979-18348-1-git-send-email-plagn...@jcrosoft.com> you > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > board/esd/pmc440/cmd_pmc440.c |2 +- > >

Re: [U-Boot] [PATCH] Added optional iteration limit for alternative memory test.

2008-12-14 Thread Wolfgang Denk
Dear Dirk Eibach, In message <1227791865-8843-1-git-send-email-eib...@gdsys.de> you wrote: > We want to use mtest for production memory test. I implemented > an iteration limit, so expect can parse the results. mtest is definitely NOT a good enough memory test for any production tests. You shoul

[U-Boot] question about TEXT_BASE in U-boot

2008-12-14 Thread 王睿
Hi everyone: I am a freshman in U-boot development. My question to all expert is: I set TEXT_BASE=0xA0f0 in board/LPC2468OEM_Board/config.mk. After compile, the first instruction is: a0f0: ea14 b a0f00058 However there is nothing at a0f00058 after power up board, so that system han

Re: [U-Boot] [PATCH] cmd_mem: Remove unused variable

2008-12-14 Thread Wolfgang Denk
Dear Peter Tyser, In message <1227549287-29241-1-git-send-email-pty...@xes-inc.com> you wrote: > Signed-off-by: Peter Tyser > --- > common/cmd_mem.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH] Fix new found CFG_

2008-12-14 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1229246979-18348-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > board/esd/pmc440/cmd_pmc440.c |2 +- > board/xilinx/ppc405-generic/u-boot-ram.lds |2 +- > board/x

Re: [U-Boot] [PATCH] usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable

2008-12-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:58 Tue 02 Dec , Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > common/usb_kbd.c |4 > include/devices.h |2 ++ > 2 files changed, 6 insertions(+), 0 deletions(-) ping Best Regards, J. _

[U-Boot] [PATCH] Fix new found CFG_

2008-12-14 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- board/esd/pmc440/cmd_pmc440.c |2 +- board/xilinx/ppc405-generic/u-boot-ram.lds |2 +- board/xilinx/ppc405-generic/u-boot-rom.lds |2 +- cpu/arm926ejs/at91/usb.c |2 +- cpu/mpc86xx/release.S

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-14 Thread Graeme Russ
Remy Bohmer wrote: > Hello Graeme, > > 2008/12/13 Graeme Russ : >> This patch makes all definitions, declarations and usages of weak functions >> consistent. >> >> Signed-off-by: Graeme Russ > > Just curious: > What is the relation of this patch to the problem discussed earlier: > http://www.mai

[U-Boot] [PATCH 15/15 v6] OMAP3: Add Pandora config, main Makefile, README, MAKEALL and MAINTAINERS

2008-12-14 Thread Dirk Behme
Add Pandora config, main Makefile, README, MAKEALL and MAINTAINERS Signed-off-by: Dirk Behme --- MAINTAINERS | 20 ++ MAKEALL | 30 ++- Makefile| 19 ++ doc/README.omap3| 116 ++ include/confi

[U-Boot] [PATCH 14/15 v6] OMAP3: Add Beagle, EVM and Overo configuration

2008-12-14 Thread Dirk Behme
Add Beagle, EVM and Overo configuration. Signed-off-by: Dirk Behme --- include/configs/omap3_beagle.h | 325 ++ include/configs/omap3_evm.h| 345 + include/configs/omap3_overo.h | 318 +++

[U-Boot] [PATCH 13/15 v6] OMAP3: Add Zoom1 board support

2008-12-14 Thread Dirk Behme
Support for Zoom MDK with OMAP3430. Details of Zoom MDK available here: http://www.logicpd.com/products/devkit/ti/zoom_mobile_development_kit Signed-off-by: Nishanth Menon --- board/omap3/common/Makefile |1 board/omap3/zoom1/Makefile| 49 ++ board/omap3/zoom1/config.mk | 3

[U-Boot] [PATCH 12/15 v6] OMAP3: Add EVM board

2008-12-14 Thread Dirk Behme
Add EVM board support. Signed-off-by: Manikandan Pillai Signed-off-by: Dirk Behme --- board/omap3/evm/Makefile | 49 + board/omap3/evm/config.mk | 35 +++ board/omap3/evm/evm.c | 123 + board/omap3/evm/evm.h | 396 +

[U-Boot] [PATCH 11/15 v6] OMAP3: Add Pandora support

2008-12-14 Thread Dirk Behme
Add Pandora support. Signed-off-by: Grazvydas Ignotas Signed-off-by: Dirk Behme --- board/omap3/pandora/Makefile | 49 board/omap3/pandora/config.mk | 33 +++ board/omap3/pandora/pandora.c | 92 board/omap3/pandora/pandora.h | 420 +

[U-Boot] [PATCH 10/15 v6] OMAP3: Add Overo board

2008-12-14 Thread Dirk Behme
Add Overo board support. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme --- board/omap3/overo/Makefile | 49 + board/omap3/overo/config.mk | 31 +++ board/omap3/overo/overo.c| 89 ++ board/omap3/overo/overo.h| 381 ++

[U-Boot] [PATCH 09/15 v6] OMAP3: Add Beagle board and common power code

2008-12-14 Thread Dirk Behme
Add Beagle board support and common power code. Signed-off-by: Dirk Behme --- board/omap3/beagle/Makefile | 49 + board/omap3/beagle/beagle.c | 89 + board/omap3/beagle/beagle.h | 381 ++ board/omap3/beagle/config.mk | 35 +++ bo

[U-Boot] [PATCH 08/15 v6] OMAP3: Add I2C support

2008-12-14 Thread Dirk Behme
Add I2C support. Signed-off-by: Dirk Behme --- drivers/i2c/Makefile |1 drivers/i2c/omap24xx_i2c.c | 23 +++ include/asm-arm/arch-omap3/i2c.h | 128 +++ 3 files changed, 152 insertions(+) Index: u-boot-main/drivers/i2c/Makefile

[U-Boot] [PATCH 07/15 v6] OMAP3: Add MMC support

2008-12-14 Thread Dirk Behme
Add MMC support. Signed-off-by: Dirk Behme --- drivers/mmc/Makefile |1 drivers/mmc/omap3_mmc.c | 558 ++ include/asm-arm/arch-omap3/mmc.h | 235 include/asm-arm/arch-omap3/mmc_host_def.h | 166

[U-Boot] [PATCH 05/15 v6] OMAP3: Add common board, interrupt and system info

2008-12-14 Thread Dirk Behme
Add common board, interrupt and system info code. Signed-off-by: Dirk Behme --- cpu/arm_cortexa8/omap3/board.c | 344 cpu/arm_cortexa8/omap3/interrupts.c | 297 +++ cpu/arm_cortexa8/omap3/sys_info.c | 254 +++

[U-Boot] [PATCH 06/15 v6] OMAP3: Add NAND support

2008-12-14 Thread Dirk Behme
Add NAND support. Signed-off-by: Nishanth Menon Signed-off-by: Syed Mohammed Khasim Signed-off-by: Dirk Behme --- drivers/mtd/nand/Makefile|1 drivers/mtd/nand/omap_gpmc.c | 353 +++ 2 files changed, 354 insertions(+) Index: u-boot-main/drive

[U-Boot] [PATCH 04/15 v6] OMAP3: Add common clock, memory and low level code

2008-12-14 Thread Dirk Behme
Add common clock, memory and low level code Signed-off-by: Dirk Behme --- cpu/arm_cortexa8/omap3/clock.c | 381 + cpu/arm_cortexa8/omap3/lowlevel_init.S | 361 +++ cpu/arm_cortexa8/omap3/mem.c | 284 +++

[U-Boot] [PATCH 03/15 v6] OMAP3: Add common cpu and start code

2008-12-14 Thread Dirk Behme
Add common cpu and start code. Signed-off-by: Dirk Behme --- cpu/arm_cortexa8/Makefile| 47 +++ cpu/arm_cortexa8/config.mk | 36 ++ cpu/arm_cortexa8/cpu.c | 241 ++ cpu/arm_cortexa8/omap3/Makefile | 46 +++ cpu/arm_cortexa8/omap3/config.mk | 36

[U-Boot] [PATCH 01/15 v6] OMAP3: Add pin mux, clock and cpu headers

2008-12-14 Thread Dirk Behme
Add pin mux, clock and cpu header files for OMAP3. Signed-off-by: Dirk Behme --- include/asm-arm/arch-omap3/clocks_omap3.h | 285 include/asm-arm/arch-omap3/cpu.h | 402 + include/asm-arm/arch-omap3/mux.h | 412 ++

[U-Boot] [PATCH 02/15 v6] OMAP3: Add OMAP3, memory and function prototype headers

2008-12-14 Thread Dirk Behme
Add OMAP3, memory and function prototype header files for OMAP3. Signed-off-by: Dirk Behme --- include/asm-arm/arch-omap3/clocks.h| 62 + include/asm-arm/arch-omap3/mem.h | 227 + include/asm-arm/arch-omap3/omap3.h | 218

[U-Boot] [PATCH 00/15 v6] OMAP3: Add support for some of TIs ARM-Cortex A8 OMAP3 boards

2008-12-14 Thread Dirk Behme
This patch series adds U-Boot v1 support for some of TI's ARM-Cortex A8 based OMAP3 boards. These are BeagleBoard [1][2], EVM [3], Overo [4], Pandora [5] and Zoom1 [6]. The patch series is based on U-Boot tar ball [7] for BeagleBoard and EVM done by several TI employees. To be able to easily add