Misc MIPS fulong2e improvements
Unfortunately, even after unpacking pmon_1c.tar.gz , compiling and installing tools into /opt/pmon200o/tools resetting resulted git inside 'pmon' directory to earlist commit possible (because modern pmon fails to comple 2e targets), unpacking and copying to /usr/local toolchain based on gcc 2.95.3, and adding build.sh script to specific directory pmon/zloader - I was only able to build gzrom elf:
/dev/shm/pmon/zloader.2emini# qemu-system-mips64el -M fulong2e -cpu Loongson-2E -m 256 -kernel gzrom -nographic
PMON2000 MIPS Initializing. Standby...
ERRORPC=00000000 CONFIG=00030932
PRID=00006302
DIMM read
read memory type
read number of rows
read blocks per ddrram
read number of sides
read width
00000020
No DIMM in slot 1
DIMM SIZE=08000000
dma: command ae not supported
sdcfg=2d9043ae
msize=08000000
Init SDRAM Done!
Sizing caches...
Init caches...
godson2 caches found
Init caches done, cfg = 00030932
Copy PMON to execute location...
start = 0x81000000
s0 = 0x200000000000000d
copy text section done.
Copy PMON to execute location done. sp=80ffc000Uncompressing Bios......................OK,Booting Bios QEMU 3.0.50 monitor - type 'help' for more information (qemu) quit
this is without you patch series .... and with quite oldish qemu (3.1 rc)