From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 62-177-159-132.static.bbeyond.nl ([62.177.159.132] helo=mail.opticon.com) by canuck.infradead.org with esmtps (Exim 4.43 #1 (Red Hat Linux)) id 1D9Pgy-0002SI-BX for linux-mtd@lists.infradead.org; Thu, 10 Mar 2005 10:35:18 -0500 Received: from [192.168.0.70] (user70.opticon.com [192.168.0.70]) by mail.opticon.com (8.12.11/8.12.11) with ESMTP id j2AFZ77d023659 for ; Thu, 10 Mar 2005 16:35:08 +0100 Message-ID: <4230692B.3020303@opticon.com> Date: Thu, 10 Mar 2005 16:35:07 +0100 From: Wolter Kamphuis MIME-Version: 1.0 To: linux-mtd@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Can't load DOC driver, DOC address unknown? List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, We're working on the Linux port for the E-ten P700. We've got a problem accessing the DiskOnChip (Millennium Plus 64Mb). The spec's we have (possibly outdated) say it should be mapped at address 0xA4000000 but the driver (doc2001plus) can't find it there. The driver does find a DOC on all addresses < 0x04000000 offset 0x1000 but fails to find the flash chips. Doesn't look right. Is there a way to figure where the DOC is mapped without the use of JTAG (which we haven't). Maybe through a WindowsCE program? The P700 has a M-systems DOC+ MD-3331-D64-V3. We start the kernel using HaRET, below is the output. I've added some debug to the docprobe and doc2001plus drivers. E-ten bootloader starting: *******Beginning System Initialization******* CPU ID = A0 PXA255 SDCLK[1] = MemClk MemClk = 99.53 MHz Run Mode = 2 * MemClk Turbo Mode = 2 * Run Mode Mode: TURBO MMU Enabled! ****************************************************** ****************************************************** ****************************************************** ****************************************************** ****************************************************** OEMInitDebugSerial using UART1 ***************************************************************** * Paladin, Version 2.30 * Built: 13:00:27 Jan 26 2005 * * * Copyright (C) 2003, E-TEN Information System Co., Ltd. ***************************************************************** MSC1 Pre value = 7FF07FF0 MSC1 Post value = 7FF172FC Tenerife ID = 1884D51 DC_0=0x1...... DC_1=0x43...... DC_2=0x1...... DC_4=0x4...... DC_5=0x1...... DC_8=0x868B8649...... M1_0=0x1...... M1_1=0x1B676CA0...... M1_2=0x117700B0...... M1_5=0x170211...... CC_0=0x2...... CC_2=0x200000...... CC_5=0x0...... SW_6=0xAABBCCDD...... ulStride=0x1E0...... (G1_BASE+GC_START_ADDR)=0x1B0...... ulStride=0x1E0..0x140..0x25800.. ulStride=0x1E0..0x140..0x9600.. FP06R=0x80000000...... FP07R=0x0...... FP08R=0x3...... FP08R aw=0x3...... FP07R aw=0x0...... FP0FR aw=0x10...... ====> Y = 320 ====> FB_BASE = B8300000 flRegisterComponents Adapter Found.... flRegisterDOCPLUS().... flRegisterINFTL().... bdkReadInit OK! read from 11 to 0x83FD0000 -> bdkReadBlock OK! read from 12 to 0x83FD8000 -> bdkReadBlock OK! read from 13 to 0x83FE0000 -> bdkReadBlock OK! read from 14 to 0x83FE8000 -> bdkReadBlock OK! read from 15 to 0x83FF0000 -> bdkReadBlock OK! Version String is AB2110.100.0014.WWE.premium. .100.0000 RCSR = 0x00000001 dwNK = EA0003FE memset(0x80040000, 0, 0x01EC0000); memset(0x82000000, 0, 0x01F00000); Launch OS image... Launchà HaRET starting kernel: x