Re: [U-Boot] How to test a new u-boot image over network?

2011-12-08 Thread Stefan Roese
Hi Vikas, On Wednesday 07 December 2011 23:13:18 vikas.sonta...@emc.com wrote: I do know that the board has NAND flash and it is seen by the u-boot. FLASH: 16 MB NAND: 1024 MiB The vendor has told us that the actual flash is lot bigger than reported by u-boot. Then the vendor U-Boot

[U-Boot] uImage:multi or single file?

2011-12-08 Thread Frank Lassowski
Hi there, short introduction of mine because I'm new here: mid 40, father and husband, carpenter, using Linux since 15 years, weak skills on Uboot because of two Marvell Sheevas running Debian. I own an internet radio (running ucLinux, architecture blackfin) which is not able to get the time

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Stefano Babic
On 07/12/2011 19:47, Wolfgang Denk wrote: Dear Simon Schwarz, In message 4edfa8fd.9000...@gmail.com you wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we want any

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Hiremath, Vaibhav
-Original Message- From: Igor Grinberg [mailto:grinb...@compulab.co.il] Sent: Wednesday, December 07, 2011 7:55 PM To: Rini, Tom Cc: u-boot@lists.denx.de; Hiremath, Vaibhav Subject: Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support Hi Tom, On 12/06/11 17:49, Tom

[U-Boot] [PATCH 1/5] mtd/nand: Add function board_nand_init_tail() for some special NAND controllers

2011-12-08 Thread Shengzhou Liu
In some NAND controllers there is a size limitation of RAM buffer(2K bytes). To support large-page NAND chips with greater than 2K pagesize, we need a large buffer, but we don't know pagesize before calling nand_scan_ident(), for more flexible and to identify different cases of large-page greater

[U-Boot] [PATCH 2/5] mtd/nand: Fixup for support ONFI detect

2011-12-08 Thread Shengzhou Liu
In the past the ONFI never worked dut to u-boot aborted when nand device id not found in ids table. Now if not found in ids table, u-boot still continues to detect by ONFI way. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/mtd/nand/nand_base.c | 26

[U-Boot] [PATCH 4/5] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-08 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-08 Thread Shengzhou Liu
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu

[U-Boot] [PATCH 3/5] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-08 Thread Shengzhou Liu
remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git

[U-Boot] m28evk: OOT build leaves stale file in source dir

2011-12-08 Thread Wolfgang Denk
Dear Marek, when building m28evk out of tree, a file board/denx/m28evk/memsize.c gets created in the source directory, which will also not be removed by a make mrproper in the source directory. Can you please provide a fix? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software

[U-Boot] [PATCH 3/3] drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning

2011-12-08 Thread Wolfgang Denk
Fix: inca-ip_sw.c: In function 'inca_switch_init': inca-ip_sw.c:210:6: warning: variable 'v' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk w...@denx.de --- drivers/net/inca-ip_sw.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 0/3] Some GCC 4.6 build warning fixes for MIPS boards

2011-12-08 Thread Wolfgang Denk
Wolfgang Denk (3): arch/mips/lib/board.c: make (mostly) checkpatch clean arch/mips/lib/board.c: Fix GCC 4.6 build warning drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning arch/mips/lib/board.c| 126 ++--- drivers/net/inca-ip_sw.c |8 +--

[U-Boot] [PATCH 2/3] arch/mips/lib/board.c: Fix GCC 4.6 build warning

2011-12-08 Thread Wolfgang Denk
Fix: board.c: In function 'board_init_r': board.c:262:8: warning: unused variable 's' [-Wunused-variable] (raised for configurations without ethernet support like vct_premium_small) Signed-off-by: Wolfgang Denk w...@denx.de Cc: Shinya Kuribayashi skuri...@ruby.dti.ne.jp ---

[U-Boot] [PATCH 1/3] arch/mips/lib/board.c: make (mostly) checkpatch clean

2011-12-08 Thread Wolfgang Denk
Fix all errors and all warnings except for externs should be avoided which could require more extensive changes. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Shinya Kuribayashi skuri...@ruby.dti.ne.jp --- arch/mips/lib/board.c | 124 - 1 files

Re: [U-Boot] m28evk: OOT build leaves stale file in source dir

2011-12-08 Thread Marek Vasut
Dear Marek, when building m28evk out of tree, a file board/denx/m28evk/memsize.c gets created in the source directory, which will also not be removed by a make mrproper in the source directory. Can you please provide a fix? I'm on it! Thanks in advance. I already have fix ready :)

[U-Boot] [PATCH V2] ARM: fix s3c24x0 timer code

2011-12-08 Thread David Müller
This patch fixes the s3c24x0 timer code to work with the ARM relocation feature. Signed-off-by: David Mueller d.muel...@elsoft.ch --- arch/arm/cpu/arm920t/s3c24x0/timer.c | 40 +++-- arch/arm/include/asm/global_data.h |7 ++ 2 files changed, 25

[U-Boot] [PATCH] M28: Cleanup memsize.o OOT build

2011-12-08 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm926ejs/mx28/Makefile |7 +-- arch/arm/cpu/arm926ejs/mx28/spl_boot.c | 13 ++---

Re: [U-Boot] [PATCH V2] ARM: fix s3c24x0 timer code

2011-12-08 Thread Andreas Bießmann
Dear David Müller, Am 08.12.2011 13:23, schrieb David Müller: This patch fixes the s3c24x0 timer code to work with the ARM relocation feature. Signed-off-by: David Mueller d.muel...@elsoft.ch --- arch/arm/cpu/arm920t/s3c24x0/timer.c | 40 +++--

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Igor Grinberg
Hi Vaibhav, On 12/08/11 13:11, Hiremath, Vaibhav wrote: -Original Message- From: Igor Grinberg [mailto:grinb...@compulab.co.il] Sent: Wednesday, December 07, 2011 7:55 PM To: Rini, Tom Cc: u-boot@lists.denx.de; Hiremath, Vaibhav Subject: Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Igor Grinberg
On 12/08/11 03:07, Tom Rini wrote: On Wed, Dec 7, 2011 at 7:25 AM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Tom, On 12/06/11 17:49, Tom Rini wrote: From: Vaibhav Hiremath hvaib...@ti.com Please note that NOR Flash is located on Application board and requires hardware modification to

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-12-08 Thread Igor Grinberg
On 12/08/11 01:48, Ilya Yanok wrote: Hi Igor, sorry for the late answer. On 30.11.2011 11:42, Igor Grinberg wrote: diff --git a/arch/arm/cpu/arm926ejs/davinci/dp83848.c b/arch/arm/cpu/arm926ejs/davinci/dp83848.c index c71c685..d435e4b 100644 ---

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Tom Rini
On 12/08/2011 07:12 AM, Igor Grinberg wrote: On 12/08/11 03:07, Tom Rini wrote: On Wed, Dec 7, 2011 at 7:25 AM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Tom, On 12/06/11 17:49, Tom Rini wrote: From: Vaibhav Hiremath hvaib...@ti.com Please note that NOR Flash is located on

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-12-08 Thread Tom Rini
On Thu, Dec 8, 2011 at 7:33 AM, Igor Grinberg grinb...@compulab.co.il wrote: On 12/08/11 01:48, Ilya Yanok wrote: Hi Igor, sorry for the late answer. On 30.11.2011 11:42, Igor Grinberg wrote: diff --git a/arch/arm/cpu/arm926ejs/davinci/dp83848.c b/arch/arm/cpu/arm926ejs/davinci/dp83848.c

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Igor Grinberg
On 12/08/11 16:38, Tom Rini wrote: On 12/08/2011 07:12 AM, Igor Grinberg wrote: On 12/08/11 03:07, Tom Rini wrote: On Wed, Dec 7, 2011 at 7:25 AM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Tom, On 12/06/11 17:49, Tom Rini wrote: From: Vaibhav Hiremath hvaib...@ti.com Please note

Re: [U-Boot] [PATCH 01/13] davinci_emac: move arch-independent defines to separate header

2011-12-08 Thread Igor Grinberg
On 12/08/11 16:42, Tom Rini wrote: On Thu, Dec 8, 2011 at 7:33 AM, Igor Grinberg grinb...@compulab.co.il wrote: On 12/08/11 01:48, Ilya Yanok wrote: Hi Igor, sorry for the late answer. On 30.11.2011 11:42, Igor Grinberg wrote: diff --git a/arch/arm/cpu/arm926ejs/davinci/dp83848.c

Re: [U-Boot] [PATCH] arm: Tegra: fix undefined instruction hang immediately after reset

2011-12-08 Thread Tom Warren
Aneesh Mike, -Original Message- From: Aneesh V [mailto:ane...@ti.com] Sent: Wednesday, December 07, 2011 10:51 PM To: Mike Frysinger Cc: u-boot@lists.denx.de; tr...@ti.com; Tom Warren; Tom Warren Subject: Re: [U-Boot] [PATCH] arm: Tegra: fix undefined instruction hang immediately

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Mike Frysinger
On Thursday 08 December 2011 05:14:36 Stefano Babic wrote: On 07/12/2011 19:47, Wolfgang Denk wrote: Simon Schwarz wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we

Re: [U-Boot] How to test a new u-boot image over network?

2011-12-08 Thread vikas.sontakke
Hi Stefan, Then the vendor U-Boot port is broken. I hope that is not the case :-( When they told me that the board has 2GB of flash, I told them that u-boot only reported 16MB. I was told not to worry about it. Vendor saves firmware for their chip (which is a PCI-e device on the board),

Re: [U-Boot] [PATCH 1/5] mtd/nand: Add function board_nand_init_tail() for some special NAND controllers

2011-12-08 Thread Marek Vasut
In some NAND controllers there is a size limitation of RAM buffer(2K bytes). To support large-page NAND chips with greater than 2K pagesize, we need a large buffer, but we don't know pagesize before calling nand_scan_ident(), for more flexible and to identify different cases of large-page

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-08 Thread Marek Vasut
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Stefano Babic
On 08/12/2011 16:54, Mike Frysinger wrote: Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the autoboot in U-Boot. isn't this the purpose of the boot

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-08 Thread Stephen Warren
On 12/08/2011 12:22 AM, Albert ARIBAUD wrote: Hi Tom, Le 08/12/2011 00:35, Tom Warren a écrit : Albert, This is my first pull request for u-boot-tegra. Let me know if I’ve screwed it up in any way! Actually: The following changes since commit

[U-Boot] Pull request: u-boot-tegra/master, take 2

2011-12-08 Thread Tom Warren
Albert, Here's my rebased pull request. Thanks for your patience! The following changes since commit 15422043c4a213dc5d7d59a337be1ab34c9b2e7f: davinci: Remove unwanted memsize.c from hawkboard's nand spl build (2011-12-06 23:59:41 +0100) are available in the git repository at:

Re: [U-Boot] How to test a new u-boot image over network?

2011-12-08 Thread Stefan Roese
Hi Vikas, On Thursday 08 December 2011 17:25:00 vikas.sonta...@emc.com wrote: Then the vendor U-Boot port is broken. I hope that is not the case :-( When they told me that the board has 2GB of flash, I told them that u-boot only reported 16MB. I was told not to worry about it. Vendor

Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support

2011-12-08 Thread Hiremath, Vaibhav
-Original Message- From: Igor Grinberg [mailto:grinb...@compulab.co.il] Sent: Thursday, December 08, 2011 7:18 PM To: Hiremath, Vaibhav Cc: Rini, Tom; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 3/8] AM3517: Add NOR Flash boot mode Support Hi Vaibhav, On 12/08/11 13:11,

Re: [U-Boot] [PATCH 4/5] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-08 Thread Scott Wood
On 12/08/2011 04:49 AM, 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 shengzhou@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Mike Frysinger
On Thursday 08 December 2011 11:40:48 Stefano Babic wrote: On 08/12/2011 16:54, Mike Frysinger wrote: Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the

Re: [U-Boot] [PATCH] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-12-08 Thread Kumar Gala
On Dec 7, 2011, at 3:39 PM, Kyle Moffett wrote: The eXMeritus HWW-1U-1A unit is a DO-160-certified 13lb 1U chassis with 3 independent TEMPEST zones. Two independent P2020 computers may be found inside each zone. Complete hardware support is included. High-level hardware overview: *

Re: [U-Boot] [PATCH 0/9] MX5x USB support

2011-12-08 Thread Wolfgang Grandegger
Hi Marek, On 12/07/2011 07:33 PM, Marek Vasut wrote: This patchset adds the USB support for MX5x. Most of the code is based on work of Wolfgang Grandegger with modifications done by various other authors. I also included version of ULPI support code cleaned up by Igor Grinberg. NOTE: I'd

[U-Boot] [PATCH V2] M28: Cleanup memsize.o OOT build

2011-12-08 Thread Marek Vasut
The current way memsize.c is built just made a symlink into the directory with SPL and then compiled it like any other file there. This was bad as that broke the out-of-tree build. The new way introduced in this patch uses the standard spl/Makefile methods (CONFIG_SPL_LIBCOMMON_SUPPORT /

Re: [U-Boot] [PATCH 1/9] MPC7xx: remove obsolete BAB7xx board

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-2-git-send-email...@denx.de you wrote: The BAB7xx boards are almost deceased. They cause build warnings, an it's not worth the effort to fix these. Remove the dead body. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Frank Gottschling

Re: [U-Boot] [PATCH 2/9] MPC8240: remove obsolete OXC board

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-3-git-send-email...@denx.de you wrote: The OXC board has long been unmaintained, and is broken. Remove it. Signed-off-by: Wolfgang Denk w...@denx.de --- board/oxc/Makefile| 44 -- board/oxc/flash.c | 372

Re: [U-Boot] [PATCH 3/9] MPC850: remove obsolete rmu Board

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-4-git-send-email...@denx.de you wrote: The rmu board has long been unmaintained, and is broken. Remove it. Signed-off-by: Wolfgang Denk w...@denx.de --- MAINTAINERS|1 - board/rmu/Makefile | 44

Re: [U-Boot] [PATCH 4/9] board/w7o/fpga.c: make (mostly) checkpatch clean

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-5-git-send-email...@denx.de you wrote: Just reformated the code. No attempts were made to clean up warnings about Use of volatile is usually wrong or externs should be avoided. Signed-off-by: Wolfgang Denk w...@denx.de --- board/w7o/fpga.c

Re: [U-Boot] [PATCH 5/9] board/w7o/fpga.c: Fix GCC 4.6 build warning

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-6-git-send-email...@denx.de you wrote: Fix: fpga.c: In function 'fpgaDownload': fpga.c:68:29: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk w...@denx.de --- board/w7o/fpga.c |3 ++-

Re: [U-Boot] [PATCH 6/9] board/w7o/flash.c: make (mostly) checkpatch clean

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-7-git-send-email...@denx.de you wrote: No full cleanup was attempted. Warnings about Use of volatile is usually wrong were ignored. One line 80 char was intentionally accepted. Signed-off-by: Wolfgang Denk w...@denx.de ---

Re: [U-Boot] [PATCH 7/9] board/w7o/flash.c: Fix GCC 4.6 compile warning

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-8-git-send-email...@denx.de you wrote: Fix: flash.c: In function 'flash_init': flash.c:47:25: warning: variable 'base_b1' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk w...@denx.de --- board/w7o/flash.c |3

Re: [U-Boot] [PATCH 8/9] board/w7o/vpd.c: make (mostly) checkpatch clean

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-9-git-send-email...@denx.de you wrote: Accept 2 warnings externs should be avoided. Signed-off-by: Wolfgang Denk w...@denx.de --- board/w7o/vpd.c | 581 --- 1 files changed, 299

Re: [U-Boot] [PATCH 9/9] board/w7o/vpd.c: Fix GCC 4.6 compile warnings

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323296368-26162-10-git-send-email...@denx.de you wrote: Fix: vpd.c: In function 'vpd_is_valid': vpd.c:168:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] vpd.c:169:2: warning: dereferencing type-punned pointer

Re: [U-Boot] Pull request: nand flash (updated)

2011-12-08 Thread Wolfgang Denk
Dear Scott Wood, In message 20111207221735.ga2...@schlenkerla.am.freescale.net you wrote: Updated the pull request due to an incoming patch around the same time. I know you usually don't want a pull request for a patch so shortly after it's posted, but it's an obvious fix, along the same

Re: [U-Boot] [PATCH 1/3] arch/mips/lib/board.c: make (mostly) checkpatch clean

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323345711-2066-2-git-send-email...@denx.de you wrote: Fix all errors and all warnings except for externs should be avoided which could require more extensive changes. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Shinya Kuribayashi skuri...@ruby.dti.ne.jp

Re: [U-Boot] [PATCH 2/3] arch/mips/lib/board.c: Fix GCC 4.6 build warning

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323345711-2066-3-git-send-email...@denx.de you wrote: Fix: board.c: In function 'board_init_r': board.c:262:8: warning: unused variable 's' [-Wunused-variable] (raised for configurations without ethernet support like vct_premium_small) Signed-off-by:

Re: [U-Boot] [PATCH 3/3] drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning

2011-12-08 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1323345711-2066-4-git-send-email...@denx.de you wrote: Fix: inca-ip_sw.c: In function 'inca_switch_init': inca-ip_sw.c:210:6: warning: variable 'v' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk w...@denx.de ---

Re: [U-Boot] [PATCH v2 09/17] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-08 Thread Simon Glass
Hi Stephen, On Wed, Dec 7, 2011 at 3:36 PM, Stephen Warren swar...@nvidia.com wrote: On 12/06/2011 02:09 PM, Simon Glass wrote: On Tue, Dec 6, 2011 at 12:28 PM, Stephen Warren swar...@nvidia.com wrote: On 12/05/2011 05:55 PM, Simon Glass wrote: On Mon, Dec 5, 2011 at 3:25 PM, Stephen Warren

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-08 Thread Simon Glass
Hi Stephen, On Wed, Dec 7, 2011 at 3:46 PM, Stephen Warren swar...@nvidia.com wrote: On 12/06/2011 02:23 PM, Simon Glass wrote: Hi Stephen, On Tue, Dec 6, 2011 at 12:42 PM, Stephen Warren swar...@nvidia.com wrote: On 12/05/2011 06:14 PM, Simon Glass wrote: Hi Stephen, On Mon, Dec 5, 2011

Re: [U-Boot] [PATCH v2] ne2000: Convert to new net-multi model, fixes build of three boards

2011-12-08 Thread Wolfgang Denk
Dear Bernhard Kaindl, In message 1319144219-15731-1-git-send-email-bernhard.kai...@gmx.net you wrote: This fixes the build of the two sh boards shmin and r7780mp and qemu-mips which currently fail to build due to dropped pre-CONFIG_NET_MULTI code. This v2 patch minimizes the number of lines

[U-Boot] [PATCH] drivers/net/ne2000_base.c: Fix GCC 4.6 build warnings

2011-12-08 Thread Wolfgang Denk
Fix: ne2000_base.c: In function 'dp83902a_send': ne2000_base.c:282:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] ne2000_base.c: In function 'dp83902a_RxEvent': ne2000_base.c:376:5: warning: variable 'rsr' set but not used [-Wunused-but-set-variable] ne2000_base.c: In

Re: [U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-08 Thread Simon Glass
Hi Stephen, On Wed, Dec 7, 2011 at 2:02 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 07:57 PM, Simon Glass wrote: Add support for internal matrix keyboard controller for Nvidia Tegra platforms. This driver uses the fdt decode function to obtain its key codes. +static int

[U-Boot] powerpc: FOO uses hard float, BAR uses soft float

2011-12-08 Thread Wolfgang Denk
Hi, I'm looking for help to get rid of linker warnigns like these: - ./MAKEALL sequoia Configuring for sequoia - Board: sequoia, Options: SEQUOIA powerpc-linux-ld: Warning: 20010226-1.o uses hard float, libpostpowerpcfpu.o uses soft float powerpc-linux-ld: Warning: acc1.o uses hard float,

[U-Boot] Do we want a generic key code input handler

2011-12-08 Thread Simon Glass
Hi, This is mostly directed at the input maintainer, who may be Wolfgang. In discussions on the list regarding a new keyboard driver it has come up that there is no generic way to translate key codes into ASCII characters, nor to translate unshifted keys to shifted keys. The two keyboard drivers

Re: [U-Boot] powerpc: FOO uses hard float, BAR uses soft float

2011-12-08 Thread Stephen Warren
On 12/08/2011 03:09 PM, Wolfgang Denk wrote: Hi, I'm looking for help to get rid of linker warnigns like these: - ./MAKEALL sequoia Configuring for sequoia - Board: sequoia, Options: SEQUOIA powerpc-linux-ld: Warning: 20010226-1.o uses hard float, libpostpowerpcfpu.o uses soft float

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-12-08 Thread Simon Glass
Hi Albert, On Wed, Dec 7, 2011 at 12:10 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Simon, Le 22/11/2011 00:57, Simon Glass a écrit : This is the second patch series aiming to unify the various board.c files in each architecture into a single one. This series creates a libboard

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-12-08 Thread Simon Glass
Hi, On Wed, Dec 7, 2011 at 4:35 PM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 07 December 2011 02:38:40 Albert ARIBAUD wrote: Le 30/11/2011 03:58, Mike Frysinger a écrit : On Tuesday 29 November 2011 18:49:58 Graeme Russ wrote: On Wed, Nov 30, 2011 at 10:41 AM, Simon Glass wrote:

Re: [U-Boot] [RFC PATCH 6/7] reboard: arm: Move over to generic relocation

2011-12-08 Thread Simon Glass
Hi Mike, On Mon, Nov 28, 2011 at 7:14 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 21 November 2011 18:57:59 Simon Glass wrote: --- a/board/reloc.c +++ b/board/reloc.c -void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) +void new_relocate_code(ulong dest_addr_sp,

Re: [U-Boot] [RFC PATCH 7/7] reboard: arm: Remove unused code in start.S

2011-12-08 Thread Simon Glass
Hi Mike, On Mon, Nov 28, 2011 at 7:15 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 21 November 2011 18:58:00 Simon Glass wrote: --- a/board/reloc.c +++ b/board/reloc.c -void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) +void relocate_code(ulong dest_addr_sp,

Re: [U-Boot] [PATCH v2] ne2000: Convert to new net-multi model, fixes build of three boards

2011-12-08 Thread Mike Frysinger
On Thursday 20 October 2011 16:56:59 Bernhard Kaindl wrote: --- a/drivers/net/ne2000_base.c +++ b/drivers/net/ne2000_base.c + /* + * According to doc/README.enetaddr, drivers shall give priority + * to the MAC address value in the environment, so we do not read + * it

Re: [U-Boot] [PATCH v2 1/2] net: add Calxeda xgmac driver

2011-12-08 Thread Mike Frysinger
On Wednesday 07 December 2011 12:56:51 Rob Herring wrote: --- /dev/null +++ b/drivers/net/calxedaxgmac.c +struct xgmac_regs { + u32 config; + u32 framefilter; + u32 resv_1[4]; + u32 flow_control; + u32 vlantag; + u32 version; + u32 vlaninclude; + u32

Re: [U-Boot] [PATCH v2 2/2] ARM: highbank: enable networking and pxe

2011-12-08 Thread Mike Frysinger
On Wednesday 07 December 2011 12:56:52 Rob Herring wrote: --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c +int board_eth_init(bd_t *bis) +{ + int rc = 0; + +#ifdef CONFIG_CALXEDA_XGMAC + rc = calxedaxgmac_initialize(0, 0xfff5); + rc |=

[U-Boot] p2020 and Micron MT47H64M16HR memory and u-boot

2011-12-08 Thread wzab
Hi, We are debugging a system equipped with p2020 processor and micron MT47H64M16HR DDR2 memories. Unfortunately we can't get u-boot loading correctly to the DDR. We've managed to get u-boot loaded to the L2 cache and to put our own DDR debugging code into the board initialization code (namely

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-08 Thread LiuShuo
于 2011年12月09日 00:37, Marek Vasut 写道: Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by:

Re: [U-Boot] [PATCH] arm: Tegra: fix undefined instruction hang immediately after reset

2011-12-08 Thread Aneesh V
Tom, On Thursday 08 December 2011 09:07 PM, Tom Warren wrote: Aneesh Mike, -Original Message- From: Aneesh V [mailto:ane...@ti.com] Sent: Wednesday, December 07, 2011 10:51 PM To: Mike Frysinger Cc: u-boot@lists.denx.de; tr...@ti.com; Tom Warren; Tom Warren Subject: Re: [U-Boot]

[U-Boot] [PATCH v2 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-08 Thread Thierry Reding
This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() function instead or mmc_getcd() needs to be called at some later time after mmc_init(),

[U-Boot] [PATCH v2 0/4] mmc: Implement central card-detection.

2011-12-08 Thread Thierry Reding
This series of patches implements central card-detection within the MMC framework. Before this patch series, many boards actually did implement the board_mmc_getcd() function, but it wasn't used except by one driver (fsl_esdhc). Unfortunately, implementations interpreted the meaning of the cd

[U-Boot] [PATCH v2 2/4] mmc: Implement card detection.

2011-12-08 Thread Thierry Reding
Check for card detect each time an MMC/SD device is initialized. If card detection is not implemented, this code behaves as before and continues assuming a card is present. If no card is detected, has_init is reset for the MMC/SD device (to force initialization next time) and an error is returned.

[U-Boot] [PATCH v2 4/4] mmc: tegra2: Implement card-detect hook.

2011-12-08 Thread Thierry Reding
On Tegra2, card-detection is implemented by passing the card-detection GPIOs to the MMC driver at initialization time. Instead of implementing the board_mmc_getcd() function, use the card-detect hook and allow boards to override it by providing their own board_mmc_getcd() implementation.