Nemo on emulated Nokia n900 (qemu-arm)
Christopher Covington
cov at codeaurora.org
Mon Dec 2 08:26:27 EST 2013
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.
More information about the linux-arm-kernel
mailing list