mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Barebox: Nand flash
@ 2010-08-28 12:15 Nataraj S Narayan
  2010-08-28 14:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Nataraj S Narayan @ 2010-08-28 12:15 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]

Hi

on commit a74a26f25477ec65229a57ca15e0f2c56396c69a

I don't find nand0.rootfs.

9263-EK:/  ls /dev/

/dev/zero           /dev/defaultenv     /dev/mem
/dev/ram0           /dev/nand0          /dev/nand_oob0
/dev/phy0           /dev/self_raw       /dev/self0
/dev/env_raw        /dev/env0


Am I missing anything?


regards

Nataraj

[-- Attachment #1.2: Type: text/html, Size: 407 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Barebox: Nand flash
  2010-08-28 12:15 Barebox: Nand flash Nataraj S Narayan
@ 2010-08-28 14:13 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2010-08-28 14:13 UTC (permalink / raw)
  To: Nataraj S Narayan; +Cc: barebox

On Sat, Aug 28, 2010 at 05:45:17PM +0530, Nataraj S Narayan wrote:
> Hi
> 
> on commit a74a26f25477ec65229a57ca15e0f2c56396c69a
> 
> I don't find nand0.rootfs.
> 
> 9263-EK:/  ls /dev/
> 
> /dev/zero           /dev/defaultenv     /dev/mem
> /dev/ram0           /dev/nand0          /dev/nand_oob0
> /dev/phy0           /dev/self_raw       /dev/self0
> /dev/env_raw        /dev/env0

/dev/nand0 is there, so there's only partitioning missing. Try something
like

addpart /dev/nand0 256k(barebox),256k(bareboxenv),2M(kernel),-(rootfs)
nand -a /dev/nand0.*

Normally your environment does this for you.

Note that /dev/nand0.rootfs is not intended for direct use, instead use
/dev/nand0.rootfs.bb. The .bb devices automatically skip bad blocks
while writing on it or reading from it.

Regards,
  Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-28 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28 12:15 Barebox: Nand flash Nataraj S Narayan
2010-08-28 14:13 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox