copy command taking incorrect/invalid arguments
A message that is not in the archive (sent off-list or not yet received): mailman.1138539.1202918091.7786.u-boot-users@lists.sourceforge.net
Hi,
i am working a customized variant of arm versatile board. I have spansion s29gl18n 16MB flash on board.
i am using Uboot-1.3.1 Version and CFI flash driver to work on flash related commands
our board reset vector points to 0x2c000000
By mistake today i entered "cp.b ox800000 0x2c000000 0x1a6c0" at the prompt
Kindly look at this error ------------>| "ox800000" and not "0x800000" as it shld be
#> cp.b ox800000 0x2c000000 0x1a6c0
Copy to Flash... done
and now flash is gone corrupted.
Isnt it the copy commands responsibility to check for incorrect or invalid command arguments.
Kindly update me if i am wrong.
Thanks in advance
Regards
Gururaja
Quoted 10 lines · In message <[email protected]> you…
By mistake today i entered "cp.b ox800000
0x2c0000000x1a6c0" at the prompt
Kindly look at this error ------------>| "ox800000" and not "0x800000" as it shld be#> cp.b ox800000
0x2c0000000x1a6c0
Copy to Flash... doneand now flash is gone corrupted.
...but you still can fix the problem by repeating the correct copy command.
Quoted 2 lines
Isnt it the copy commands responsibility to check for incorrect or invalid command arguments.
Define "responsibility". This is a boot loader, and we often sacrifice sphisticated error checking for minimal memory footprint.
It's like driving in a potentially fast car without safety seatbelts nor airbags...
Take care.
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Our missions are peaceful -- not for conquest. When we do battle, it is only because we have no choice. -- Kirk, "The Squire of Gothos", stardate 2124.5