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: William Mahoney
Subject: Re: [Qemu-discuss] Coldfire 5282 Support
Date: Fri, 15 Sep 2017 20:41:58 +0000

Hi Laurent;

I grabbed it and it boots up just fine. Thanks!

Spent a few hours this afternoon looking at your 5208 code Thomas. Some 
thoughts in no particular order.

1) 5208 has two timers, I walked through the code, looks good. 5282 has four… 
Easily changeable.

2) The only thing other than the timers and the FEC in the 5208 code is the 
chip select reg’s, correct? I will verify that the FEC is identical but I am 
betting this is a yes. Things like the UARTs are handled elsewhere (where?).

3) Can of worms. The 5282 allows you to move the base address of the control 
registers, the start address of the SRAM, all sorts of things. The control 
registers are all offset from a default address when the chip is reset but in 
theory the code can come along and say “well from now on the base address for 
the control registers is so-and-so”. In the startup code, there’s those calls 
such as “memory_region_allocate_system_memory” and “…add_subregion” and so on. 
What happens if after a system starts and is being emulated, we need to move 
the regions or subregions?

So also, philosophically you might say, does a qemu for a new target emulate 
everything that the chip can do, or only what’s needed for, say, Linux?

> On Sep 13, 2017, at 2:02 PM, Laurent Vivier <address@hidden> wrote:
> 
> Le 13/09/2017 à 19:48, Thomas Huth a écrit :
>> On 13.09.2017 16:31, William Mahoney wrote:
>> [...]
>>> By the way, there is a link to a uClinux image on the emu documentation 
>>> pages but the link times out. Is there a uClinux 5208 kernel image 
>>> somewhere else? I only wanted to try that to make sure that everything else 
>>> (serial ports) is set up, etc.
>> 
>> uclinux.org was still available a couple of weeks ago. Let's hope that
>> it is just temporary offline. If it permanently down, let me know, I
>> think I've got those images still somewhere on my hard disk...
> 
> I have one copy on my disk, you can find it here:
> 
>    
> https://urldefense.proofpoint.com/v2/url?u=http-3A__vivier.eu_coldfire-2Dtest-2D0.1.tar.bz2&d=DwIDaQ&c=kj4KSSBt5oOaHuCCpWXkZw&r=Mtyyc5RUx7pznMoWi_LaXxWcB2Jo-SJVij16391r-e0&m=Y-hmykO4RAGy5Pr6RjuyTcdJxOcJaVyH7VhqJNDsvBQ&s=oaoWy8wdGB3AsN1hm1HE0ozfYN7ns__LEeSsYdWO_eQ&e=
>  
> 
> Laurent


reply via email to

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