From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoPWW-0007fn-4r for qemu-devel@nongnu.org; Fri, 10 Oct 2008 17:27:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoPWS-0007fb-M4 for qemu-devel@nongnu.org; Fri, 10 Oct 2008 17:27:46 -0400 Received: from [199.232.76.173] (port=46922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoPWS-0007fY-HE for qemu-devel@nongnu.org; Fri, 10 Oct 2008 17:27:44 -0400 Received: from 42.mail-out.ovh.net ([213.251.189.42]:48963) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KoPWR-0002sA-QW for qemu-devel@nongnu.org; Fri, 10 Oct 2008 17:27:44 -0400 Date: Fri, 10 Oct 2008 23:20:50 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [Qemu-devel] [patch 0/2] Add flash emulation to the ARM Versatile PB platform Message-ID: <20081010212050.GD9735@game.jcrosoft.org> References: <20081010083602.692750032@free-electrons.com> <20081010090123.GY16823@hall.aurel32.net> <20081010114805.35da4e48@surf> <20081010140252.GB7013@game.jcrosoft.org> <20081010165224.3cc64dc6@surf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010165224.3cc64dc6@surf> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > > I think I'll nice to add u-boot ML too and the ARM maintainer in copy > > maybe > > Yes, maybe I should contact the U-Boot people. To get U-Boot to work on > the Versatile PB platform, I had to make several modifications to the > U-Boot configuration : > > * Switch to a custom versatile flash driver to the generic CFI driver. > The custom versatile flash driver used by the default U-Boot > versatile configuration doesn't play well with Qemu flash emulation > for reasons that I haven't investigated. > > At least one people in 2005 sent patches to convert U-Boot versatile > to use the generic CFI flash driver, but it seems that the patches > haven't been integrated: > http://lists.denx.de/pipermail/u-boot/2005-October/012334.html > > I'd be glad to send the patch to the U-Boot people, but I couldn't > test it on the hardware, so I'm not sure they work properly. > > * Switch to an external phy for the ethernet adapter. This works on > Qemu, but probably won't work on the real hardware. But again, I > couldn't test this on the hardware, so I'm not sure about posting a > patch that I haven't been able to test. > > * Tune the CFG_HZ and CFG_TIMER_CTRL to get some sane timing > behaviour. Here again, I wasn't able to test this on real hardware. > And I don't even understand the new values, I just changed them > until I found a combination that "worked". > > Having a U-Boot configuration that works on Qemu would certainly be > nice, but I'm not sure how to proceed with these three problems. Any > hint maybe ? I think it's important to have an emulation that respect the hardware behavior specialy in this case where people could use also qemu to test U-Boot modification for this board and/or others as example to check other boards and/or others arch. Best Regards, J.