[U-Boot] USB tty corrupted stream on Beagleboard xM.

2011-07-04 Thread javier Martin
boot-loaders.u-boot/99482 Has anyone found a solution for this? 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

Re: [U-Boot] [u-boot] [PATCH] imx27: make 26MHz clock input value selectable from config files.

2009-11-24 Thread javier Martin
I agree with the patch in general, but it seems very strange to me to > name the variable "CLK26M" when it could be, for example, 25M instead. > > Please chose a better name and resubmit. > Thank you for your comments I will pick up a better name and resubmit. -- Javie

Re: [U-Boot] Problem with SD card and ext2ls

2009-11-23 Thread javier Martin
ee my last mail. I sent three mails without reply and maybe this lead to some confusion, sorry. In that, my previous mail, you have all the information: Board, SD card, how to reproduce... Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 3

Re: [U-Boot] Problem with SD card and ext2ls

2009-11-20 Thread javier Martin
# 8 caught ext2fs read inode blkno 6 blkoff 0 <12, 0, 128> -- 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 l

Re: [U-Boot] Problem with SD card and ext2ls

2009-11-20 Thread javier Martin
Also if I issue a "mmc rescan 0" I get the following: # mmc rescan 0 # ext2ls mmc 0:1 / get partition info called raise: Signal # 8 caught raise: Signal # 8 caught raise: Signal # 8 caught What could be happening here? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C -

[U-Boot] Problem with SD card and ext2ls

2009-11-20 Thread javier Martin
@lists.denx.de/msg12776.html Here also Wolfgang Denk says that ext2 is currently broken in u-boot for newer ext2 images. Is this still true or has it been fixed since then? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria

Re: [U-Boot] [u-boot] [PATCH] imx27: make 26MHz clock input value selectable from config files.

2009-11-19 Thread javier Martin
I think Fred Fan is currently responsible of acking this patch if there are no objections, but he seems missing since some weeks. Couldn't the patch be reviewed by a higher level maintainer? Thanks. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n

Re: [U-Boot] [u-boot] [PATCH][1/2] mx27: Add necessary defines and helper functions to support I2C in i.MX27.

2009-11-02 Thread javier Martin
2009/11/2 Heiko Schocher : > Hello Javier, > > Javier Martin wrote: >> Add proper register definitions, macros and clock functions required >> for I2C driver to be developed. >> >> >> >> Signed-off-by: Javier Martin >> -- >> diff --git a/cp

[U-Boot] [u-boot][PATCH][2/2] i2c_mxc: Add I2C support for i.MX27 chip processor.

2009-10-30 Thread Javier Martin
Add support for I2C in i.MX27 chip. Tested on imx27_visstrim_m10 board. Signed-off-by: Javier Martin -- diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 8e10fbb..63a8085 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -2,6 +2,8 @@ * i2c driver for Freescale

[U-Boot] [u-boot] [PATCH][1/2] mx27: Add necessary defines and helper functions to support I2C in i.MX27.

2009-10-30 Thread Javier Martin
Add proper register definitions, macros and clock functions required for I2C driver to be developed. Signed-off-by: Javier Martin -- diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index 808371f..540ef0c 100644 --- a/cpu/arm926ejs/mx27/generic.c +++ b/cpu/arm926ejs

Re: [U-Boot] Support for several I2C interfaces in the same board.

2009-10-29 Thread javier Martin
e this driver work for imx27/imx31 using CONFIG_MX27/CONFIG_MX31 defines. I don't know if you have a better suggestion for this. 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-

Re: [U-Boot] Support for several I2C interfaces in the same board.

2009-10-29 Thread javier Martin
er I will integrate it in your tree and test it. -- 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 U-Boot@lists.denx.d

[U-Boot] Support for several I2C interfaces in the same board.

2009-10-29 Thread javier Martin
I read a discussion about this subject in the past but it didn't arrive to a conclusion. What would be necessary for supporting two I2C interfaces? Maybe an i2c command that supports changing active interface or something similar? -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Ofic

[U-Boot] [u-boot] [PATCH] imx27: make 26MHz clock input value selectable from config files.

2009-10-29 Thread javier Martin
default value is 26MHz. Tested in imx27lite and imx27_visstrim_m10 board. Signed-off-by: Javier Martin -- cpu/arm926ejs/mx27/generic.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index da05c55..c26fc56

[U-Boot] [u-boot] [PATCH] [2/2] [v1.4] mxc_fec: avoid free() calls to already freed pointers.

2009-10-29 Thread javier Martin
halt callback. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Signed-off-by: Javier Martin -- drivers/net/fec_mxc.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bd83a24..08a4dd5

[U-Boot] [u-boot] [PATCH] [1/2] [v1.2] mxc_fec: fix some erroneous PHY accesses.

2009-10-29 Thread javier Martin
tested in i.MX27 Litekit board and eldk-4.2 toolchains. Now using proper defines for auto-negotiation register. Signed-off-by: Javier Martin -- drivers/net/fec_mxc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index

Re: [U-Boot] macro substitution - can someone explain please

2009-10-26 Thread javier Martin
mmand line: noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 init=linuxrc rw ${mtdparts} As stated in README file, global variables should be able to be accessed through ${ } symbols. Is this also valid inside "bootargs" variable? -- Javier Martin Vista Silicon S.L. CDTUC - FASE

Re: [U-Boot] [u-boot] [PATCH] [1/2] mxc_fec: fix some erroneous PHY accesses.

2009-10-23 Thread javier Martin
Who can ack this patch? Is Fred Fan or Tom Rix? 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 U

[U-Boot] [u-boot] [PATCH] [2/2] [v1.3] mxc_fec: avoid free() calls to already freed pointers.

2009-10-22 Thread javier Martin
i.MX27 Litekit board with eldk-4.2 toolchains. Signed-off-by: Javier Martin -- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bd83a24..351c75c 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -55,6 +55,7 @@ struct fec_priv gfec = { .tbd_base = NULL

[U-Boot] [u-boot] Problem with exceptions in i.mx27.

2009-10-21 Thread javier Martin
d see if a dump is generated, if not, apply this patch and confirm results. If this is a generalized problem, which would be a good place to do it? Comments are much appreciated. Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander.

Re: [U-Boot] [u-boot] [PATCH] [2/2] [v1.2] mxc_fec: avoid free() calls to already freed pointers.

2009-10-20 Thread javier Martin
> > It would seem more logical to me if you swapped names around, i. e. > please use FEC_STATUS_INIT and FEC_STATUS_HALT. > > Also, we might consider using an enum here? No problem, let me fix it and resend. Thank you for the comments. -- Javier Martin Vista Silicon S.L. CDTUC

[U-Boot] [u-boot] [PATCH] [2/2] [v1.2] mxc_fec: avoid free() calls to already freed pointers.

2009-10-19 Thread javier Martin
i.MX27 Litekit board and eldk-4.2 toolchains. Signed-off-by: Javier Martin -- drivers/net/fec_mxc.c |9 +++-- drivers/net/fec_mxc.h | 10 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bd83a24..9e9ef99 100644

Re: [U-Boot] [u-boot] [PATCH] [2/2] mxc_fec: put freed pointers to NULL to avoid problems with further free() calls.

2009-10-19 Thread javier Martin
2009/10/19 Wolfgang Denk : > Dear javier Martin, > > In message you > wrote: >> If a free() call is used on an already freed pointer we run into >> stability problems. > > Is this actually the case anywhere in the code? If so, that code > should be fixed, as t

[U-Boot] [u-boot] [PATCH] [2/2] mxc_fec: put freed pointers to NULL to avoid problems with further free() calls.

2009-10-19 Thread javier Martin
If a free() call is used on an already freed pointer we run into stability problems. Put all pointers to NULL after freeing to avoid this problem. Tested on i.MX27 Litekit board with eldk-2.0 toolchain. Signed-off-by: Javier Martin -- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c

[U-Boot] [u-boot] [PATCH] [1/2] mxc_fec: fix some erroneous PHY accesses.

2009-10-19 Thread javier Martin
tested in i.MX27 Litekit board and eldk-2.0 toolchains. Signed-off-by: Javier Martin -- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bd83a24..18f0bba 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -157,7 +157,7 @@ static int miiphy_restart_aneg(struct

Re: [U-Boot] imx27lite stability problems.

2009-10-19 Thread javier Martin
2009/10/16 Wolfgang Denk : > Dear Javier Martin, > > In message you > wrote: >> >> I could finally test this in an original LogicPD i.mx27 litekit board >> and found the same problems. >> System gets stuck when issuing a ping command. >> >

Re: [U-Boot] imx27lite stability problems.

2009-10-16 Thread javier Martin
2009/9/17 Wolfgang Denk : > Dear javier Martin > >> I would like to help to solve this problems, but I don't know exactly >> where to begin from. I have been reviewing clock settings. Could this >> be happening because this board is using 32KHz xtal as reference >

[U-Boot] u-boot memory map questions

2009-10-07 Thread javier Martin
wrong point here? Thanks. -- 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 U-Boot@lists.denx.de http

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 enable

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 94

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

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 sys

[U-Boot] imx27lite stability problems.

2009-09-17 Thread javier Martin
don't know exactly where to begin from. I have been reviewing clock settings. Could this be happening because this board is using 32KHz xtal as reference instead of 26MHz one? Have you experienced these problems also? Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-

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

2009-08-07 Thread javier Martin
sing Freescale's toolchain included in LTIB for i.mx27 ads board. One thing that confuses me a little about this imx27litekit patch is that TEXT_ADDRESS is a RAM address but, according to the FAQ u-boot cannot be run from RAM by another bootloader. Why is TEXT_ADDRESS in RAM then? Thanks. --

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

2009-08-05 Thread javier Martin
rivers/mtd/nand/nand.c:53: undefined reference to `board_nand_init' Regards. -- Javier Martin Vista Silicon S.L. Universidad de Cantabria 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

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

2009-08-05 Thread javier Martin
2009/8/5 Wolfgang Denk : > Dear javier Martin, > > In message you > wrote: >> >> I have applied it but when compiling it gives the following errors: > ... >> arm-none-linux-gnueabi-ld: ERROR: Source object >> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-np

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

2009-08-05 Thread javier Martin
2009/8/5 javier Martin : > Hi, > What happened with this patch? Was it applied or did it have any problems? > Is it tested? I have applied it but when compiling it gives the following errors: hdog/libwatchdog.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a board/

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

2009-08-05 Thread javier Martin
Hi, What happened with this patch? Was it applied or did it have any problems? Is it tested? Thank you. -- Javier Martin Vista Silicon S.L. Universidad de Cantabria 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