Skip to contentSkip to conversation

PMON2000 compilation and kernel question

Qemu-devel Andrew Randrianasulu 2 participants 2 messages Mar 6, 2019

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

It is ati-vga specific not fulong2e specific and it's entirely possible (even likely) that my minimal ati-vga emulation is not correct for 2d acceleration yet but I've tested it with the pmon_2e.bin binary from the same place and it worked with that. So if it does not work with the binary pmon for you then that's not the same what I see or if it works with the binary but not with the one compiled then either you're compiling another version that does something differently or there's a difference in config. There are several Bonito configs in pmon and the fulong2e might use another one or different options.

It worked fine with binary pmon_2e.bin, and not for my self-compiled version. Still, I'm not sure about what kind of config they used, and at that commit. In this sense newer pmon is more useful because it prints git commit and build date.

Provided binary talks about pmon 1.1.2 (?) in top left corner. I think one of my earlier self-compiled binaries behaved like this one (printing a lot of pci info), but yes, something still not right at my end because for example DIMM size not detected correctly in my version.

But it gives prompt at serial console! :}

Will look at machine emulation in qemu, and try to configure pmon correctly.

#1 lore raw
Quoted 3 lines · Andrew Randrianasulu

It worked fine with binary pmon_2e.bin, and not for my self-compiled version. Still, I'm not sure about what kind of config they used, and at that commit. In this sense newer pmon is more useful because it prints git commit and build date.

Probably the binary is a release version maybe built from a stable branch not from the master git. But if a working firmware can be compiled from the git sources available that's probably good enough. To find out if the compiled firmware does something different with the GPU chip you can enable ati-vga traces with -trace enable="ati*" that should print register accesses (there's also a define for even more debug messages in ati_int.h). You could compare those to see if the binary does something else with the GPU.

Quoted 4 lines

Provided binary talks about pmon 1.1.2 (?) in top left corner. I think one of my earlier self-compiled binaries behaved like this one (printing a lot of pci info), but yes, something still not right at my end because for example DIMM size not detected correctly in my version.

What do you mean by DIMM size not detected? RAM in fulong2e is fixed at 256 MB as I wrote before so unless you remove that from mips_fulong2e.c you can't have different RAM size that. With the fixed value removed I got pmon print in env mem=256, highmem=the_rest but don't know where to map highmem so it probably won't work and the highmem area just overlaps io space so Linux will likely crash with this.

Regards,
BALATON Zoltan