From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Wed, 15 Dec 2004 21:56:25 +0100 Subject: [U-Boot-Users] Reading or writing jffs2 - how? In-Reply-To: (Martin Egholm Nielsen's message of "Wed, 15 Dec 2004 13:56:29 +0100") References: Message-ID: <87hdmnuvpi.fsf@deepthought.outer.space.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Martin, > I have tried to create a jffs2-image of the linux-filesystem I wish to > use, and then write it to my flash using "nand write.jffs2 100000 0 > $(filesize)". But with no luck... > Then I began to investigate the fundamental "ls" and "nand erase" > commands, but neither there did I have any success. Below is a trace > of what I've tried in order to get something working. Are you really sure, your NAND gets accessed correctly both under U-Boot and Linux? Can you erase / write / readback some data under U-Boot by hand? Cheers Detlev -- The only use I can find for vi is editing the emacs sources while porting them to a new machine. -- Larry Campbell