Would these steps be expected to work with 4.4.30-ti-r64 ?

On Saturday, December 8, 2018 at 3:35:56 PM UTC-5, [email protected] 
wrote:
>
> OK. I had made a mistake. Your suggestion solved the problem. Now I have a 
> gap in System RAM.
> This is the device tree source that i have used and is OK:
>
> /dts-v1/;
> /plugin/;
> /* Reserve 256kB DDR memory for the ping/pong buffers */
> / {
> fragment@0 {
> target-path = "/";
> __overlay__ {
> reserved-memory {
> #address-cells = <1>;
> #size-cells = <1>;
> ranges; 
>
> pruadc_reserved: pruadc_reserved@0x90010000 {
> reg = <0x90010000 0x00040000>;
> no-map; 
> status = "okay"; 
> };      
> };
> };
> };
> };
>
> Thank you very much.
>
> On Wednesday, October 10, 2018 at 12:24:35 AM UTC+3:30, GS wrote:
>>
>> I am trying to figure out how to reserve memory in device tree. (this is 
>> based on an example by TI: Dts 
>> <https://git.ti.com/apps/tida01555/blobs/master/dts/am335x-boneblack-pruadc.dts>
>>  and 
>> compile instructions section 3.1.2.4 
>> <http://www.ti.com/lit/ug/tidudn4/tidudn4.pdf>)
>> Here is is my dts file:
>>
>> /dts-v1/;
>>
>> / {
>>     reserved-memory {
>>         #address-cells = <1>;
>>         #size-cells = <1>;
>>         ranges;
>>
>>         pruadc_reserved: pruadc_reserved@0x9ffc0000 {
>>           reg = <0x9ffc0000 0x00010000>;
>>           no-map;
>>           status = "okay";
>>         };
>>       };
>> };
>>
>> However, when I compile I get the following warnings:
>> src/arm/MEM.dtbo: Warning (ranges_format): /reserved-memory has empty 
>> "ranges" property but its #address-cells (1) differs from / (2)
>> src/arm/MEM.dtbo: Warning (avoid_default_addr_size): Relying on default 
>> #address-cells value for /reserved-memory
>> src/arm/MEM.dtbo: Warning (avoid_default_addr_size): Relying on default 
>> #size-cells value for /reserved-memory
>>
>> Other combinations of address-cells/size-cells give reg format warnings.
>>
>> Any suggestions would be much appreciated.
>>
>> Thanks
>> Gaurav
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4c6e4b53-e602-443d-a730-63415a4348ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to