Re: [U-Boot-Users] [PATCH 0/2] Coldfire Ethernet initialization changes

2008-07-08 Thread Liew Tsi Chung
mcdmafec_initialize(bd_t *bis); +extern int mcffec_initialize(bd_t*); Thanks! Regards, TsiChung -Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 2:07 AM To: Liew Tsi Chung; u-boot-users@lists.sourceforge.net Cc: Ben Warren Subject: [PATCH 0/2] Coldfire

Re: [U-Boot-Users] [PATCH] Fix dm9000 receive status and len little endian issue

2008-07-01 Thread Liew Tsi Chung
Ben, May I know the status on this patch? Regards, TsiChung - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy

Re: [U-Boot-Users] [PATCH] Fix dm9000 receive status and len little endian issue

2008-06-25 Thread Liew Tsi Chung
To: Liew Tsi Chung Cc: U-Boot-Users; Rigby John; Ben Warren Subject: Re: [U-Boot-Users] [PATCH] Fix dm9000 receive status and len little endian issue Hello Tsi-Chung, The received status and len was in little endian format and caused the ethernet unable to proceed further. Add __le16_to_cpu

Re: [U-Boot-Users] [PATCH] Fix dm9000 receive status and len little endian issue

2008-06-25 Thread Liew Tsi Chung
-Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 4:01 PM To: Liew Tsi Chung Cc: U-Boot-Users; Rigby John Subject: Re: [PATCH] Fix dm9000 receive status and len little endian issue Tsi-Chung Liew wrote: From: TsiChung Liew [EMAIL PROTECTED

Re: [U-Boot-Users] Coldfire 547x, Linux and big memory.

2008-06-17 Thread Liew Tsi Chung
no update is needed to be done in u-boot side. Regards, TsiChung -Original Message- From: Luigi 'Comio' Mantellini [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 2:53 AM To: U-Boot-Users Cc: Liew Tsi Chung Subject: Coldfire 547x, Linux and big memory. Hi List, Hi Tsi-Ching Liew, I'm

Re: [U-Boot-Users] Coldfire 5272C3 Ethernet Support?

2008-06-17 Thread Liew Tsi Chung
Andrew, Thanks for pointing out the problem. The Ethernet unable to transmit and causes TX timeout is due to timer function (udelay) is not working properly and used an incorrect timer memory mapped. Please append defined(CONFIG_M5272) after CONFIG_M5253 in u-boot/include/asm-m68k/timer.h. I

Re: [U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate at 115200

2008-05-29 Thread Liew Tsi Chung
I see your point. I use your formula if you have not other comments. Regards, TsiChung -Original Message- From: Jerry Van Baren [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 10:57 PM To: Liew Tsi Chung Cc: Jerry Van Baren; U-Boot-Users; Wolfgang Denx; Rigby John Subject: Re

Re: [U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate at 115200

2008-05-28 Thread Liew Tsi Chung
198400 === Work at this counter! Small diff. 40 143884800 3884800 Regards, TsiChung -Original Message- From: Jerry Van Baren [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 1:45 PM To: Liew Tsi Chung Cc: U-Boot-Users; Wolfgang Denx; Rigby John Subject: Re: [U-Boot

Re: [U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate at 115200

2008-05-28 Thread Liew Tsi Chung
Where are you getting the +31 from? Is this in the User's Manual? No in user's manual. The +31 is rounding up purpose. Computations are for mathematicians. Real engineers measure the actual frequency. ;-) Agree. If you change the - 31 to - 42, your computations will result in a different

Re: [U-Boot-Users] Reg in SPI problem

2008-05-13 Thread Liew Tsi Chung
Karthikeyan, DSPI read: - Check status (sr 0xF000), continue if = 4 - Write 0x800n0003 to pop register (0xfc05c038) where n is chipsel (1 chipsel), 3 is perform read (AT25080A does not have fast read feature) - dummy read - write 0x800n00xx to popr, address byte 2 - dummy read - write

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-06 Thread Liew Tsi Chung
Tsi Chung Cc: Shinya Kuribayashi; U-Boot-Users; Rigby John; Mahan Kurt Subject: Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC In message [EMAIL PROTECTED] you wrote: Could you confirm it builds with Today's config.mk patch by Wolfgang? If it works (I think

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-05 Thread Liew Tsi Chung
Wolfgang and Shinya, Could you confirm it builds with Today's config.mk patch by Wolfgang? If it works (I think it will), I'm satisfied with that. With original $(CC) in cpu/*/config.mk and Wolfgang's config.mk patch: Still generates the same error (see below) Regards, TsiChung [snip]

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-05 Thread Liew Tsi Chung
Wolfgang, Please ignore the previous email stated the new patch did not work. Apparently, it must have been a mistake that I made after applied your patch. Now, your patch work, still waiting for Kurt to confirm it. Does this patch make into u-boot 1.3.3-rc3? Thanks. Regards, TsiChung

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-04 Thread Liew Tsi Chung
:[EMAIL PROTECTED] Sent: Sat 5/3/2008 10:49 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users; Rigby John; Mahan Kurt Subject: Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC Liew Tsi Chung wrote: Shinya, Which linux distro are you using? [snip

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-03 Thread Liew Tsi Chung
Shinya, Which linux distro are you using? Regards, TsiChung From: Shinya Kuribayashi [mailto:[EMAIL PROTECTED] Sent: Fri 5/2/2008 8:25 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users; Rigby John; Mahan Kurt Subject: Re: [U-Boot-Users] [PATCH

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-02 Thread Liew Tsi Chung
Wolfgang, Stop! We are not talking about $(CC)gcc! The change was this: -ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2) And ``$(CC)'' and ``$(CROSS_COMPILE)gcc'' should be really the same here. Sorry for the

Re: [U-Boot-Users] [PATCH] ColdFire: Get information from the correct GCC

2008-05-01 Thread Liew Tsi Chung
Shinya PLATFORM_RELFLAGS += -ffixed-d7 -msep-data -ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2) PLATFORM_CPPFLAGS += -mcpu=5208 -fPIC else PLATFORM_CPPFLAGS += -m5307 -fPIC Let me make sure the intention

Re: [U-Boot-Users] reg to configure DSPI in mcf54455

2008-04-11 Thread Liew Tsi Chung
Karthik, The current M5445EVB U-boot has the DSPI support be part of the flash utility in board/freescale/m54455evb/flash.c, since the serial flash in 54455EVB is flash alike. The only feature that it can't perform is read back from the flash. I have not implemented the DSPI be part of the SPI

Re: [U-Boot-Users] huge (6 second) delay when booting linuxkernel (coldfire)

2008-04-08 Thread Liew Tsi Chung
Wolfgang, I'm glad that you found the problem. Booting works fast as it should. (This new CFG_BOOTMAPSZ came from M5329EVB.h). It must have been the early work that I did not change to use the new CFG_BOOTMAPSZ. Now, the current repository has the new CFG_BOOTMAPSZ. Regards, TsiChung

Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c

2008-03-27 Thread Liew Tsi Chung
547x/548x are not the only ColdFire affected, 5235, 5373, 5275, 5329, 54455, 52277, and 5271 are required to update as well. -Original Message- From: Tabi Timur Sent: Thursday, March 27, 2008 9:46 AM To: Luigi 'Comio' Mantellini Cc: U-boot-Users; Liew Tsi Chung Subject: Re: [U-Boot

Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c

2008-03-27 Thread Liew Tsi Chung
Yes. Thanks. Regards, TsiChung -Original Message- From: Tabi Timur Sent: Thursday, March 27, 2008 12:51 PM To: Liew Tsi Chung Cc: Luigi 'Comio' Mantellini; U-boot-Users Subject: Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c Liew Tsi Chung wrote

Re: [U-Boot-Users] [PATCH] ColdFire: Assign version_string as data section in start.S

2008-03-27 Thread Liew Tsi Chung
Wolfgang, In message [EMAIL PROTECTED] you wrote: The compiler does not place the .ascii in start.S to data section, instead it put in under text section. This is an issue where it This is intentional on most architectures. What exactly is your problem? Apparently, it is not the case in

Re: [U-Boot-Users] [PATCH] ColdFire: Assign version_string as data section in start.S

2008-03-27 Thread Liew Tsi Chung
Wolfgang, Maybe just adding some .align directive helps? The example provided for 8xx or others, there is an offset alignment after CONFIG_IDENT_STRING - . = EXC_OFF_SYS_RESET. In fact, it works after adding .align 4 after CONFIG_IDENT_STRING. Thanks. Regards, TsiChung

Re: [U-Boot-Users] [PATCH] Add brackets to if condition in tools/setlocalversion

2008-03-24 Thread Liew Tsi Chung
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:25 PM To: Liew Tsi Chung Cc: U-Boot-Users; Rigby John Subject: Re: [PATCH] Add brackets to if condition in tools/setlocalversion In message [EMAIL PROTECTED] you wrote: The long condition in the script causes all ColdFire platforms

Re: [U-Boot-Users] [PATCH] Add brackets to if condition in tools/setlocalversion

2008-03-24 Thread Liew Tsi Chung
John, Fedora 3 and Fedora 8, both are using bash. Regards, TsiChung -Original Message- From: Rigby John Sent: Monday, March 24, 2008 2:48 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users Subject: Re: [PATCH] Add brackets to if condition in tools/setlocalversion What

Re: [U-Boot-Users] [PATCH] Add support CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in pci_auto.c

2008-03-19 Thread Liew Tsi Chung
I will change it at the later patch with three CF EVBs. Regards, TsiChung -Original Message- From: Stefan Roese [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 3:34 AM To: u-boot-users@lists.sourceforge.net Cc: Jean-Christophe PLAGNIOL-VILLARD; Liew Tsi Chung; Wolfgang Denx

Re: [U-Boot-Users] [PATCH] ColdFire: Fix missing code flash sizefor M5485EVB

2008-02-04 Thread Liew Tsi Chung
Tsi Chung Cc: U-Boot-Users; Wolfgang Denx; Rigby John; Mahan James Subject: Re: [U-Boot-Users] [PATCH] ColdFire: Fix missing code flash sizefor M5485EVB Hi u-boot ml, Hi Tsi Chung Liew, I have the following error compiling the M5475xxx targets: [code] make[1]: Leaving directory `/mnt/devel/idf/u

Re: [U-Boot-Users] [PATCH] ColdFire: Added M5275EVB support.

2008-01-28 Thread Liew Tsi Chung
Matthew, I spotted a few issues: 1. in cpu/mcf52x2/interrupt.c should be imlr0 = 0xFFFE; 2. in include/asm-m68k/immap.h CFG_TMRINTR_PRI should set to 0x1E for timer interrupt to work probably. #define CFG_TMRINTR_PRI (0x1E) 3.

Re: [U-Boot-Users] [PATCH] ColdFire: Added M5275EVB support.

2008-01-25 Thread Liew Tsi Chung
David, After you applied the 5275 patches, did you perform a git rebase? One ColdFire patch Fix CFI Flash low level Read/Write macro is required. The original macros have address and value swap, and it will cause exception whenever there is a CFI flash low level read/write performs.

Re: [U-Boot-Users] resend#3 [PATCH 6/8] ColdFire: Add MCF547x_8x FEC driver

2008-01-17 Thread Liew Tsi Chung
Ben, Right, so there's no need to mention them in C code. Less is more, as they say. Agree. So, everything ok now? Regards, TsiChung -Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 12:27 PM To: Liew Tsi Chung Cc: U-Boot-Users; Wolfgang

[U-Boot-Users] ColdFire patches

2008-01-16 Thread Liew Tsi Chung
Wolfgang, Are all the ColdFire patches ok to commit? Thanks. Regards, TsiChung - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

Re: [U-Boot-Users] ColdFire patches

2008-01-16 Thread Liew Tsi Chung
, TsiChung -Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 3:50 PM To: Liew Tsi Chung Cc: [EMAIL PROTECTED]; U-Boot-Users; Rigby John Subject: Re: [U-Boot-Users] ColdFire patches Liew Tsi Chung wrote: Wolfgang, Are all the ColdFire

Re: [U-Boot-Users] u-boot on M5275EVB?

2008-01-16 Thread Liew Tsi Chung
David, Also, can anyone tell me the differences between U-boot 1.1.6 and 1.3.1? There are many changes since 1.1.6. It is better start off the development from 1.3.1 than from 1.1.6. Are you saying that I can use the exact same code for the M5275EVB as the M5272C3? After comparing 5272

Re: [U-Boot-Users] [PATCH 2/2] ColdFire: Add M5373EVB platformsupport - 2

2008-01-15 Thread Liew Tsi Chung
Fixed it. It is in drivers/rtc/mcfrtc.c Thanks. Regards, TsiChung - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/