Beaglebone as Android Accesory

Hi,

I’m Xabier from Ariadna Instruments company.

I want a communication between the tablet and the bbb.

I am following the steps on this page. https://code.google.com/p/rowboat/wiki/AccessoryDevKit

And I have this error:

xabi@ubuntu:/media$ dir
\floppy floppy0 tablet
xabi@ubuntu:/media$ cd tablet
xabi@ubuntu:/media/tablet$ dir
BeagleBoneAcc.tar.gz
xabi@ubuntu:/media/tablet$ tar -xzvf BeagleBoneAcc.tar.gz
BeagleBoneAcc/
BeagleBoneAcc/MLO
BeagleBoneAcc/mkmmc-acc.sh
BeagleBoneAcc/app
xabi@ubuntu:/media/tablet$ dir
BeagleBoneAcc BeagleBoneAcc.tar.gz
xabi@ubuntu:/media/tablet$ cd BeagleBoneAcc
xabi@ubuntu:/media/tablet/BeagleBoneAcc$ dir
app mkmmc-acc.sh MLO
xabi@ubuntu:/media/tablet/BeagleBoneAcc$ sudo sh mkmmc-acc.sh /dev/sdd1
[sudo] password for xabi:
mkmmc-acc.sh: 10: mkmmc-acc.sh: [[: not found
Incorrect MLO location!

What can I do?

Do you know of any other page that may serve as a guide for me to start?

Thanks in advance,

Xabier

Can anyone help me please?

look in the .sh script-- it’s fairly obvious you’re missing arguments

Hi Xabier,

Hi Dave,

Thanks for your answer.

I have reconfigured sh using: sudo dpkg-reconfigure dash.
But I received the same error.

What can it be?

did you do

dpkg-reconfigure dash and select “no” when prompted ?

And you can confirm what sh is configured as by doing:

ls -l /bin/sh

It will typically either be a symlink to bash or dash.

Dave Hylands