qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Coldfire 5282 Support


From: Thomas Huth
Subject: Re: [Qemu-discuss] Coldfire 5282 Support
Date: Wed, 6 Sep 2017 07:56:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 06.09.2017 00:04, William Mahoney wrote:
> 
>> On Sep 5, 2017, at 4:37 PM, Peter Maydell <address@hidden> wrote:
>>
>> On 5 September 2017 at 20:30, William Mahoney <address@hidden> wrote:
[...]
>>> I’d like to find this and/or anything else to clue me in before
>>> starting as to the level of difficulty to add 5282. I mean, I
>>> have decades of “C” background, I know the 5282 well, but am I
>>> going to be 10 days or 10 weeks?
>>
>> This depends a lot on how different the 5282 is from what
>> we currently support (5206 and 5208, from the looks of things).
> 
> It’s like a 5208 but with additional on-chip I/O. Some of it is simple, like 
> the UARTs are identical I think. Some parts are new, on-chip FLASH and SRAM, 
> CAN bus, ...

That's good, so you might be able to simply start with the 5208 core.

I suggest that you start with making a copy of hw/m68k/mcf5208.c and
then see what you need to modify there. To support the "-bios" parameter
of QEMU, do a "grep -r bios_name hw/" to see how it is handled in the
other boards (e.g. something like the digic_load_rom() function in
hw/arm/digic_boards.c).

 Thomas



reply via email to

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