[U-Boot] [PATCH v2] add ability to handle compressed images to imxtract

2009-12-10 Thread Wolfgang Wegner
imxtract currently can not handle compressed images. This patch adds handling for bzip2 and zip compression. In both cases, a destination address has to be specified for extraction. Signed-off-by: Wolfgang Wegner w.weg...@astro-kom.de --- This new version needs gunzip() prototype in common.h as

[U-Boot] [PATCH] Makefile: fix parallel build

2009-12-10 Thread Daniel Hobi
During parallel build, the top Makefile spawns multiple sub-makes for targets in cpu/$(CPU). If cpu/$(CPU)/.depend is not present, the sub-makes may end up generating this file simultaneously which leads to corrupted content. A typical error message is: .depend:39: *** multiple target patterns.

Re: [U-Boot] [PATCH 1/5] fdt: add fdt_del_node_by_path() API

2009-12-10 Thread Kumar Gala
On Dec 10, 2009, at 1:41 AM, Li Yang wrote: For removing node easily by path or alias. Signed-off-by: Li Yang le...@freescale.com --- common/fdt_support.c | 10 ++ include/fdt_support.h |1 + 2 files changed, 11 insertions(+), 0 deletions(-) Jerry, If you can ack this I'll

[U-Boot] [PATCH] ppc/p4080: Fix reporting of PME FM clock frequencies

2009-12-10 Thread Kumar Gala
We incorrectly had the sense of PME_CLK_SEL, FM1_CLK_SEL, FM2_CLK_SEL backwards so we report the wrong frequency. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/speed.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpu/mpc85xx/speed.c

[U-Boot] [PATCH] da830evm: Use table driven pin mux configuration

2009-12-10 Thread Nick Thompson
da830evm: Use table driven pin mux configuration Tidyup the pin muxer configuration using the Davinci table driven pinmux configuration function and data tables. Signed-off-by: Nick Thompson nick.thomp...@ge.com --- Applies to: u-boot-ti This patch depends on Davinci: Table driven pinmux

Re: [U-Boot] [PATCH 2/5] fsl_law: add SRIO2 target id and law_size_bits() macro

2009-12-10 Thread Kumar Gala
On Dec 10, 2009, at 1:41 AM, Li Yang wrote: Signed-off-by: Li Yang le...@freescale.com --- include/asm-ppc/fsl_law.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) applied to 85xx next - k ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] ppc/p4080: Fix reporting of PME FM clock frequencies

2009-12-10 Thread Kumar Gala
On Dec 10, 2009, at 9:06 AM, Kumar Gala wrote: We incorrectly had the sense of PME_CLK_SEL, FM1_CLK_SEL, FM2_CLK_SEL backwards so we report the wrong frequency. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- cpu/mpc85xx/speed.c | 12 ++-- 1 files changed, 6

[U-Boot] [PATCH v3] TWL4030: make LEDs selectable for twl4030_led_init()

2009-12-10 Thread Grazvydas Ignotas
Not all boards have both LEDs hooked, so enabling both on boards with single LED will just waste power. Make it possible to choose LEDs by adding argument to twl4030_led_init(). Using this turn on only LEDB for pandora, leave both LEDs on for all other boards, as it was before this patch.

[U-Boot] [PATCH] Davinci: NAND enable ECC even when not in NAND boot mode

2009-12-10 Thread Nick Thompson
Davinci: NAND enable ECC even when not in NAND boot mode On Davinci platforms, the default NAND device is enabled (for ECC) in low level boot code when NAND boot mode is used. If booting in another mode, NAND ECC is not enabled. The driver should make sure ECC is enabled regardless of boot mode

[U-Boot] Uboot hangs on starting kernel...

2009-12-10 Thread Wierd O
Hi all, I was working on freescale imx27ads board. Uboot hangs on ' starting kernel...' I would be grateful if you can shed a light on the problem. I used gcc-3.4.3 for cross compiling the image. Here is the log: U-Boot 2.0.0-rc3 (Mar 23 2009 - 13:30:42) Board: Freescale i.MX27 phy0:

Re: [U-Boot] [PATCH v3] TWL4030: make LEDs selectable for twl4030_led_init()

2009-12-10 Thread Tom
Grazvydas Ignotas wrote: Not all boards have both LEDs hooked, so enabling both on boards with single LED will just waste power. Make it possible to choose LEDs by adding argument to twl4030_led_init(). Using this turn on only LEDB for pandora, leave both LEDs on for all other boards, as

Re: [U-Boot] [PATCH 1/5] fdt: add fdt_del_node_by_path() API

2009-12-10 Thread Jerry Van Baren
Kumar Gala wrote: On Dec 10, 2009, at 1:41 AM, Li Yang wrote: For removing node easily by path or alias. Signed-off-by: Li Yang le...@freescale.com --- common/fdt_support.c | 10 ++ include/fdt_support.h |1 + 2 files changed, 11 insertions(+), 0 deletions(-) Jerry, If

Re: [U-Boot] [PATCH]Fix checksum to handle odd-length packet

2009-12-10 Thread Greg Ren
Jerry Van Baren wrote: When you respin your patch, please put the ping with an odd length causes an incorrect checksum bug in the commit message for future reference. Thanks, gvb The change was to the general checksum calculation. So there is enough reason to believe that any odd-length

[U-Boot] Is it a bug in super.c in ubifs

2009-12-10 Thread Lv Terry-R65388
Hi, I found that in super.c, ubifs_fs_type is defined, static struct file_system_type ubifs_fs_type = { .name= ubifs, .owner = THIS_MODULE, .get_sb = ubifs_get_sb, }; but the struct fs_supers which is list_head type is not initialized.

Re: [U-Boot] Breakage on arm/next

2009-12-10 Thread Scott Wood
apgmoorthy wrote: Hi Scott, Hunk 1: env_addr = CONFIG_ENV_ADDR; + if (FLEXONENAND(this)) + env_addr = 1; Hunk 2: + if (FLEXONENAND(this)) { + env_addr = 1; + instr.len = onenand_mtd.eraseregions[0].numblocks == 1

Re: [U-Boot] [PATCH]Fix checksum to handle odd-length packet

2009-12-10 Thread Jerry Van Baren
Greg Ren wrote: Jerry Van Baren wrote: When you respin your patch, please put the ping with an odd length causes an incorrect checksum bug in the commit message for future reference. Thanks, gvb The change was to the general checksum calculation. So there is enough reason to

[U-Boot] problem building next on P2020DS_36BIT

2009-12-10 Thread Kumar Gala
I'm seeing the following build compile error related to building the next tree on P2020DS_36BIT. What's odd is that git bisect says its related to: commit 4b142febff71eabdb7ddbb125c7b583b24ddc434 Author: Heiko Schocher h...@denx.de Date: Thu Dec 3 11:21:21 2009 +0100 common: delete

Re: [U-Boot] problem building next on P2020DS_36BIT

2009-12-10 Thread Kumar Gala
Scott, This appears to be related to .depend generation and the patch that seems to cause the issue is: Author: Scott Wood scottw...@freescale.com Date: Wed Nov 4 18:41:41 2009 -0600 makefiles: fixes for building build tools Currently, some of the tools instead set CC to be

Re: [U-Boot] [PATCH 3/3] fsl_law: add SRIO2 target id and law_size_bits() macro

2009-12-10 Thread Kumar Gala
On Dec 9, 2009, at 12:26 AM, Li Yang wrote: Signed-off-by: Li Yang le...@freescale.com --- include/asm-ppc/fsl_law.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) applied to 85xx-next - k ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Uboot hangs on starting kernel...

2009-12-10 Thread Ben Warren
Wierd O wrote: Hi all, I was working on freescale imx27ads board. Uboot hangs on ' starting kernel...' I would be grateful if you can shed a light on the problem. I used gcc-3.4.3 for cross compiling the image. Here is the log: U-Boot 2.0.0-rc3 (Mar 23 2009 - 13:30:42) Board:

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread twebb
I'm having problems building fw_printenv.  I'm sure it's simple but I'm just not getting it. I'm working with u-boot 2009.01-rc1.  I have the environment variable CROSS_COMPILE set, and then execute make env from the top of the u-boot source tree.  Capture is below.  I don't had stdint.h

Re: [U-Boot] Uboot hangs on starting kernel...

2009-12-10 Thread Wierd O
Date: Thu, 10 Dec 2009 11:54:53 -0800 From: biggerbadder...@gmail.com To: wierd...@hotmail.com CC: u-boot@lists.denx.de Subject: Re: [U-Boot] Uboot hangs on starting kernel... Wierd O wrote: Hi all, I was working on freescale imx27ads board. Uboot hangs on ' starting

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread Jerry Van Baren
twebb wrote: I'm having problems building fw_printenv. I'm sure it's simple but I'm just not getting it. I'm working with u-boot 2009.01-rc1. I have the environment variable CROSS_COMPILE set, and then execute make env from the top of the u-boot source tree. Capture is below. I don't had

Re: [U-Boot] problem building next on P2020DS_36BIT

2009-12-10 Thread Scott Wood
Kumar Gala wrote: Scott, This appears to be related to .depend generation and the patch that seems to cause the issue is: Author: Scott Wood scottw...@freescale.com Date: Wed Nov 4 18:41:41 2009 -0600 makefiles: fixes for building build tools Currently, some of the

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread Scott Wood
Jerry Van Baren wrote: Download a stdint.h and put it somewhere in your include path? http://en.wikipedia.org/wiki/Stdint.h#Downloads I'm not sure why you don't have stdint.h, I would expect it to be supplied by your host gcc installation. I think it comes from the libc, so it wouldn't

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread twebb
I think it comes from the libc, so it wouldn't be present if someone just installed binutils+gcc for standalone development. Great, that was the clue. I was compiling using cross-compile tools from android that don't use a standard libc. When I changed to using Codesourcery tools, I got

Re: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands

2009-12-10 Thread Felix Radensky
Hi, Feng Kan wrote: Can you turn on the additional debug information. That will give a better Clue as to what part is hanging. I've enabled debugging in drivers/pci/pci.c. I'm seeing an infinite flow of messages PCI: Bus Dev VenId DevId Class Int PCI Scan: Found Bus 0, Device 6,

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread Wolfgang Denk
Dear twebb, In message dbdb2ea60912101320u5ce0d93asf8f748a05c29c...@mail.gmail.com you wrote: I think it comes from the libc, so it wouldn't be present if someone just installed binutils+gcc for standalone development. Great, that was the clue. I was compiling using cross-compile tools

[U-Boot] GPIO - MPC8315

2009-12-10 Thread Marcos Cunha
I want to configure GPIOs on MPC8315, but I can't set the gpio. Below the configuration code and the output. What is wrong? #define SPI_CS_IO0x2000 int board_mmc_init(bd_t *bd) { volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; volatile gpio83xx_t *gpio

Re: [U-Boot] problem building fw_printenv

2009-12-10 Thread Scott Wood
Wolfgang Denk wrote: fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory So then, I have this problem with mtd-user.h not being found. If I define MTD_VERSION=old, it then uses mtd.h and gets further but encounters another error within mtd.h. There will probably more problems

[U-Boot] [PATCH] Fix compile error in .depend not being generated correctly

2009-12-10 Thread Kumar Gala
make -C drivers/bios_emulator/ make[2]: Entering directory `drivers/bios_emulator' In file included from atibios.c:49: biosemui.h:47:21: error: biosemu.h: No such file or directory In file included from biosemu.c:50: biosemui.h:47:21: error: biosemu.h: No such file or directory In file included

[U-Boot] Problem with disable the datacache

2009-12-10 Thread Lasse Skov
Hi I have a problem with disabling the data cache on my PPC. The target family is mpc83xx and i had tried to chance something in the start.S file for the ppc. But if i instead of the asm function dcache_enable use dcache_disable my target newer get running. So if anyone can help with

Re: [U-Boot] Uboot hangs on starting kernel...

2009-12-10 Thread Robin Randhawa
Greetings. On Thu10 Dec 2009, at 20:29, Wierd O wrote: I am not sure why the kernel stops short of loading. The other thing that confuses me is that i couldnt know whther the proble is from the image or uboot. You are assuming that the kernel 'stops short of loading'. It is quite likely