Re: [U-Boot] I found an error

2009-09-16 Thread Sun, Peng 2
Hi, I use ubuntu 9.04 system. The shell is bash version is : GNU bash, version 3.2.48(1)-release (i486-pc-linux-gnu) The make version is: GNU Make 3.81 The step I take to compile the u-boot is : make smdk6400_config make all below is the some message from compiling:

[U-Boot] [PATCH] SPARC standalone app fix

2009-09-16 Thread Сергей Миронов
Hi! Thanks for the beautiful project! Ive tried to launch standalone app 'hello_world' on my SPARC leon3 board (ml-402) and found that application says 'boom' and halts. So here is the patch to solve the problem. Seems, that i am the first who ever launched Sparc'ish standalone code :) --

[U-Boot] help command not working in u-boot

2009-09-16 Thread Rupesh Kumar
Hi I have added a new command in the test_cmd u-boot. after adding test_cmd , help command and many of the other commands are not working. help command gives Unknown command 'help' - try 'help'. tftp gives Unknown command 'tftp' - try 'help'. The command i have added is working fine. I have

[U-Boot] mpc8572ds: Stuck startup

2009-09-16 Thread Isaac Gomez Morales
Hello, I'm trying to startup the latest kernel image (2.6.31) for my mpc8572ds machine. I have downloaded the kernel's source code at kernel.org and i have compiled it with a native ppc compiler using make uImage. At this moment I have in my system my uImage and u-boot-2009-08 programmed in the

Re: [U-Boot] [PATCH 3/4 v2] s5pc1xx: support serial driver

2009-09-16 Thread Minkyu Kang
Dear Jean-Christophe 2009/9/11 Minkyu Kang proms...@gmail.com: Dear Wolfgang, 2009/9/10 Wolfgang Denk w...@denx.de: Dear Minkyu Kang, In message 4aa8ac42.50...@samsung.com you wrote: This patch includes the serial driver for s5pc1xx Signed-off-by: Minkyu Kang mk7.k...@samsung.com ...

Re: [U-Boot] [PATCH 2/2] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_DFSR

2009-09-16 Thread Wolfgang Grandegger
Joakim Tjernlund wrote: Timur Tabi ti...@freescale.com wrote on 15/09/2009 21:04:47: Joakim Tjernlund wrote: No, the impact on speed from DFSR is pretty small so it will be close enough. How small? From the app note: divisor = B * (A + ((3*C)/B)*2); C is dfsr and 10 = A = 30, 16 = B =

[U-Boot] [PATCH 2/3] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/DFR}

2009-09-16 Thread Joakim Tjernlund
Some boards need a higher DFSR value than the spec currently recommends so give these boards the means to define there own. For completeness, add CONFIG_FSL_I2C_CUSTOM_DFR too. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- drivers/i2c/fsl_i2c.c | 14 +++--- 1 files

[U-Boot] [PATCH 3/3] fsl_i2c: Impl. AN2819, rev 5 to calculate FDR/DFSR

2009-09-16 Thread Joakim Tjernlund
The latest AN2819 has changed the way FDR/DFSR should be calculated. Update the driver according to spec. However, Condition 2 is not accounted for as it is not clear how to do so. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- drivers/i2c/fsl_i2c.c | 88

[U-Boot] [PATCH 1/3] fsl_i2c: Wait for STOP condition to propagate

2009-09-16 Thread Joakim Tjernlund
After issuing a STOP one must wait until the STOP has completed on the bus before doing something new to the controller. Also add an extra read of SR as the manual mentions doing that is a good idea. Remove surplus write of CR just before a write, isn't required and could potentially disturb the

Re: [U-Boot] [PATCH 2/2] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_DFSR

2009-09-16 Thread Joakim Tjernlund
Wolfgang Grandegger w...@denx.de wrote on 16/09/2009 12:22:05: Joakim Tjernlund wrote: Timur Tabi ti...@freescale.com wrote on 15/09/2009 21:04:47: Joakim Tjernlund wrote: No, the impact on speed from DFSR is pretty small so it will be close enough. How small? From the app note:

[U-Boot] lowlevel_init.s for ARM920t/S3C2410

2009-09-16 Thread J.Hwan.Kim
Hi, everyone I'm running u-boot (2009.03) in S3C2410 board now. But I have a problem. It seems that bl lowlevel_init routine in ARM920t/start.s is not working. The label, lowlevel_init, is defined as global label in /board/samsung/s3c2410/lowlevel_init.s and is seen system.map file. I think

Re: [U-Boot] [PATCH 2/2] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_DFSR

2009-09-16 Thread Wolfgang Grandegger
Joakim Tjernlund wrote: Wolfgang Grandegger w...@denx.de wrote on 16/09/2009 12:22:05: Joakim Tjernlund wrote: Timur Tabi ti...@freescale.com wrote on 15/09/2009 21:04:47: Joakim Tjernlund wrote: No, the impact on speed from DFSR is pretty small so it will be close enough. How small? From

Re: [U-Boot] help command not working in u-boot

2009-09-16 Thread Wolfgang Denk
Dear Rupesh Kumar, In message of0d18afed.10d56b57-on65257633.002e3d05-65257633.002d3...@lntemsys.com you wrote: I have added a new command in the test_cmd u-boot. after adding test_cmd , help command and many of the other commands are not working. help Do you think we can guess what's

Re: [U-Boot] [PATCH 2/2] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_DFSR

2009-09-16 Thread Joakim Tjernlund
Wolfgang Grandegger w...@grandegger.com wrote on 16/09/2009 13:45:03: Joakim Tjernlund wrote: Wolfgang Grandegger w...@denx.de wrote on 16/09/2009 12:22:05: Joakim Tjernlund wrote: Timur Tabi ti...@freescale.com wrote on 15/09/2009 21:04:47: Joakim Tjernlund wrote: No, the impact on

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Jerry Van Baren
Hi Kumar, Anton, Kumar Gala wrote: On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote: Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX constant. With multi-serial support, the CONS_INDEX may no longer represent actual console, so we should try to extract port number

[U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Hi All, When i executed fw_printenv on an embedded board , it threw an error IOCTL error : Cannot get MTD information!! Any idea why this error occurred? The contents of config file which i used shown below # MTD device name Device offset Env. size Flash sector size Number of

Re: [U-Boot] help command not working in u-boot

2009-09-16 Thread Detlev Zundel
Hi Rupesh, I have added a new command in the test_cmd u-boot. after adding test_cmd , help command and many of the other commands are not working. help command gives Unknown command 'help' - try 'help'. tftp gives Unknown command 'tftp' - try 'help'. The command i have added is

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Wolfgang Denk
Dear Rahanesh, In message 4ab0dfca.4040...@tataelxsi.co.in you wrote: When i executed fw_printenv on an embedded board , it threw an error IOCTL error : Cannot get MTD information!! Any idea why this error occurred? Well, looking in the source code, I see a single place with a

[U-Boot] [STATUS] RFC: stretch merge window?

2009-09-16 Thread Wolfgang Denk
Hi everybody... The reorganization of the ARM custodian setup has caused some changes to the workflow, and I wonder if we should allow for a longer merge window? What do you think about stretching the MW by another week (with or without also shifting the release date) ? Best regards, Wolfgang

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Hi Wolfgang Cannot get MTD information: Inappropriate ioctl for device got printed Thanks Rahanesh Wolfgang Denk wrote: Dear Rahanesh, In message 4ab0dfca.4040...@tataelxsi.co.in you wrote: When i executed fw_printenv on an embedded board , it threw an error IOCTL error : Cannot

Re: [U-Boot] help command not working in u-boot

2009-09-16 Thread Rupesh Kumar
Hi all, Thanks for the help Sorry for the confusion created. Actually while copying U-boot to NAND flash, somehow by mistake, full U-boot image was not copied. As a result this problem was created. Now i have fixed the problem by copying complete u-boot image. Thanks Rupesh Detlev

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Wolfgang Denk
Dear Rahanesh, please do not top post / full quote. Please make sure to read http://www.netmeister.org/news/learn2quote.html In message 4ab0e9c3.10...@tataelxsi.co.in you wrote: Cannot get MTD information: Inappropriate ioctl for device got printed Well, that most certainly means that your

Re: [U-Boot] [STATUS] RFC: stretch merge window?

2009-09-16 Thread Stefan Roese
Hi Wolfgang, On Wednesday 16 September 2009 15:32:26 Wolfgang Denk wrote: The reorganization of the ARM custodian setup has caused some changes to the workflow, and I wonder if we should allow for a longer merge window? What do you think about stretching the MW by another week (with or

[U-Boot] Compile for SPARC Leon3 fails with *** No rule to make target ... ***

2009-09-16 Thread Kraitschy, Tobias
Hi all, I`ve implemented Gaisler Research`s Leon3 SPARC core to a FPGA evaluation board of Actel. Now I`m about to get U-Boot running. So I made up my own board directory, added header files with my configuration-parameters etc. just as discribed in the u-boot README. The make myboard_config

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Anton Vorontsov
Thanks for review Jerry. On Wed, Sep 16, 2009 at 08:59:14AM -0400, Jerry Van Baren wrote: [...] Below is a *HAND MODIFIED* (i.e. probably broken) edit of Anton's patch reflecting my thoughts. I'll leave it up to Anton and Kumar... I'm OK with Anton's original patch and you have my

[U-Boot] [PATCH][v3] FDT: remove obsolete OF_CPU and OF_SOC macros.

2009-09-16 Thread Marcel Ziswiler
Signed-off-by: Marcel Ziswiler marcel.ziswi...@noser.com Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Changes since v1: - CC all respective board maintainers Changes since v2: - Added Guennadi Liakhovetski's ack README|6 -- include/configs/IDS8247.h

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Jerry Van Baren
Anton Vorontsov wrote: Thanks for review Jerry. On Wed, Sep 16, 2009 at 08:59:14AM -0400, Jerry Van Baren wrote: [...] Below is a *HAND MODIFIED* (i.e. probably broken) edit of Anton's patch reflecting my thoughts. I'll leave it up to Anton and Kumar... I'm OK with Anton's original patch

Re: [U-Boot] [STATUS] RFC: stretch merge window?

2009-09-16 Thread Kumar Gala
On Sep 16, 2009, at 8:49 AM, Stefan Roese wrote: Hi Wolfgang, On Wednesday 16 September 2009 15:32:26 Wolfgang Denk wrote: The reorganization of the ARM custodian setup has caused some changes to the workflow, and I wonder if we should allow for a longer merge window? What do you think

Re: [U-Boot] No NAND device found!!! Freescale MPC8544+SAMSUNG 1GB Nand Flash , please help!

2009-09-16 Thread Bin Meng
On Wed, Sep 16, 2009 at 5:40 AM, duckycool duckyc...@gmail.com wrote:   Correction, the nand flash is K9F8G08U0M. K9F8G08U0M is a 4KB page size NAND flash. Freescale eLBC NAND flash controller does not support 4KB page size. thanks bmeng ___ U-Boot

Re: [U-Boot] [STATUS] RFC: stretch merge window?

2009-09-16 Thread Peter Tyser
On Wednesday 16 September 2009 15:32:26 Wolfgang Denk wrote: The reorganization of the ARM custodian setup has caused some changes to the workflow, and I wonder if we should allow for a longer merge window? What do you think about stretching the MW by another week (with or without

Re: [U-Boot] No NAND device found!!! Freescale MPC8544+SAMSUNG 1GB Nand Flash , please help!

2009-09-16 Thread duckycool
Hi, I'm not using eLBC, but UPM of local bus controller of mpc8544. Bin Meng wrote: On Wed, Sep 16, 2009 at 5:40 AM, duckycool duckyc...@gmail.com wrote:   Correction, the nand flash is K9F8G08U0M. K9F8G08U0M is a 4KB page size NAND flash. Freescale eLBC NAND flash controller

Re: [U-Boot] [STATUS] RFC: stretch merge window?

2009-09-16 Thread Ben Warren
Wolfgang Denk wrote: Hi everybody... The reorganization of the ARM custodian setup has caused some changes to the workflow, and I wonder if we should allow for a longer merge window? What do you think about stretching the MW by another week (with or without also shifting the release date)

Re: [U-Boot] No NAND device found!!! Freescale MPC8544+SAMSUNG 1GB Nand Flash , please help!

2009-09-16 Thread Anton Vorontsov
On Wed, Sep 16, 2009 at 11:55:12PM +0800, Bin Meng wrote: On Wed, Sep 16, 2009 at 5:40 AM, duckycool duckyc...@gmail.com wrote:   Correction, the nand flash is K9F8G08U0M. K9F8G08U0M is a 4KB page size NAND flash. Freescale eLBC NAND flash controller does not support 4KB page size.

Re: [U-Boot] Compile for SPARC Leon3 fails with *** No rule to make target ... ***

2009-09-16 Thread Сергей Миронов
Hi! Read carefullly your config file! I've working with same things (Gaisler+Leon3+Gcc-4.3.3) on board ML-402. My config compiles without problem, so i suggest that makefile is good. 2009/9/16 Kraitschy, Tobias tobias.kraits...@siemens.com: Hi all, I`ve implemented Gaisler Research`s Leon3

Re: [U-Boot] [PATCH v4 3/4]: Define ffs/fls for all architectures

2009-09-16 Thread Stefan Roese
Hi Simon, On Tuesday 15 September 2009 22:34:43 Wolfgang Denk wrote: Dear Simon Kagstrom, In message 20090824091012.0df5b...@marrow.netinsight.se you wrote: Define ffs/fls for all architectures UBIFS requires fls(), which is not defined for arm (and some other architectures) and this

[U-Boot] [PATCH 1/5] net: uec_phy: Implement TXID and RXID RGMII modes for Marvell PHYs

2009-09-16 Thread Anton Vorontsov
This will be needed for MPC8360E-MDS boards with rev. 2.1 CPUs. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/qe/uec.h |1 + drivers/qe/uec_phy.c | 15 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/qe/uec.h

[U-Boot] [PATCH 2/5] net: uec: Fix uccf.h and uec.h headers to include headers they depend on

2009-09-16 Thread Anton Vorontsov
Headers should include headers containing prototypes and defines they depend on, don't assume that they're included by somebody else. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/qe/uccf.h |1 + drivers/qe/uec.h |3 +++ 2 files changed, 4 insertions(+), 0

[U-Boot] [PATCH 3/5] mpc83xx: mpc8360emds: Don't use LBC SDRAM when DDR is available

2009-09-16 Thread Anton Vorontsov
Since commit 5c2ff323a94e27e481f70c44838d43fcd844dd46 (mpc8360emds: rework LBC SDRAM setup), LBC SDRAM is available for use in Linux. Though, it appears that QE Ethernet in Gigabit mode can't transmit large packets when it tries to work with a data in LBC SDRAM (memtest didn't discover any

[U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-16 Thread Anton Vorontsov
This patch fixes various ethernet issues with gigabit links handling in U-Boot. The workarounds originally implemented by Kim Phillips for Linux kernel. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8360emds/mpc8360emds.c | 56 +---

[U-Boot] [PATCH 5/5] mpc83xx: mpc8360emds: Add QE USB device tree fixups

2009-09-16 Thread Anton Vorontsov
With this patch we can change QE USB mode without need to hand-edit the device tree. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8360emds/mpc8360emds.c | 12 include/configs/MPC8360EMDS.h |2 ++ 2 files changed, 14 insertions(+),

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-16 Thread Guennadi Liakhovetski
On Tue, 15 Sep 2009, Wolfgang Denk wrote: Dear Guennadi Liakhovetski, In message pine.lnx.4.64.0909152214370.4...@axis700.grange you wrote: pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0, -(u32 *)

Re: [U-Boot] Please pull u-boot-mpc85xx

2009-09-16 Thread Wolfgang Denk
Dear Kumar Gala, In message pine.lnx.4.64.0909152219420.17...@localhost.localdomain you wrote: The following changes since commit 3ca55bce9c8bf00df06a20487fafc16fa2f8084b: Marcel Ziswiler (1): mpc8260: remove Ethernet node fixup to use generic FDT code. are available in the git

Re: [U-Boot] [TESTING PATCH] ppc: Relocation test patch

2009-09-16 Thread Peter Tyser
On Mon, 2009-09-14 at 23:26 +0200, Wolfgang Denk wrote: Dear Peter Tyser, In message 1252709159-22326-1-git-send-email-pty...@xes-inc.com you wrote: ** This patch is only meant to allow others to test relocation, it should not be applied!! ** This patch is a quick hack to enable

Re: [U-Boot] No NAND device found!!! Freescale MPC8544+SAMSUNG 1GB Nand Flash , please help!

2009-09-16 Thread duckycool
Hi Anton, Thank you, I have done a lot trial and error but still in vain. I'm using u-boot-2009.06-rc3. This is my /board/freescale/mpc8544board/nand.c below, as to nand_base.c and fsl_upm.c I didn't change change anything. === nand.c

[U-Boot] [PATCH v2] Remove deprecated 'autoscr' command/variables

2009-09-16 Thread Peter Tyser
The more standard 'source' command provides identical functionality to the autoscr command. Environment variable names/values on the MVBC_P, MVBML7, kmeter1, mgcoge, and km8xx boards are updated to no longer refernce 'autoscr'. The 'autoscript' and 'autoscript_uname' environment variables are

[U-Boot] [PATCH 1/2] ppc: Clean up calling of misc_init_r() during init

2009-09-16 Thread Peter Tyser
Remove board-specific #ifdefs for calling misc_init_r() during initializtion Signed-off-by: Peter Tyser pty...@xes-inc.com --- include/configs/CCM.h|1 + include/configs/CPCI405.h|1 + include/configs/CPCI4052.h |1 + include/configs/CPCI405AB.h |1

[U-Boot] [PATCH 2/2] ppc: Clean up calling of phy_reset() during init

2009-09-16 Thread Peter Tyser
Remove board-specific #ifdefs for calling phy_reset() during initializtion Signed-off-by: Peter Tyser pty...@xes-inc.com --- include/configs/CCM.h|1 + include/configs/ELPT860.h|1 + include/configs/IP860.h |1 + include/configs/IVML24.h |2 ++

[U-Boot] U-Boot load and run via NAND flash - ARM926EJ-S

2009-09-16 Thread Thomas Jackson
Hi List, I understand NOR-based flash memory devices have traditionally been used for non-volatile storage for a bootloader and other various advantages including support for execute-in-place code, random access to memory, and zero error rate, etc. However, we have a project that we would like

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Dear Wolfgang, Well, that most certainly means that your /dev/mtd0 is not a NOR or NAND flash device. I use mtd_debug utility to identify the /dev/mtd0 device. It said it is Nor flash. Thanks Rahanesh ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] fsl_i2c: Impl. AN2819, rev 5 to calculate FDR/DFSR

2009-09-16 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: The latest AN2819 has changed the way FDR/DFSR should be calculated. Update the driver according to spec. However, Condition 2 is not accounted for as it is not clear how to do so. Thanks for your work, just some minor Codingstyle comments: