Skip to contentSkip to conversation

Boot error on C200+

parisc-linux John Marvin 3 participants 3 messages Sep 3, 2000 – Sep 6, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Bob Pflederer

I see this on C180. It goes away if you modify entry.S to use PA2.0-style tlb inserts instead of the PA1.1-style tlb inserts. Try the attached patch. It modifies the tlb miss handlers at startup to use PA2.0 tlb inserts if you have a PA2.0 cpu. PA-8000 docs claim that PA1.1 tlb inserts are not supported, so I suspect we're hitting a case that doesn't work.

Would someone who has CVS write access be willing to commit this patch? It's the last thing I need to make C180 work.

Please don't anyone do this. I've got another fix in progress. Bob is correct that we shouldn't be using the PA1.1 inserts. But he was fooled by redundant code in trap_init(), thinking that we haven't gone virtual yet. Code in trap_init() sets the iva, but it should be removed (which I will do). We actually set the iva (and install a small set of mappings) very early in real/head.S and go virtual before calling start_parisc(). We never run any C code in real mode. Bob's patch means that we would still run 1.1 inserts for a while, and then it would be patching the tlb miss handlers WHILE THEY ARE POTENTIALLY BEING USED!

My fix will do a simple 3-4 assembly instruction test for PA2.0 in head.S, and then install the appropriate iva. This wastes 2K of memory having two iva's, but is a lot simpler to do in assembly very early in the boot process. I'll try to get this done by Tuesday morning (I work throughout the night Monday).

John Marvin
[email protected]

#1 lore raw

I noticed that John committed something this morning, so I tried it out on my C180, and it works! For the first time, the CVS kernel boots un-modified on my C180. Odds are good that it will also work in C200+.

Thanks, John.

Quoted 10 lines

My fix will do a simple 3-4 assembly instruction test for PA2.0 in head.S, and then install the appropriate iva. This wastes 2K of memory having two iva's, but is a lot simpler to do in assembly very early in the boot process. I'll try to get this done by Tuesday morning (I work throughout the night Monday).

John Marvin
[email protected]

#2 lore raw

Bob and John,

I have the latest CVS kernel on booting on the C200+ and a 755. They both booted to an ash prompt without any modifications!

Just wanted to let everyone know the changes John made are working great for me in PARISC 1.1 and PARISC 2.0 land!

Thanks,

Ryan

P.S. It is a great feeling to see my C200+ finally boot linux!

Quoted 20 lines · Bob Pflederer

I noticed that John committed something this morning, so I tried it out on my C180, and it works! For the first time, the CVS kernel boots un-modified on my C180. Odds are good that it will also work in C200+.

Thanks, John.

Quoted 10 lines

My fix will do a simple 3-4 assembly instruction test for PA2.0 in head.S, and then install the appropriate iva. This wastes 2K of memory having two iva's, but is a lot simpler to do in assembly very early in the boot process. I'll try to get this done by Tuesday morning (I work throughout the night Monday).

John Marvin
[email protected]

---------------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.