Trouble with dtc

48 views
Skip to first unread message

TB

unread,
Oct 23, 2013, 10:09:48 AM10/23/13
to beagl...@googlegroups.com
Hi,

I am using BBB with Robert Nelsons Ubuntu 13.04 (Sept release I think). Everything has worked perfectly up till now. I am trying to add the UARTS based on the Adafruit python  library package. It looks like the dts files are not getting compiled and place in the /lib/firmware directory. So  I did a compile test with a sample dts file and it gives me the -@ compiler flag error. research directed me to Robert Nelsons patch dtc.sh at  https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh . However when I run this script it ends with the error "Failed to fetch http://ftp.linux-foundation.org/pub/lsb/repositories/debian/dists/lsb-4.0/main/binary-armhf/Packages   404 Not found.   I went to that site and there are no binary-armhf directories at all. I am stuck. What should i do next? Thanks

T


Robert Nelson

unread,
Oct 23, 2013, 10:14:06 AM10/23/13
to Beagle Board
Ahh, fix your system?

The script needs, uses dpkg on a debian based system to search for:
bison, flex, build-essential, git-core, iputils-ping...

For anything else, patches welcome..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

TB

unread,
Oct 23, 2013, 10:31:37 AM10/23/13
to beagl...@googlegroups.com
Robert,

Thanks for the response and the great tools you supply but I guess due to my "newbie-ness" I don't understand your reply. Why is the DTC not working and/or thepatch not working on my BBB with Ubuntu so I can compile dts files? Is it just something messed up on my system?

Thanks

Robert Nelson

unread,
Oct 23, 2013, 10:35:11 AM10/23/13
to Beagle Board
On Wed, Oct 23, 2013 at 9:31 AM, TB <blaloc...@gmail.com> wrote:
> Robert,
>
> Thanks for the response and the great tools you supply but I guess due to my
> "newbie-ness" I don't understand your reply. Why is the DTC not working
> and/or thepatch not working on my BBB with Ubuntu so I can compile dts
> files? Is it just something messed up on my system?

I think it's something messed up with your system..
Why is apt fetching from there from the first place? lsb-4.0 doesn't
have any arm repo's, so you must have added it to
/etc/apt/sources.list....

So remove that bogus reference. ;)

Todd Blalock

unread,
Oct 23, 2013, 10:44:46 AM10/23/13
to beagl...@googlegroups.com
Robert,

YOU ARE DA MAN!  I have no idea how that reference to lsb-4.0 got in the sources.list file but once i removed it your script ran perfectly. All is well again! Thanks so much.

Todd


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/1f7XCkV1SVs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages