[OE-core] Error running QEMU with oe-core / angstrom console-image, hwclock: can't open '/dev/misc/rtc' : No such file or directory

Samuel Stirtzel s.stirtzel at googlemail.com
Fri Aug 5 05:25:28 UTC 2011


2011/8/4 Khem Raj <raj.khem at gmail.com>:
> On 08/04/2011 01:08 AM, Samuel Stirtzel wrote:
>>
>> 2011/8/3 Khem Raj<raj.khem at gmail.com>:
>>>
>>> There is a smart script in scripts/ dir that you could use something like
>>> this
>>>
>>> runqemu /var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin
>>> /var/oe-core/tmp-eglibc/deploy/images/qemuarm/console-image-qemuarm.ext2
>>>
>>> and it will setup everything (even networking) for you
>>>
>> Already tried this one, but for some unknown reasons it doesn't work,
>> I get the following output:
>> -
>> samuel at S-Linux:/var/oe-core/setup-scripts$ runqemu
>> /var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin
>> /var/oe-core/tmp-eglibc/deploy/images/qemuarm/console-image-qemuarm.ext2
>> Set MACHINE to [qemuarm] based on kernel
>> [/var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin]
>>
>> Continuing with the following parameters:
>> KERNEL: [/var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin]
>> ROOTFS:
>> [/var/oe-core/tmp-eglibc/deploy/images/qemuarm/console-image-qemuarm.ext2]
>> FSTYPE: [ext2]
>> Setting up tap interface under sudo
>> [sudo] password for samuel:
>> sudo runqemu-ifup<gid>  <native-sysroot-basedir>
>> samuel at S-Linux:/var/oe-core/setup-scripts$
>
> A fix for this problem has been committed to oe-core already. Update and
> retry
>
After i updated my oe-core files the script still won't work for me.
The new output is::
-
samuel at S-Stirtzel-Linux:/var/oe-core/setup-scripts$ runqemu
/var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin
/var/oe-core/tmp-eglibc/deploy/images/qemuarm/console-image-qemuarm.ext2
Set MACHINE to [qemuarm] based on kernel
[/var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin]

Continuing with the following parameters:
KERNEL: [/var/oe-core/tmp-eglibc/deploy/images/qemuarm/zImage-qemuarm.bin]
ROOTFS: [/var/oe-core/tmp-eglibc/deploy/images/qemuarm/console-image-qemuarm.ext2]
FSTYPE: [ext2]
Setting up tap interface under sudo
[sudo] password for samuel:
Acquiring lockfile for tap0...
Error: Unable to support this combination of options
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'
-

This error was not created from the runqemu script itself.
Maybe the runqemu-initial script was expecting other options?


Regards
Samuel




More information about the Openembedded-core mailing list