Re: [EXTERNAL][PATCH 0/7] via-ide: fixes and improvements

2020-03-13 Thread BALATON Zoltan

Hello,

On Fri, 13 Mar 2020, Aleksandar Markovic wrote:

Hi, Mark, could you just enumerate those test images, download
locations, etc. and whatever else is needed to reproduce the boot
processes in question - it would be useful not only for this patch
set, but for possible future work, wouldn't it?

Sorry in advance if that info in possibly in another message, and
was missed by me.


I've sent it to Mark off-list but here it is:

On Tue, 10 Mar 2020, BALATON Zoltan wrote:

I was testing fulong2e with this kernel:

http://distfiles.gentoo.org/experimental/mips/livecd/loongson-2007.1/

running it as

qemu-system-mips64el -M fulong2e -serial stdio -net none -vga none \
-trace enable="pci*" -kernel gentoo-loongson-2.6.22.6-20070902 \
-cdrom debian-8.11.0-mipsel-netinst.iso

adding the cdrom proabably does not really matter and I could not find 
corresponding gentoo iso so using a debian one, it's just useful to have 
something on the ide bus and also -cdrom adds it to second channel 
because if you test with something on first channel only it might work 
as that uses IRQ14 anyway.


On pegasos2 I've used:

qemu-system-ppc -M pegasos2 -net none -serial stdio \
-vga none -device ati-vga,romfile=VGABIOS-lgpl-latest.bin \
-cdrom morphos-3.13.iso

then enter "boot cd boot.img" at the firmware ok prompt.

And also the same pegasos2 command with

-cdrom debian-8.11.0-powerpc-netinst.iso

and enter "boot cd install/pegasos" then I usually select 3 for rescue 
mode which can get to a command prompt.


For more info on VGABIOS-lgpl-latest.bin and pegrom.bin needed for 
pegasos2 see Pegasos2 emulation subproject on my http://qmiga.osdn.io/ 
page.


The fulong2e probably still has some problem correctly emulating pci 
devices becuase without -net none -vga none the kernel panics, I have no 
interest trying to debug and fix that, I only using fulong2e to 
cross-check changes needed for pegasos2. It could also be that the kernel 
being experimental have some problems, I can't test if it works on real 
hardware.


Regards,
BALATON Zoltan



Re: [EXTERNAL][PATCH 0/7] via-ide: fixes and improvements

2020-03-13 Thread Aleksandar Markovic

> From: Mark Cave-Ayland 
> This patchset effectively updates the VIA IDE PCI device to follow the
> behaviour in the datasheet in two ways: fixing some PCI configuration
> space register defaults and behaviours, and always using legacy IRQ 14/15
> routing, and once applied allows all our known test images to boot
> correctly.
> 

Hi, Mark, could you just enumerate those test images, download
locations, etc. and whatever else is needed to reproduce the boot
processes in question - it would be useful not only for this patch
set, but for possible future work, wouldn't it?

Sorry in advance if that info in possibly in another message, and
was missed by me.

Many thanks,
Aleksandar