From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30045 invoked by alias); 19 Mar 2014 08:48:00 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 30008 invoked by uid 89); 19 Mar 2014 08:47:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp4-g21.free.fr Received: from smtp4-g21.free.fr (HELO smtp4-g21.free.fr) (212.27.42.4) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Mar 2014 08:47:57 +0000 Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 3B50F4C869E; Wed, 19 Mar 2014 09:47:47 +0100 (CET) Date: Wed, 19 Mar 2014 08:48:00 -0000 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: =?ISO-8859-1?B?R2HrdGFu?= Carlier Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20140319094746.4e44f753@e6520eb> In-Reply-To: <53285E7A.5040102@gmail.com> References: <53285E7A.5040102@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [ECOS] Problem of coldboot on i.MX27 board with Micron NAND X-SW-Source: 2014-03/txt/msg00008.txt.bz2 Hi Ga=EBtan, Le Tue, 18 Mar 2014 15:55:54 +0100, Ga=EBtan Carlier a =E9crit : > I have a problem with redboot (release 20050912) with Freescale patches=20 > for i.MX27 PDK (3-stack) and seems to be related to NAND chip (all other= =20 > components are identical). > When I power on the board, nothing happened on serial console but when I= =20 > press reset button (or if I reset board using JTAG, to board boot properl= y. >=20 > With NAND Numonyx NAND02G-B2D, it works well on power on but with Micron= =20 > MT29F2G08ABBEAH4, coldboot does not work, I have to press RESET button. >=20 > The specs seem to be similar. The only difference is a device=20 > initialization for Micron that says that host must wait 100us after VCC=20 > is applied before sending Reset (FFh) command. > Where have I to place the wait loop ? > At the beginning of In PLATFORM_SETUP1 macro (.macro _platform_setup1)=20 > in hal_platform_setup.h or anywhere else ? >=20 > Test is done on boards with i.MX27 CPUs that have different revision=20 > (200951, 201209). And I know that newer revison (starting from 2012) can= =20 > freeze at boot due to bug in PLL circuit. > Do you have any other leads for me ? >=20 Micron NAND need a reset command at boot and i.MX27's BootROM doesn't send it when using external boot. See the note in page 5 of this AN : cache.freescale.com/files/dsp/doc/app_note/AN3672.pdf=20 Internal NAND boot seems to works based on this thread (not tested here) : https://community.freescale.com/thread/285717 Eric -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss