qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] armv7m/stm32f205 not starting if code linked from 0x080


From: Peter Maydell
Subject: Re: [Qemu-devel] armv7m/stm32f205 not starting if code linked from 0x08000000
Date: Mon, 8 Jun 2015 19:18:00 +0100

On 8 June 2015 at 19:12, Liviu Ionescu <address@hidden> wrote:
>
>> On 08 Jun 2015, at 20:43, Peter Maydell <address@hidden> wrote:
>>
>> ... Unfortunately the test we're doing to decide is calling rom_ptr(),
>> which only looks at the addresses the ROMs are registered to
>> be copied into; it doesn't know about aliasing.
>
> I guessed so.
>
>> If you fudge the if() statement to use 0x08000000 rather
>> than 0 as the address passed to rom_ptr() it will probably
>> work.
>
> I tried the following:
>
>         rom = 0x08000000; //rom_ptr(0);

I meant
    rom = rom_ptr(0x08000000);

-- PMM



reply via email to

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