OpenCores
no use no use 1/1 no use no use
Cannot boot Linux using or1k
by Baselsayeh on Apr 15, 2019
Baselsayeh
Posts: 2
Joined: Apr 14, 2019
Last seen: Apr 25, 2019
Hello

I tried to boot linux via mor1kx cpu built via fusesoc for a qmtech Cyclone IV board
https://github.com/baselsayeh/qmtech_ep4ce15-multicore

Every time the kernel jumps to or32_early_setup, the cpu throws bus errors and jumps to 0x200

Here is gdb output just before the error
https://pastebin.com/U5izVPG9

I think it is a mmu issue, but I'm not sure

How i can investigate this?
Thanks
RE: Cannot boot Linux using or1k
by barry_circuit on Apr 20, 2019
barry_circuit
Posts: 1
Joined: Jul 1, 2009
Last seen: Jul 29, 2024
Hi

Are you still having the bus fault issue?

Do you have a register dump just after you hit the 0x200 bp?

You could try reading the EPCR, EEAR, ESR registers.

regards Barry
RE: Cannot boot Linux using or1k
by Baselsayeh on Apr 22, 2019
Baselsayeh
Posts: 2
Joined: Apr 14, 2019
Last seen: Apr 25, 2019
Hi barry_circuit,

I solved it by using the latest 9.0 gcc for or1k,
And by using openocd to load the linux image instaid of gdb.
no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.