[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: InstallingDebianOn/Allwinner



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.



Reply to: