Bug 433

Summary: If set memory=256 for ARM, qemu arm will fail to boot
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: liping Ke <liping.ke>
Component: meta-yoctoAssignee: Scott Garman <scott.a.garman>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dexuan.cui, jessica.zhang, kevin.tian, lianhao.lu, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description liping Ke 2010-10-11 20:29:58 UTC
When set arm memory to 256 for booting , the qemu will fail to boot.
Comment 1 liping Ke 2010-10-11 20:30:20 UTC
I only test unfs-qemu.
Comment 2 Richard Purdie 2010-10-12 02:10:58 UTC
This is a hardware limitation of the platform we're emulating, its address space doesn't allow for more than 128MB of memory. I suggest the qemu script checks for this and errors accordingly if the value is too high for qemuarm.

Reassign to Scott since I suspect he can quickly add this sanity test. I'd suggest changing the qemuarm default to 128MB though.
Comment 4 Scott Garman 2010-10-12 09:29:54 UTC
Fixed in master with commit d393edda26269f74914d3f86092779a808fdb296
Comment 5 Scott Garman 2010-10-14 18:40:23 UTC
I have verified this - setting QEMU_MEMORY=256 shows warning messages that qemuarm does not support memory > 128 MB and the memory is being set to the default of 128 MB.