[U-Boot] [ppc] qemu-ppce500 howto

Alexander Graf
2014-05-25T10:08:34Z

On 24.05.14 09:23, Alon Bar-Lev wrote:
> On Thu, May 22, 2014 at 12:04 PM, Alexander Graf <agraf@suse.de> wrote:
>>
>> On 22.05.14 09:52, Alon Bar-Lev wrote:
>>> Hi,
>>>
>>> Trying to run the qemu-ppce500 within qemu. I am using -bios u-boot.bin and no luck, I get live signal.
>>>
>>> I am using latest u-boot master and qemu master.
>>>
>>> Command:
>>> $ ./qemu-system-ppc -M ppce500 -nographic -bios u-boot.bin
>>>
>>> Tried to load u-boot as well, same.
>>
>> Yes, that command should work with the right patches :). Unfortunately they are not in master yet, but instead waiting in my queue:
>>
>> https://github.com/agraf/qemu
>>
>> Please give things a try with the ppc-next branch in there. That should get things working for you.
>>
> WORKING! thanks!
>
> Is there any support for flush and/or mtd for this target (-drive
> if=pflash, -mtdblock)?

I haven't implemented pflash yet, sorry. Do you need the flash device
for configuration storage or as backing storage for your kernel?

Alex