[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] U-Boot patch for qemu -M mips
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] U-Boot patch for qemu -M mips |
Date: |
Wed, 3 Oct 2007 20:47:44 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
Vlad Lungu wrote:
> Thiemo Seufer wrote:
>> Vlad Lungu wrote:
>> [snip]
>>
>>>>> +long int initdram(int board_type)
>>>>> +{
>>>>> + /* Sdram is setup by assembler code */
>>>>> + /* If memory could be changed, we should return the true value
>>>>> here */
>>>>> + return MEM_SIZE*1024*1024;
>>>>>
>>>> Qemu gets the amount of RAM passed via a command line switch, the
>>>> qemu-mips emulation sets up a Linux kernel like "command line" in
>>>> memory where u-boot could parse it from.
>>>>
>>>>
>>> Does it, or just when you pass -kernel to it? I'll check.
>>>
>>
>> Hm, you are right, it does that only for -kernel. Would it make sense
>> to change that in Qemu?
>>
> IDK. Maybe I can probe the RAM size in U-Boot , or if this does not work,
mips_r4k implements no probable memory controller, so this won't work.
> put some info somewhere (RAM, register,
> emulated DIP-dwitch), like RAM size, endianness of the CPU.
Endianness is rather pointless. If your U-Boot binary doesn't explode
immediately you got the right endianness. :-)
Thiemo
- [Qemu-devel] U-Boot patch for qemu -M mips, Vlad Lungu, 2007/10/02
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Thiemo Seufer, 2007/10/02
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Vlad Lungu, 2007/10/03
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Thiemo Seufer, 2007/10/03
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Vlad Lungu, 2007/10/03
- Re: [Qemu-devel] U-Boot patch for qemu -M mips,
Thiemo Seufer <=
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Vlad Lungu, 2007/10/04
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, Thiemo Seufer, 2007/10/04
- Re: [Qemu-devel] U-Boot patch for qemu -M mips, vlad, 2007/10/04
- Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2, Vlad Lungu, 2007/10/04
- Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2, Wolfgang Denk, 2007/10/04
- Re: [Qemu-devel] U-Boot patch for qemu -M mips TAKE 2, Vlad Lungu, 2007/10/04