Re: [U-Boot] Microblaze patches

2008-12-10 Thread Michal Simek
Hi Wolfgang, I am going to do some test today and send you pull request. Thanks, Michal Wolfgang Denk wrote: Dear Michal Simek, In message [EMAIL PROTECTED] you wrote: here are 4 microblaze patches. All patches are in microblaze custodian repository - master branch. But you did not

Re: [U-Boot] [PATCH] fs/fat: handle FAT on SATA

2008-12-10 Thread Wolfgang Denk
Dear Mike Frysinger, In message [EMAIL PROTECTED] you wrote: From: Sonic Zhang [EMAIL PROTECTED] The FAT file system driver should also handle FAT on SATA devices. Signed-off-by: Sonic Zhang [EMAIL PROTECTED] Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- fs/fat/fat.c |3 +++

[U-Boot] HOSTCC version

2008-12-10 Thread Andy Pont
Hello, What version of host gcc is needed for building the tools such as mkimage.exe? My embedded Linux development environment is Cygwin (1.3.22) based and includes gcc 3.4.4 which gives compiler errors for versions of U-Boot 1.3.3 and later. make[1]: Entering directory

Re: [U-Boot] [PATCH] tools/netconsole: new script for working with netconsole over UDP

2008-12-10 Thread Wolfgang Denk
Dear Mike Frysinger, In message [EMAIL PROTECTED] you wrote: While the doc/README.NetConsole does have a snippet for people to create their own netcat script, it's a lot easier to make a simple dedicated script and tell people to use it. Could you please restrict the line length to some 70+

Re: [U-Boot] [PATCH] easylogo: add optional gzip support

2008-12-10 Thread Wolfgang Denk
Dear Mike Frysinger, In message [EMAIL PROTECTED] you wrote: Some images can be quite large, so add an option to compress the image data with gzip in the U-Boot image. Then at runtime, the board can decompress it with the normal zlib functions. Good idea. + FILE *gz; + +

Re: [U-Boot] [PATCH] Fix compile error in building MBX860T.

2008-12-10 Thread Wolfgang Denk
Dear Ben Warren, In message [EMAIL PROTECTED] you wrote: Signed-off-by: Ben Warren [EMAIL PROTECTED] --- cpu/mpc8xx/cpu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] HOSTCC version

2008-12-10 Thread Wolfgang Denk
Dear Andy Pont, In message [EMAIL PROTECTED] you wrote: What version of host gcc is needed for building the tools such as mkimage.exe? My embedded Linux development environment is Cygwin (1.3.22) based and includes gcc 3.4.4 which gives compiler errors for versions of U-Boot 1.3.3 and

[U-Boot] Pull request - microblaze

2008-12-10 Thread Michal Simek
Hi Wolfgang, please pull these changes. Thanks, Michal The following changes since commit 97a24a78ee6f34b89b821cb70eda1cf34aa11d97: Jerry Van Baren (1): libfdt: Fix redefined uintptr_t warning for USE_HOSTCC are available in the git repository at:

Re: [U-Boot] [PATCH] ppc4xx: Remove some features from ALPR to fit into 256k again

2008-12-10 Thread Pieter Voorthuijsen
Hi Stefan, This patch looks good to me. In my opinion we don't need PCI either, when we need it for debugging, we can enable it... Best regards, Pieter -Original Message- From: Stefan Roese [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 december 2008 20:09 To: u-boot@lists.denx.de Cc:

Re: [U-Boot] [PATCH] ppc4xx: Remove some features from ALPR to fit into 256k again

2008-12-10 Thread Stefan Roese
Hi Pieter, On Wednesday 10 December 2008, Pieter Voorthuijsen wrote: This patch looks good to me. OK, I'll push it upstream then. In my opinion we don't need PCI either, when we need it for debugging, we can enable it... And then you will find out, that it probably won't fit into the 256k

Re: [U-Boot] HOSTCC version

2008-12-10 Thread Andy Pont
Dear Wolfgang, What version of host gcc is needed for building the tools such as mkimage.exe? My embedded Linux development environment is Cygwin (1.3.22) based and includes gcc 3.4.4 which gives compiler errors for versions of U-Boot 1.3.3 and later. Do you also get these errors for

Re: [U-Boot] show_boot_progess @ ppc not working

2008-12-10 Thread Andre Schwarz
Heiko Schocher schrieb: Hello Andre, Andre Schwarz wrote: All, can someone tell me why the board specific function void show_boot_progress(int arg) is no longer called (at least on MPC5200). Of course this line is present in the board config : #define CONFIG_SHOW_BOOT_PROGRESS 1

Re: [U-Boot] HOSTCC version

2008-12-10 Thread Wolfgang Denk
Dear Andy, In message [EMAIL PROTECTED] you wrote: The errors that I see are now slightly different. It is complaining that endian.h and byteswap.h don't exist - and that appears to be correct for the system that I have. The error regarding 'uintptr_t' has been fixed based on the patch

Re: [U-Boot] show_boot_progess @ ppc not working

2008-12-10 Thread Graeme Russ
Hi All, I had some 'fun' with weak functions a little while ago, and I'm wondering if maybe we should fix up a few inconsistencies... Andre Schwarz wrote: Heiko Schocher schrieb: Hello Andre, Andre Schwarz wrote: All, can someone tell me why the board specific function void

Re: [U-Boot] show_boot_progess @ ppc not working

2008-12-10 Thread Andre Schwarz
Graeme Russ schrieb: Hi All, I had some 'fun' with weak functions a little while ago, and I'm wondering if maybe we should fix up a few inconsistencies... Andre Schwarz wrote: Heiko Schocher schrieb: Hello Andre, Andre Schwarz wrote: All, can someone tell me why

[U-Boot] [PATCH v2] Add support for boards where the NOR FLASH is not memory-mapped

2008-12-10 Thread Stefan Roese
This patch adds the CONFIG_FLASH_NOT_MEM_MAPPED define which can be used on boards where the NOR FLASH is not memory-mapped and special accessor functions are needed to access the NOR FLASH. This affects the memory commands (cmd_mem.c) and the environment (env_flash.c). Boards using

[U-Boot] [PATCH] ppc4xx: Update TEXT_BASE for CPCI405 boards

2008-12-10 Thread Matthias Fuchs
This patch fixes building U-Boot for CPCI405 boards. Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- Makefile|5 + board/esd/cpci405/config.mk |6 +- include/configs/CPCI405.h |4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git

Re: [U-Boot] [PATCH] ppc4xx: Update TEXT_BASE for CPCI405 boards

2008-12-10 Thread Stefan Roese
Hi Matthias, On Wednesday 10 December 2008, Matthias Fuchs wrote: This patch fixes building U-Boot for CPCI405 boards. I have a small improvement suggestion below: Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- Makefile|5 + board/esd/cpci405/config.mk |

[U-Boot] [PATCH v2] UBI: Return -ENOMEM upon failing malloc

2008-12-10 Thread Stefan Roese
Return with correct error code (-ENOMEM) from ubi_attach_mtd_dev() upon failing malloc(). Thanks to Michael Lawnick for pointing this out. Signed-off-by: Stefan Roese [EMAIL PROTECTED] --- v2: - Slightly improved version drivers/mtd/ubi/build.c |5 +++-- 1 files changed, 3 insertions(+), 2

[U-Boot] init FEC @ MPC5200

2008-12-10 Thread Andre Schwarz
Ben, after cloning the latest u-boot git I can see that you've added this inside the mvBC-P board setup : int board_eth_init(bd_t *bis) { cpu_eth_init(bis); /* Built in FEC comes first */ return pci_eth_init(bis); } Are you aware that there's no PHY connected and the ETH-Pins are used

[U-Boot] [PATCH V2] ppc4xx: Update TEXT_BASE for CPCI405 boards

2008-12-10 Thread Matthias Fuchs
This patch fixes building U-Boot for CPCI405 boards. Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- Makefile|5 + board/esd/cpci405/config.mk |6 +- include/configs/CPCI405.h |6 +++--- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git

[U-Boot] Create a Bootable DAS U-Boot pen drive

2008-12-10 Thread muffie
Hello all, I'm wondering if in theory it's possible to create a bootable pen-drive with U-Boot on it to allow the following: 1st) Take a PPC Mac Mini for instance that runs OpenFirmware. 2nd) Boot it from the USB Pen-drive 3rd) U-Boot will be loaded 4th) U-Boot would offer the

[U-Boot] [PATCH 1/2] ppc4xx: Fix Ethernet PHY LED configuration on PMC440 boards

2008-12-10 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- board/esd/pmc440/pmc440.c | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index 8563d7d..4d81c33 100644 --- a/board/esd/pmc440/pmc440.c +++

[U-Boot] [PATCH 2/2] ppc4xx: Disable EEPROM write access on PMC440 boards

2008-12-10 Thread Matthias Fuchs
This patch disables EEPROM wrtie access by default on PMC440 board. Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- board/esd/pmc440/pmc440.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index 4d81c33..3824105

[U-Boot] [PATCH] USB storage cleanup patch

2008-12-10 Thread Michael Trimarchi
Cleanup usb storage Signed-off-by: Michael Trimarchi [EMAIL PROTECTED] --- diff --git a/common/usb_storage.c b/common/usb_storage.c index 94f659f..973d82f 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -63,9 +63,9 @@ #undef BBB_XPORT_TRACE #ifdef USB_STOR_DEBUG -#define

[U-Boot] [GIT PULL] MIPS updates

2008-12-10 Thread Shinya Kuribayashi
Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit 2145188bea2df8f2b47a87ec3071b55027e8d0ae: Ben Warren (1): Fix compile error in building MBX860T. are available in the git repository

[U-Boot] [RFC USB PATCH 1/3 V3] Prepare USB layer for ehci support

2008-12-10 Thread Michael Trimarchi
Prepare USB layer for support ehci Signed-off-by: Michael Trimarchi [EMAIL PROTECTED] --- common/cmd_usb.c |2 +- common/usb.c |2 +- include/usb.h | 19 +++ include/usb_defs.h | 10 ++ 4 files changed, 23 insertions(+), 10 deletions(-) diff

[U-Boot] [RFC USB PATCH 2/3 V3] USB ehci core support

2008-12-10 Thread Michael Trimarchi
USB ehci core support Signed-off-by: Michael Trimarchi [EMAIL PROTECTED] --- drivers/usb/Makefile|1 + drivers/usb/usb_ehci.h | 167 +++ drivers/usb/usb_ehci_core.c | 661 +++ drivers/usb/usb_ehci_core.h | 29 ++ 4 files

[U-Boot] [RFC USB PATCH 3/3 V3] USB ehci freescale support

2008-12-10 Thread Michael Trimarchi
Add USB ehci freescale support Signed-off-by: Michael Trimarchi [EMAIL PROTECTED] --- drivers/usb/Makefile |1 + drivers/usb/usb_ehci_fsl.c | 99 drivers/usb/usb_ehci_fsl.h | 86 ++ 3 files changed,

[U-Boot] [PATCH] common/main: support bootdelay=0 for CONFIG_AUTOBOOT_KEYED

2008-12-10 Thread Peter Korsgaard
Support bootdelay=0 in abortboot for the CONFIG_AUTOBOOT_KEYED case similar to the CONFIG_ZERO_BOOTDELAY_CHECK support for the !CONFIG_AUTOBOOT_KEYED case. Do this by reversing the loop so we do atleast one iteration before checking for timeout. Signed-off-by: Peter Korsgaard [EMAIL PROTECTED]

[U-Boot] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-12-10 Thread Stefan Roese
The following changes since commit 2145188bea2df8f2b47a87ec3071b55027e8d0ae: Ben Warren (1): Fix compile error in building MBX860T. are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Matthias Fuchs (3): ppc4xx: Update TEXT_BASE for CPCI405

Re: [U-Boot] [RFC USB PATCH 1/3 V3] Prepare USB layer for ehci support

2008-12-10 Thread michael
Hi, Remy Bohmer wrote: Hello Michael, I already have those patches (V2) in the u-boot-usb tree, next branch. Can you please rebase these patches on top of that tree, or at least describe what you changed? Kind Regards, Remy I'll prepare another patch with various fixes. I will

[U-Boot] [RFC USB PATCH V2] USB ehci fix (truncate problem)

2008-12-10 Thread Michael Trimarchi
From 1662c619f3b082f60ed8367ec245f36cb33a7ea7 Mon Sep 17 00:00:00 2001 From: michael [EMAIL PROTECTED] Date: Wed, 10 Dec 2008 17:55:19 +0100 Subject: [PATCH] Fix EHCI usb. I start to test on a IXP465 board and I find some errors in the code. This patch fix: - descriptor initizialization

[U-Boot] About assign parameters for bootm command

2008-12-10 Thread mike xu
Hi, I'd like to assign some kernel parameters via bootm cmd, but its failed. For example, I'de like to pass the below parameters for the kernel: root=/dev/mtdblock0 ro rootfstype=jffs2 Could someone show me how I can pass them into kernel? Thanks in advance! The flash on my board couldn't be

[U-Boot] Adding NAND Boot to uboot

2008-12-10 Thread Fahd Abidi
Hello, I am relatively new to uboot development and was wondering if someone can give me some pointers. I am trying to configure uboot to bootup from NAND on CS0 on an MPC8536 platform. I am trying to disable the FLASH CFI driver (No NOR flash on the board ) and add support for the FSM NAND

Re: [U-Boot] [PATCH v2] Add support for boards where the NOR FLASH is not memory-mapped

2008-12-10 Thread Scott Wood
On Wed, Dec 10, 2008 at 11:41:11AM +0100, Stefan Roese wrote: +void *board_flash_read_memcpy(void *__to, __const__ void *__from, int n); + +#if defined(CONFIG_FLASH_NOT_MEM_MAPPED) +static inline int flash_read(void *__to, __const__ void *__from, int n) __const__? The other underscores seem

Re: [U-Boot] Adding NAND Boot to uboot

2008-12-10 Thread Scott Wood
On Wed, Dec 10, 2008 at 11:37:10AM -0500, Fahd Abidi wrote: I am relatively new to uboot development and was wondering if someone can give me some pointers. I am trying to configure uboot to bootup from NAND on CS0 on an MPC8536 platform. This isn't yet supported, at least in mainline (the

Re: [U-Boot] init FEC @ MPC5200

2008-12-10 Thread Ben Warren
Andre Schwarz wrote: Ben, after cloning the latest u-boot git I can see that you've added this inside the mvBC-P board setup : int board_eth_init(bd_t *bis) { cpu_eth_init(bis); /* Built in FEC comes first */ return pci_eth_init(bis); } Are you aware that there's no PHY

Re: [U-Boot] [PATCH] tools/netconsole: new script for working with netconsole over UDP

2008-12-10 Thread Mike Frysinger
On Wednesday 10 December 2008 03:24:08 Wolfgang Denk wrote: In message ... you wrote: While the doc/README.NetConsole does have a snippet for people to create their own netcat script, it's a lot easier to make a simple dedicated script and tell people to use it. Could you please restrict

Re: [U-Boot] HOSTCC version

2008-12-10 Thread Mike Frysinger
On Wednesday 10 December 2008 05:58:08 Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: The errors that I see are now slightly different. It is complaining that endian.h and byteswap.h don't exist - and that appears to be correct for the system that I have. The error regarding

[U-Boot] [PATCH v2] easylogo: add optional gzip support

2008-12-10 Thread Mike Frysinger
Some images can be quite large, so add an option to compress the image data with gzip in the U-Boot image. Then at runtime, the board can decompress it with the normal zlib functions. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- v2: - add error checking tools/easylogo/easylogo.c

Re: [U-Boot] About assign parameters for bootm command

2008-12-10 Thread Wolfgang Denk
Dear mike xu, In message [EMAIL PROTECTED] you wrote: I'd like to assign some kernel parameters via bootm cmd, but its failed. I guess you didn't bother to read the documentation, or did you? For example, I'de like to pass the below parameters for the kernel: root=/dev/mtdblock0 ro

Re: [U-Boot] [PATCH v2] easylogo: add optional gzip support

2008-12-10 Thread Mike Frysinger
On Wednesday 10 December 2008 14:57:27 Wolfgang Denk wrote: In message ... you wrote: diff --git a/tools/easylogo/easylogo.c b/tools/easylogo/easylogo.c index 00a1e4e..c7e146f 100644 --- a/tools/easylogo/easylogo.c +++ b/tools/easylogo/easylogo.c @@ -2,16 +2,20 @@ ** Easylogo

[U-Boot] [PATCH v3] easylogo: add optional gzip support

2008-12-10 Thread Mike Frysinger
Some images can be quite large, so add an option to compress the image data with gzip in the U-Boot image. Then at runtime, the board can decompress it with the normal zlib functions. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- v3 - fix copyright - free buffers on error

[U-Boot] Commit at91: Choose environment variables location within make config target

2008-12-10 Thread Remy Bohmer
Hello Nicholas, The commit mentioned in the subject cause these error messages here during make at91sam9261ek_config: These are my steps: $ export BUILD_DIR=/tmp/build $ rm -rf /tmp/build $ make at91sam9261ek_config /bin/bash: line 7: /tmp/build/include/config.h: No such file or directory ...

Re: [U-Boot] [RFC USB PATCH V2] USB ehci fix (truncate problem)

2008-12-10 Thread Remy Bohmer
Hello Michael, 2008/12/10 Michael Trimarchi [EMAIL PROTECTED]: From 1662c619f3b082f60ed8367ec245f36cb33a7ea7 Mon Sep 17 00:00:00 2001 From: michael [EMAIL PROTECTED] Date: Wed, 10 Dec 2008 17:55:19 +0100 Subject: [PATCH] Fix EHCI usb. I start to test on a IXP465 board and I find some errors

[U-Boot] [PATCH] at91: Fix Choose environment variables location out of tree build

2008-12-10 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] diff --git a/Makefile b/Makefile index 2ac8141..0e31697 100644 --- a/Makefile +++ b/Makefile @@ -2586,6 +2586,7 @@ at91sam9260ek_nandflash_config \ at91sam9260ek_dataflash_cs0_config \ at91sam9260ek_dataflash_cs1_config \

[U-Boot] bootm command: is there any load address limitation for fdt?

2008-12-10 Thread Richard Retanubun
Hi, I am using u-boot version 2008.10 + git commit 13d36ec849785453953d00220b2c7dc66644a3c2 The board is a custom MPC8360E, similar to MPC8360EMDS from freescale. My DDR-SDRAM is at address 0x0 - 0x1FFF I am trying to limit the amount of memory needed to load and boot a linux kernel

Re: [U-Boot] init FEC @ MPC5200

2008-12-10 Thread André Schwarz
Ben Warren wrote: Andre Schwarz wrote: Ben, after cloning the latest u-boot git I can see that you've added this inside the mvBC-P board setup : int board_eth_init(bd_t *bis) { cpu_eth_init(bis); /* Built in FEC comes first */ return pci_eth_init(bis); } Are you aware that

Re: [U-Boot] bootm command: is there any load address limitation for fdt?

2008-12-10 Thread Wolfgang Denk
Dear Richard Retanubun, In message [EMAIL PROTECTED] you wrote: I am trying to limit the amount of memory needed to load and boot a linux kernel (2.6.26) to do this I loaded my fdt at address 0x20_ and uImage at 0x_30_ When I run bootm, I both the kernel and fdt passed their

Re: [U-Boot] [PATCH 3/6] jffs2: rewrite jffs2 scanning code based on Linux one

2008-12-10 Thread Ilya Yanok
Hi Stefan, Stefan Roese wrote: After this patch is now applied to the main u-boot repo, I get the following warning when compiling my new board with OneNAND JFFS2 support: [EMAIL PROTECTED] u-boot (vcth-onenand-ubi-ver3)]$ make -s -j5 jffs2_1pass.c:1411:1: warning: min_t redefined In file

[U-Boot] [PATCH] jffs2: include linux/mtd/compat.h instead of defining own min_t

2008-12-10 Thread Ilya Yanok
Include linux/mtd/compat.h header for min_t definition instead of providing our own one. Removes warnings in case of OneNAND support enabled. Although I thinks it's a bit silly to include linux/mtd/compat.h just for min_t... Signed-off-by: Ilya Yanok [EMAIL PROTECTED] --- fs/jffs2/jffs2_1pass.c

Re: [U-Boot] [PATCH] jffs2: include linux/mtd/compat.h instead of defining own min_t

2008-12-10 Thread Stefan Roese
On Thursday 11 December 2008, Ilya Yanok wrote: Include linux/mtd/compat.h header for min_t definition instead of providing our own one. Removes warnings in case of OneNAND support enabled. Although I thinks it's a bit silly to include linux/mtd/compat.h just for min_t... Signed-off-by: