"env default scriptaddr" not worked but i used
"setenv scriptaddr 0x44000000;saveenv"And now everything works!
Thank you for your usefull and quick help!Regards
MichaelAm 04.07.2014 15:56 schrieb "Ian Campbell" <ijc@hellion.org.uk>:On Fri, 2014-07-04 at 15:27 +0200, Michi Ti wrote:
> sun7i# printenv scriptaddr
> ## Error: "scriptaddr" not defined
[...]
> Seems that scriptaddr is not defined.
yes, this is the problem.
>
> so i tried:
> load ${device} ${partition} / boot.scr
>
> output:
> 974 bytes read in 312 ms (2.9 KiB/s)
>
> And then:
>
> source /
>
>
> Output:
> ## Executing script at 0000000b
> data abort
You need to give a valid script address.
The default environment for sunxi has it as 0x44000000, not sure why it
isn't in your env.
"env default scriptaddr ; saveenv" ought to fix it.
Ian.