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

Re: [PATCH] Revert "Link yaboot at 1MB"



On 2017-10-21, Tony Breeds <tony@bakeyournoodle.com> wrote:
>> This reverts commit f7a364631f2a8975ecca56668a19ee0a66c1ddcd.
>> 
>> An iBook G4 (PowerBook6,5) was unable to boot when linking to the
>> lower address. Revert back to 2MB.
>> 
>> Signed-off-by: John Ogness <powerpc@ogness.net>
>> ---
>>  I could not find any references about _why_ yaboot was moved
>>  from 2MB to 1MB. I did not bother to see how low I could get
>>  it on my iBook. If 2MB is too high for some machine, I can
>>  investigate to see how low I can go.
>
> This was done as 'large' kernels couldn't be loaded as the RMA was too
> fragmented.  Moveing it down to 1MB reclaimed just enough that we were
> fine.
>
> I assume that the yaboot-mainline and 1.3.17-4 tests we made with the
> same kernel/intrd combination.

Yes. From Debian/sid, linux-image-4.13.0-1-powerpc version 4.13.4-2.

> Can you get me a dump of your RMA memory properties and sizes of the
> kernel and initrd?

I'm not sure what you mean by "RMA memory properties" or how best to
"dump" them. Here is some information retrieved from OpenFirmware...

excerpt from 'printenv':
real-mode? false
real-base -1
real-size -1
load-base 0x800000
virt-base -1
virt-size -1
ram-size 0x30000000

excerpt from 'dev /memory' '.properties':
available 00003000 2fbed000

The initrd.img is 18,543,719 bytes.
The decompressed initrd.img is 48,723,456 bytes.
The vmlinux is 11,868,000 bytes.

John Ogness


Reply to: