Hi, I am using coreboot v3 with FILO. I specify "qemu -L . vd.img -smp 4". But I always see one cpu in /proc/cpuinfo. Then I tried if SMP works in v2. However, when I tried to boot, qemu showed the following error messages: (v3 works fine here) Uncompressing coreboot to RAM. Jumping to image. Check CBFS header at fffeffe0 magic is 4f524243 Found CBFS header at fffeffe0 Check fallback/payload CBFS: follow chain: fff80000 + 38 + 14efa + align -> fff94f40 Check fallback/coreboot_ram CBFS: follow chain: fff94f40 + 38 + 687f + align -> fff9b800 Check CBFS: follow chain: fff9b800 + 28 + 547d8 + align -> ffff0000 CBFS: Could not find file normal/coreboot_ram Jumping to image. qemu: fatal: Trying to execute code outside RAM or ROM at 0x000a0000 Does anyone know how to boot up SMP kernel on qemu? Any hint is very appreciated. Thanks in advance.
Regards, Tommy
On Thu, Sep 10, 2009 at 6:26 PM, Jen-Cheng(Tommy) Huang tommy24@gatech.eduwrote:
Hi, I am using coreboot v3 with FILO. I specify "qemu -L . vd.img -smp 4". But I always see one cpu in /proc/cpuinfo. Then I tried if SMP works in v2. However, when I tried to boot, qemu showed the following error messages: (v3 works fine here)
CBFS: follow chain: fff9b800 + 28 + 547d8 + align -> ffff0000 CBFS: Could not find file normal/coreboot_ram Jumping to image. qemu: fatal: Trying to execute code outside RAM or ROM at 0x000a0000
Have you modified it? I just tried the latest from svn, and I don't get that error.
Myles
Thanks for the response. No, I didn't modify it.The qemu version is 0.10.5. coreboot version is the latest one. And I used the method mentioned in http://www.coreboot.org/QEMU_Build_Tutorial http://www.coreboot.org/QEMU_Build_TutorialI can build successfully. But the resulting bios still crashed. But I think even in v2, I still can't see multiple cpus in OS. Since "-smp n" is only recognized by qemu, coreboot won't generate corresponding MP table. So Linux won't be able to see multiple cpus. I am still trying how to make linux see multiple cpus if I use FILO. Any information is appreciated. Thanks.
Regards, Tommy On Fri, Sep 11, 2009 at 3:41 PM, Myles Watson mylesgw@gmail.com wrote:
On Thu, Sep 10, 2009 at 6:26 PM, Jen-Cheng(Tommy) Huang < tommy24@gatech.edu> wrote:
Hi, I am using coreboot v3 with FILO. I specify "qemu -L . vd.img -smp 4". But I always see one cpu in /proc/cpuinfo. Then I tried if SMP works in v2. However, when I tried to boot, qemu showed the following error messages: (v3 works fine here)
CBFS: follow chain: fff9b800 + 28 + 547d8 + align -> ffff0000 CBFS: Could not find file normal/coreboot_ram Jumping to image. qemu: fatal: Trying to execute code outside RAM or ROM at 0x000a0000
Have you modified it? I just tried the latest from svn, and I don't get that error.
Myles
so we have a report of success and failure.
Let's compare: 1. distros 2. gcc toolchain (gcc -v etc) 3. qemu versions
this could be just another toolchain problem.
ron