Re: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.

2010-08-23 Thread Ben Warren
Hi Detlev, On 8/13/2010 1:20 AM, Detlev Zundel wrote: > Hi Jocke, > Instead of always performing an autoneg, check if the PHY already has a link and if it matches one of the requested modes. Initially only 100MbFD is optimized this way. >>> Isn't it about time that we think about

[U-Boot] help with HP mv2120 debricking

2010-08-23 Thread Miroslav Petricek
Dear members, I was playing with my MH mv2120 NAS device and it happened to me that I stored some u-boot values and the device now hangs on boot. I am stupid I know. Last thing I did was that I've set: setenv enaPost Yes setenv enaCpuStream Yes and saved them: saveenv Now m

Re: [U-Boot] [PATCH] I2C: Add support for multiple I2C busses for SNTP (effect to RTC)

2010-08-23 Thread Stephan Linz
Hello Heiko, Hello Ben, > Hello Stephan, > > added Ben Warren to cc: because this is a change in net, > which also falls in his area of responsibility ... OK, fine ... > > Stephan Linz wrote: > > This patch switches to the desired I2C bus when the SNTP > > network service is called. This can

Re: [U-Boot] help with HP mv2120 debricking

2010-08-23 Thread Marek Vasut
Dne Po 23. srpna 2010 09:19:05 Miroslav Petricek napsal(a): > Dear members, > > > > I was playing with my MH mv2120 NAS device and it happened to me that I > stored some u-boot values and the device now hangs on boot. I am stupid I > know. > Why don't you ask your vendor ? Cheers > > > Last

Re: [U-Boot] help with HP mv2120 debricking

2010-08-23 Thread Rogan Dawes
On 2010/08/23 9:19 AM, Miroslav Petricek wrote: > Dear members, > > I was playing with my MH mv2120 NAS device and it happened to me that I > stored some u-boot values and the device now hangs on boot. I am stupid I > know. > > Last thing I did was that I've set: > > setenv enaPost Yes > > sete

Re: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.

2010-08-23 Thread Joakim Tjernlund
Ben Warren wrote on 2010/08/23 09:08:17: > > Hi Detlev, > > On 8/13/2010 1:20 AM, Detlev Zundel wrote: > > Hi Jocke, > > > Instead of always performing an autoneg, check if the PHY > already has a link and if it matches one of the requested > modes. Initially only 100MbFD is optim

Re: [U-Boot] [PATCH 05/13] x86: Make CONFIG_RELOC_FIXUP_WORKS generic for all x86 boards

2010-08-23 Thread Sergei Shtylyov
Hello. Graeme Russ wrote: > Relocation is not board-specific fir the x86 architectrure, so s/fir/for/ > CONFIG_RELOC_FIXUP_WORKS can be defined globally in the common.h You mean config.h? > Signed-off-by: Graeme Russ [...] > diff --git a/arch/i386/include/asm/config.h b/arch/i386/inc

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread David Jander
Hi again, On Friday 20 August 2010 03:35:57 pm Stefano Babic wrote: > > Just figured out one big mistake. I was debugging spi_flash.c, and had > > CONFIG_ENV_IS_IN_SPI_FLASH set. That means, first SPI access is done > > before malloc is available, and guess what? spi_setup_slave() uses malloc > >

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread David Jander
On Monday 23 August 2010 10:50:53 am David Jander wrote: > I am just now picking up where I left last week, so give me a few hours and > I should have something working, I guess. Ok, I guess I was pessimistic. There is a weird bug in mxc_spi.c: CPOL is negated! I just saw that in the mx51evk.h h

[U-Boot] AUTO: Richard Strange is out of the office. (returning 31/08/2010)

2010-08-23 Thread Richard . Strange
I am out of the office until 31/08/2010. Note: This is an automated response to your message "U-Boot Digest, Vol 27, Issue 25" sent on 21/08/2010 11:00:03. This is the only notification you will receive while this person is away. Any files attached to this e-mail will have been checked wi

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Stefano Babic
David Jander wrote: > Hi again, > Hi David, > Are you sure? In arch/arm/lib/board.c function start_armboot(), init_sequence > is processed first, which contains env_init() before dram_init() and just > after completing init_sequence, mem_malloc_init() is called. How can you have > working mall

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Stefano Babic
David Jander wrote: > Ok, I guess I was pessimistic. There is a weird bug in mxc_spi.c: CPOL is > negated! > I just saw that in the mx51evk.h header file CONFIG_FSL_PMIC_MODE was set to > low-active clock (CPOL=1), which is not supposed to work. But it did work, > and > on the scope clock-polar

[U-Boot] [PATCH] ARMV7: S5P: rename from CONFIG_S5PC1XX to CONFIG_S5P

2010-08-23 Thread Minkyu Kang
Use the same configuration around S5P SoCs. (s5pc100, s5pc110, s5pc210 and so on) Signed-off-by: Minkyu Kang --- common/serial.c |4 ++-- drivers/gpio/Makefile |2 +- drivers/mtd/onenand/samsung.c |6 +++--- drivers/serial/Makefile |2 +- include/confi

Re: [U-Boot] help with HP mv2120 debricking

2010-08-23 Thread Bas Mevissen
On Mon, 23 Aug 2010 09:19:05 +0200, "Miroslav Petricek" wrote: > And here it hangs. I wonder if there is any way hot to reset u-boot > settings. I mean some interrupt the POST by some magic key from serial > consoler or something. > > Do you think there is any possibility to debrick my device?

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread David Jander
Hi Stefano, On Monday 23 August 2010 12:37:16 pm Stefano Babic wrote: >[...] > > In spi_cfg(), I saw this line: > > > > if (!(mode & SPI_CPOL)) > > sclkpol = 1; > > > > AFAIK, this should be: > > > > if (mode & SPI_CPOL) > > sclkpol = 1; > > > > At least for the MX51. Can you confirm that

Re: [U-Boot] [PATCH v2] [TESTING] da8xx: fixup ARM relocation support

2010-08-23 Thread Sudhakar Rajashekhara
Hi Ben, On Thu, Aug 19, 2010 at 18:32:48, Ben Gardiner wrote: > Hi Sudhakar, > > Thank you for reviewing this patch. > > On Thu, Aug 19, 2010 at 2:25 AM, Sudhakar Rajashekhara > wrote: > > Ben Gardiner nanometrics.ca> writes: > > > > [...] snip > > > >> + > >> +void dram_init_banksize (void) >

[U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread David Jander
This patch introduces an extra mask-field in spansion_spi_flash_params to support flash chips with 1-byte extended ID (like the S25FL032P). Signed-off-by: David Jander --- drivers/mtd/spi/spansion.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drive

[U-Boot] [PATCH v3] [TESTING] da8xx: fixup ARM relocation support

2010-08-23 Thread Ben Gardiner
Split the existing dram_init for da8xx when ARM reloc is enabled, like the changes to arch/arm/cpu/arm926ejs/orion5x/dram.c in 0f234d263b17ccf1b8fd776eb8c15b7cdb27a887 by Heiko Schocher . Without these changes gd->ram_size is '0' which leads to incorrect relocation when CONFIG_SYS_ARM_WITHOUT_RELO

[U-Boot] Non-experimental U-Boot compilation

2010-08-23 Thread sandeep suresh
Dear all, I am using the AT91SAM9G20EK kit and want to port Linux on this. I am using the AT91SAM9260ek configuration as it seems the closest. The problem is after building the U-boot with the sources for this board, generating the .bin, loading and a power on reset (POR), there isn't a co

[U-Boot] Compact Flash Support on Omap 3530

2010-08-23 Thread Yau Kwong K (Tony)
Hi there, I would like to know if u-boot has compact flash support on OMAP 3530, if it does, what version of u-boot should I get? Thanks, Tony smime.p7s Description: S/MIME cryptographic signature ___ U-Boot mailing list U-Boot@lists.denx.de h

[U-Boot] [PATCH] Add generic support for samsung s3c2440

2010-08-23 Thread C Nauman
This patch adds generic support for the Samsung s3c2440 processor. Started from patch posted 2009-06-19 by Kevin Morfitt. Then modified for changes in the code that have occurred since. Signed-off-by: Craig Nauman diagraph.com> --- diff --git a/arch/arm/include/asm/arch-s3c24x0/s3c24x0.h b/a

Re: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.

2010-08-23 Thread Ben Warren
Hi Jocke, On Monday, August 23, 2010, Joakim Tjernlund wrote: > Ben Warren wrote on 2010/08/23 09:08:17: >> >>   Hi Detlev, >> >> On 8/13/2010 1:20 AM, Detlev Zundel wrote: >> > Hi Jocke, >> > >> Instead of always performing an autoneg, check if the PHY >> already has a link and if it

Re: [U-Boot] Non-experimental U-Boot compilation

2010-08-23 Thread Reinhard Meyer
Dear sandeep suresh, > Dear all, > I am using the AT91SAM9G20EK kit and want to port Linux on this. I am > using > the AT91SAM9260ek configuration as it seems the closest. The problem is after > building the U-boot with the sources for this board, generating the .bin, > loading and a power

[U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Nicolas Luna
Hi guys, I'm using OMAP-L138 (ARM based) with NOR flash and I'll like to know in which file uboot copies kernel from NOR to RAM? Thanks Nicolas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.

2010-08-23 Thread Joakim Tjernlund
Ben Warren wrote on 2010/08/23 16:12:07: > > Hi Jocke, > > On Monday, August 23, 2010, Joakim Tjernlund > wrote: > > Ben Warren wrote on 2010/08/23 09:08:17: > >> > >>   Hi Detlev, > >> > >> On 8/13/2010 1:20 AM, Detlev Zundel wrote: > >> > Hi Jocke, > >> > > >> Instead of always performing

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Albert ARIBAUD
Le 23/08/2010 16:48, Nicolas Luna a écrit : > Hi guys, > > I'm using OMAP-L138 (ARM based) with NOR flash and I'll like to know in > which file uboot copies kernel from NOR to RAM? > > Thanks > > Nicolas Nicolas, Your question, as it is expressed, does not make much sense to me. What kind of 'fi

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Detlev Zundel
Hi Jef, >>> 10) The system I work on is a bareboard embedded system using U-boot >>> to start up. That is why we are trying to use S-record files for >>> uploading new programs, and not the more efficient FTP used in Linux. >> So you do have a network interface on your board? Heck, why don;t you

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Nicolas Luna
Ok I would like to improve the copy of linux kernel from NOR to RAM. I would like to replace the current copy and use EDMA instead. I traced the uboot code but I can't find in which file (uboot source code) the copy (from NOR to RAM) takes place. Thanks. Regards, Nicolas On Mon, Aug 23, 2010

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Nishanth Menon
On Mon, Aug 23, 2010 at 10:14 AM, Nicolas Luna wrote: > Ok > > I would like to improve the copy of linux kernel from NOR to RAM. I would > like to replace the current copy and use EDMA instead. I traced the uboot > code but I can't find in which file (uboot source code) the copy (from NOR > to RAM

[U-Boot] Start/stop of network devices (was: Re: [PATCH] UEC PHY: Speed up initial PHY neg.)

2010-08-23 Thread Detlev Zundel
Hi Ben, [Jocke deleted from CC as this is not about the patch anymore] > Sorry for the delay on this. I'm all for changing the existing > behavior. It seems to me that the only time we would ever want to > wind an interface down is if we switch the active one (even then, I'm > not sure). My wo

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Nicolas Luna
Well I mean at the boot time not in uboot prompt. Regards, Nicolas On Mon, Aug 23, 2010 at 11:16 AM, Nishanth Menon wrote: > On Mon, Aug 23, 2010 at 10:14 AM, Nicolas Luna wrote: > > Ok > > > > I would like to improve the copy of linux kernel from NOR to RAM. I would > > like to replace the c

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Rogan Dawes
On 2010/08/23 5:19 PM, Nicolas Luna wrote: > Well I mean at the boot time not in uboot prompt. > > Regards, > Nicolas The cp command may be executed as part of the automatic boot script. Alternatively, the bootm command may perform the copy from NOR to RAM automatically as part of the boot sequen

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Detlev Zundel
Hi Nicolas, > I'm using OMAP-L138 (ARM based) with NOR flash and I'll like to know in > which file uboot copies kernel from NOR to RAM? This will be the UBL which runs before U-Boot gets a chance to run. Just before Stefano Babic's work on the dm365 platform all davinci U-Boot ports configured CO

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Nicolas Luna
In fact I'm using OMAPL138 platform and I think that it is not UBL that is copying kernel under that platform. I have been able to find the kernel image relocation in cmd_bootm.c but that is not the inital copy. I added printf/puts into the code to find where exactly it happens and my last print

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Stefano Babic
David Jander wrote: > Hi Stefano, > Hi David, > I just checked in the reference manual of the i.MX31, and there the meaning > of > this bit has the same polarity as on the i.MX51, so you'll need to fix this > also at the end of the spi_setup_slave() function, in the #else path of the > #ifde

[U-Boot] DNS323 (Orion5x) must double ORION5X_SZ_BOOTROM to access full flash

2010-08-23 Thread Rogan Dawes
Hi Albert, I've been trying to figure out why I could not erase sectors in my flash greater than SA70. It turned out that this was on a megabyte boundary, and in fact, was exactly half way through my flash. The flash is a 64Mbit part, i.e. 8MB, and I could only access the first 4MB of it, even th

Re: [U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread Mike Frysinger
On Monday, August 23, 2010 09:12:16 David Jander wrote: > + { > + .idcode1 = SPSN_ID_S25FL032A, > + .idcode2 = SPSN_EXT_ID_S25FL032P, > + .idmask2 = 0xff00, what does the idcode2 look like such that you need a mask ? -mike signature.asc Description: This i

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
On 2010-08-23, Detlev Zundel wrote: > Hi Jef, > 10) The system I work on is a bareboard embedded system using U-boot to start up. That is why we are trying to use S-record files for uploading new programs, and not the more efficient FTP used in Linux. >>> So you do have a network in

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Stefan Roese
On Monday 23 August 2010 17:55:44 Stefano Babic wrote: > > I am also adding support for S25FL032P chips to the spansion driver. Will > > post a patch later. > > I have seen. However, it should be better if you send the patch also to > the maintainer for the MTD subsystem (Stefan Roese, I set his a

Re: [U-Boot] Kernel copy from NOR to RAM

2010-08-23 Thread Stefano Babic
Nicolas Luna wrote: > In fact I'm using OMAPL138 platform and I think that it is not UBL that is > copying kernel under that platform. The UBL set up the processor in a fixed way, and have no knowledge about the kernel. It loads u-boot, and the kernel is copied inside u-boot. > I added printf/put

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Detlev Zundel
Hi Grant, > On 2010-08-23, Detlev Zundel wrote: >> Hi Jef, >> > 10) The system I work on is a bareboard embedded system using U-boot > to start up. That is why we are trying to use S-record files for > uploading new programs, and not the more efficient FTP used in Linux. So you d

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Detlev Zundel
Hi Stefan, > On Monday 23 August 2010 17:55:44 Stefano Babic wrote: >> > I am also adding support for S25FL032P chips to the spansion driver. Will >> > post a patch later. >> >> I have seen. However, it should be better if you send the patch also to >> the maintainer for the MTD subsystem (Stefan

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
On 2010-08-23, Detlev Zundel wrote: I didn't say that. I was trying to say that our bareboard system doesn't support Ethernet and does not have TCP/IP stack (like Linux). If our system was a Linux system, we wouldn't be having this conversation. >>> >>> We use tftp in U-Boot e

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Ben Warren
Hi Grant, On 8/23/2010 2:10 PM, Grant Edwards wrote: > On 2010-08-23, Detlev Zundel wrote: > > I didn't say that. I was trying to say that our bareboard system > doesn't support Ethernet and does not have TCP/IP stack (like Linux). > If our system was a Linux system, we wouldn't be

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Detlev Zundel
Hi Grant, Maybe you can implement a server on your hardware? >>> >>> What sort of server? >> >> It would be a tftp server of course but that is out of the question >> without a network hardware. > > Now that you mention it, I have implemented a tftp server for U-Boot. Nice job! > We needed

Re: [U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread Mike Frysinger
On Monday, August 23, 2010 09:12:16 David Jander wrote: > @@ -79,6 +81,7 @@ static const struct spansion_spi_flash_params > spansion_spi_flash_table[] = { also, your e-mailer appears to have mangled this patch. please use `git send- email` so that it doesnt screw things up. -mike signature.asc

Re: [U-Boot] [PATCH] Fixing spi erase for S25FL128P_256K

2010-08-23 Thread Mike Frysinger
On Tuesday, August 10, 2010 09:02:09 Marc-André Hébert wrote: > @@ -262,7 +262,6 @@ int spansion_erase(struct spi_flash *flash, u32 > offset, size_t len) > return -1; seems your mailer too is broken. please use `git send-email` when posting patches so they dont get screwed up. -mik

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
On 2010-08-23, Ben Warren wrote: > On 8/23/2010 2:10 PM, Grant Edwards wrote: >> Now that you mention it, I have implemented a tftp server for U-Boot. >> >> We needed a way to recover "bricked" units in the field, and there's >> simply no way we could require out customers to install a tftp serve

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-23 Thread Mike Frysinger
On Monday, August 23, 2010 17:03:24 Detlev Zundel wrote: > Hi Stefan, > > On Monday 23 August 2010 17:55:44 Stefano Babic wrote: > >> > I am also adding support for S25FL032P chips to the spansion driver. > >> > Will post a patch later. > >> > >> I have seen. However, it should be better if you se

Re: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?

2010-08-23 Thread Grant Edwards
On 2010-08-23, Detlev Zundel wrote: > Hi Grant, > > Maybe you can implement a server on your hardware? What sort of server? >>> >>> It would be a tftp server of course but that is out of the question >>> without a network hardware. >> >> Now that you mention it, I have implemented a

Re: [U-Boot] Add support for Winbond W25Q64 SPI flash (updated)

2010-08-23 Thread Mike Frysinger
ive imported this into my sf branch so it doesnt get lost. cheers ! -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread Mike Frysinger
On Monday, August 23, 2010 17:35:03 Mike Frysinger wrote: > On Monday, August 23, 2010 09:12:16 David Jander wrote: > > @@ -79,6 +81,7 @@ static const struct spansion_spi_flash_params > > spansion_spi_flash_table[] = { > > also, your e-mailer appears to have mangled this patch. please use `git >

Re: [U-Boot] [PATCH] Fixing spi erase for S25FL128P_256K

2010-08-23 Thread Mike Frysinger
On Monday, August 23, 2010 17:37:44 Mike Frysinger wrote: > On Tuesday, August 10, 2010 09:02:09 Marc-André Hébert wrote: > > @@ -262,7 +262,6 @@ int spansion_erase(struct spi_flash *flash, u32 > > offset, size_t len) > > > > return -1; > > seems your mailer too is broken. please use

Re: [U-Boot] [PATCH] SPI: cmd_spi.c: add option to specify bus and mode

2010-08-23 Thread Mike Frysinger
were you going to send an updated version ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] video: cfb_console: add support for 4bpp bitmaps with GDF_32BIT_X888RGB

2010-08-23 Thread Timur Tabi
Add support for 4bpp bitmaps, but only when writing to a GDF_32BIT_X888RGB. Signed-off-by: Timur Tabi --- I only added support for GDF_32BIT_X888RGB because that's the only mode that my video device supports in U-Boot. I wouldn't be able to test any other mode, and it took a lot of trial and er

Re: [U-Boot] DNS323 (Orion5x) must double ORION5X_SZ_BOOTROM to access full flash

2010-08-23 Thread Albert ARIBAUD
Le 24/08/2010 07:21, Chris Moore a écrit : > Hi Rogan, > > Le 23/08/2010 18:06, Rogan Dawes a écrit : >> Doubling the value for ORION5X_SZ_BOOTROM allowed me to access the >> additional sectors, but that makes me wonder what the reason for it is. >> >> I know that the flash chip is wired up strange

Re: [U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread David Jander
On Monday 23 August 2010 06:31:26 pm Mike Frysinger wrote: > On Monday, August 23, 2010 09:12:16 David Jander wrote: > > + { > > + .idcode1 = SPSN_ID_S25FL032A, > > + .idcode2 = SPSN_EXT_ID_S25FL032P, > > + .idmask2 = 0xff00, > > what does the idcode2 look like such

[U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-08-23 Thread David Jander
This patch introduces an extra mask-field in spansion_spi_flash_params to support flash chips with 1-byte extended ID (like the S25FL032P). Signed-off-by: David Jander --- drivers/mtd/spi/spansion.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drive