Re: [U-Boot] Flatten device tree PPC linu

2008-08-15 Thread Fundu
Thanks for clearing that up. One other question, if i update to u-boot 1.3.4 or whatever is the latest, can i configure so that i doesn't use FDT to boot kernel ? TIA --- On Thu, 8/14/08, Paul Gortmaker [EMAIL PROTECTED] wrote: From: Paul Gortmaker [EMAIL PROTECTED] Subject: Re:

[U-Boot] Enquiry for code supporting for MPC8572pc.Thanks!

2008-08-15 Thread lifengkai
Hello, I downloaded the U-boot code yesterday, I can see that there is support for Freescale MPC85XX, but no specifically code supporting for MPC8572pc. So I am wondering when the code for MPC8572 will be relased? Will it be soon? Thanks attachment: Blank

Re: [U-Boot] Flatten device tree PPC linu

2008-08-15 Thread Wolfgang Denk
Dear Fundu, In message [EMAIL PROTECTED] you wrote: Thanks for clearing that up. One other question, if i update to u-boot 1.3.4 or whatever is the latest, can i configure so that i doesn't use FDT to boot kernel ? You don't have to configure that - it just depoends on how you boot the

Re: [U-Boot] Resubmit : [PATCH] Correct ARM Versatile TimerInitialization

2008-08-15 Thread Gururaja Hebbar K R
Hi Hi, according to datasheet for the register TimerXControl we are supposed to not modify the bits [31:8] and [4] so we are suppose to read the register and modify only the others registers/register/bits/ Does this mean i need to resend the earlier patch. Writing 00

[U-Boot] [PATCH] - Correct Invalid Timer Register Field Declaration

2008-08-15 Thread Gururaja Hebbar K R
Hi, I searched the Entire u-boot-1.3.4\ directory for PTV_BIT declaration couldn't find any. Rather MPUTIM_PTV_BIT is defined which is the correct declaration. Below Patch Corrects the declaration of MPUTIM_PTV_MASK bit in both omap1510.h omap730.h. Kindly update me if i am wrong. TIA

[U-Boot] U-Boot configuration

2008-08-15 Thread Axel Beierlein
Hello, we use an TQM5200 Board on an own designed Baseboard than the TB5200 or STK52xx. Do we have to reconfigure the U-boot Source for this new baseboard? And specially, is it necessary to disable the PCI Bus in the U-Boot Sources when we donĀ“t use this Bus? Axel Beierlein

Re: [U-Boot] Enquiry for code supporting for MPC8572pc.Thanks!

2008-08-15 Thread Rafal Jaworowski
lifengkai wrote: I downloaded the U-boot code yesterday, I can see that there is support for Freescale MPC85XX, but no specifically code supporting for MPC8572pc. So I am wondering when the code for MPC8572 will be relased? Will it be soon? Support for the MPC8572 has been posted only

Re: [U-Boot] Enquiry for code supporting for MPC8572pc.Thanks!

2008-08-15 Thread Kumar Gala
On Aug 15, 2008, at 4:05 AM, Rafal Jaworowski wrote: lifengkai wrote: I downloaded the U-boot code yesterday, I can see that there is support for Freescale MPC85XX, but no specifically code supporting for MPC8572pc. So I am wondering when the code for MPC8572 will be relased? Will it

[U-Boot] [PATCH 01/15] Update linux bootm to support ePAPR client interface

2008-08-15 Thread Kumar Gala
the ePAPR spec has some subtle differences from the current device tree based boot interface to the powerpc linux kernel. The powerpc linux kernel currently ignores the differences that ePAPR specifies. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/bootm.c | 33

[U-Boot] [PATCH 02/15] Clean up usage of icache_disable/dcache_disable

2008-08-15 Thread Kumar Gala
There is no point in disabling the icache on 7xx/74xx/86xx parts and not also flushing the icache. All callers of invalidate_l1_instruction_cache() call icache_disable() right after. Make it so icache_disable() calls invalidate_l1_instruction_cache() for us. Also, dcache_disable() already calls

[U-Boot] [PATCH 04/15] fdt: added the ability to set initrd start/end via chosen command

2008-08-15 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_fdt.c | 21 + 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index d3b19dd..436fec9 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -417,9 +417,21 @@ int

[U-Boot] [PATCH 05/15] fdt: fdt addr w/o any args reports back the current working address

2008-08-15 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_fdt.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 436fec9..c129993 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -67,6 +67,14 @@ int do_fdt (cmd_tbl_t

[U-Boot] [PATCH 03/15] Add command to enable/disable interrupts

2008-08-15 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/Makefile |1 + common/cmd_irq.c | 50 ++ 2 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 common/cmd_irq.c diff --git a/common/Makefile b/common/Makefile index

[U-Boot] [PATCH 07/15] bootm: refactor ramdisk locating code

2008-08-15 Thread Kumar Gala
Move determing if we have a ramdisk and where its located into the common code. Keep track of the ramdisk start and end in the bootm_headers_t image struct. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 38 ++ include/image.h|

[U-Boot] [PATCH 06/15] bootm: refactor entry point code

2008-08-15 Thread Kumar Gala
Move entry point code out of each arch and into common code. Keep the entry point in the bootm_headers_t images struct. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 31 ++- include/image.h|2 ++ lib_arm/bootm.c| 19

[U-Boot] [PATCH 08/15] bootm: refactor fdt locating and relocation code

2008-08-15 Thread Kumar Gala
Move the code that handles finding a device tree blob and relocating it (if needed) into common code so all arch's have access to it. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 10 + common/image.c | 502

[U-Boot] [PATCH 10/15] bootm: move lmb into the bootm_headers_t structure

2008-08-15 Thread Kumar Gala
To allow for persistent state between future bootm subcommands we need the lmb to exist in a global state. Moving it into the bootm_headers_t allows us to do that. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_bootm.c | 11 --- include/image.h|4 +++-

[U-Boot] [PATCH 11/15] bootm: refactor image detection and os load steps

2008-08-15 Thread Kumar Gala
Created a bootm_start() that handles the parsing and detection of all the images that will be used by the bootm command (OS, ramdisk, fdt). As part of this we now tract all the relevant image offsets in the bootm_headers_t struct. This will allow us to have all the needed state for future

[U-Boot] [PATCH 12/15] fdt: refactor fdt resize code

2008-08-15 Thread Kumar Gala
Move the fdt resizing code out of ppc specific boot code and into common fdt support code. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/fdt_support.c | 39 +++ include/fdt_support.h |1 + lib_ppc/bootm.c | 32

[U-Boot] [PATCH 13/15] fdt: refactor initrd related code

2008-08-15 Thread Kumar Gala
Created a new fdt_initrd() to deal with setting the initrd properties in the device tree and fixing up the mem reserve. We can use this both in the choosen node handling and lets us remove some duplicated code when we fixup the initrd info in bootm on PPC. Signed-off-by: Kumar Gala [EMAIL

[U-Boot] [PATCH 14/15] fdt: Added resize command

2008-08-15 Thread Kumar Gala
Resize the fdt to size + padding to 4k boundary Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- common/cmd_fdt.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 89bffa9..15ae6f9 100644 --- a/common/cmd_fdt.c +++

[U-Boot] [PATCH 15/15] bootm: refactor do_reset and os boot function args

2008-08-15 Thread Kumar Gala
There is no need for each OS specific function to call do_reset() we can just do it once in bootm. This means its feasible on an error for the os boot function to return. Also, remove passing in cmd_tbl_t as its not needed by the OS boot functions. flag isn't currently used but might be in the

[U-Boot] unassigned-patches/24: [PATCH] PHY: Add support for the M88E1121R Marvell chip.

2008-08-15 Thread u-boot
Signed-off-by: Yuri Tikhonov [EMAIL PROTECTED] Signed-off-by: Sergei Poselenov [EMAIL PROTECTED] --- Added to GNATS database as unassigned-patches/24 Responsible:patch-coord Message-Id: [EMAIL PROTECTED] In-Reply-To: References: Patch-Date: Fri Aug 15 15:42:08 +0200 2008 ---

[U-Boot] unassigned-patches/23: [PATCH] RX 8025 RTC: analyze 12/24-hour mode flag in rtc_get().

2008-08-15 Thread u-boot
Signed-off-by: Yuri Tikhonov [EMAIL PROTECTED] --- Added to GNATS database as unassigned-patches/23 Responsible:patch-coord Message-Id: [EMAIL PROTECTED] In-Reply-To:[EMAIL PROTECTED] References: [EMAIL PROTECTED] Patch-Date: Fri Aug 15 15:42:09 +0200 2008 ---

[U-Boot] unassigned-patches/25: [PATCH] USB EHCI: reset root hub

2008-08-15 Thread u-boot
Some of multi-function USB controllers (e.g. ISP1562) allow root hub resetting only via EHCI registers. So, this patch adds the corresponding kind of reset to OHCI's hc_reset() if the newly introduced CONFIG_PCI_EHCI_DEVNO option is set (e.g. for Socrates board). Signed-off-by: Yuri Tikhonov

[U-Boot] unassigned-patches/26: [PATCH] 85xx: socrates: Enable Lime support.

2008-08-15 Thread u-boot
This patch adds Lime GDC support together with support for the PWM backlight control through the w83782d chip. The reset pin of the latter is attached to GPIO, so we need to reset it in early_board_init_r. Signed-off-by: Anatolij Gustschin [EMAIL PROTECTED] --- Added to GNATS database as

[U-Boot] unassigned-patches/22: [PATCH] Removed hardcoded MxMR loop value from upmconfig() for MPC85xx.

2008-08-15 Thread u-boot
Signed-off-by: Sergei Poselenov [EMAIL PROTECTED] --- Added to GNATS database as unassigned-patches/22 Responsible:patch-coord Message-Id: [EMAIL PROTECTED] In-Reply-To:[EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Patch-Date: Fri Aug 15

[U-Boot] unassigned-patches/27: [PATCH] 85xx: Socrates: Major code update.

2008-08-15 Thread u-boot
- Update the local bus ranges in the FDT for Linux for the various devices connected to the local bus via chip-select. - Set the LCRR_DBYP bit in the LCRR for local bus frequencies lower than 66 MHz and uses I/O accessor functions consequently. - UPM data update. - Update of default

[U-Boot] onenand compile failures w/top of tree on ARM

2008-08-15 Thread Kumar Gala
When trying to build the apollon_config w/top of tree I get: arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 - msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e8 -I/tmp/u-boot-85xx/ include -fno-builtin -ffreestanding -nostdinc -isystem /local/opt/eldk/

Re: [U-Boot] mpc85xx/22

2008-08-15 Thread u-boot
Synopsis: [PATCH] Removed hardcoded MxMR loop value from upmconfig() for MPC85xx. Responsible-Changed-From-To: patch-coord-gu-mpc85xx Responsible-Changed-By: dzu Responsible-Changed-When: Fri, 15 Aug 2008 15:53:11 +0200 Responsible-Changed-Why: Assign to custodian

Re: [U-Boot] net/24

2008-08-15 Thread u-boot
Synopsis: [PATCH] PHY: Add support for the M88E1121R Marvell chip. Responsible-Changed-From-To: patch-coord-gu-net Responsible-Changed-By: dzu Responsible-Changed-When: Fri, 15 Aug 2008 15:53:42 +0200 Responsible-Changed-Why: Assign to custodian ___

Re: [U-Boot] common/23

2008-08-15 Thread u-boot
Synopsis: [PATCH] RX 8025 RTC: analyze 12/24-hour mode flag in rtc_get(). Responsible-Changed-From-To: patch-coord-wd Responsible-Changed-By: dzu Responsible-Changed-When: Fri, 15 Aug 2008 16:23:20 +0200 Responsible-Changed-Why: Assign to prokect lead

Re: [U-Boot] onenand compile failures w/top of tree on ARM

2008-08-15 Thread Scott Wood
On Fri, Aug 15, 2008 at 08:51:45AM -0500, Kumar Gala wrote: When trying to build the apollon_config w/top of tree I get: What SHA-1? arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 - msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e8 -I/tmp/u-boot-85xx/ include

[U-Boot] [PATCH] coldfire: fix CFI drivers activation with new macro

2008-08-15 Thread Jean-Christophe PLAGNIOL-VILLARD
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index b91d7d6..f2c2317 100644 --- a/include/configs/M5253DEMO.h +++ b/include/configs/M5253DEMO.h @@

Re: [U-Boot] [U-boot-Users][GIT PULL] Please pull coldfire tree

2008-08-15 Thread Liew Tsi Chung
Jean, I'll send patch for your new boards Thank you. I totally forgot about this one. Regards, TsiChung ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 0/7 v7] SMDK6400 support

2008-08-15 Thread Harald Welte
Hi On Thu, Aug 14, 2008 at 10:08:00PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: Hi Harald, Could you take a look on this patchset? I will do some review over the weekend. Please note that there is almost no technical relationship of the s3c64xx with s3c24xx (at least anything

Re: [U-Boot] [RFC] setting pio modes for IDE devices

2008-08-15 Thread Wolfgang Denk
Dear Steven A. Falco, In message [EMAIL PROTECTED] you wrote: I realized that I should be checking to see if word 163 is applicable to the ATA device in question. To do that, I need to call ata_id_is_cfa() from libata.h. However, libata.h conflicts with ata.h because of duplicate enum

Re: [U-Boot] [PATCH 2/3] setting pio modes for IDE devices

2008-08-15 Thread Steven A. Falco
Wolfgang Denk wrote: Dear Steven A. Falco, In message [EMAIL PROTECTED] you wrote: I realized that I should be checking to see if word 163 is applicable to the ATA device in question. To do that, I need to call ata_id_is_cfa() from libata.h. However, libata.h conflicts with ata.h because

[U-Boot] [PATCH] mod_i2c_mem() bugfix

2008-08-15 Thread Peter Tyser
The last used chip, address, and address length were not being stored for the imm and imn commands. Signed-off-by: Peter Tyser [EMAIL PROTECTED] --- common/cmd_i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index

Re: [U-Boot] [PATCH] Replace references to extern console_buffer with a function call

2008-08-15 Thread Wolfgang Denk
Dear Peter Tyser, what is the purpose of this patch? As far as I can see we gain nothing, but we lose on memory footpint. I guess there is some problem you're trying to fix, but you did not mention it? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH] Replace references to extern console_buffer with a function call

2008-08-15 Thread Peter Tyser
what is the purpose of this patch? As far as I can see we gain nothing, but we lose on memory footpint. I guess there is some problem you're trying to fix, but you did not mention it? I've added a basic debug serial console which relies on this patch. The debug console is a simple command

[U-Boot] [PATCH] [RFC] Early serial debug console

2008-08-15 Thread Peter Tyser
The following 3 patches enable a basic serial console while U-Boot is still executing out of flash. When enabled, the user is dropped to the debug console when an error occurs in a function in the init_sequence[]. The user can also drop to a debug console by pressing ctrl-c during bootup. Many

Re: [U-Boot] [PATCH] [RFC] Early serial debug console

2008-08-15 Thread Dan Malek
On Aug 15, 2008, at 2:16 PM, Peter Tyser wrote: Does anyone have suggestions/comments? Any chance this feature could make it into mainline U-Boot? Are going to take on the challenge of making this work with processors that use CPM/QE devices for serial ports? :-) Thanks. -- Dan

Re: [U-Boot] [PATCH 1/3] [RFC] Add support for early serial debug console

2008-08-15 Thread Peter Tyser
I understand what you are trying todo, but I think it doesn't work. You are invoking a numer of pretty complex functions (like readline() and run_command() and ...) which in turn ionvoke other functions etc. - all of them written in C with theassumption that they have a valid C runtime

Re: [U-Boot] [PATCH] Replace references to extern console_buffer with a function call

2008-08-15 Thread Peter Tyser
I'm not sure if the debug console will be accepted to mainline, but I think this patch alone is an improvement over the current implementation Frankly, I don't think so - it just makes the code bigger for no good use to 99.9% of the users. of using a global string and multiple

[U-Boot] [PATCH 1/1] Adding bootlimit/bootcount feature for MPC5XXX on TQM5200 Boards

2008-08-15 Thread Axel Beierlein
Tested with TQM5200S on STK52XX.200 Board Signed-off-by: Axel Beierlein [EMAIL PROTECTED] --- cpu/mpc5xxx/cpu.c | 20 include/configs/TQM5200.h |1 + include/mpc5xxx.h |1 + 3 files changed, 22 insertions(+), 0 deletions(-) diff --git