No NAND device

Hello,
playing with my BeagleBoard XM, I went through a free-electrons tutorial to set up an NFS root.
I issued these commands in u-boot:

setenv bootargs root=/dev/nfs console=ttyS2,115200n8 ip=192.168.0.100 nfsroot=192.168.0.1:/home//felabs/sysdev/tinysystem/nfsroot
setenv bootcmd ‘mmc init;fatload mmc 0 80000000 uImage;bootm 80000000’
saveenv

The beagleboard now always boots from the SD card, which is what I wanted at the time.

To revert u-boot to factory settings, I found this thread:
http://groups.google.com/group/beagleboard/browse_thread/thread/53c6556d98a6422a

But trying the suggested solution does not help, I get:

OMAP3 beagleboard.org # nand erase 260000 20000

no devices available
OMAP3 beagleboard.org #

Any nand command I tried gives the same “no devices available” message.

Did I miss something? How can I revert to factory settings?

– Gilles

Gilles Gr�goire wrote:

Hello,
playing with my BeagleBoard XM, I went through a free-electrons tutorial
<http://free-electrons.com/doc/training/beagle/labs.pdf> to set up an NFS root.
I issued these commands in u-boot:

    setenv bootargs root=/dev/nfs console=ttyS2,115200n8 ip=192.168.0.100
    nfsroot=192.168.0.1:/home/<user>/felabs/sysdev/tinysystem/nfsroot
    setenv bootcmd 'mmc init;fatload mmc 0 80000000 uImage;bootm 80000000'
    saveenv

The beagleboard now always boots from the SD card, which is what I wanted at the time.

To revert u-boot to factory settings, I found this thread:
http://groups.google.com/group/beagleboard/browse_thread/thread/53c6556d98a6422a

But trying the suggested solution does not help, I get:

    OMAP3 beagleboard.org <http://beagleboard.org> # nand erase 260000 20000

    no devices available
    OMAP3 beagleboard.org <http://beagleboard.org> #

Any nand <something> command I tried gives the same "no devices available" message.

Did I miss something? How can I revert to factory settings?

as you said in your subject, the XM has "no NAND device" thus there is nothing to
revert to

(yes, there are a few XMs that have NAND by accident...)