[Libre-soc-dev] daily kan-ban update 14apr2021

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Apr 14 20:14:59 BST 2021

    eq 0 0 True
error on load invalid <<<<<-----
setup: 0x0 0x0 0b0
CIA NIA True 0 4

the instruction is operating perfectly correctly: the problem is that
the instruction is being read *not from 0x0* but from the Virtual
Memory re-mapped addres 0x400000 *which does not exist*

Read 0x0 from addr 0x400000
addr 0x1000000
value 0x0

therefore, on requesting the first instruction, with the value 0x0
being read from the location 0x400000, the instruction being executed
is not a lwz at all, it is a nop.

hence the illegal instruction.


More information about the Libre-soc-dev mailing list