From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bradley Remedios Date: Wed, 8 Sep 2004 16:18:31 -0700 Subject: [U-Boot-Users] U-Boot and Nand Flash In-Reply-To: <20040908222959.65920.qmail@web11701.mail.yahoo.com> References: <963b3387040908144747363b14@mail.gmail.com> <20040908222959.65920.qmail@web11701.mail.yahoo.com> Message-ID: <963b33870409081618661df6b7@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de David, Thank you for your response. On Wed, 8 Sep 2004 15:29:59 -0700 (PDT), David Farrell wrote: > Look at the SMDK2410 board. I have if working on > a similiar board using the Samsung S3C2410 > cpu. I only made a few minor changes to the cvs The board that I am using actually boots from the Nand flash itself, but only makes the first block available to be read like RAM, all other blocks have to be read using the Read Command which only allows you to read at most 32-bits at a time. The first block is 16K which is larger than the U-Boot binary. So in order to copy the rest of the Bootloader from Nand flash to RAM or the kernel from Nand flash to RAM wouldn't I have to write special "read" functions for Nand Flash? There are no flash_read commands in include/flash.h. I see the changes you made to get writing to Nand Flash working, but fail to see how it handles reading from the Nand flash. Wouldn't that also be in board/smdk4210/flash.c? Please let me know what I am missing. Regards, -- Bradley Remedios bremedios at gmail.com