Beaglebone White, bit file not loading.

I have followed the troubleshooting steps in several forum posts and the quick start wiki, but I am still not seeing bit files take.  I am running a prebuilt Debian from here: 


"cat /sys/devices/bone_capemgr.8/slots":

 0: 54:P---L BB-BONE-LOGIBONE,00R1,VALENTFX,BB-BONE-LOGIBONE
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---

"dmesg | grep bone":

[    0.000000] Linux version 3.8.13-bone64 (root@a5-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Thu Aug 21 21:24:58 UTC 2014
[    0.662218] bone-capemgr bone_capemgr.8: Baseboard: 'A335BONE,00A6,3712BB000514'
[    0.662249] bone-capemgr bone_capemgr.8: compatible-baseboard=ti,beaglebone
[    0.686403] bone-capemgr bone_capemgr.8: slot #0: 'BB-BONE-LOGIBONE,00R1,VALENTFX,BB-BONE-LOGIBONE'
[    0.716663] bone-capemgr bone_capemgr.8: slot #1: No cape found
[    0.753774] bone-capemgr bone_capemgr.8: slot #2: No cape found
[    0.790883] bone-capemgr bone_capemgr.8: slot #3: No cape found
[    0.797408] bone-capemgr bone_capemgr.8: initialized OK.
[    0.801250] bone-capemgr bone_capemgr.8: loader: before slot-0 BB-BONE-LOGIBONE:00R1 (prio 0)
[    0.801270] bone-capemgr bone_capemgr.8: loader: check slot-0 BB-BONE-LOGIBONE:00R1 (prio 0)
[    0.801289] bone-capemgr bone_capemgr.8: loader: after slot-0 BB-BONE-LOGIBONE:00R1 (prio 0)
[    0.801321] bone-capemgr bone_capemgr.8: slot #0: Requesting firmware 'BB-BONE-LOGIBONE-00R1.dtbo' for board-name 'BB-BONE-LOGIBONE', version '00R1'
[    0.801353] bone-capemgr bone_capemgr.8: slot #0: dtbo 'BB-BONE-LOGIBONE-00R1.dtbo' loaded; converting to live tree
[    0.801724] bone-capemgr bone_capemgr.8: slot #0: #3 overlays
[    0.808152] usb usb1: Manufacturer: Linux 3.8.13-bone64 musb-hcd
[    0.833687] bone-capemgr bone_capemgr.8: slot #0: Applied #3 overlays.
[    0.833713] bone-capemgr bone_capemgr.8: loader: done slot-0 BB-BONE-LOGIBONE:00R1 (prio 0)

"logi_loader ./logibone_r1_blink.bit":
bit file size : 340703
config success !


When I get here, there is no error, but the LED does not blink.  Any suggested debug steps?  I should also note that I had no luck using the Ubuntu image in the quickstart.  I get errors when trying to program the FPGA.

Thank you,
J


Comments

  • Hi,

    do you run the logi_loader command as sudo ? The board seems to be detected fine, so this should be working. Did you install the logi-tools and run install_logibone.sh ?

    I'll try to run the image you use and come up with suggestions asap.

    Regards,

    Jonathan Piat
  • edited October 2014
    "do you run the logi_loader command as sudo ?"

    I did not.  If it boils down to that I will need a vacation.  Also trying the August build right now too.

    -J
  • edited October 2014
    Ok,
        Using the August build everything looks good.  I did some testing though, and it does not seem like I need sudo to load a bit file.  I completely powered down and rebooted to make sure, and sure enough it loaded the bit file fine.  That will teach me to use something experimental.    Thank you for the help.  To clarify how I got it to work:

    I download this image:


    Under linux mint I ran this from the extracted folder:

    sudo ./setup_sdcard.sh --mmc /dev/sdb --dtb beaglebone

    Booted from the SD card and cloned the repo and ran install:

    sudo ./install_logibone.sh

    Cloned the apps folder:

    cd logi-apps/blink_led_app
    sudo ./make_demo.sh

    As I stated that last sudo does not seem to be required.

    Thank you,
    J
  • Great !

    The problem is that between the first image we shared and the one available now, there was a major rework on the logibone kernel integration. The loader was moved out of the kernel module and is now a user space application using i2C and SPI. This forced us to change the Logibone eeprom content (to get the right pin mux) so people that loaded the first image now have to re-program the eeprom (which is done by the install_logibone script) to get thing working.

    Regards,

    Jonathan Piat
Sign In or Register to comment.