Re: [beagleboard] compiling a dts file

2018-02-14 Thread Robert Nelson
On Wed, Feb 14, 2018 at 9:00 AM, evilwulfie  wrote:
> root@beaglebone:/home/debian# git clone
> https://github.com/beagleboard/bb.org-overlays
> Cloning into 'bb.org-overlays'...
> remote: Counting objects: 2442, done.
> remote: Compressing objects: 100% (14/14), done.
> remote: Total 2442 (delta 12), reused 22 (delta 8), pack-reused 2415
> Receiving objects: 100% (2442/2442), 732.86 KiB | 328.00 KiB/s, done.
> Resolving deltas: 100% (1549/1549), done.
> root@beaglebone:/home/debian# cd bb.org-overlays
> root@beaglebone:/home/debian/bb.org-overlays# make src/arm/BB-I2C1-00A0.dtb
> make: *** No rule to make target 'src/arm/BB-I2C1-00A0.dtb'.  Stop.

ah forgot the "o" at the end:

make src/arm/BB-I2C1-00A0.dtbo
  DTC src/arm/BB-I2C1-00A0.dtbo

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjWKtiSpkRbHijQOu%3DfbJ4KfB_xFdzkyv7pm-y%3DkuQjzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] compiling a dts file

2018-02-14 Thread Robert Nelson
On Wed, Feb 14, 2018 at 8:45 AM, evilwulfie  wrote:
> I do hardware. Software was something i did in the 80s z80 asm code and
> c coding on a univac ( yeah i know )
>
> If i run your command as root in my current directory
>
> root@beaglebone:/home/debian# make src/arm/BB-I2C1-00A0.dtb
> make: *** No rule to make target 'src/arm/BB-I2C1-00A0.dtb'.  Stop.

git clone https://github.com/beagleboard/bb.org-overlays
cd ./bb.org-overlays/
make src/arm/BB-I2C1-00A0.dtb

> Been using linux since the 90s
>
> 2 years ago i could just invoke the dts compiler
>
> dtc -O dtb -o BB-I2C1-00A0.dtb -b 0 BB-I2C1-00A0.dts
>
> in whatever directory i was in normally someplace safe where i can play
> without fear of destroying something important
>
> now things have changed and its tough to see whats changed
> all examples everywhere also say i can invoke the compiler in a temp
> directory.

There's "include" files in the *.dts now...  dtc doesn't handle includes's..

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi%2BOpkPO_BOzgeV5At64vO7DxUJrDgqErDTBrw6YNmAiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] compiling a dts file

2018-02-14 Thread evilwulfie
I do hardware. Software was something i did in the 80s z80 asm code and
c coding on a univac ( yeah i know )

If i run your command as root in my current directory

root@beaglebone:/home/debian# make src/arm/BB-I2C1-00A0.dtb
make: *** No rule to make target 'src/arm/BB-I2C1-00A0.dtb'.  Stop.


Been using linux since the 90s

2 years ago i could just invoke the dts compiler

dtc -O dtb -o BB-I2C1-00A0.dtb -b 0 BB-I2C1-00A0.dts

in whatever directory i was in normally someplace safe where i can play
without fear of destroying something important

now things have changed and its tough to see whats changed
all examples everywhere also say i can invoke the compiler in a temp
directory.

thanks Robert for your assistance.

On 2/14/2018 7:36 AM, Robert Nelson wrote:
> On Wed, Feb 14, 2018 at 8:15 AM, evilwulfie  wrote:
>> So i need to create a dtb file for some custom hardware.
>> I made one 2 years ago that compiled correctly
>> on the latest IOT image it does not compile.
>> So i figure, hey maybe something has changed
>> so i pull the /opt/source/bb.org-overlays/src/arm/BB-I2C1-00A0.dts file
>> to a temp directory and try to compile it
>> Funny i get the same error and i get no compile.
>>
>> Error: BB-I2C1-00A0.dts:13.1-9 syntax error
>> FATAL ERROR: Unable to parse input tree
>>
>>
>> just wondering whats changed.
>>
>> apt says i am at the latest dts compiler
>>
>> anybody try to compile anything recently ?
> make src/arm/BB-I2C1-00A0.dtb
>
> Regards,
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/37566677-81f1-7581-fecc-35d8dc0768b7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] compiling a dts file

2018-02-14 Thread Robert Nelson
On Wed, Feb 14, 2018 at 8:15 AM, evilwulfie  wrote:
> So i need to create a dtb file for some custom hardware.
> I made one 2 years ago that compiled correctly
> on the latest IOT image it does not compile.
> So i figure, hey maybe something has changed
> so i pull the /opt/source/bb.org-overlays/src/arm/BB-I2C1-00A0.dts file
> to a temp directory and try to compile it
> Funny i get the same error and i get no compile.
>
> Error: BB-I2C1-00A0.dts:13.1-9 syntax error
> FATAL ERROR: Unable to parse input tree
>
>
> just wondering whats changed.
>
> apt says i am at the latest dts compiler
>
> anybody try to compile anything recently ?

make src/arm/BB-I2C1-00A0.dtb

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYj%3DgryehT_exXFTfvyE7t96sVMAfrMj%2Bh1OfmwJ3cEU5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.