Unknown command 'nand' try 'help'

I am going through the book: mastering embedded linux programming

There is a section on U-boot.
It instructs on how to build the u-boot using the following website: ftp://ftp.denx.de/pub/u-boot/
I used version v2015.07 as suggested by the book then went through the process of making
a u-boot file and MLO file.

It then instructs me to do the following command: nand read 82000000 400000 200000
When I do so that it doesn’t understand the command nand. I don’t know if beaglebone black does not have a nand?
I don’t see the nand command in the help menu either. Any help?
Thanks!

Here is the output from ftdi:

U-Boot SPL 2015.07 (Jul 10 2016 - 15:28:27)
MMC: block number 0x100 exceeds max(0x0)
MMC: block number 0x200 exceeds max(0x0)
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment

reading u-boot.img
reading u-boot.img

U-Boot 2015.07 (Jul 10 2016 - 15:28:27 -0700)

Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
** File not found /boot/zImage **

Error: “nandboot” not defined

U-Boot# nand read 82000000 400000 200000
Unknown command ‘nand’ - try ‘help’
U-Boot#

In the board's default state there is no NAND present..

there is a cape you can purchase to install nand on the beaglebone..

Regards,

Hmm… that is what I was afraid of, but wasn’t sure. Thanks!

Hi Ashwini Bhat,

I am going through the same book and come to to the same stop point as you did. Did you ever get to solve the problem and if yes how did you solve it?
I quote from page 10 of the book "In addition, there are two 46-pin expansion headers for which there are a great variety of daughter boards, known as capes, which allow you to adapt the board to do many different things. However, you do not need to fit any capes in the examples in this book"

Regards

onio

Hey, I was looking everywhere, and I realized that the only way to get through that thing is to buy a cape and then try it. Which like you said is the exact opposite of what is said in the book. So I decided I can’t trust the book :(. I was mostly doing it to learn how to interact with GPIO pins and learn some C. I have decided to use derek molloy’s book which so far seems to be much more my needs. Also I noticed that the book was building on itself which made it harder for me to continue on.
I hope this helps!
Thanks,
Ashwini Bhat