Age | Commit message (Collapse) | Author | Files | Lines |
|
Needed to support 64-bit build.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fixes and enhancements:
- Fix OpenBSD 7.4 boot (PDC_MEM_MAP call returned wrong values)
- Minor enhancements to show if a 64-bit SeaBIOS-hppa firmware
is used
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
The PDC_MEM_MAP call used find_hppa_device_by_hpa() instead
of find_hppa_device_by_path() and as such did not find the device
at a given path.
This fixes boot of OpenBSD 7.4.
Noticed-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fixes and enhancements:
- Fix 32-bit HP-UX crash (fix in PDC_FIND_MODULE call)
- Fix NetBSD boot (power button fix and add option to disable it)
- Fix FPU detection on NetBSD
- Add MEMORY_HPA module on B160L
- Fix detection of mptsas and esp scsi controllers
- Fix terminate DMA transfer in esp driver (Mark Cave-Ayland)
- Allow booting from esp controller
- initial fixes to allow building a 64-bit SeaBIOS-hppa firmware
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Due to a mismatch of memory mapping for PA2.0 with PSW.W=0,
the power button was broken on 64-bit machines.
The mapping bug is now fixed in qemu, so re-enable the button again.
Additionally add option to completely disable the power
switch with:
"-fw_cfg opt/power-button-enable,string=0"
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Add minimal code to allow booting up into C-function start_parisc.
Console output is not working yet.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
This fixes SeaBIOS boot from dc390 SCSI controller on B160L.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
When the ESP data transfer completes indicated by the STAT_TC flag being set,
terminate the DMA transfer by issuing a DMA IDLE command. Otherwise in the case
where the guest sends a reset followed by an ESP command, the DMA signal remains
enabled and so the next SeaBIOS DMA transfer begins immediately when the next
ESP command is received rather than waiting until the data is ready and the DMA
command is issued.
With this fix it is possible to boot a Windows XP ISO to the installer and
complete a full installation within QEMU directly using SeaBIOS.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
|
|
Tell calling operating system of the memory module.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Report back additional addresses as in prior SeaBIOS firmware
versions. This fixes 32-bit HP-UX on B160L.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
LSI controller allows up to 4MB transactions per call, the ESP controller only
up to 64k per call.
Values for other drivers need to be added too.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Make sure that inl()/outl() works correctly (with little-endian
accesses) so that the scsi drivers can be used unchanged.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Increase the limit for which the PCI memory region is mapped into
shared memory. This fixes loading of megaraid-sas driver.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fixes and enhancements:
- Fix system reboot
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
In order to fix the reboot issues, re-initialize PAGE0->mem_cons.hpa to
zero to fix console output and set default PCI bus to DINO to not break
the following qemu_cfg() call.
Reported-by: Bruno Haible <bruno@clisp.org>
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1991
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fixes and enhancements:
- Reduce debug level
- Update README file for PA-RISC
- Fix debug name of CPU_HPA_xx if xx >= 10
- Disable device indexing
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
As long as this is a 32-bit PDC, we can't access a powerbutton
in the firmware area when running on a 64-bit CPU.
Report that non-supportability when asked by PDC_SOFT_POWER by
a 64-bit kernel.
Qemu may want to use some address in page zero instead.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
This broke B160L since LASI then disappears.
Disable device indexing for both B160L and C3700 for now.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fixes and enhancements (mostly to enable 64-bit Linux kernel):
- Fixed 64-bit CPU detection via "mfctl,w" instruction
- Implement PDC_PSW for 64-bit CPUs
- Added PAT PDC functions:
- PDC_PAT_CELL
- PDC_PAT_CHASSIS_LOG
- PDC_PAT_PD_GET_ADDR_MAP
- PDC_PAT_CPU
- Fix return value of PDC_CACHE_RET_SPID space-id bits
- Introduce new default software IDs for the machines
- Fix CPU and FPU model numbers
- Fix 64-bit SMP rendezvous
- Fix Linux 64-bit kernel crash in STI due to usage of unsigned
32-bit "next_font" pointer in sti header files
- Fix graphics output to LASI artist card on PA2.0 machines
- More USB OHCI endianess fixes
- Fixes which make ODE run on B160L
- Fixes which make ODE detect Astro Runway port and CPUs
- Implement "firmware unlocking" via PDC_MODEL/PDC_MODEL_CAPABILITIES call
- Add subfunction 2 for PDC_MODEL_VERSIONS
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Just swapping font "next-font" pointers breaks the sti driver on older 64-bit Linux
kernels which take the "next_font" pointer as unsigned int (instead of
signed int) and thus calculates a wrong font start address. Avoid the
crash by sorting the fonts in the STI ROM before the OS starts.
A Linux kernel patch to avoid the crash was added in kernel 6.7.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Is asked by ODE on C3700. Apparently PDC PAT version.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
This fixes ODE for C3700, which aparently tried to run with PSW.W=1
and failed.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
The OS needs to "unlock" the 64-bit functions.
This fixes the ODE tool to detect the mapper instead of mapper2 tool.
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Fully implement device tree
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|