From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 30 Mar 2015 08:05:52 +0200 Subject: [U-Boot] U-boot and UBI problem with vexpress board. In-Reply-To: <5518593F.7090504@gmail.com> References: <551570BF.3010604@denx.de> <55157CEC.2010804@gmail.com> <5518593F.7090504@gmail.com> Message-ID: <5518E7C0.2000203@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marcin, Am 29.03.2015 21:57, schrieb mar.krzeminski: > Hi, > > It seem that I have found the root cause of the problem. Good! > This board in qemu is set in this way, that device width is set to 2 and interface to 4. > That is why CFI driver in u-boot calculates wrongly sector size ( because size ratio variable was wrong ), > so in the end every odd sector (counting from 0 ) was not available. Ah, ok... > I've changed vexpress board code in qemu and for now it is working. Great. > I do not have real vexpress board to check if the root cause is u-boot or qemu, > but i think CFI driver i popular so propapbly there is something wrong in qemu site. I don't know ... it would be nice to have this checked on a real hw... bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany