From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752754Ab3LBN0b (ORCPT ); Mon, 2 Dec 2013 08:26:31 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:46208 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989Ab3LBN0a (ORCPT ); Mon, 2 Dec 2013 08:26:30 -0500 Message-ID: <529C8A83.50003@codeaurora.org> Date: Mon, 02 Dec 2013 08:26:27 -0500 From: Christopher Covington User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Pavel Machek CC: pali.rohar@gmail.com, sre@debian.org, sre@ring0.de, kernel list , linux-arm-kernel , OH@amd.pavel.ucw.cz Subject: Re: Nemo on emulated Nokia n900 (qemu-arm) References: <20131128171153.GA20486@amd.pavel.ucw.cz> In-Reply-To: <20131128171153.GA20486@amd.pavel.ucw.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.