Robert/other device tree experts,
Apparently using u-boot to load the compiled dtbo bricks the beaglebone. 
The device does not complete boot up and all 4 led's remain on 
(ethernet/usb is non responsive too). I am wondering if U-boot is the right 
way to do it?
How should I compile the original Dts 
<https://git.ti.com/apps/tida01555/blobs/master/dts/am335x-boneblack-pruadc.dts>
 and 
add to boot up? TI's compilation instructions are:
*3.1.2.4 Compile the Device Tree to Configure Pin Muxing *
*A device tree file is provided in the dts folder of the TIDA-01555 git 
repository. Copy the device tree file (am335x-boneblack-pruadc.dts) into 
the dts folder of the RT Linux Kernel source of the Processor SDK. Find the 
dts folder at ${RT Linux Processor SDK Install 
Path}/board-support/linux-xx.xx.xx/ arch/arm/boot/dts/. *
*After the am335x-boneblack-pruadc.dts file is placed in the SDK’s dts 
folder, compile the device tree. From the ${RT Linux Processor SDK Install 
Path}/board-support/linux-xx.xx.xx/ directory, run the following bolded 
commands. Make sure to add the cross-compile toolchain to the PATH variable 
first. For more information on the following commands, see the Processor 
SDK Linux Kernel Users Guide. *
*• # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean *
*• # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 
tisdk_am335x-evm-rt_defconfig *
*• # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 
am335x-boneblack-pruadc.dtb*

How would I accomplish the same on Beaglebone?

Thanks
Gaurav

On Tuesday, October 9, 2018 at 4:43:57 PM UTC-5, GS wrote:
>
> Thanks Robert, much appreciated!
>
> On Tuesday, October 9, 2018 at 4:03:21 PM UTC-5, RobertCNelson wrote:
>>
>> On Tue, Oct 9, 2018 at 3:54 PM GS <[email protected]> wrote: 
>> > 
>> > I am trying to figure out how to reserve memory in device tree. (this 
>> is based on an example by TI: Dts and compile instructions section 3.1.2.4) 
>> > 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. 
>>
>> Looks fine: 
>>
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/da850-lcdk.dts?h=v4.19-rc7#n29
>>  
>>
>> dtc just being over-jealous on warnings, and we haven't fixed all the 
>> in-kernel nodes up to the proper syntax.. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
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/db49937a-ac7a-488e-9e0b-0bf81344e8a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to