jrjr <[email protected]> wrote on 2010/03/17 09:45:08: > > And I have made some change in cpu/mpc8260/start.S, I removed following lines: > > #ifndef CONFIG_SYS_RAMBOOT > /* When booting from ROM (Flash or EPROM), clear the */ > /* Address Mask in OR0 so ROM appears everywhere */ > /*--------------------------------------------------------------*/ > > lis r3, (CONFIG_SYS_IMMR+IM_REGBASE)@h > lwz r4, im_...@l(r3) > li r5, 0x7fff > and r4, r4, r5 > stw r4, im_...@l(r3) > > /* Calculate absolute address in FLASH and jump there */ > /*--------------------------------------------------------------*/ > > lis &nbs p; r3, config_sys_monitor_b...@h > ori r3, r3, config_sys_monitor_b...@l > addi r3, r3, in_flash - _start + EXC_OFF_SYS_RESET > mtlr r3 > blr > > in_flash: > #endif /* CONFIG_SYS_RAMBOOT */ > > Becasue I don't think I need to clear the Address Mask in OR0, Is there > anything wrong?
uhh, Why did you remove that? It is vital code, especially the /* Calculate absolute address in FLASH and jump there */ part. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

