Hi André, André Schwarz schrieb: > I'm running on MVBLM7 board using CONFIG_SYS_HUSH_PARSER. > > While working on some scripts using env-variables holding some physical > address values I stumbled over this : > > > my env-variables used : > > loadaddr=0x400000 > kernel_addr=0xff81000 > kernel_len=0x200000 > > > > mvBL-M7> erase $kernel_addr +$kernel_len > > ................................ done > Erased 32 sectors > > ################# -> using variable as source doesn't work. > mvBL-M7> cp.b $load_addr $kernel_addr $kernel_len > cp - memory copy > > Usage: > cp [.b, .w, .l] source target count > > > ################# -> using addr as source works fine. > mvBL-M7> cp.b 0x400000 $kernel_addr $kernel_len > Copy to Flash... done > mvBL-M7> > > > > Why does $load_addr not get expanded ? > Any ideas ?
Just some ideas: - Mixed up "loadaddr" with "load_addr"? - And do "loadaddr" resp. "load_addr" really exist? - Tried using ${variable}, instead of $variable? Kind regards, Jens _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot