[U-Boot] Instructions in TEXT section can not load data from other section

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Mar 17 10:56:21 CET 2010


jrjr <jason622 at hotmail.com> wrote on 2010/03/17 10:49:15:
>
> Because I want to use LED controlled by OR3 to debug the code,so I don't want
> to clear OR0.
>
> You remind me, so I enable the "Calculate absolute address in FLASH and jump
> there " part,
>
> It seems that I get close to the point:  jump to "in_flash:" failed.

Did you read the comment?
   /* When booting from ROM (Flash or EPROM), clear the        */
    /* Address Mask in OR0 so ROM appears everywhere        */

Try with pristine source first.



More information about the U-Boot mailing list