Running the most recent BBBMini build on BBB Rev A6 (2GB)

After creating an SD Card image with "Download Debian image https://rcn-ee.com/rootfs/bb.org/testing/2016-09-11/console/BBB-blank-debian-8.5-console-armhf-2016-09-11-2gb.img.xz" and trying to load it on a BBB Rev A6 (2gb) the flashed image does not appear to load. Has this image been tested on Rev A6? Is there another build, or how can this build be changed into an SD Card OS?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi, just FYI

    I ran into the same error.  This worked for me, Thanks!

    Steve

  • Hi Justin,

    added to the instruction, thanks!

    Regards

    Mirko



    Justin C said:

    "sudo apt-get install pkg-config" seems to work for the Debian build. This may need to be added to the instructions.

  • So in conclusion in order to get the 9-21-16 build to work for a BBB Rev A6 (2GB), I used an SD card and did as Mirko suggested:

    You can use the SD card as file system as well, you have to change the last line from /boot/uEnv.txt from 

    cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

    to

    #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

    I also had to add the following step during the compile:

    "sudo apt-get install pkg-config"

    Many thanks to Mirko and Linus.

     :)

  • "sudo apt-get install pkg-config" seems to work for the Debian build. This may need to be added to the instructions.

  • Linus,

    Thanks for your input. However I get:

          Unable to locate package pkg-config-arm-linux-gnueabihf

    when trying to run this.

    Justin

    Linus said:

    Hi Justin,

    i ran into this as well today:

    linus@desk:~/ardupilot$ waf configure --board=bbbmini
    Setting top to                           : /home/linus/ardupilot
    Setting out to                           : /home/linus/ardupilot/build
    Autoconfiguration                        : enabled
    Setting board to                         : bbbmini
    Checking for program 'arm-linux-gnueabihf-ar' : /usr/bin/arm-linux-gnueabihf-ar
    Using toolchain                               : arm-linux-gnueabihf
    Checking for 'g++' (C++ compiler)             : /usr/bin/arm-linux-gnueabihf-g++
    Checking for 'gcc' (C compiler)               : /usr/bin/arm-linux-gnueabihf-gcc
    Checking for program 'arm-linux-gnueabihf-pkg-config' : not found
    Could not find the program ['arm-linux-gnueabihf-pkg-config']

    (complete log in /home/linus/ardupilot/build/config.log)

    I had a look at the logfile and then just installed it:

    linus@desk:~/ardupilot$ arm-linux-gnueabihf-pkg-config
    The program 'arm-linux-gnueabihf-pkg-config' is currently not installed. You can install it by typing:
    sudo apt-get install pkg-config-arm-linux-gnueabihf
    linus@desk:~/ardupilot$ sudo apt-get install pkg-config-arm-linux-gnueabihf

    and ideed it compiles now.

    I use Ubuntu 14.04 still, maybe it helps.

    Cheers

    Linus

  • Developer

    Hi Justin,

    i ran into this as well today:

    linus@desk:~/ardupilot$ waf configure --board=bbbmini
    Setting top to                           : /home/linus/ardupilot
    Setting out to                           : /home/linus/ardupilot/build
    Autoconfiguration                        : enabled
    Setting board to                         : bbbmini
    Checking for program 'arm-linux-gnueabihf-ar' : /usr/bin/arm-linux-gnueabihf-ar
    Using toolchain                               : arm-linux-gnueabihf
    Checking for 'g++' (C++ compiler)             : /usr/bin/arm-linux-gnueabihf-g++
    Checking for 'gcc' (C compiler)               : /usr/bin/arm-linux-gnueabihf-gcc
    Checking for program 'arm-linux-gnueabihf-pkg-config' : not found
    Could not find the program ['arm-linux-gnueabihf-pkg-config']

    (complete log in /home/linus/ardupilot/build/config.log)

    I had a look at the logfile and then just installed it:

    linus@desk:~/ardupilot$ arm-linux-gnueabihf-pkg-config
    The program 'arm-linux-gnueabihf-pkg-config' is currently not installed. You can install it by typing:
    sudo apt-get install pkg-config-arm-linux-gnueabihf
    linus@desk:~/ardupilot$ sudo apt-get install pkg-config-arm-linux-gnueabihf

    and ideed it compiles now.

    I use Ubuntu 14.04 still, maybe it helps.

    Cheers

    Linus

  • The error message is saying that it looked in /usr/bin, and arm-linux-gnueabihf-pkg-config does exist there, so I'm not clear on whether there is a find error, or it is failing on the symbolic link not resolving as there is no pkg-config anywhere. Per my earlier note, my guess is that it is pkg-config that is not being found.

    Justin C said:

    Mirko,

    Per my earlier note from an hour ago, there is evidence that I did execute this step 11 successfully:

    "lrwxrwxrwx 1 root root 10 Sep 23 09:13 /usr/bin/arm-linux-gnueabihf-pkg-config -> pkg-config"

    Yet the 'waf config step' fails. (As the link already exists I can't execute step 11 again.)

    Thanks for your all your help.

    Any ideas on what to do next?

    Justin

    Mirko Denecke said:

    Hi Justin,

    follow Step 11 from  https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md

    Regards

    Mirko

  • Mirko,

    Per my earlier note from an hour ago, there is evidence that I did execute this step 11 successfully:

    "lrwxrwxrwx 1 root root 10 Sep 23 09:13 /usr/bin/arm-linux-gnueabihf-pkg-config -> pkg-config"

    Yet the 'waf config step' fails. (As the link already exists I can't execute step 11 again.)

    Thanks for your all your help.

    Any ideas on what to do next?

    Justin

    Mirko Denecke said:

    Hi Justin,

    follow Step 11 from  https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md

    Regards

    Mirko

  • Hi Justin,

    follow Step 11 from  https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md

    Regards

    Mirko

    mirkix/BBBMINI
    BeagleBone ArduPilot DIY Cape . Contribute to mirkix/BBBMINI development by creating an account on GitHub.
  • The file does appear to be on the path at /usr/bin and is a link:

    lrwxrwxrwx 1 root root 10 Sep 23 09:13 /usr/bin/arm-linux-gnueabihf-pkg-config -> pkg-config

    Yet the linked to file pkg-config does appear to be missing.



    Justin C said:

    Same issue found when doing a cross compile. Thus, the issue appears to be separate from the specific BBB build.

    Justin C said:

    So for the 9-11 image I changed the line to: #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh.

    During the Compile step: waf configure --board=bbbmini I ran into the following issue:

    Checking for program 'arm-linux-gnueabihf-pkg-config' : not found
    Could not find the program ['arm-linux-gnueabihf-pkg-config']
    (complete log in /home/debian/ardupilot/build/config.log)

    The log had:

    Checking for program 'arm-linux-gnueabihf-pkg-config'
    not found
    find program=['arm-linux-gnueabihf-pkg-config'] paths=['/home/debian/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PKGCONFIG' -> None
    from /home/debian/ardupilot: Could not find the program ['arm-linux-gnueabihf-pkg-config']

    Any ideas on where this program is and how to fix?

    I haven't had a chance to check the new image yet.

This reply was deleted.