problems getting started: Error: Write failed

After following the quick start guide and successfully booting ubuntu I've run:

sudo ./install_logibone.sh

which seems to work apart from the eeprom write. When I run

sudo ./init_eeprom.sh

I get:

Error: Write failed
Error: Write failed

Pressing the user boot button doesn't help.

I don't really care about the overlay happening automatically, but I need to know where it is and how to activate it (slots seem different on ubuntu - I've previously used debian).

Thanks,
Matt






Comments

  • It seems the eeprom was written, it was the 2 i2c write commands that failed.
    I can read the eeprom out with sudo cat /sys/bus/i2c/devices/1-0054/eeprom | hexdump -C

    I don't know what the i2c commands are meant to do.

    I found the slots:

    cat /sys/devices/bone_capemgr.9/slots
     0: 54:P---L BB-BONE-LOGIBONE,00R1,VALENTFX,BB-BONE-LOGIBONE
     1: 55:PF---
     2: 56:PF---
     3: 57:PF---
     5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI

    And now I can load the led example.
  • Hi,

    sorry for the late reply. The two commands that fails were used for the first version of the logibone were the write lock signal of the id eeprom was controlled by an i2c expander.
    Since the logibone overlay is loaded at boot, it had to be compiled with the kernel and is not loaded from the filesystem (as it used to be in earlier kernel). If you want to have a look at the overlay file you can find in the kernel source code.

    Regards,

    Jonathan Piat
  • ah ok. my only other experiences with the bbb have been loading the dts after boot. That also explains why I couldn't find the overlay in the usual place.
Sign In or Register to comment.