Page 1 of 2

QEMU issues - bare-metal on PowerPC (retro related)

Posted: Mon Nov 18, 2024 4:06 am
by 7alken
(again OT here, I need help, please, its probably similar in case of M68k system ... to not loose mind ))
Hi guys, kindly please, are here nearby some QEMU experts or somebody who knows in this case how PowerPC G4 in quemu needs to be initialized or how to map QEMU output to isa-serial, isa-parallel? I 've tried everything almost, in last step adding even some init of PCI/ISA init (not sure it its complete/right, the init is gpt4o generated...grrr), as I dont know why I am unable to talk to plain isa 16550a on known ports here MMIO mapped - question is if writes there go down to hardware, that SuperIO ... I dont know. GPT is great teacher, we during week beat together entire qemu+gdb setup, but I must frequently correct it and as I sed more than once, it leads YOU to think more.... but no success yet with simple hello world example through isa-serial nor isa-parallel, both hopefully mapped to QEMU console/terminal/stidio whatever ... its machine code, in this case PPC, but it doesn't matter, and simple C.

Are here some QEMU and PPC experts who can help? example attached
Thank you,
Petr

https://drive.google.com/drive/folders/ ... sp=sharing

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Mon Nov 18, 2024 5:59 am
by 7alken
just FYI, tried to build and debug this and it works, there is only some init of TLB ... will investigate
https://github.com/ara4711/ppc_hw

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Mon Nov 18, 2024 6:56 pm
by XorA
I am beginning to think this "user" is actually a AI bot, none of the posts seem to make any sense.

(and I do actually happen to have a few patches in qemu :-D )

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Mon Nov 18, 2024 9:37 pm
by 7alken
thanks for your kind words and excuse my next OT )) ... for few next days in deeply reading mode ...

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Tue Nov 19, 2024 3:30 pm
by Peter
7alken wrote: Mon Nov 18, 2024 4:06 am Are here some QEMU and PPC experts who can help? example attached
This is again not QL related, and very obviously the forum has an off-topic section where it belongs.
7alken has been warned before. How long do we have to endure his persistent abuse of the QL forum?

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Wed Nov 20, 2024 7:04 pm
by XorA
Peter wrote: Tue Nov 19, 2024 3:30 pm
7alken wrote: Mon Nov 18, 2024 4:06 am Are here some QEMU and PPC experts who can help? example attached
This is again not QL related, and very obviously the forum has an off-topic section where it belongs.
7alken has been warned before. How long do we have to endure his persistent abuse of the QL forum?
Has been banned for being a bot!

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Wed Nov 20, 2024 9:27 pm
by Chr$
He's not a bot. He's a Czech gentleman who has bought a couple of bits off me recently.

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Thu Nov 21, 2024 10:23 am
by NormanDunbar
Chr$ wrote: Wed Nov 20, 2024 9:27 pm He's not a bot. He's a Czech gentleman....
This would probably explain why the language, at times, has been a bit strange.

Cheers,
Norm.

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Thu Nov 21, 2024 11:56 am
by XorA
NormanDunbar wrote: Thu Nov 21, 2024 10:23 am
Chr$ wrote: Wed Nov 20, 2024 9:27 pm He's not a bot. He's a Czech gentleman....
This would probably explain why the language, at times, has been a bit strange.

Cheers,
Norm.
I've been though his posts and most of them look awfully like the gibberish ChatGPT generates. So there may be a real person somewhere. Buts it's a bot posting :(

Re: QEMU issues - bare-metal on PowerPC (retro related)

Posted: Thu Nov 21, 2024 12:09 pm
by dex
NormanDunbar wrote: Thu Nov 21, 2024 10:23 amThis would probably explain why the language, at times, has been a bit strange.
I have checked his comments in the native language and… result is the same.
So, real person generating hardly readable “code”.