Re: [U-Boot] imx27lite stability problems.

2009-09-17 Thread javier Martin
2009/9/17 Fred Fan : > Dear Javier Martin: > > 2009/9/17, javier Martin : >> >> I've found some problems because the cache is enabled, I don't see any >> place where you disable it. >> [Fred] Do you means D-cache is enabled? There are no mmu enabled, D-cache >> should be disabled as default setting

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

2009-09-17 Thread Joakim Tjernlund
Graeme Russ wrote on 17/09/2009 23:57:56: > > On Thu, Sep 17, 2009 at 10:53 PM, Wolfgang Denk wrote: > > Dear Joakim Tjernlund, > > > > In message 00451...@transmode.se> you wrote: > >> > >> > But why has the GOT table to fit "into built-in CPU memory"? When we > >> > are about to relocate U-Boo

Re: [U-Boot] AMCC 405EX - EMAC0 + EMAC1 Problems

2009-09-17 Thread Stefan Roese
Hi Jonathan, On Thursday 17 September 2009 20:00:42 Jonathan Haws wrote: > I am having issues getting EMAC1 working alongside EMAC0. We need > both EMACs running at the same time in U-Boot (U-Boot handles the PHY > configuration, since the VxWorks implementation of PHY initialization > is buggy).

[U-Boot] Details of fw_env.config file

2009-09-17 Thread Rahanesh
Hi All,. I wanted to know the meaning of Device Offset in the config file (fw_env.config). I used it as MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0x0x1000 0x1 The partition mtd0 contains uboot as w

[U-Boot] Hanging in kmalloc of nand_scan_tail() function

2009-09-17 Thread J.Hwan.Kim
Hi, everyone I'm using U-boot 2009-03. U-boot hangs in nand_init() function. I found the routine kmalloc in nand_scan_tail() cause U-boot reset. int nand_scan_tail(struct mtd_info *mtd) { int i; struct nand_chip *chip = mtd->priv; if (!(chip->options & NAND_OWN_BUFFERS)) { c

[U-Boot] [PATCH] ppc/85xx: simplify the top makefile for 36-bit config for mpc8536ds

2009-09-17 Thread Mingkai Hu
Signed-off-by: Mingkai Hu --- Sorry for the spam, ingnor the [PATCH] mpc8536: simplify the top makefile for 36-bit config, this is the new version. Makefile|4 +--- include/configs/MPC8536DS.h |2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Mak

[U-Boot] [PATCH] mpc8536: simplify the top makefile for 36-bit config

2009-09-17 Thread Mingkai Hu
Signed-off-by: Mingkai Hu --- Makefile|4 +--- include/configs/MPC8536DS.h |2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0b61d05..99837a3 100644 --- a/Makefile +++ b/Makefile @@ -2448,9 +2448,7 @@ ATUM8548_config: unco

[U-Boot] [PATCH v3 3/3] Add README.mpc8536ds

2009-09-17 Thread Mingkai Hu
Add boot from NAND/eSDHC/eSPI description Signed-off-by: Mingkai Hu --- No change over v2, it comes here for the pick up convience. doc/README.mpc8536ds | 127 ++ 1 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 doc/README.

[U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-17 Thread Mingkai Hu
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with t

[U-Boot] [PATCH v3 2/3] On-chip ROM boot: MPC8536DS support

2009-09-17 Thread Mingkai Hu
The MPC8536E is capable of booting from the on-chip ROM - boot from eSDHC and boot from eSPI. When power on, the porcessor excutes the ROM code to initialize the eSPI/eSDHC controller, and loads the mian U-Boot image from the memory device that interfaced to the controller, such as the SDCard or SP

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

2009-09-17 Thread Graeme Russ
On Thu, Sep 17, 2009 at 10:53 PM, Wolfgang Denk wrote: > Dear Joakim Tjernlund, > > In message > you > wrote: >> >> > But why has the GOT table to fit "into built-in CPU memory"? When we >> > are about to relocate U-Boot to RAM, we already have RAM working. So >> > we should also be able to cop

Re: [U-Boot] Uboot 1.1.3 and USB

2009-09-17 Thread Wolfgang Denk
Dear Stephen Banville, In message <54ac63178735ed46bac5f5e668a9f224de8...@alfalfa.fortresstech.com> you wrote: > > I would like to post a problem I am encountering regarding Uboot > 1.1.3 and USB. U-Boot 1.1.3 is more trhan 4 years old. Guess what? A *lot* of things have changed since.

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

2009-09-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200909171411.29825...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following changes: > > The following changes since commit 15fba3279b56333bdb65ead366f82c945ed320d1: > Kumar Gala (1): > ppc/85xx: Disable all async interrupt sources when we boot

[U-Boot] Uboot 1.1.3 and USB

2009-09-17 Thread Stephen Banville
Hello, I would like to post a problem I am encountering regarding Uboot 1.1.3 and USB. My processor is an AMD 1550. In short I am seeing the following error when I execute The "usb start" command. I also noticed that a CTL:Timeout occurs. It appears the Uboot can see the device, but fo

Re: [U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Wolfgang Denk
Dear Simon Kagstrom, In message <20090917151552.013d4...@marrow.netinsight.se> you wrote: > Correct ffs/fls regression for PowerPC etc > > Commits > > 02f99901ed1c9d828e3ea117f94ce2264bf8389e > 52d61227b66d4099b39c8309ab37cb67ee09a405 > > introduced a regression where platform-specific ffs/

Re: [U-Boot] AMCC 405EX - EMAC0 + EMAC1 Problems

2009-09-17 Thread Wolfgang Denk
Dear Jonathan Haws, In message you wrote: > > I am having issues getting EMAC1 working alongside EMAC0. We need > both EMACs running at the same time in U-Boot (U-Boot handles the PHY > configuration, since the VxWorks implementation of PHY initialization > is buggy). Hm... Note that such

Re: [U-Boot] SD Card in Spi mode boot mpc8315

2009-09-17 Thread Konrad Mattheis
Hi, SD boot is possible. I already got it working on at91sam9g20. But just first chance your release. First go to 2009.08 and try to get it working. Then you have to check if an sd driver for your CPU already implemented. bye Konrad ___ U-Boot mailing

[U-Boot] SD Card in Spi mode boot mpc8315

2009-09-17 Thread Marcos Cunha
Dears, It is possible booting Linux from SD Card or USB mass storage device? I am using U-boot 1.3.2. Thanks in advance, Marcos Cunha Instituto Atlântico Electrical Engineer ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] AMCC 405EX - EMAC0 + EMAC1 Problems

2009-09-17 Thread Ben Warren
Hi Jonathan , Jonathan Haws wrote: > All, > > I am having issues getting EMAC1 working alongside EMAC0. We need > both EMACs running at the same time in U-Boot (U-Boot handles the PHY > configuration, since the VxWorks implementation of PHY initialization > is buggy). > > What I have done is t

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

2009-09-17 Thread Joakim Tjernlund
> > Joakim Tjernlund wrote: > > > +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR > > + fdr = CONFIG_FSL_I2C_CUSTOM_FDR; > > + speed = i2c_clk / divider; /* Fake something */ > > How about setting 'speed' to CONFIG_SYS_I2C_SPEED? Naa, if you want that you just pass CONFIG_SYS_I2C_SPEED to i2c_in

[U-Boot] AMCC 405EX - EMAC0 + EMAC1 Problems

2009-09-17 Thread Jonathan Haws
All, I am having issues getting EMAC1 working alongside EMAC0. We need both EMACs running at the same time in U-Boot (U-Boot handles the PHY configuration, since the VxWorks implementation of PHY initialization is buggy). What I have done is this: In net/eth.c I have modified the eth_init(bd

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

2009-09-17 Thread Peter Tyser
On Thu, 2009-09-17 at 09:06 +0200, Joakim Tjernlund wrote: > > > > When preparing the ppc relocation patches I noticed that the gcc > > -mrelocatable compiler flag increases the .reloc section by 3 or 4 > > Kbytes. I did a compile test, and this increase pushes the ALPR board > > back over 256K (i

[U-Boot] Configuring BRGs and BRG input clock on an MPC875

2009-09-17 Thread Mikhail Zaturenskiy
Hello, I thought I'd ask here before I go and make a mess of my code: what's the easiest way to configure my board to have SMC1 use BRG1, SCC4 use BRG2, and make my BRG1 and BRG2 use CLK2 as an input clock? I looked over the code and it looked like most of this is hard-coded in the "serial.c" file

Re: [U-Boot] imx27lite stability problems.

2009-09-17 Thread Fred Fan
Dear Javier Martin: 2009/9/17, javier Martin : > > I've found some problems because the cache is enabled, I don't see any > place where you disable it. > [Fred] Do you means D-cache is enabled? There are no mmu enabled, D-cache > should be disabled as default setting. IAre you sure you have this

[U-Boot] [PATCH 3/3] ppc/85xx: Clean up mpc8572DS PCI setup code

2009-09-17 Thread Kumar Gala
Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala --- board/freescale/mpc8572ds/mpc8572ds.c | 226 ++-- 1 files changed, 71 insertions(+), 155 deleti

[U-Boot] [PATCH 2/3] ppc/85xx: Clean up p2020ds PCI setup code

2009-09-17 Thread Kumar Gala
Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala --- board/freescale/p2020ds/p2020ds.c | 150 - 1 files changed, 33 insertions(+), 117 delet

[U-Boot] [PATCH 1/3] ppc/85xx: Cleanup p1_p2_rdb PCI setup

2009-09-17 Thread Kumar Gala
General code cleanup to use in/out IO accessors as well as making the code that prints out info sane between board and generic fsl pci code. Signed-off-by: Kumar Gala --- board/freescale/p1_p2_rdb/pci.c | 38 -- drivers/pci/fsl_pci_init.c |2 +- 2 f

Re: [U-Boot] RAM burst mode problem

2009-09-17 Thread Mikhail Zaturenskiy
We finally solved our DRAM timing problem so I wanted to follow up on my question. On Fri, Sep 4, 2009 at 1:41 AM, Frank Svendsbøe wrote: > Hi Mikhail, > Burst mode UPM setup is not trivial, and it is quite amount of work to > go through your table, so > I'm not surprised nobody has replied. I k

Re: [U-Boot] imx27lite stability problems.

2009-09-17 Thread javier Martin
I've found some problems because the cache is enabled, I don't see any place where you disable it. Are you sure you have this controlled properly? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vi

[U-Boot] I am maintainer of Freescale i.MX

2009-09-17 Thread Fred Fan
Dear Wolfgang Denk & Magnus Lilja: I am u-boot maintainer of Freescale i.MX team. I have two mail accounts: fanyef...@gmail.com and r01...@freescale.com. I will use both of them. Best Regards Fred.Fan ___ U-Boot mailing list U-B

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

2009-09-17 Thread Timur Tabi
Joakim Tjernlund wrote: > +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR > + fdr = CONFIG_FSL_I2C_CUSTOM_FDR; > + speed = i2c_clk / divider; /* Fake something */ How about setting 'speed' to CONFIG_SYS_I2C_SPEED? -- Timur Tabi Linux kernel developer at Freescale _

Re: [U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Stefan Roese
On Thursday 17 September 2009 16:22:12 Simon Kagstrom wrote: > > You have the subject "Correct ffs/fls regression for PowerPC etc" twice > > in the commit message, once in the email subject and once at the > > beginning of the mail body. > > Well, I'll admit that I haven't setup git to send emails

Re: [U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Simon Kagstrom
On Thu, 17 Sep 2009 16:13:26 +0200 Stefan Roese wrote: > You have the subject "Correct ffs/fls regression for PowerPC etc" twice in > the > commit message, once in the email subject and once at the beginning of the > mail body. Well, I'll admit that I haven't setup git to send emails yet, so

Re: [U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Stefan Roese
On Thursday 17 September 2009 15:15:52 Simon Kagstrom wrote: > Correct ffs/fls regression for PowerPC etc > > Commits > > 02f99901ed1c9d828e3ea117f94ce2264bf8389e > 52d61227b66d4099b39c8309ab37cb67ee09a405 > > introduced a regression where platform-specific ffs/fls implementations > were def

Re: [U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Kumar Gala
On Sep 17, 2009, at 8:15 AM, Simon Kagstrom wrote: > Correct ffs/fls regression for PowerPC etc > > Commits > > 02f99901ed1c9d828e3ea117f94ce2264bf8389e > 52d61227b66d4099b39c8309ab37cb67ee09a405 > > introduced a regression where platform-specific ffs/fls > implementations > were defined away

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

2009-09-17 Thread Kraitschy, Tobias
Hi, Unsetting BUILD_DIR solved the problem. Of course /u-boot-2009.08_build/cpu/leon3/start.S does not exist here. I´ll try to figure out what´s wrong in the Makefile. Thanks. Best regards, Tobias Kraitschy -Original Message- From: Jerry Van Baren [mailto:gerald.vanba...@ge.com] Dat

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

2009-09-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 17/09/2009 14:53:59: > > Dear Joakim Tjernlund, Dear me :) > > In message 00451...@transmode.se> you wrote: > > > > > But why has the GOT table to fit "into built-in CPU memory"? When we > > > are about to relocate U-Boot to RAM, we already have RAM working. So > > > we s

[U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Simon Kagstrom
Correct ffs/fls regression for PowerPC etc Commits 02f99901ed1c9d828e3ea117f94ce2264bf8389e 52d61227b66d4099b39c8309ab37cb67ee09a405 introduced a regression where platform-specific ffs/fls implementations were defined away. This patch corrects that by using PLATFORM_xxx instead of the name i

Re: [U-Boot] [PATCH] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200909171456.33234...@denx.de> you wrote: > > Thanks. I tested it on my faulting ppc4xx platform (sequoia). And the problem > is gone now, so thanks. Thanks for testing. > But I've spotted a problem with other platforms in this patch. See below... ... > > -#defin

Re: [U-Boot] [PATCH] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Stefan Roese
Hi Simon, On Thursday 17 September 2009 14:39:40 Simon Kagstrom wrote: > Correct ffs/fls regression for PowerPC etc > > Commits > > 02f99901ed1c9d828e3ea117f94ce2264bf8389e > 52d61227b66d4099b39c8309ab37cb67ee09a405 > > introduced a regression where platform-specific ffs/fls implementations

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

2009-09-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > But why has the GOT table to fit "into built-in CPU memory"? When we > > are about to relocate U-Boot to RAM, we already have RAM working. So > > we should also be able to copy the GOT table to RAM and modify it > > there as needed before we us

Re: [U-Boot] Compilation error for fw_printenv

2009-09-17 Thread Rahanesh
Dear Wolfgang. > > Obviously your cross tool chain does not provide the (needed) > linux/mtd/mtd.h header file. Either use a more complete tool chain > (we use the ELDK), or manually add this file to your cross tool > chain's headers. > > > After cross compiling now i get the following behaviou

[U-Boot] [PATCH] arm: Correct build with CONFIG_SYS_HUSH_PARSER set

2009-09-17 Thread Simon Kagstrom
arm: Correct build with CONFIG_SYS_HUSH_PARSER set FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that. Signed-off-by: Simon Kagstrom --- cpu/arm926ejs/kirkwood/cpu.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpu/arm926ejs/kirkwood/cpu.c b/cpu/arm9

[U-Boot] [PATCH] Correct ffs/fls regression for PowerPC etc

2009-09-17 Thread Simon Kagstrom
Correct ffs/fls regression for PowerPC etc Commits 02f99901ed1c9d828e3ea117f94ce2264bf8389e 52d61227b66d4099b39c8309ab37cb67ee09a405 introduced a regression where platform-specific ffs/fls implementations were defined away. This patch corrects that by using PLATFORM_xxx instead of the name i

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

2009-09-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 17/09/2009 12:15:42: > > Dear Joakim Tjernlund, > > In message 002f9...@transmode.se> you wrote: > > > > > > One day we can fit the whole relocation table into built-in CPU memory, > > > > hopefully > > > > that will make it possible to make u-boot a true PIC exe > > > > >

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

2009-09-17 Thread Joakim Tjernlund
> > Hello Joakim, > > Joakim Tjernlund wrote: > > 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 C

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

2009-09-17 Thread Jerry Van Baren
Kraitschy, Tobias wrote: > 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

[U-Boot] Please pull u-boot-ppc4xx

2009-09-17 Thread Stefan Roese
Hi Wolfgang, please pull the following changes: The following changes since commit 15fba3279b56333bdb65ead366f82c945ed320d1: Kumar Gala (1): ppc/85xx: Disable all async interrupt sources when we boot are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git mas

Re: [U-Boot] [PATCH] ppc4xx: Consolidate get_OPB_freq()

2009-09-17 Thread Stefan Roese
On Monday 14 September 2009 11:39:53 Stefan Roese wrote: > All 4xx variants had their own, mostly identical get_OPB_freq() > function. Some variants even only had the OPB frequency calculated > in this routine and not supplied the sys_info.freqOPB variable > correctly (e.g. 405EZ). This resulted in

Re: [U-Boot] Compilation error for fw_printenv

2009-09-17 Thread Wolfgang Denk
Dear Rahanesh, In message <4ab20222.3050...@tataelxsi.co.in> you wrote: > Hi All, > > While trying to compile fw_printenv under tools/env directory of u-boot > i am getting the following error: > > fw_env.c:34:27: error: linux/mtd/mtd.h: No such file or directory > fw_env.c: In function fw_prin

Re: [U-Boot] [PATCH] ppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia

2009-09-17 Thread Stefan Roese
On Friday 11 September 2009 17:22:27 Stefan Roese wrote: > Acadia still used the "old" arch/ppc bootm commands for booting > Linux images without FDT. This patch now enables these fdt-aware > boot commands for Acadia as well. > > Signed-off-by: Stefan Roese Applied to ppc4xx/master. Thanks. Che

Re: [U-Boot] [PATCH] ppc4xx: Fix 405EZ uart base baud calculation

2009-09-17 Thread Stefan Roese
On Friday 11 September 2009 17:21:38 Stefan Roese wrote: > With this fix, Linux correctly configures the baudrate when booting > with FDT passed from U-Boot to Linux. > > Signed-off-by: Stefan Roese Applied to ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wo

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

2009-09-17 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > The latest AN2919 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 > --- > drivers/i2c/fsl_i2c.c |

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

2009-09-17 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > 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_FDR too. > > Signed-off-by: Joakim Tjernlund > --- > drivers/i2c/fsl_i2c.c | 1

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

2009-09-17 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > 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 wri

Re: [U-Boot] fls definition issue

2009-09-17 Thread Stefan Roese
On Thursday 17 September 2009 13:47:58 Hu Mingkai-B21284 wrote: > I traced the code and found the variable law_sz_enc got an > error value when call __ilog2_u64 in the function set_ddr_laws. > > The inline function __ilog2_u64 will call fls inline function > finally, but the fls is defined as a va

[U-Boot] fls definition issue

2009-09-17 Thread Hu Mingkai-B21284
Hi all, I run across an issue when startup the MPC8536DS board by using the latest git tree. The system hanged when initialized the DDR. U-Boot 2009.08-00197-g15fba32 (Sep 17 2009 - 18:15:50) CPU: 8536E, Version: 1.1, (0x803f0091) Core: E500, Version: 3.0, (0x80210030) Clock Configuration:

Re: [U-Boot] error in fw_printenv

2009-09-17 Thread Detlev Zundel
Hi Rahanesh, >> Well, that most certainly means that your /dev/mtd0 is not a NOR or >> NAND flash device. >> >> >Now used the fw_printenv under tools/env directory of uboot. It > does not have IOCTL error. > > On issuing a fw_printenv it showd following messages > >

Re: [U-Boot] [PATCH v2] mx27ads: add support for iMX27ADS board from Freescale

2009-09-17 Thread javier Martin
Has anyone tested ethernet connection in this board? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com ___ U-Boot mailing list

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

2009-09-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > > One day we can fit the whole relocation table into built-in CPU memory, > > > hopefully > > > that will make it possible to make u-boot a true PIC exe > > > > Why is the former the prerequisite for the latter? > > Some time ago I looked int

Re: [U-Boot] I found an error

2009-09-17 Thread Minkyu Kang
Dear Sun, Peng 2009/9/16 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 > b

Re: [U-Boot] error in fw_printenv

2009-09-17 Thread Rahanesh
Hi Wolfgang, > Well, that most certainly means that your /dev/mtd0 is not a NOR or > NAND flash device. > > Now used the fw_printenv under tools/env directory of uboot. It does not have IOCTL error. On issuing a fw_printenv it showd following messages Bad data C

[U-Boot] Compilation error for fw_printenv

2009-09-17 Thread Rahanesh
Hi All, While trying to compile fw_printenv under tools/env directory of u-boot i am getting the following error: fw_env.c:34:27: error: linux/mtd/mtd.h: No such file or directory fw_env.c: In function fw_printenv: fw_env.c: In function flash_io: fw_env.c:390: error: erase_info_t undeclared (fir

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

2009-09-17 Thread kevin.morf...@fearnside-systems.co.uk
J.Hwan.Kim wrote: > 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 >

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

2009-09-17 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

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

2009-09-17 Thread Joakim Tjernlund
The latest AN2919 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 --- drivers/i2c/fsl_i2c.c | 90 ++---

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

2009-09-17 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_FDR too. Signed-off-by: Joakim Tjernlund --- drivers/i2c/fsl_i2c.c | 14 +++--- 1 files changed, 11 insertions(+), 3

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

2009-09-17 Thread Joakim Tjernlund
Wolfgang Denk wrote on 17/09/2009 09:50:51: > > Dear Joakim Tjernlund, > > In message 00270...@transmode.se> you wrote: > > > > One day we can fit the whole relocation table into built-in CPU memory, > > hopefully > > that will make it possible to make u-boot a true PIC exe > > Why is the former

Re: [U-Boot] imx27lite stability problems.

2009-09-17 Thread javier Martin
2009/9/17 Wolfgang Denk : > Dear javier Martin, > > In message you > wrote: >> I have tried u-boot for the imx27lite board from LogicPD which is >> currently in u-boot-arm repository and I have experienced some >> stability problems: >> - Sometimes the system gets stuck in serial_getc() from seri

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

2009-09-17 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > Heiko Schocher wrote on 17/09/2009 08:00:34: > >> Hello Joakim, > > Hi Heiko > >> 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 ac

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

2009-09-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > > + u8 dfsr, fdr = 0x31; /* Default if no FDR found */ > > > + unsigned short A, B, Ga, Gb; > > > > Please do not use mixed-case variables, thanks. > > A and B are from the AN2819 spec and I used the same names to ease > identify with the

Re: [U-Boot] imx27lite stability problems.

2009-09-17 Thread Wolfgang Denk
Dear javier Martin, In message you wrote: > I have tried u-boot for the imx27lite board from LogicPD which is > currently in u-boot-arm repository and I have experienced some > stability problems: > - Sometimes the system gets stuck in serial_getc() from serial_mxc.c > driver when printing infor

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

2009-09-17 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > One day we can fit the whole relocation table into built-in CPU memory, > hopefully > that will make it possible to make u-boot a true PIC exe Why is the former the prerequisite for the latter? Best regards, Wolfgang Denk -- DENX Software E

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

2009-09-17 Thread Wolfgang Denk
Dear Thomas Jackson, In message <25484494.p...@talk.nabble.com> you wrote: > > 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,

[U-Boot] imx27lite stability problems.

2009-09-17 Thread javier Martin
I have tried u-boot for the imx27lite board from LogicPD which is currently in u-boot-arm repository and I have experienced some stability problems: - Sometimes the system gets stuck in serial_getc() from serial_mxc.c driver when printing information (ex. mii read ). - Pings do not work properly, t

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

2009-09-17 Thread Stefan Roese
On Thursday 17 September 2009 09:13:48 Simon Kagstrom wrote: > > > Yes, the patch should have contained something like that. Well, we'll > > > have to cook up a fix for this then. Sorry about that again. > > > > Simon, could you do this please? > > Yes, absolutely. I'll try to have it done by this

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

2009-09-17 Thread Simon Kagstrom
On Thu, 17 Sep 2009 08:56:08 +0200 > > Yes, the patch should have contained something like that. Well, we'll > > have to cook up a fix for this then. Sorry about that again. > > Simon, could you do this please? Yes, absolutely. I'll try to have it done by this afternoon. > And btw: > > #ifndef

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

2009-09-17 Thread Joakim Tjernlund
> > When preparing the ppc relocation patches I noticed that the gcc > -mrelocatable compiler flag increases the .reloc section by 3 or 4 > Kbytes. I did a compile test, and this increase pushes the ALPR board > back over 256K (it recently had the same size issue, see "ppc4xx: Remove > some featur

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

2009-09-17 Thread N Cheung
I presume you system will have SDRAM and execution is from SDRAM. I did a port to an Atmel 9260 with only NAND flash (for bootstrap, bootloader, RFS). The only issue with NAND is dealing with bad blocks. There are many ways to work this. One example: 1. bootstrap - I put it in the first block a