PHYSMEM_SIZE and a hang on boot for kirkwood
Rich Neese
r.neese at gmail.com
Sun Jun 24 01:21:14 UTC 2012
On 6/23/2012 12:29 PM, Kate F wrote:
> On 23 June 2012 15:37, Lukasz Wojcik <lukasz.wojcik at zoho.com> wrote:
>> On 06/23/12 15:45, Kate F wrote:
>>> I believe this is the same problem. Is there a way I can hardcode the
>>> physical memory size which would be equivalent to 8.3's PHYSMEM_SIZE
>>> option?
>>>
>>> Is is there a better way to solve this, and have the memory size found
>>> automatically?
>> I believe 9.0 is FDT-ized already. Take a look at:
>> sys/boot/fdt/dts/db88f6281.dts, especially '/memory' node.
>>
>> also:
>>
>> http://wiki.freebsd.org/FlattenedDeviceTree
>
> Whoops. I meant I'm using -CURRENT, of course - because I'm interested in
> the recent NAND work.
>
> The db88f6281.dts tree is exactly what I was looking for. The memory node
> was indeed set for 512M, as PHYSMEM_SIZE was before FDT.
> So I set that accordingly:
>
> memory {
> device_type = "memory";
> reg = <0x0 0x10000000>; // 256M at 0x0
> };
>
> and now 10.0-CURRENT boots just fine, as did 8.3 with the equivalent change.
>
> Thank you!
>
> please send me the url to this device so I can add it to the list of supported devices...
More information about the freebsd-arm
mailing list