From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757167AbaCTJq4 (ORCPT ); Thu, 20 Mar 2014 05:46:56 -0400 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13]:54683 "EHLO va3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755258AbaCTJqw convert rfc822-to-8bit (ORCPT ); Thu, 20 Mar 2014 05:46:52 -0400 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI X-SpamScore: 1 X-BigFish: VS1(zz98dIc89bh1432Izz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah1fc6h1082kzz1de098h1de097hz2dh2a8h839h93fhd25he5bhf0ah1288h12a5h12a9h12bdh1354h137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19c3h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh22d0h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h2668h1155h) Message-ID: <532AB94D.1050406@freescale.com> Date: Thu, 20 Mar 2014 17:47:57 +0800 From: Huang Shijie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 MIME-Version: 1.0 To: =?UTF-8?B?TG90aGFyIFdhw59tYW5u?= CC: , Arnd Bergmann , Artem Bityutskiy , Brian Norris , David Woodhouse , Fabio Estevam , Ian Campbell , Kumar Gala , Mark Rutland , Pawel Moll , Rob Herring , Rob Landley , Russell King , Sascha Hauer , Shawn Guo , , , , , , Subject: Re: [PATCH] mtd: gpmi: make blockmark swapping optional References: <1395235406-13449-1-git-send-email-y> <532AB1A2.9010702@freescale.com> <20140320102153.7106f915@ipc1.ka-ro> In-Reply-To: <20140320102153.7106f915@ipc1.ka-ro> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8BIT X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-FOPE-CONNECTOR: Id%0$Dn%FREESCALE.MAIL.ONMICROSOFT.COM$RO%1$TLS%0$FQDN%$TlsDn% Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2014年03月20日 17:21, Lothar Waßmann 写道: > Hi, > > Huang Shijie wrote: >> 于 2014年03月19日 21:23, y@karo-electronics.de 写道: >>> configurable via DT. This is required for the Ka-Ro electronics >>> platforms. >>> >> If you disable the swapping, you will disable the NAND boot in actually. >> > No. All our modules do boot from NAND and none of them does the > swapping. > > It seems the NAND boot runs well by luck. The ROM will do the swapping when it reads the BBT table written by the kobs-ng (or something else?). If the BBT table is small, not bigger then a page, the NAND boot may runs well when you disable the swapping; But it the BBT table is bigger, the ROM will get a corrupted BBT table. thanks Huang Shijie