qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 0/2] Add flash emulation to the ARM Versatile PB


From: Jean-Christophe PLAGNIOL-VILLARD
Subject: Re: [Qemu-devel] [patch 0/2] Add flash emulation to the ARM Versatile PB platform
Date: Fri, 10 Oct 2008 23:20:50 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

> > 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]