[beagleboard] How can I delete all u-boot-env variables?

What steps will reproduce the problem?
1. I tried "nand erase"

What is the expected output? What do you see instead?

Nothing happen it erases the whole flash .. but the u-boot variables
still
the same with no change

did you power cycle/reset?

I did, nothing happened

i just erased the nand config section a few days ago. the
instructions i found by searching this list and/or the internet worked
fine (although my version of u-boot didn't require the nand unlock
stuff).

If you did a “nand erase” and it erased the whole NAND chip (which its supposed to do) then you will have deleted where U-Boot saves it environment variables. When the board boots you should see a message about NAND checksum being invalid and a default environment being used. U-Boot sets its variables based on hard coded defaults…

If you don’t like those defaults then you can change the env variables and then save them back to NAND. Alternatively (since I noticed your other post about U-Boot splash logos) you can change the U-Boot source code and change the defaults…

Please correct me if I am wrong, but this is what I’ve observed:

If you are looking to delete a single existing u-boot env variable, from the u-boot command prompt, execute "setenv ". This should remove the variable name from the list of env variables.

For e.g., setenv bootargs_nfs would remove bootargs_nfs…

erase the enviromental flash area using,

namd erase

Hi,

In case this does not work as well remember, that u-boot has saved the
environment variables twize.
You'll need to erase the redundant environment as well.

Good luck,

Robert