BeagleBone Cookbook - O'Reilly Media

Just wondering if anyone's picked up a copy of the Early Release of this
book yet and if so what's the opinion?

http://shop.oreilly.com/product/0636920033899.do

I’m pretty sure Jason likes it! :wink: haven’t seen it yet.

Speaking of BBB books, there is an advanced robotics book that just came out that’s pretty good.

As an FYI, I’ll be doing a training class at Blackhat USA this summer on using the BBB for remote hacking.

I'm pretty sure Jason likes it! :wink:

Hah. I only just now noticed his email address. Bodes well :slight_smile:

Speaking of BBB books, there is an advanced robotics book that just came
out that's pretty good.

What's the title? I seem to recall seeing a couple at Safari Online that
have come out in the past few months.

As an FYI, I'll be doing a training class at Blackhat USA this summer on
using the BBB for remote hacking.

Sounds like fun. Pity the ditch from AU to US is so wide... :frowning:

Thanks for the reply,

Pete.

Here is a link to the book http://www.amazon.com/gp/aw/d/1783988908/ref=mp_s_a_1_3?qid=1423610746&sr=8-3&pi=AC_SY200_QL40&keywords=beaglebone+black+robotics&dpPl=1&dpID=5117yv1ecAL&ref=plSrch

BTW, if the ditch is too big to cross for Blackhat, you could always buy my book http://philpolstra.com/Hacking-Book/ :wink:

I'm naturally interested in what anyone has to say about it. I'd like
to update the image link in the final book to point to something up on
BeagleBoard.org - latest-images, but I need to get that updated
first. That's what I'm spending time thinking about lately.

I've been updating http://builds.beagleboard.org to utilize my
pre-release BeagleBoard-X15 to start building flash images for
BeagleBone Black.

O’Reilly is having half off prerelease books this week with code WKERES for anyone interested in Jason’s book.

I kind of like the book too. :-> I’d like to hear what people think of it.

In the long run, I’d like to know what other recipes could be included. There are some many other things the Bone can do.

–Mark

Jason,

On builds.beagleboard.org, looking at the logs, here is the sudo line
(/etc/sudoer) that should get the script up and running...

<build_user> ALL=NOPASSWD: /bin/chmod, /bin/chown, /usr/sbin/chroot,
/bin/cp, /usr/sbin/debootstrap, /bin/mkdir, /bin/mv, /bin/rm, /bin/sh,
/bin/sed, /bin/tar, /usr/bin/touch, /bin/mount, /bin/umount

Make sure that <build_user> can't be ssh'ed into. :wink:

Regards,

I'm naturally interested in what anyone has to say about it. I'd like
to update the image link in the final book to point to something up on
BeagleBoard.org - latest-images, but I need to get that updated
first. That's what I'm spending time thinking about lately.

I've been updating http://builds.beagleboard.org to utilize my
pre-release BeagleBoard-X15 to start building flash images for
BeagleBone Black.

Jason,

On builds.beagleboard.org, looking at the logs, here is the sudo line
(/etc/sudoer) that should get the script up and running...

<build_user> ALL=NOPASSWD: /bin/chmod, /bin/chown, /usr/sbin/chroot,
/bin/cp, /usr/sbin/debootstrap, /bin/mkdir, /bin/mv, /bin/rm, /bin/sh,
/bin/sed, /bin/tar, /usr/bin/touch, /bin/mount, /bin/umount

Make sure that <build_user> can't be ssh'ed into. :wink:

We've definitely hijacked a thread now. :slight_smile:

Yeah, I fixed that one already. Issue now seems to be related to the
way it tries to check things out with git. The script makes a
'tmp.XXXX' directory and the git checkout seems to puke on it for some
reason.

I'm naturally interested in what anyone has to say about it. I'd like
to update the image link in the final book to point to something up on
BeagleBoard.org - latest-images, but I need to get that updated
first. That's what I'm spending time thinking about lately.

I've been updating http://builds.beagleboard.org to utilize my
pre-release BeagleBoard-X15 to start building flash images for
BeagleBone Black.

Jason,

On builds.beagleboard.org, looking at the logs, here is the sudo line
(/etc/sudoer) that should get the script up and running...

<build_user> ALL=NOPASSWD: /bin/chmod, /bin/chown, /usr/sbin/chroot,
/bin/cp, /usr/sbin/debootstrap, /bin/mkdir, /bin/mv, /bin/rm, /bin/sh,
/bin/sed, /bin/tar, /usr/bin/touch, /bin/mount, /bin/umount

Make sure that <build_user> can't be ssh'ed into. :wink:

We've definitely hijacked a thread now. :slight_smile:

Yeah, I fixed that one already. Issue now seems to be related to the
way it tries to check things out with git. The script makes a
'tmp.XXXX' directory and the git checkout seems to puke on it for some
reason.

I think it came down to clean-up if the script was exited in the
middle. I had to manually umount the proc, sysfs and devpts
directories, delete the tree and start from scratch. Hopefully that
won't be the case on any but rare occasions.

It's the "git clean -f -f -d -x" call on "ignore"..

"ignore" use to be /tmp/tmp.xyz but we ran into problems with memory
backed "tmpfs" (running out of space) so we moved it to the drive..
The safe bet would be to remove the "ignore" directory before the git
clean call.

It's in the ".gitignore" so i'm a little supprised, "git clean -f -f
-d -x " goes after it..

Regards,

it works here if we drop the "-x"

git clean -f -f -d

Regards,

I'm naturally interested in what anyone has to say about it. I'd like
to update the image link in the final book to point to something up on
BeagleBoard.org - latest-images, but I need to get that updated
first. That's what I'm spending time thinking about lately.

I've been updating http://builds.beagleboard.org to utilize my
pre-release BeagleBoard-X15 to start building flash images for
BeagleBone Black.

Jason,

On builds.beagleboard.org, looking at the logs, here is the sudo line
(/etc/sudoer) that should get the script up and running...

<build_user> ALL=NOPASSWD: /bin/chmod, /bin/chown, /usr/sbin/chroot,
/bin/cp, /usr/sbin/debootstrap, /bin/mkdir, /bin/mv, /bin/rm, /bin/sh,
/bin/sed, /bin/tar, /usr/bin/touch, /bin/mount, /bin/umount

Make sure that <build_user> can't be ssh'ed into. :wink:

We've definitely hijacked a thread now. :slight_smile:

Yeah, I fixed that one already. Issue now seems to be related to the
way it tries to check things out with git. The script makes a
'tmp.XXXX' directory and the git checkout seems to puke on it for some
reason.

It's the "git clean -f -f -d -x" call on "ignore"..

it works here if we drop the "-x"

git clean -f -f -d

Not sure how to get buildbot to do that. Probably can be adjusted as
an argument to the Python call to run git.

I have a more immediate problem in that I'm not getting all of the
images output and packaging fails without generating an error.

http://builds.beagleboard.org/builders/build-image/builds/6/steps/shell_1/logs/stdio