Hi,

I checked the /sys folder

*linux:/sys/devices/platform/bone_capemgr # ls -l*
*total 0*
*drwxr-xr-x 2 root root    0 Aug 27 12:32 baseboard*
*lrwxrwxrwx 1 root root    0 Aug 27 09:38 driver ->
../../../bus/platform/drivers/bone_capemgr*
*-rw-r--r-- 1 root root 4096 Aug 27 12:38 driver_override*
*-r--r--r-- 1 root root 4096 Aug 27 12:38 modalias*
*lrwxrwxrwx 1 root root    0 Aug 27 12:34 of_node ->
../../../firmware/devicetree/base/bone_capemgr*
*drwxr-xr-x 2 root root    0 Aug 27 12:32 power*
*drwxr-xr-x 2 root root    0 Aug 27 12:32 slot-0*
*-rw-r--r-- 1 root root 4096 Aug 27 13:00 slots*
*lrwxrwxrwx 1 root root    0 Aug 27 09:38 subsystem ->
../../../bus/platform*
*-rw-r--r-- 1 root root 4096 Aug 27 12:38 uevent*

*linux:/sys/devices/platform/bone_capemgr # cat slots*
* 0: P-----  -1 4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS
 ,BB-BONE-LCD7-01*
* 1: PF----  -1*
* 2: PF----  -1*
* 3: PF----  -1*

I tried to load the firmware manually but it doesn't work

*linux:/sys/devices/platform/bone_capemgr # echo BB-BONE-LCD7-01>slots*
*-bash: echo: write error: No such file or directory*

Best regards,

2015-08-27 11:25 GMT+02:00 matthieu claire <[email protected]>:

> Hi Robert,
>
> I installed the dtc from git
>
> *linux:/home/linux # /usr/local/bin/dtc --version*
> *Version: DTC 1.4.1-g47216cdb*
>
> I checked the requirements
> *linux:~ # zcat /proc/config.gz | grep CONFIG_BONE_CAPEMGR*
> *CONFIG_BONE_CAPEMGR=y*
>
> I skipped the kernel update since I'm running the 4.1.6, installed last
> week, and the /opt/scripts/tools/update_kernel.sh is written for debian.
> --> Is it Ok ?
>
> Then I downloaded the bb.org-overlays
> *#git clone https://github.com/beagleboard/bb.org-overlays
> <https://github.com/beagleboard/bb.org-overlays> /home/bb.org-overlays *
>
> Since the install.sh script was written for debian I have run the commands
> *# make clean*
> *# make *
> *# make install (see details logs below)*
>
> Now I have the file * /lib/firmware/BB-BONE-LCD7-01-00A3.dtbo*
>
> Since update-initramfs is not available on opensuse I run the dracut
> command
> *# dracut -f /boot/initrd-4.1.6_bis* (see details log below)
>
> I updated the initrd symlink
> *linux:/boot # ln -sf initrd-4.1.6_bis initrd*
>
> But when I reboot the firmware is still not loaded any idea?
>
> *linux:~ # dmesg | fgrep bone*
> *[   21.254002] bone_capemgr bone_capemgr: Baseboard:
> 'A335BNLT,000C,2115BBBK1190'*
> *[   21.341372] bone_capemgr bone_capemgr:
> compatible-baseboard=ti,beaglebone-black - #slots=4*
> *[   21.481826] bone_capemgr bone_capemgr: slot #0: '4D 7.0 LCD CAPE-
> 4DCAPE-70T     ,00A3,4D SYSTEMS      ,BB-BONE-LCD7-01'*
> *[   21.667800] bone_capemgr bone_capemgr: slot #1: No cape found*
> *[   21.787790] bone_capemgr bone_capemgr: slot #2: No cape found*
> *[   21.907795] bone_capemgr bone_capemgr: slot #3: No cape found*
> *[   21.977477] bone_capemgr bone_capemgr: initialized OK.*
> *[   24.068177] bone_capemgr bone_capemgr: loader: failed to load slot-0
> BB-BONE-LCD7-01:00A3 (prio 0)*
>
>
> LOGS here:
>
> *linux:/home/bb.or-overlays # make clean*
> *  CLEAN   src/arm*
> *linux:/home/bb.or-overlays # make*
> *  DTC     src/arm/BB-SPIDEV0-00A0.dtbo*
> *  DTC     src/arm/cape-universal-00A0.dtbo*
> *  DTC     src/arm/BB-BBBMINI-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-REPLICAP-00B1.dtbo*
> *  DTC     src/arm/cape-univ-audio-00A0.dtbo*
> *  DTC     src/arm/BB-UART2-00A0.dtbo*
> *  DTC     src/arm/BB-SPI0-MCP3008-00A0.dtbo*
> *  DTC     src/arm/BB-I2C1-PCA9685-00A0.dtbo*
> *  DTC     src/arm/BB-SPIDEV1A1-00A0.dtbo*
> *  DTC     src/arm/univ-all-00A0.dtbo*
> *  DTC     src/arm/BB-RELAY-4PORT-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-BACONE-00A0.dtbo*
> *  DTC     src/arm/cape-universaln-00A0.dtbo*
> *  DTC     src/arm/BB-UART4-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-SERL-03-00A1.dtbo*
> *  DTC     src/arm/BB-UART1-00A0.dtbo*
> *  DTC     src/arm/BB-RTC-01-00A0.dtbo*
> *  DTC     src/arm/univ-hdmi-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-LCD4-01-00A1.dtbo*
> *  DTC     src/arm/cape-univ-emmc-00A0.dtbo*
> *  DTC     src/arm/dev-USB-PWR-CTL-00A1.dtbo*
> *  DTC     src/arm/BB-UART5-00A0.dtbo*
> *  DTC     src/arm/univ-nhdmi-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-AUDI-02-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-LCD3-01-00A2.dtbo*
> *  DTC     src/arm/cape-univ-hdmi-00A0.dtbo*
> *  DTC     src/arm/cape-CBB-Serial-r01.dtbo*
> *  DTC     src/arm/BB-CAN1-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-CRYPTO-00A0.dtbo*
> *  DTC     src/arm/BB-I2C1-00A0.dtbo*
> *  DTC     src/arm/univ-emmc-00A0.dtbo*
> *  DTC     src/arm/BB-ADC-00A0.dtbo*
> *  DTC     src/arm/BB-SPIDEV1-00A0.dtbo*
> *  DTC     src/arm/BB-BONE-DVID-01-00A3.dtbo*
> *  DTC     src/arm/BB-BONE-LCD7-01-00A3.dtbo*
> *linux:/home/bb.or-overlays # make install*
> *cp -v src/arm/*.dtbo /lib/firmware/*
> *‘src/arm/BB-ADC-00A0.dtbo’ -> ‘/lib/firmware/BB-ADC-00A0.dtbo’*
> *‘src/arm/BB-BBBMINI-00A0.dtbo’ -> ‘/lib/firmware/BB-BBBMINI-00A0.dtbo’*
> *‘src/arm/BB-BONE-AUDI-02-00A0.dtbo’ ->
> ‘/lib/firmware/BB-BONE-AUDI-02-00A0.dtbo’*
> *‘src/arm/BB-BONE-BACONE-00A0.dtbo’ ->
> ‘/lib/firmware/BB-BONE-BACONE-00A0.dtbo’*
> *‘src/arm/BB-BONE-CRYPTO-00A0.dtbo’ ->
> ‘/lib/firmware/BB-BONE-CRYPTO-00A0.dtbo’*
> *‘src/arm/BB-BONE-DVID-01-00A3.dtbo’ ->
> ‘/lib/firmware/BB-BONE-DVID-01-00A3.dtbo’*
> *‘src/arm/BB-BONE-LCD3-01-00A2.dtbo’ ->
> ‘/lib/firmware/BB-BONE-LCD3-01-00A2.dtbo’*
> *‘src/arm/BB-BONE-LCD4-01-00A1.dtbo’ ->
> ‘/lib/firmware/BB-BONE-LCD4-01-00A1.dtbo’*
> *‘src/arm/BB-BONE-LCD7-01-00A3.dtbo’ ->
> ‘/lib/firmware/BB-BONE-LCD7-01-00A3.dtbo’*
> *‘src/arm/BB-BONE-REPLICAP-00B1.dtbo’ ->
> ‘/lib/firmware/BB-BONE-REPLICAP-00B1.dtbo’*
> *‘src/arm/BB-BONE-SERL-03-00A1.dtbo’ ->
> ‘/lib/firmware/BB-BONE-SERL-03-00A1.dtbo’*
> *‘src/arm/BB-CAN1-00A0.dtbo’ -> ‘/lib/firmware/BB-CAN1-00A0.dtbo’*
> *‘src/arm/BB-I2C1-00A0.dtbo’ -> ‘/lib/firmware/BB-I2C1-00A0.dtbo’*
> *‘src/arm/BB-I2C1-PCA9685-00A0.dtbo’ ->
> ‘/lib/firmware/BB-I2C1-PCA9685-00A0.dtbo’*
> *‘src/arm/BB-RELAY-4PORT-00A0.dtbo’ ->
> ‘/lib/firmware/BB-RELAY-4PORT-00A0.dtbo’*
> *‘src/arm/BB-RTC-01-00A0.dtbo’ -> ‘/lib/firmware/BB-RTC-01-00A0.dtbo’*
> *‘src/arm/BB-SPI0-MCP3008-00A0.dtbo’ ->
> ‘/lib/firmware/BB-SPI0-MCP3008-00A0.dtbo’*
> *‘src/arm/BB-SPIDEV0-00A0.dtbo’ -> ‘/lib/firmware/BB-SPIDEV0-00A0.dtbo’*
> *‘src/arm/BB-SPIDEV1-00A0.dtbo’ -> ‘/lib/firmware/BB-SPIDEV1-00A0.dtbo’*
> *‘src/arm/BB-SPIDEV1A1-00A0.dtbo’ ->
> ‘/lib/firmware/BB-SPIDEV1A1-00A0.dtbo’*
> *‘src/arm/BB-UART1-00A0.dtbo’ -> ‘/lib/firmware/BB-UART1-00A0.dtbo’*
> *‘src/arm/BB-UART2-00A0.dtbo’ -> ‘/lib/firmware/BB-UART2-00A0.dtbo’*
> *‘src/arm/BB-UART4-00A0.dtbo’ -> ‘/lib/firmware/BB-UART4-00A0.dtbo’*
> *‘src/arm/BB-UART5-00A0.dtbo’ -> ‘/lib/firmware/BB-UART5-00A0.dtbo’*
> *‘src/arm/cape-CBB-Serial-r01.dtbo’ ->
> ‘/lib/firmware/cape-CBB-Serial-r01.dtbo’*
> *‘src/arm/cape-univ-audio-00A0.dtbo’ ->
> ‘/lib/firmware/cape-univ-audio-00A0.dtbo’*
> *‘src/arm/cape-univ-emmc-00A0.dtbo’ ->
> ‘/lib/firmware/cape-univ-emmc-00A0.dtbo’*
> *‘src/arm/cape-univ-hdmi-00A0.dtbo’ ->
> ‘/lib/firmware/cape-univ-hdmi-00A0.dtbo’*
> *‘src/arm/cape-universal-00A0.dtbo’ ->
> ‘/lib/firmware/cape-universal-00A0.dtbo’*
> *‘src/arm/cape-universaln-00A0.dtbo’ ->
> ‘/lib/firmware/cape-universaln-00A0.dtbo’*
> *‘src/arm/dev-USB-PWR-CTL-00A1.dtbo’ ->
> ‘/lib/firmware/dev-USB-PWR-CTL-00A1.dtbo’*
> *‘src/arm/univ-all-00A0.dtbo’ -> ‘/lib/firmware/univ-all-00A0.dtbo’*
> *‘src/arm/univ-emmc-00A0.dtbo’ -> ‘/lib/firmware/univ-emmc-00A0.dtbo’*
> *‘src/arm/univ-hdmi-00A0.dtbo’ -> ‘/lib/firmware/univ-hdmi-00A0.dtbo’*
> *‘src/arm/univ-nhdmi-00A0.dtbo’ -> ‘/lib/firmware/univ-nhdmi-00A0.dtbo’*
>
> *linux:~ # dracut -f /boot/initrd-4.1.6_bis*
> *Executing: /usr/bin/dracut -f /boot/initrd-4.1.6_bis*
> **** Including module: bash ****
> **** Including module: i18n ****
> **** Including module: ifcfg ****
> **** Including module: drm ****
> **** Including module: plymouth ****
> **** Including module: kernel-modules ****
> *Failed to install module sd_mod*
> *Failed to install module ata_piix*
> *Failed to install module hid_generic*
> *Failed to install module unix*
> *Failed to install module ehci-hcd*
> *Failed to install module ehci-pci*
> *Failed to install module ehci-platform*
> *Failed to install module ohci-hcd*
> *Failed to install module ohci-pci*
> *Failed to install module uhci-hcd*
> *Failed to install module xhci-hcd*
> *Failed to install module yenta_socket*
> *Failed to install module atkbd*
> *Failed to install module i8042*
> *Failed to install module usbhid*
> *Failed to install module hid-apple*
> *Failed to install module hid-cherry*
> *Failed to install module hid-logitech*
> *Failed to install module hid-logitech-dj*
> *Failed to install module hid-microsoft*
> *Failed to install module firewire-ohci*
> *Failed to install module pcmcia*
> *Failed to install module nvme*
> *Failed to install module hid-hyperv*
> *Failed to install module hv-vmbus*
> *Failed to install module sdhci_acpi*
> *Failed to install module sdhci_esdhc_imx*
> *Failed to install module mmci*
> *Failed to install module sdhci_tegra*
> *Failed to install module mvsdio*
> *Failed to install module omap*
> *Failed to install module omapdrm*
> *Failed to install module omap_hsmmc*
> *Failed to install module panel-tfp410*
> *Failed to install module sdhci_dove*
> *Failed to install module ahci_platform*
> *Failed to install module pata_imx*
> *Failed to install module sata_mv*
> *Failed to install module ehci-tegra*
> *Failed to install module mmc_block*
> *Failed to install module virtio*
> *Failed to install module virtio_ring*
> *Failed to install module virtio_pci*
> *Failed to install module ext4*
> *Failed to install module ext3*
> **** Including module: rootfs-block ****
> **** Including module: terminfo ****
> **** Including module: udev-rules ****
> *Skipping udev rule: 91-permissions.rules*
> *Skipping udev rule: 80-drivers-modprobe.rules*
> **** Including module: systemd ****
> *Failed to install module autofs4*
> *Failed to install module ipv6*
> **** Including module: usrmount ****
> **** Including module: base ****
> **** Including module: fs-lib ****
> **** Including module: shutdown ****
> **** Including module: suse ****
> **** Including modules done ****
> **** Installing kernel module dependencies and firmware ****
> **** Installing kernel module dependencies and firmware done ****
> **** Resolving executable dependencies ****
> **** Resolving executable dependencies done****
> **** Hardlinking files ****
> **** Hardlinking files done ****
> **** Stripping files ****
> **** Stripping files done ****
> **** Store current command line parameters ****
> *Stored kernel commandline:*
> *root=UUID=0985213e-3639-474d-9102-4ef930beeda4
> rootflags=rw,noatime,nobarrier,data=ordered rootfstype=ext4*
> **** Creating image file ****
> **** Creating image file done ****
> *Some kernel modules could not be included:*
> *sd_mod*
> *ata_piix*
> *hid_generic*
> *unix*
> *ehci-hcd*
> *ehci-pci*
> *ehci-platform*
> *ohci-hcd*
> *ohci-pci*
> *uhci-hcd*
> *xhci-hcd*
> *yenta_socket*
> *atkbd*
> *i8042*
> *usbhid*
> *hid-apple*
> *hid-cherry*
> *hid-logitech*
> *hid-logitech-dj*
> *hid-microsoft*
> *firewire-ohci*
> *pcmcia*
> *nvme*
> *hid-hyperv*
> *hv-vmbus*
> *sdhci_acpi*
> *sdhci_esdhc_imx*
> *mmci*
> *sdhci_tegra*
> *mvsdio*
> *omap*
> *omapdrm*
> *omap_hsmmc*
> *panel-tfp410*
> *sdhci_dove*
> *ahci_platform*
> *pata_imx*
> *sata_mv*
> *ehci-tegra*
> *mmc_block*
> *virtio*
> *virtio_ring*
> *virtio_pci*
> *ext4*
> *ext3*
> *autofs4*
> *ipv6*
>
>
>
> 2015-08-26 20:48 GMT+02:00 Robert Nelson <[email protected]>:
>
>> On Wed, Aug 26, 2015 at 1:38 PM, matthieu claire <[email protected]>
>> wrote:
>> > dmesg | fgrep bone shows the same as fgrep cape.
>> >
>> > i will check the dtc I need to find how to apply it on opensuse I'm
>> really
>> > not familiar with this part.
>>
>> If it's not dtc 1.4.1-gXXXXXXX
>>
>> then:
>>
>> build this version:
>>
>> https://github.com/pantoniou/dtc
>>
>> branch: dt-overlays5
>>
>> hopefully it'll hit dtc master at some point. ;)
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to