Re: Factory CD boot problem

Alexander Graf <[email protected]> Tue, 7 Jan 2014 14:43:15 +0100
Newsgroups gmane.linux.suse.ppc
Message-ID <[email protected]>
On 07.01.2014, at 14:40, Andreas Färber <[email protected]> wrote:

> Am 02.01.2014 22:26, schrieb Benjamin Herrenschmidt:
>> On Thu, 2014-01-02 at 22:01 +0100, Alexander Graf wrote:
>>> Well, the only curious thing is that it starts allocation at 48MB. But
>>> I suppose that's for a good reason - OFW and yaboot have to all fit
>>> into the same tiny 128MB address space after all.
>> 
>> Check where OFW is ... (real-base)
> 
> # hexdump -C options/real-base
> 00000000  33 33 35 35 34 34 33 32  00                       |33554432.|
> 00000009

>>> 33554432 / 1024. / 1024.
32.0

> # hexdump -C options/real-size
> 00000000  31 36 37 37 37 32 31 36  00                       |16777216.|
> 00000009

>>> 16777216 / 1024. / 1024.
16.0

> 
> Looks slightly odd to me...
> 
> power5:/proc/device-tree # hexdump -C options/virt-base
> 00000000  34 32 39 34 39 36 37 32  39 35 00                |4294967295.|

>>> hex(4294967295)
'0xffffffff'

> 0000000b
> power5:/proc/device-tree # hexdump -C options/virt-size
> 00000000  34 32 39 34 39 36 37 32  39 35 00                |4294967295.|

>>> hex(4294967295)
'0xffffffff'

> 0000000b
> 
> # hexdump -C options/load-base
> 00000000  31 36 33 38 34 00                                 |16384.|

>>> hex(16384)
'0x4000'


Alex

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]