How to Enable MTD

2009-02-02 Thread mike zheng
Hello, I have one AMD29LV640 NOR chip on my system. How can I enable it in Linux as MTD device? Right now, I can not operate on /dev/mtd in Linux: # od -x /dev/mtd od: /dev/mtd: No such file or directory od: /dev/mtd: Bad file descriptor # od -x /dev/mtd0 od: Dec 31 16:02:17 kernel: MTD_open

UC1611 LCD controller driver

2008-12-15 Thread mike zheng
Hi, Does anyone has the UC1611 LCD controller driver of Kernel2.6? Thanks for your help, Mike ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

JVM on e500 core

2008-11-28 Thread mike zheng
Hi All, I am using MPC8568 with e500 core. The cross-compiler I am using from Freescale - GCC 3_3-e500, glibc 2.3.2 and binutils 2.15. Any one know if Java Virtual Machine is supported on the e500 core processor? Has e500 support been added to GCJ? Thanks for your help,

Re: QE in MPC8360MDS

2008-11-01 Thread mike zheng
, Oct 31, 2008 at 09:47:18AM -0400, mike zheng wrote: Hi All, Anyone know the difference of QE between MPC8360 and MPC8568? I am using the QE code working for MPC8568 on a MPC8360MDS board. However there is no interrupt generated by UCC0. I set the QE working under loopback mode. The flag of TxBD

QE in MPC8360MDS

2008-10-31 Thread mike zheng
Hi All, Anyone know the difference of QE between MPC8360 and MPC8568? I am using the QE code working for MPC8568 on a MPC8360MDS board. However there is no interrupt generated by UCC0. I set the QE working under loopback mode. The flag of TxBD got changed, but the UCCE remains the same value.

Re: Kernel Oops when run ifconfig on MPC8360MDS board

2008-10-21 Thread mike zheng
0FEC4E00 On Tue, Oct 21, 2008 at 12:26 AM, mike zheng [EMAIL PROTECTED] wrote: Oh, I forgot to metion just now. The linux is based on a custom built kernel 2.4.22, not from Freescale. On 10/20/08, mike zheng [EMAIL PROTECTED] wrote: On 10/20/08, Kim Phillips [EMAIL PROTECTED] wrote

Kernel Oops when run ifconfig on MPC8360MDS board

2008-10-20 Thread mike zheng
Hi All, I have following kernel Oops when I run ifconfig to setup the UEC0 of MPC8360MDS board. There is no hardware problem, the UEC0 runs well under Uboot. Any idea on this issue? Thanks, Mike [EMAIL PROTECTED] root]# ifconfig eth0 47.135.148.158 Oops: machine check, sig: 7 NIP: C0126910

Re: Kernel Oops when run ifconfig on MPC8360MDS board

2008-10-20 Thread mike zheng
On 10/20/08, Kim Phillips [EMAIL PROTECTED] wrote: On Mon, 20 Oct 2008 15:00:33 -0700 mike zheng [EMAIL PROTECTED] wrote: I have following kernel Oops when I run ifconfig to setup the UEC0 of MPC8360MDS board. There is no hardware problem, the UEC0 runs well under Uboot. does this occur

Re: Kernel Oops when run ifconfig on MPC8360MDS board

2008-10-20 Thread mike zheng
Oh, I forgot to metion just now. The linux is based on a custom built kernel 2.4.22, not from Freescale. On 10/20/08, mike zheng [EMAIL PROTECTED] wrote: On 10/20/08, Kim Phillips [EMAIL PROTECTED] wrote: On Mon, 20 Oct 2008 15:00:33 -0700 mike zheng [EMAIL PROTECTED] wrote: I have

BSP on Kernel2.4 needed for MPC8360E-MDS

2008-10-06 Thread mike zheng
Hi All, Is there any BSP on kernel 2.4 for MPC8360EMDS board? Thanks, Mike ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

BDI2000 configuration file for MPC8323e-RDB board

2008-09-09 Thread mike zheng
Hello, Anyone has the BDI2000 board configuration file for Freescale's MPC8323e-RDB board? Thanks for your help, Mike ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

MPC8323RDB BSP on Kernel2.4

2008-07-28 Thread mike zheng
Hi All, Is the any MPC8323RDB BSP on Kernel 2.4? I have the BSP on Kernel 2.6 provided by Freescale. Unfortunate we are using Kernel2.4. Is there any exist BSP of this board on Kernel2.4? Or a BSP of similar board on Kernel2.4? Thanks in advance, Mike

Freescale SEC driver with cryptoloop on MPC8567e

2008-07-08 Thread mike zheng
Hello, Any one know how can I integrate the Freescale's SEC driver with cryptoloop in Kernel2.4 on MPC8567e? Or which version of kernel shall I take if it is already there? Thanks for your help, Mike ___ Linuxppc-dev mailing list

MCC problem of MPC8568

2008-04-15 Thread mike zheng
Hi, Currently, I have problem of the UBoot MCC driver. I setup the internal loopback on MPC8568. And here is the data of each channel: Channel #Tx DataRx Data 0 0x010x9D 1

mpc8568mds bootup problem

2008-03-19 Thread mike zheng
Hi All, My mpc8568mds board does not bootup. I am using Freescale's BSP on kernel2.6.23. The following is the log from serial port. Any idea? What is the next module to be initialized after the cfq? Where can I comment it out for debugging purpose? Thanks for your help, Mike = bootm 100

Early Debug message on MPC8568MDS

2008-03-12 Thread mike zheng
Hello, How can I enable the early debug message on 2.6.23 kernel for MPC8568MDS board? What is the first line shall be displayed on the serial port? The board uses the first port of UART, where does it defined? Thanks for your help, Mike ___

Quick Engine Support on Kernel 2.4

2008-01-11 Thread mike zheng
Hi All, Is there any BSP on Linux Kernel 2.4 support Quick Engine of MPC8568? If not, which BSP shall I start the porting? The BSP(on Kernel2.6) of MPC8568MDS from Freescale supports CPM2, but not QE. What the difference between CPM2 and QE? Thanks,

Re: printk() does not work on UART1

2008-01-09 Thread mike zheng
I found the problem. The CONFIG_CMDLINE was overwritten. Right now, it is working. Thanks for all the help, Mike On 1/9/08, Haiying Wang [EMAIL PROTECTED] wrote: On Wed, 2008-01-09 at 00:06 -0500, mike zheng wrote: Hi All, I have one mpc8568 board using UART1 as the serial port

printk() does not work on UART1

2008-01-08 Thread mike zheng
Hi All, I have one mpc8568 board using UART1 as the serial port. The OS is Linux Kernel2.4. If I use the polling mode driver of gen550_progress(), it works fine. However the printk() does not work after the console_init(). Anyone know what shall I change in the kernel to use UART1 as serial

Re: printk() does not work on UART1

2008-01-08 Thread mike zheng
Hi All, I have one mpc8568 board using UART1 as the serial port. The OS is Linux Kernel2.4. If I use the polling mode driver of gen550_progress(), it works fine. However the printk() does not work after the console_init(). Anyone know what shall I change in the kernel to use UART1 as

PCI configuration registers(BARs)

2007-11-30 Thread mike zheng
Hi All, I set PCI configuration registers(BARs) of a PCI adapter as following in Uboot: base address 0 = 0xf401 base address 1 = 0xf441 base address 2 = 0xf481 base address 3 = 0xa000 base address 4 =

Marvell 88se6121 in Kernel2.4

2007-10-10 Thread mike zheng
Hello, Anyone has the source code of kernel2.4 device driver for Marvel 88se6121? Thanks in advance, Mike ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

8555CDS BSP on 8548CDS board

2007-08-24 Thread mike zheng
Hi, I was told Freescale's 8555CDS board is very similar to 8548CDS board. I just wonder what exactly the differences are. can I just put the 8555CDS BSP onto the 8548CDS board? Thanks in advance, Mike ___ Linuxppc-dev mailing list

Re: System crash on boot_e500.S

2007-08-15 Thread mike zheng
mtspr CSRR0, r11 820 mtspr CSRR1, r12 On 8/14/07, Jon Loeliger [EMAIL PROTECTED] wrote: On Tue, 2007-08-14 at 15:14, mike zheng wrote: Hi All, I am trying to bring up MPC8548 CDS board on 2.4 kernel. I have problem in the head Ow, it hurts when I do this! _e500.S. The mtspr SRR0

Re: System crash on boot_e500.S

2007-08-15 Thread mike zheng
or comment is welcome, I am struggling with this issue for almost one week.. :-( On 8/15/07, Becky Bruce [EMAIL PROTECTED] wrote: On Aug 15, 2007, at 11:28 AM, Kumar Gala wrote: On Aug 15, 2007, at 11:02 AM, Scott Wood wrote: On Wed, Aug 15, 2007 at 09:57:59AM -0400, mike zheng wrote

Re: System crash on boot_e500.S

2007-08-15 Thread mike zheng
On 8/15/07, Scott Wood [EMAIL PROTECTED] wrote: mike zheng wrote: Unfortunately, all the applications are running on 2.4 kernel. I can not just throw the 2.4 kernel. And in what way does 2.6 break these applications? All the device drivers are based on 2.4 kernel. We plan to upgrade

System crash on boot_e500.S

2007-08-14 Thread mike zheng
Hi All, I am trying to bring up MPC8548 CDS board on 2.4 kernel. I have problem in the head_e500.S. The mtspr SRR0, r7; mtspr SRR1 r6 does not work for me. The content of R7 and R6 are not moved to SRR0 and SRR1. I am using the tool-chain from Freescale for 2.6 kernel. Any idea on this issue?

Error: unsupported relocation against CSRR0

2007-08-12 Thread mike zheng
Hi All, I have unsupported relocation against problem, while compiling entry.S in 2.4 Kernel against e500 core. Does anyone know what is the problem? Is there any option I missed? Thanks in advance, MikeZ /kernel- powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/kernel/.entry.o.d -nostdinc

Early UART setup on 2.6 kernel for mpc85xx

2007-08-10 Thread mike zheng
Hi All, In order to debug the kernel 2.6, I want setup serial port with UART on mpc85xx as early as possible. I add the register access code at the beginning of platform_init(). For example, I try to write THR register(0xe0004500). However the system just hanging there with this line. If I