And it died again.
Code:
me@dev ~/BLDS/buildroot $ qemu-system-arm -M versatilepb -kernel /home/me/BLDS/buildroot/images/zImage -hda ./images/rootfs.ext2 -nographic
oss: Could not initialize DAC
oss: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
Uncompressing Linux... done, booting the kernel.
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0xf000f0)
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 0x0 cmd 0x0 value 0xf0)
qemu: terminating on signal 15 from pid 3243
I think this may be a known issue... reading around.
looks like I need to patch qemu for versatile flash support.
now just need to find the right patch.
EDIT:
http://thomas.enix.org/pub/qemu-vers...-flash-support
versatilepb-add-flash-support | patch-p1
from the list here:
http://thomas.enix.org/pub/qemu-vers...ash-emulation/ but I'm not sure if this is still current yet
It's never simple ey : )
now where did you leave that building Qemu from source there
AH HERE
Code:
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c
index 4ae4fc8..aeb7b60 100644
--- a/arch/arm/mach-versatile/pci.c
+++ b/arch/arm/mach-versatile/pci.c
@@ -305,7 +305,7 @@ int __init pci_versatile_setup(int nr, struct pci_sys_data *sys)
void __init pci_versatile_preinit(void)
{
- pcibios_min_io = 0x44000000;
+ pcibios_min_io = 0x100;
pcibios_min_mem = 0x50000000;
__raw_writel(VERSATILE_PCI_MEM_BASE0 >> 28, PCI_IMAP0);
And:
Quote:
On Thursday 31 May 2012, Rob Herring wrote:
> I've resurrected your patch from ~2 years ago and that does fix it. Any
> reason it was never merged? I could go with a more simple fix which just
> restore IO_SPACE_LIMIT to ~0, but yours is more in the direction we want
> to go with PCI mappings.
It was only my fault for not pushing the patches enough. I think they should
really go in now.
Arnd
|
So I'm not going mad.
Happy days