[U-Boot] Unable to debug UBOOT

2009-05-08 Thread Vivek DALAL
Hello guys I am newbie in bootloader. I am trying to port latest uboot on omap2430(poseidon board). Currently support for omap2430 is not present in uboot; so I made changes accordingly. I am putting it in RAM using Trace 32 debugger. But unable to get prompt. Code hangs but giving message

Re: [U-Boot] Unable to debug UBOOT

2009-05-08 Thread Aggrwal Poonam-B10812
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Vivek DALAL Sent: Friday, May 08, 2009 11:43 AM To: U-Boot@lists.denx.de Subject: [U-Boot] Unable to debug UBOOT Hello guys I am newbie in bootloader. I am trying to

Re: [U-Boot] [PATCH 1/1] at91: Add command to control up to 3 GPIO LEDs from the console

2009-05-08 Thread Stefan Roese
Hi Daniel, On Friday 08 May 2009, Daniel Gorsulowski wrote: I suggest to use something like this here: led_nr = simple_strtoul(argv[1], NULL, 10); if (led_nr CONFIG_LED_MAX) { printf (Usage:\n%s\n, cmdtp-usage); return 1; } if

Re: [U-Boot] Unable to debug UBOOT

2009-05-08 Thread Nishanth Menon
Vivek DALAL said the following on 05/08/2009 01:12 AM: I am newbie in bootloader. I am trying to port latest uboot on omap2430(poseidon board). Currently support for omap2430 is not present in uboot; so I made changes accordingly. would be nice to see your patches when you are ready :)..

Re: [U-Boot] How to change the entry point for standalone Applications same as the text section base address

2009-05-08 Thread ffmm rrcc
Dear Wolfgang: 2009/5/7 Wolfgang Denk w...@denx.de: Dear ffmm rrcc, In message dbab92f10905062254s3bea0882y7d4ec546c4ddb...@mail.gmail.com you wrote: Hi all: I have write a standalone application on U-Boot,it works well.but i have to get the entry point address follow this article:

Re: [U-Boot] [PATCH 04/10] mxc_nand: add nand driver for MX2/MX3

2009-05-08 Thread Ivo Clarysse
Ilya, On Wed, May 6, 2009 at 8:30 PM, Ilya Yanok ya...@emcraft.com wrote: Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3 processors too. [..] --- /dev/null +++

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Matthias Ludwig
Wolfgang, Dirk, cause for this patch was originally the plan to bring my company's new omap3-based platform into U-Boot. As we do use other CS for a network chip this patch was intended to be the starting point (otherwise our patchset will not apply). I can prepare a big #define - c_struct patch

Re: [U-Boot] Unable to debug UBOOT

2009-05-08 Thread Wolfgang Denk
Dear Vivek DALAL, In message 7c7ce0c60905072312i74ad8bb8vbc8693e829fc4...@mail.gmail.com you wrote: I am putting it in RAM using Trace 32 debugger. But unable to get prompt. Code hangs but giving message *DRAM: 64MB ...* You are running into exactly the type of problems tha cause us to add

Re: [U-Boot] [PATCH 04/10] mxc_nand: add nand driver for MX2/MX3

2009-05-08 Thread Magnus Lilja
Hi 2009/5/8 Ivo Clarysse ivo.clary...@gmail.com: Ilya, On Wed, May 6, 2009 at 8:30 PM, Ilya Yanok ya...@emcraft.com wrote: Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3

Re: [U-Boot] Auto Boot ELF image using NFS

2009-05-08 Thread Wolfgang Denk
Dear Zvi Vered, In message 6a95bae688c1447da98e48fbb2e43...@userd662364e58 you wrote: How can I do it upon completion of countdown after running uboot like with tftpboot. I tried the following: #define CONFIG_BOOTDELAY 3 #define CONFIG_BOOTCOMMAND nfs But this is not enough. I

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Wolfgang Denk
Dear Matthias, In message 20090508084234.ga6...@ultratronik.de you wrote: cause for this patch was originally the plan to bring my company's new omap3-based platform into U-Boot. As we do use other CS for a network chip this patch was intended to be the starting point (otherwise our

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Detlev Zundel
Hi, Wolfgang Denk wrote: Dear Scott Wood, In message 4a034b09.7030...@freescale.com you wrote: Or what replaced the immr structs? The device tree, mainly... Right, of course. ... But #defines can work for u-boot. Of course they _can_ work. But they can easily

Re: [U-Boot] [PATCH] ppc4xx: Add Sequoia RAM-booting target

2009-05-08 Thread Detlev Zundel
Hi Stefan, So what should I do now? Should I revert to another #ifdef in the variable declaration? Or is the current version ok? I'm not too sure myself. What really tickles me, and what speaks against using this attribute, is the fact that the unused attribute is itself not part of an

[U-Boot] coldFire: net: Question about the use of MCFFEC_TOUT_LOOP

2009-05-08 Thread Richard Retanubun
Hi TC, I am trying to understand the use of MCFFEC_TOUT_LOOP, when I grep for it is used in mcffec, counting udelay(1) and in mcfmii counting udelay(500). I think the udelay(500) one is causing extra long delays when trying to boot when the link is not up. can the mcfmii udelay(500) be

Re: [U-Boot] Add a new command to U-Boot

2009-05-08 Thread Deepak Gopalakrishnan
thanks to everyone first. im able to write a new command for the u-boot and load it on to the board and it works like a charm. Im explaining the steps here so that it would be helpful in the future: im using a MPC8313e RDB and u-boot-1.3.0. 1) First of all the commands are defined in files

Re: [U-Boot] Add a new command to U-Boot

2009-05-08 Thread Jerry Van Baren
Excellent, but... Deepak Gopalakrishnan wrote: [snip] this is the content of firrst u-boot command i wrote: cmd_dgprint.c code /* * (C) Copyright 2005 * Wolfgang Denk, DENX Software Engineering, w...@denx.de. * * See file CREDITS for list of people who contributed to this *

Re: [U-Boot] Unable to debug UBOOT

2009-05-08 Thread alfred steele
Looks like you are reinitializing the DDR , when u are already executing from it, you may want to comment out that code, which initializes DDR. To add to that, if you have cloned code for an already existing platform config file, See if the CONFIG_SKIP_RELOCATE_UBOOT and

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Dirk Behme
Hi, Detlev Zundel wrote: Hi, Wolfgang Denk wrote: Dear Scott Wood, In message 4a034b09.7030...@freescale.com you wrote: Or what replaced the immr structs? The device tree, mainly... Right, of course. ... But #defines can work for u-boot. Of course they _can_

Re: [U-Boot] [PATCH] OMAP3EVM: net_chip uses CS5 not CS6

2009-05-08 Thread Dirk Behme
Dear Matthias, Matthias Ludwig wrote: Wolfgang, Dirk, cause for this patch was originally the plan to bring my company's new omap3-based platform into U-Boot. As we do use other CS for a network chip this patch was intended to be the starting point (otherwise our patchset will not apply).

Re: [U-Boot] [PATCH] OMAP3: Introduce CONFIG option for power code

2009-05-08 Thread Dirk Behme
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:21 Wed 06 May , Dirk Behme wrote: Some OMAP3 boards need control for external power companion chips. Introduce a CONFIG option for this, to avoid Makefile changes for each board. please also move it to

Re: [U-Boot] [PATCH 3/3] OMAP3: Reorganize Makefile style

2009-05-08 Thread Dirk Behme
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:41 Tue 05 May , Dirk Behme wrote: Reformat COBJS handling. please rebase against you first patch as the 2 will be handle by an otherone Sorry, but I don't understand what you want here. All three patches are fine in this

Re: [U-Boot] [PATCH 2/3] OMAP3: Rename interrupts.c to timer.c

2009-05-08 Thread Dirk Behme
Dear Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:41 Tue 05 May , Dirk Behme wrote: After removal of dublicated interrupt code, rename file to what it really does now. I prefer to rename all files at the same time Then, please don't complain that you have to do

[U-Boot] [PATCH] ARM DaVinci:Consolidate common u-boot.lds

2009-05-08 Thread s-paulraj
The u-boot.lds is common for all DaVinci boards. The patch removes multiple instances and moves the u-boot.lds to /cpu/arm926ejs/davinci folder. This addresses one of the comments i received while submitting patches for DM3xx Signed-off-by: Sandeep Paulraj s-paul...@ti.com ---

Re: [U-Boot] [PATCH] ARM DaVinci:Consolidate common u-boot.lds

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:59 Fri 08 May , s-paul...@ti.com wrote: The u-boot.lds is common for all DaVinci boards. The patch removes multiple instances and moves the u-boot.lds to /cpu/arm926ejs/davinci folder. This addresses one of the comments i received while submitting patches for DM3xx Signed-off-by:

Re: [U-Boot] [PATCH 1/6] OMAP Consolidate common u-boot.lds to cpu layer.

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Thu 07 May , Tom Rix wrote: The u-boot.lds file is common for all omap boards. Move a cleaned up version to the cpu layer and add makefile logic to use it. Signed-off-by: Tom Rix tom@windriver.com --- Applied to arm/next Best Regards, J.

Re: [U-Boot] [PATCH 2/6] ZOOM2 Add initial support for Zoom2

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Thu 07 May , Tom Rix wrote: Zoom2 is a new board from Texas Instruments and LogicPD The logicpd web site is a good source for general information on this board. Please start looking here if the below links are broken. http://www.logicpd.com This is a pdf of the product

Re: [U-Boot] [PATCH 3/6] OMAP3 Port kernel omap gpio interface.

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Thu 07 May , Tom Rix wrote: Port the linux kernel's omap gpio interface to u-boot. The orignal source is in linux/arch/arm/plat-omap/gpio.c please specify which specific kernel revision your code is based on Otherwise fine Best Regards, J.

Re: [U-Boot] [PATCH 3/6] OMAP3 Port kernel omap gpio interface.

2009-05-08 Thread Tom
Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:28 Thu 07 May , Tom Rix wrote: Port the linux kernel's omap gpio interface to u-boot. The orignal source is in linux/arch/arm/plat-omap/gpio.c please specify which specific kernel revision your code is based on Otherwise fine Best

Re: [U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD

2009-05-08 Thread Magnus Lilja
Hi I have now used the mxc_nand.c driver from patch 4 on a i.MX31 Litekit board and have some add some more input, see below. 2009/5/6 Magnus Lilja lilja.mag...@gmail.com: +/* + * NAND + */ +#define CONFIG_NAND_MXC +#define CONFIG_MXC_NAND_REGS_BASE      0xd800 It would be nice to have

Re: [U-Boot] [PATCH 2/3] OMAP3: Rename interrupts.c to timer.c

2009-05-08 Thread Scott Wood
On Fri, May 08, 2009 at 05:47:27PM +0200, Dirk Behme wrote: I'm not sure that this works for non-custodians. Custodians can do git-rename and then send a patch to the mailing list. When a custodian sends such a patch, it is mainly for review only, and not to be applied somewhere (because it

[U-Boot] [PATCH 3/6] OMAP3 Port kernel omap gpio interface.

2009-05-08 Thread Tom Rix
Port version 2.6.27 of the linux kernel's omap gpio interface to u-boot. The orignal source is in linux/arch/arm/plat-omap/gpio.c See doc/README.omap3 for instructions on use. Signed-off-by: Tom Rix tom@windriver.com --- cpu/arm_cortexa8/omap3/Makefile |1 +

Re: [U-Boot] [PATCH 2/3] OMAP3: Rename interrupts.c to timer.c

2009-05-08 Thread Dirk Behme
Scott Wood wrote: On Fri, May 08, 2009 at 05:47:27PM +0200, Dirk Behme wrote: I'm not sure that this works for non-custodians. Custodians can do git-rename and then send a patch to the mailing list. When a custodian sends such a patch, it is mainly for review only, and not to be applied

Re: [U-Boot] [PATCH 2/3] OMAP3: Rename interrupts.c to timer.c

2009-05-08 Thread Scott Wood
Dirk Behme wrote: Scott Wood wrote: It can be applied with git am (well, not the diffstat, but the special rename diff hunk that git also generates). Ok, thanks. But not with other tools, like plain 'patch', correct? Right, until someone fixes that. :-) Which I suppose could be a problem

[U-Boot] [PATCH v4] ARM DaVinci Adding DM357 Support

2009-05-08 Thread s-paulraj
Patch adds Support for DaVinci DM357. It boots of a small page NAND on the EVM. It does not have NOR support. This patch has been tested on the DM357 EVM. The patch does not have Ethernet Support yet. Ethernet Support will be added soon Signed-off-by: Sandeep Paulraj s-paul...@ti.com ---

Re: [U-Boot] [PATCH 2/3] OMAP3: Rename interrupts.c to timer.c

2009-05-08 Thread Wolfgang Denk
Dear Dirk, In message 4a04540f.10...@googlemail.com you wrote: Btw please use git to show that you only rename the file without change I'm not sure that this works for non-custodians. Custodians can do git-rename and then send a patch to the mailing list. When a custodian sends such a

Re: [U-Boot] [PATCH 5/6] ZOOM2 Add serial support.

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Thu 07 May , Tom Rix wrote: Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board. The default serial is from the USB connector on left side of the debug board. The USB connector will produce 2 of the 4 UARTS. On your host pick the first enumeration. The

Re: [U-Boot] [PATCH 6/6] ZOOM2 Add led support.

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Thu 07 May , Tom Rix wrote: This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix tom@windriver.com --- ok Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] usbtty Support on AT91SAM9XXX chipsets

2009-05-08 Thread Remy Bohmer
Hello Daniel, I am interested in getting usbtty support running on an AT91SAM9G20 board.  I have picked up the latest code on the CDC head on the u-boot-usb GIT tree and am currently attempting to get the CDC-Ether support up and running (merging various changes from the 9261 board to the

Re: [U-Boot] [PATCH 5/6] ZOOM2 Add serial support.

2009-05-08 Thread Tom
Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:28 Thu 07 May , Tom Rix wrote: Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board. The default serial is from the USB connector on left side of the debug board. The USB connector will produce 2 of the 4 UARTS. On

Re: [U-Boot] [PATCH 07/10] mmc: use lldiv() for 64-bit division

2009-05-08 Thread Andy Fleming
On Wed, May 6, 2009 at 1:30 PM, Ilya Yanok ya...@emcraft.com wrote: Signed-off-by: Ilya Yanok ya...@emcraft.com This is actually already in my tree. So I'll just take this opportunity to shake my head at ARM ABI designers, who thought 64-bit division was too hard to do in the compiler... Andy

Re: [U-Boot] [PATCH 09/10] mmc: fix mmcinfo command

2009-05-08 Thread Andy Fleming
On Wed, May 6, 2009 at 1:30 PM, Ilya Yanok ya...@emcraft.com wrote: cid field of stuct mmc stucture is char*, not u32*. so we need to convert the pointer for mmcinfo code to work correctly. Yup, this one, too. Already in my tree. Andy ___ U-Boot

[U-Boot] [PATCH] arm: unify lds

2009-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
all arm boards except a few use the same cpu lds so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- Due to ML limitation I've reduce the content of the patch to

[U-Boot] [PATCH 1/2 v2] OMAP3: Remove dublicated interrupt code

2009-05-08 Thread Dirk Behme
Remove duplicated interrupt code. Original, identical code can be found in lib_arm/interrupts.c From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Dirk Behme dirk.be...@googlemail.com ---

[U-Boot] [PATCH 2/2 v2] OMAP3: Reorganize Makefile style

2009-05-08 Thread Dirk Behme
Reformat COBJS handling. From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Dirk Behme dirk.be...@googlemail.com --- Changes in v2: Rebase to interrupts.o instead of timer.o

Re: [U-Boot] Unable to debug UBOOT

2009-05-08 Thread Vivek DALAL
Thanks for your help guys. I will looking into all the pointers you guys had given... thanks alot Vivek Dalal On Fri, May 8, 2009 at 8:31 PM, alfred steele alfred.jaq...@gmail.comwrote: Looks like you are reinitializing the DDR , when u are already executing from it, you may want to comment