linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Nemo on emulated Nokia n900 (qemu-arm)
@ 2013-11-28 17:11 Pavel Machek
  2013-12-02 13:26 ` Christopher Covington
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2013-11-28 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

For testing, it would be good to have some real
userland... unfortunately I can't figure out how to do it.

Ideally, I'd like to put nemo-armv7hl-n900-mmcblk0p.raw on emulated sd
card, but I get:

[    1.566345] Initializing XFRM netlink socket
[    1.568023] NET: Registered protocol family 17
[    1.570220] NET: Registered protocol family 15
[    1.572601] Key type dns_resolver registered
[    1.581481] omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE
timeout exceeded while trying to clear the TRANXDONE status
[    1.586242] omap_vp_forceupdate_scale: vdd_core TRANXDONE timeout
exceeded while trying to clear the TRANXDONE status
[    1.601074] omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE
timeout exceeded. Voltage change aborted
[    1.604522] cpu cpu0: omap_target: unable to scale voltage up.
[    1.606933] omap_hsmmc omap_hsmmc.1: no support for card's volts
[    1.609252] mmc1: error -22 whilst initialising SDIO card
SD: ACMD41 in a wrong state
SD: ACMD41 in a wrong state
SD: ACMD41 in a wrong state
SD: ACMD41 in a wrong state
SD: CMD1 in a wrong state
[    1.613830] cpufreq: __cpufreq_driver_target: Failed to change cpu
frequency: -110
[    1.622650] ThumbEE CPU extension supported.

But according to google, old linux kernels were able to work with SD
on qemu-arm...

IIRC there was some discussion that qemu does not properly emulate SD
card, and that internal NAND emulation can be used instead. I tried
using qflasher, but it is not able to use 3.5GB
nemo-armv7hl-n900-mmcblk0p.rawnemo-armv7hl-n900-mmcblk0p.raw -- strace
revealed file too big error.

Any ideas?
									Pavel
PS: And sorry if it is in archives somewhere. I googled quite a bit,
but did not find anything.
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Nemo on emulated Nokia n900 (qemu-arm)
  2013-11-28 17:11 Nemo on emulated Nokia n900 (qemu-arm) Pavel Machek
@ 2013-12-02 13:26 ` Christopher Covington
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Covington @ 2013-12-02 13:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Pavel,

On 11/28/2013 12:11 PM, Pavel Machek wrote:
> Hi!
> 
> For testing, it would be good to have some real
> userland... unfortunately I can't figure out how to do it.
> 
> Ideally, I'd like to put nemo-armv7hl-n900-mmcblk0p.raw on emulated sd
> card, but I get:
> 
> [    1.566345] Initializing XFRM netlink socket
> [    1.568023] NET: Registered protocol family 17
> [    1.570220] NET: Registered protocol family 15
> [    1.572601] Key type dns_resolver registered
> [    1.581481] omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE
> timeout exceeded while trying to clear the TRANXDONE status
> [    1.586242] omap_vp_forceupdate_scale: vdd_core TRANXDONE timeout
> exceeded while trying to clear the TRANXDONE status
> [    1.601074] omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE
> timeout exceeded. Voltage change aborted
> [    1.604522] cpu cpu0: omap_target: unable to scale voltage up.
> [    1.606933] omap_hsmmc omap_hsmmc.1: no support for card's volts
> [    1.609252] mmc1: error -22 whilst initialising SDIO card
> SD: ACMD41 in a wrong state
> SD: ACMD41 in a wrong state
> SD: ACMD41 in a wrong state
> SD: ACMD41 in a wrong state
> SD: CMD1 in a wrong state
> [    1.613830] cpufreq: __cpufreq_driver_target: Failed to change cpu
> frequency: -110
> [    1.622650] ThumbEE CPU extension supported.
> 
> But according to google, old linux kernels were able to work with SD
> on qemu-arm...
> 
> IIRC there was some discussion that qemu does not properly emulate SD
> card, and that internal NAND emulation can be used instead. I tried
> using qflasher, but it is not able to use 3.5GB
> nemo-armv7hl-n900-mmcblk0p.rawnemo-armv7hl-n900-mmcblk0p.raw -- strace
> revealed file too big error.
> 
> Any ideas?

While I don't know the details of QEMU SD/MMC and NAND support, another option
you could try is the VirtIO block device peripheral.

http://www.linux-kvm.org/page/Boot_from_virtio_block_device

Regards,
Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-02 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 17:11 Nemo on emulated Nokia n900 (qemu-arm) Pavel Machek
2013-12-02 13:26 ` Christopher Covington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).