jadonk / bonescript

Scripting tools for BeagleBone and PocketBeagle
http://beagleboard.org
MIT License
513 stars 159 forks source link

EACCES: permission denied, open '/sys/devices/platform/ocp/ocp:P9_31_pinmux/state' #154

Closed ludook closed 6 years ago

ludook commented 7 years ago

hi, I have just installed new debian 9.1 iot on my bbb. and I found this issue when my bonescript try to use p9_31 as GPIO_OUT :

Error: EACCES: permission denied, open '/sys/devices/platform/ocp/ocp:P9_31_pinmux/state' at Error (native) at Object.fs.openSync (fs.js:641:18)

/sys/devices/platform/ocp/ocp:P9_31_pinmux/state is missing (but P9_41 is present for example)

uname -a

Linux beaglebone 4.4.83-ti-r119 #1 SMP Thu Aug 17 06:39:24 UTC 2017 armv7l GNU/Linux

cat /sys/devices/platform/bone_capemgr/slots

0: PF---- -1 1: PF---- -1 2: PF---- -1 3: PF---- -1 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universala

did you have a workaround ? thank's

fivdi commented 7 years ago

Here's a picture of the BeagleBone Black expansion headers taken from the BeagleBone 101.

If the Debian image is used with the default configuration then only the pins that are colored light green (Available Digital) and dark green (Available PWM) can be used as digital IOs. (An exception to this rule is P9_25 which shouldn't be colored light green and can't be used as it's reserved for audio if I remember correctly.)

ludook commented 7 years ago

hello, yes I know that, but if you load universala cape, you can activate all gpio on bbb, and you will have this configuration : cape-headers-digital

as you can see in my first post :

cat /sys/devices/platform/bone_capemgr/slots 0: PF---- -1 1: PF---- -1 2: PF---- -1 3: PF---- -1 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universala

is it wrong ? because I have done that on my debian 8.7 and it worked

fivdi commented 7 years ago

Apologies for the delay in answering.

If a recent version of Debian is being used the pins that are normally reserved for HDMI video, for example P9_31, can be freed for usage as GPIOs by adding the following line to /boot/uEnv.txt:

disable_uboot_overlay_video=1

This is documented here.

Due to a recent change /sys/devices/platform/bone_capemgr/slots is disabled after U-Boot has taken care of overlays. See here.

ludook commented 6 years ago

Hi, thank's for your answer. I tried to use uboot like you say :

enable_uboot_overlays=1
disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
enable_uboot_cape_universal=1

but I get this error, when I try to set p9_41 as GPIO as INPUT :

/usr/local/lib/node_modules/bonescript/src/hw_mainline.js:84
    if(!pinmux) { throw p + " was not found under " + my.is_ocp(); }
                  ^
ocp:P9_41_pinmux was not found under /sys/devices/platform/ocp

I just flashed my BBB with debian_stretch_9.2_iot

thank's for your help

fivdi commented 6 years ago

I can't reproduce the error.

The following program successfully blinks an LED connected to P9_41 with a frequency of 1Hz:

var b = require('bonescript');
var ledState = b.LOW;

b.pinMode('P9_41', b.OUTPUT);

setInterval(function () {
  ledState = ledState === b.LOW ? b.HIGH : b.LOW;
  b.digitalWrite('P9_41', ledState);
}, 500);

The following program successfully prints 0 (the state of P9_41) to the screen:

var b = require('bonescript');

b.pinMode('P9_41', b.INPUT);
console.log(b.digitalRead('P9_41'));

Please post a complete program that can be used to reproduce the error.

The complete content of /boot/uEnv.txt is:

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.4.91-ti-r133
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks...
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
ludook commented 6 years ago

I can't understand :

I flash my sdcard from skratch with debian iot 9.2, again. I just tune /boot/uEnv.txt like yours :

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.4.91-ti-r133
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks...
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

I create a test.js file in cloud9 root dir with your test content :

var b = require('bonescript');
b.pinMode('P9_41', b.INPUT);
console.log(b.digitalRead('P9_41'));

and I've got in cloud9 console :

4:4:91-ti-r133

/usr/local/lib/node_modules/bonescript/src/hw_mainline.js:84
    if(!pinmux) { throw p + " was not found under " + my.is_ocp(); }
                  ^
ocp:P9_41_pinmux was not found under /sys/devices/platform/ocp

what's wrong ?

fivdi commented 6 years ago

I used ssh to open a terminal window on the BeagleBone Black and logged on as user debian. nano was used to edit files and the programs were started directly from the command line. Debian 9.2 iot was used.

I just tried the way you did with cloud9. Everything works as expected and this is what can be seen in the cloud9 console when the "input" test program is run:

Debugger listening on [::]:15454
4:4:91-ti-r133
0

Exiting Cleanly
Unable to open /dev/mem
Unable to open /dev/mem
ERROR: trying to disable motors before they have been initialized
Unable to open /dev/mem
Unable to open /dev/mem
Unable to open /dev/mem

I saw the same when running the program in a terminal logged on as user debian.

fivdi commented 6 years ago

I'm afraid I don't know why your system is behaving differently.

ludook commented 6 years ago

very strange. did you test it on a debian 9.2 iot "just installed" without any other config ?

I understand the js script error because :

# ls -la /sys/devices/platform/ocp

root@beaglebone:~# ls -la /sys/devices/platform/ocp
total 0
drwxr-xr-x 39 root root    0 Oct 14 21:20 .
drwxr-xr-x 21 root root    0 Jan  1  2000 ..
drwxr-xr-x  3 root root    0 Jan  1  2000 40300000.ocmcram
drwxr-xr-x  3 root root    0 Jan  1  2000 40302000.ocmcram_nocache
drwxrwxr-x  4 root gpio    0 Jan  1  2000 44e07000.gpio
drwxr-xr-x  4 root root    0 Jan  1  2000 44e09000.serial
drwxr-xr-x  4 root root    0 Jan  1  2000 44e0b000.i2c
drwxr-xr-x  5 root root    0 Jan  1  2000 44e35000.wdt
drwxr-xr-x  4 root root    0 Jan  1  2000 44e3e000.rtc
drwxr-xr-x  9 root root    0 Jan  1  2000 47400000.usb
drwxr-xr-x  3 root root    0 Jan  1  2000 48038000.mcasp
drwxr-xr-x  3 root root    0 Jan  1  2000 48042000.timer
drwxr-xr-x  3 root root    0 Jan  1  2000 48044000.timer
drwxr-xr-x  3 root root    0 Jan  1  2000 48046000.timer
drwxr-xr-x  3 root root    0 Jan  1  2000 48048000.timer
drwxr-xr-x  3 root root    0 Jan  1  2000 4804a000.timer
drwxrwxr-x  4 root gpio    0 Jan  1  2000 4804c000.gpio
drwxr-xr-x  4 root root    0 Jan  1  2000 48060000.mmc
drwxr-xr-x  4 root root    0 Jan  1  2000 480c8000.mailbox
drwxr-xr-x  3 root root    0 Jan  1  2000 480ca000.spinlock
drwxr-xr-x  4 root root    0 Jan  1  2000 4819c000.i2c
drwxrwxr-x  4 root gpio    0 Jan  1  2000 481ac000.gpio
drwxrwxr-x  4 root gpio    0 Jan  1  2000 481ae000.gpio
drwxr-xr-x  4 root root    0 Jan  1  2000 481d8000.mmc
drwxr-xr-x  3 root root    0 Jan  1  2000 48200000.interrupt-controller
drwxr-xr-x  5 root root    0 Jan  1  2000 4830e000.lcdc
drwxr-xr-x  3 root root    0 Jan  1  2000 48310000.rng
drwxr-xr-x  4 root root    0 Jan  1  2000 49000000.edma
drwxr-xr-x  3 root root    0 Jan  1  2000 49800000.tptc
drwxr-xr-x  3 root root    0 Jan  1  2000 49900000.tptc
drwxr-xr-x  3 root root    0 Jan  1  2000 49a00000.tptc
drwxr-xr-x  7 root root    0 Jan  1  2000 4a100000.ethernet
drwxr-xr-x  6 root root    0 Jan  1  2000 4a300000.pruss
drwxr-xr-x  3 root root    0 Jan  1  2000 4c000000.emif
drwxr-xr-x  3 root root    0 Jan  1  2000 53100000.sham
drwxr-xr-x  3 root root    0 Jan  1  2000 53500000.aes
drwxr-xr-x  3 root root    0 Jan  1  2000 56000000.sgx
-rw-r--r--  1 root root 4096 Oct 14 21:20 driver_override
-r--r--r--  1 root root 4096 Oct 14 21:20 modalias
drwxr-xr-x  6 root root    0 Jan  1  2000 ocp:l4_wkup@44c00000
lrwxrwxrwx  1 root root    0 Oct 14 21:20 of_node -> ../../../firmware/devicetree/base/ocp
drwxr-xr-x  2 root root    0 Oct 14 21:20 power
lrwxrwxrwx  1 root root    0 Jan  1  2000 subsystem -> ../../../bus/platform
-rw-r--r--  1 root root 4096 Jan  1  2000 uevent

there is no "ocp:P9_41_pinmux" ...

how can I see if the universal cape is loaded with this new uboot tool ?

fivdi commented 6 years ago

did you test it on a debian 9.2 iot "just installed" without any other config ?

Yes, with one exception. The following lines were added to /boot/uEnv.txt:

disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1

how can I see if the universal cape is loaded with this new uboot tool ?

I don't think it is being loaded, at lease not completely.

Does the command dmesg display and error messages that could help explain things?

Is there any interesting information in the files at /var/log?

ludook commented 6 years ago

here is my dmesg : (I had a look on it, but I did not see anything interesting, maybe you will ?)

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.91-ti-r133 (root@b7-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Tue Oct 10 05:18:08 UTC 2017
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x BeagleBone Black
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 130560
[    0.000000] free_area_init_node: node 0, pgdat c10d8f80, node_mem_map df961000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130560 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] PERCPU: Embedded 13 pages/cpu @df920000 s24268 r8192 d20788 u53248
[    0.000000] pcpu-alloc: s24268 r8192 d20788 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 444144K/522240K available (11720K kernel code, 948K rwdata, 3904K rodata, 756K init, 854K bss, 28944K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0f4a584   (15626 kB)
                     .init : 0xc0f4b000 - 0xc1008000   ( 756 kB)
                     .data : 0xc1008000 - 0xc10f5108   ( 949 kB)
                      .bss : 0xc10f8000 - 0xc11cd820   ( 855 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000048] OMAP clocksource: timer1 at 24000000 Hz
[    0.000842] clocksource_probe: no matching clocksources found
[    0.001049] Console: colour dummy device 80x30
[    0.001077] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001085] This ensures that you still see kernel messages. Please
[    0.001091] update your kernel commandline.
[    0.001112] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.046813] pid_max: default: 32768 minimum: 301
[    0.046959] Security Framework initialized
[    0.046974] Yama: becoming mindful.
[    0.047012] AppArmor: AppArmor disabled by boot time parameter
[    0.047185] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047199] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048067] Initializing cgroup subsys io
[    0.048098] Initializing cgroup subsys memory
[    0.048146] Initializing cgroup subsys devices
[    0.048164] Initializing cgroup subsys freezer
[    0.048181] Initializing cgroup subsys net_cls
[    0.048195] Initializing cgroup subsys perf_event
[    0.048211] Initializing cgroup subsys net_prio
[    0.048234] Initializing cgroup subsys pids
[    0.048290] CPU: Testing write buffer coherency: ok
[    0.048355] ftrace: allocating 35977 entries in 106 pages
[    0.150496] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.150632] Setting up static identity map for 0x80008280 - 0x800082e0
[    0.155076] Brought up 1 CPUs
[    0.155103] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.155112] CPU: All CPU(s) started in SVC mode.
[    0.156707] devtmpfs: initialized
[    0.174510] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.194211] omap_hwmod: debugss: _wait_target_disable failed
[    0.248047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.248082] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.252240] xor: measuring software checksum speed
[    0.290815]    arm4regs  :  1219.000 MB/sec
[    0.330810]    8regs     :  1092.000 MB/sec
[    0.370809]    32regs    :  1089.000 MB/sec
[    0.410809]    neon      :  1747.000 MB/sec
[    0.410818] xor: using function: neon (1747.000 MB/sec)
[    0.410942] pinctrl core: initialized pinctrl subsystem
[    0.412468] NET: Registered protocol family 16
[    0.416242] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.417182] cpuidle: using governor ladder
[    0.417201] cpuidle: using governor menu
[    0.423029] OMAP GPIO hardware version 0.1
[    0.435322] No ATAGs?
[    0.435360] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.435893] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.435910] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.514904] raid6: int32x1  gen()   258 MB/s
[    0.582933] raid6: int32x1  xor()   227 MB/s
[    0.650940] raid6: int32x2  gen()   323 MB/s
[    0.718842] raid6: int32x2  xor()   283 MB/s
[    0.786940] raid6: int32x4  gen()   329 MB/s
[    0.854848] raid6: int32x4  xor()   267 MB/s
[    0.922909] raid6: int32x8  gen()   300 MB/s
[    0.990942] raid6: int32x8  xor()   234 MB/s
[    1.058826] raid6: neonx1   gen()  1458 MB/s
[    1.126821] raid6: neonx1   xor()   846 MB/s
[    1.194815] raid6: neonx2   gen()  1925 MB/s
[    1.262818] raid6: neonx2   xor()  1207 MB/s
[    1.330852] raid6: neonx4   gen()  1083 MB/s
[    1.398821] raid6: neonx4   xor()   791 MB/s
[    1.466825] raid6: neonx8   gen()  1037 MB/s
[    1.534825] raid6: neonx8   xor()   757 MB/s
[    1.534833] raid6: using algorithm neonx2 gen() 1925 MB/s
[    1.534840] raid6: .... xor() 1207 MB/s, rmw enabled
[    1.534847] raid6: using intx1 recovery algorithm
[    1.544219] edma 49000000.edma: TI EDMA DMA engine driver
[    1.547255] vgaarb: loaded
[    1.547891] SCSI subsystem initialized
[    1.548283] libata version 3.00 loaded.
[    1.548649] usbcore: registered new interface driver usbfs
[    1.548726] usbcore: registered new interface driver hub
[    1.548834] usbcore: registered new device driver usb
[    1.549438] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.549493] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[    1.549613] media: Linux media interface: v0.10
[    1.549694] Linux video capture interface: v2.00
[    1.549801] pps_core: LinuxPPS API ver. 1 registered
[    1.549809] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.549843] PTP clock support registered
[    1.550754] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.552358] NetLabel: Initializing
[    1.552377] NetLabel:  domain hash size = 128
[    1.552384] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.552449] NetLabel:  unlabeled traffic allowed by default
[    1.552842] clocksource: Switched to clocksource timer1
[    1.665788] NET: Registered protocol family 2
[    1.666661] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.666713] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.666772] TCP: Hash tables configured (established 4096 bind 4096)
[    1.666851] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.666873] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.667211] NET: Registered protocol family 1
[    1.667826] RPC: Registered named UNIX socket transport module.
[    1.667843] RPC: Registered udp transport module.
[    1.667849] RPC: Registered tcp transport module.
[    1.667856] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.667897] PCI: CLS 0 bytes, default 64
[    1.668530] Unpacking initramfs...
[    2.053409] Freeing initrd memory: 5292K
[    2.054171] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    2.057058] audit: initializing netlink subsys (disabled)
[    2.057164] audit: type=2000 audit(1.992:1): initialized
[    2.067610] zbud: loaded
[    2.068350] VFS: Disk quotas dquot_6.6.0
[    2.068609] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.071381] NFS: Registering the id_resolver key type
[    2.071458] Key type id_resolver registered
[    2.071466] Key type id_legacy registered
[    2.071499] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.071884] fuse init (API version 7.23)
[    2.072539] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.081815] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.082084] io scheduler noop registered
[    2.082103] io scheduler deadline registered
[    2.082174] io scheduler cfq registered (default)
[    2.083555] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.086098] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.087404] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.090958] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.104354] console [ttyS0] enabled
[    2.106702] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    2.107000] [drm] Initialized drm 1.1.0 20060810
[    2.111022] CAN device driver interface
[    2.160859] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.160884] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.161279] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.170443] libphy: 4a101000.mdio: probed
[    2.170479] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.171274] cpsw 4a100000.ethernet: Detected MACID = 54:4a:16:e6:e6:be
[    2.171428] cpsw 4a100000.ethernet: cpts: overflow check period 2125
[    2.173786] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.173859] ehci-pci: EHCI PCI platform driver
[    2.173939] ehci-platform: EHCI generic platform driver
[    2.174137] ehci-omap: OMAP-EHCI Host Controller driver
[    2.174643] usbcore: registered new interface driver usb-storage
[    2.176728] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.179440] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    2.179460] musb-hdrc: MHDRC RTL version 2.0 
[    2.179470] musb-hdrc: setup fifo_mode 4
[    2.179489] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    2.181366] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.183636] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    2.183655] musb-hdrc: MHDRC RTL version 2.0 
[    2.183664] musb-hdrc: setup fifo_mode 4
[    2.183680] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    2.183826] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.183862] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.184172] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.184186] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.184196] usb usb1: Product: MUSB HDRC host driver
[    2.184206] usb usb1: Manufacturer: Linux 4.4.91-ti-r133 musb-hcd
[    2.184215] usb usb1: SerialNumber: musb-hdrc.1.auto
[    2.185290] hub 1-0:1.0: USB hub found
[    2.185363] hub 1-0:1.0: 1 port detected
[    2.195322] mousedev: PS/2 mouse device common for all mice
[    2.199552] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.201188] i2c /dev entries driver
[    2.202864] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.203316] cpuidle: enable-method property 'ti,am3352' found operations
[    2.204052] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.264082] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.266781] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.267404] mmc0: new high speed SDHC card at address 0007
[    2.268587] mmcblk0: mmc0:0007 SD16G 14.4 GiB 
[    2.271116] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.271473]  mmcblk0: p1
[    2.277625] hidraw: raw HID events driver (C) Jiri Kosina
[    2.278420] usbcore: registered new interface driver usbhid
[    2.278434] usbhid: USB HID core driver
[    2.279228]  remoteproc0: wkup_m3 is available
[    2.279244]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    2.279253]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.286563] NET: Registered protocol family 10
[    2.288169] mip6: Mobile IPv6
[    2.288201] NET: Registered protocol family 17
[    2.288226] can: controller area network core (rev 20120528 abi 9)
[    2.288310] NET: Registered protocol family 29
[    2.288436] Key type dns_resolver registered
[    2.288451] mpls_gso: MPLS GSO support
[    2.288727] omap_voltage_late_init: Voltage driver support not added
[    2.296623] PM: Cannot get wkup_m3_ipc handle
[    2.301363] ThumbEE CPU extension supported.
[    2.301402] Registering SWP/SWPB emulation handler
[    2.302653] registered taskstats version 1
[    2.302869] zswap: loaded using pool lzo/zbud
[    2.307148] Btrfs loaded
[    2.315443] mmc1: MAN_BKOPS_EN bit is not set
[    2.319537] mmc1: new high speed MMC card at address 0001
[    2.323926] mmcblk1: mmc1:0001 MMC04G 3.66 GiB 
[    2.325106] mmcblk1boot0: mmc1:0001 MMC04G partition 1 1.00 MiB
[    2.329610] mmcblk1boot1: mmc1:0001 MMC04G partition 2 1.00 MiB
[    2.331854]  mmcblk1: p1
[    2.343933] Key type encrypted registered
[    2.347237] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    2.370992] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    2.371604] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.371901] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.373836] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.374277] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.374682] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.375070] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.375128] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    2.376342]  remoteproc0: powering up wkup_m3
[    2.376409]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    2.376668]  remoteproc0: remote processor wkup_m3 is now up
[    2.376691] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[    2.382406] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,000C,1015BBBK0661'
[    2.382440] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    2.420854] bone_capemgr bone_capemgr: slot #0: No cape found
[    2.460848] bone_capemgr bone_capemgr: slot #1: No cape found
[    2.500844] bone_capemgr bone_capemgr: slot #2: No cape found
[    2.540843] bone_capemgr bone_capemgr: slot #3: No cape found
[    2.540948] bone_capemgr bone_capemgr: initialized OK.
[    2.543067] PM: bootloader does not support rtc-only!
[    2.544058] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.544090] of_cfs_init
[    2.544219] of_cfs_init: OK
[    2.549913] PM: Hibernation image not present or could not be loaded.
[    2.551376] Freeing unused kernel memory: 756K
[    2.685739] random: systemd-udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    2.686428] random: systemd-udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    2.686547] random: systemd-udevd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    2.705437] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.705839] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.706010] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.706717] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.707285] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.707759] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    2.708306] random: udevadm: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    3.936245] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[    3.945780] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[    3.946453] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[    3.971851]  remoteproc1: 4a334000.pru0 is available
[    3.971878]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    3.971886]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.978903] pru-rproc 4a334000.pru0: booting the PRU core manually
[    3.978936]  remoteproc1: powering up 4a334000.pru0
[    3.979239]  remoteproc1: Booting fw image am335x-pru0-fw, size 36296
[    3.979311]  remoteproc1: remote processor 4a334000.pru0 is now up
[    3.979347] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[    3.979881]  remoteproc2: 4a338000.pru1 is available
[    3.979897]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[    3.979905]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.981182] pru-rproc 4a338000.pru1: booting the PRU core manually
[    3.981209]  remoteproc2: powering up 4a338000.pru1
[    3.981446]  remoteproc2: Booting fw image am335x-pru1-fw, size 35392
[    3.981518]  remoteproc2: remote processor 4a338000.pru1 is now up
[    3.981547] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
[    4.451648] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    5.027184] systemd[1]: System time before build time, advancing clock.
[    5.106045] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.142853] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    5.143532] systemd[1]: Detected architecture arm.
[    5.145211] systemd[1]: Set hostname to <beaglebone>.
[    5.797879] systemd[1]: Reached target Remote File Systems.
[    5.798924] systemd[1]: Listening on Syslog Socket.
[    5.800336] systemd[1]: Created slice System Slice.
[    5.801164] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.801754] systemd[1]: Listening on udev Control Socket.
[    5.802115] systemd[1]: Listening on udev Kernel Socket.
[    5.806776] systemd[1]: Mounting POSIX Message Queue File System...
[    5.807624] systemd[1]: Listening on Journal Socket.
[    5.819933] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    5.826173] systemd[1]: Listening on Journal Audit Socket.
[    5.827913] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.895117] systemd[1]: Listening on fsck to fsckd communication Socket.
[    5.895820] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.913583] systemd[1]: Created slice User and Session Slice.
[    5.913931] systemd[1]: Reached target Swap.
[    5.915551] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.944040] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.944287] systemd[1]: Reached target Paths.
[    5.944448] systemd[1]: Reached target Encrypted Volumes.
[    5.969779] systemd[1]: Starting File System Check on Root Device...
[    5.970482] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.038940] systemd[1]: Starting Journal Service...
[    6.040639] systemd[1]: Created slice system-getty.slice.
[    6.104357] systemd[1]: Starting Load Kernel Modules...
[    6.104731] systemd[1]: Reached target Slices.
[    6.172523] systemd[1]: Mounting /sys/kernel/debug...
[    6.376807] systemd[1]: Mounted POSIX Message Queue File System.
[    6.439619] systemd[1]: Mounted /sys/kernel/debug.
[    6.462900] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    6.479472] systemd[1]: Started File System Check on Root Device.
[    6.501251] systemd[1]: Started Load Kernel Modules.
[    6.532637] systemd[1]: Started File System Check Daemon to report status.
[    6.586061] systemd[1]: Starting Apply Kernel Variables...
[    6.634455] systemd[1]: Mounting FUSE Control File System...
[    6.728008] systemd[1]: Mounting Configuration File System...
[    6.817821] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.929329] systemd[1]: Starting Create Static Device Nodes in /dev...
[    7.065533] systemd[1]: Mounted FUSE Control File System.
[    7.065956] systemd[1]: Mounted Configuration File System.
[    7.066840] systemd[1]: Started Journal Service.
[    7.255222] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[    7.628767] systemd-journald[208]: Received request to flush runtime journal from PID 1
[   11.951874] random: nonblocking pool is initialized
[   12.299532] cgroup: new mount options do not match the existing superblock, will be ignored
[   13.123608] nf_conntrack version 0.5.0 (7802 buckets, 31208 max)
[   13.672594] net eth0: initializing cpsw version 1.12 (0)
[   13.672625] net eth0: initialized cpsw ale version 1.4
[   13.672634] net eth0: ALE Table size 1024
[   13.815853] net eth0: phy found : id is : 0x7c0f1
[   13.864686] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.326564] using random self ethernet address
[   16.326596] using random host ethernet address
[   16.435036] using random self ethernet address
[   16.435068] using random host ethernet address
[   16.674265] Mass Storage Function, version: 2009/09/11
[   16.674300] LUN: removable file: (no medium)
[   16.829829] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   16.829927] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.894510] usb0: HOST MAC 54:4a:16:e6:e6:bf
[   16.896048] usb0: MAC 54:4a:16:e6:e6:c0
[   16.911787] usb1: HOST MAC 54:4a:16:e6:e6:c2
[   16.912692] usb1: MAC 54:4a:16:e6:e6:c3
[   16.979099] 8021q: 802.1Q VLAN Support v1.8
[   16.979194] 8021q: adding VLAN 0 to HW filter on device eth0
[   17.899756] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   18.117808] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   22.951821] tda998x 0-0070: found TDA19988
[   22.958451] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[   22.958489] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   22.958497] [drm] No driver support for vblank timestamp query.
[   22.965429] tilcdc 4830e000.lcdc: No connectors reported connected with modes
[   22.965472] [drm] Cannot find any crtc or sizes - going 1024x768
[   23.106603] Console: switching to colour frame buffer device 128x48
[   23.273413] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[   23.273467] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[   27.778054] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok

in daemon.log some red words :

Oct 14 21:45:09 beaglebone avahi-daemon[392]: chroot.c: open() failed: No such file or directory
Oct 14 21:45:09 beaglebone systemd[1]: Starting BB WL18xx wlan0 Service...
Oct 14 21:45:09 beaglebone avahi-daemon[374]: Failed to open /etc/resolv.conf: Invalid argument
[...]
Oct 14 21:45:10 beaglebone connmand[358]: Failed to open RFKILL control device
[...]
Oct 14 21:47:50 beaglebone systemd-udevd[293]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 0' failed with exit code 99.

same errors in syslog

fivdi commented 6 years ago

What I find interesting about the output of dmesg is what's not there rather than what's there.

On your system the output of dmesg contains the following two lines directly beside each other:

[    2.083555] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.086098] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

On my system there lots of additional output related to cape-universal between those two lines:

[    2.156163] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.157162] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
[    2.157472] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
[    2.157773] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2
[    2.157932] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3
[    2.158073] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4
[    2.158219] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5
[    2.158367] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6
[    2.158504] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7
[    2.158649] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8
[    2.158795] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9
[    2.158935] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10
[    2.159077] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11
[    2.159275] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12
[    2.159421] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13
[    2.159571] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14
[    2.159713] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15
[    2.159879] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16
[    2.160032] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17
[    2.160175] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18
[    2.160316] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19
[    2.160462] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20
[    2.160603] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21
[    2.160751] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22
[    2.160931] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23
[    2.161083] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24
[    2.161234] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25
[    2.161699] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26
[    2.161875] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27
[    2.162021] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28
[    2.162155] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29
[    2.162293] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30
[    2.162431] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31
[    2.162571] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32
[    2.162710] gpio-of-helper ocp:cape-universal: Allocated GPIO id=33
[    2.162845] gpio-of-helper ocp:cape-universal: Allocated GPIO id=34
[    2.162978] gpio-of-helper ocp:cape-universal: Allocated GPIO id=35
[    2.163119] gpio-of-helper ocp:cape-universal: Allocated GPIO id=36
[    2.163256] gpio-of-helper ocp:cape-universal: Allocated GPIO id=37
[    2.163397] gpio-of-helper ocp:cape-universal: Allocated GPIO id=38
[    2.163532] gpio-of-helper ocp:cape-universal: Allocated GPIO id=39
[    2.163671] gpio-of-helper ocp:cape-universal: Allocated GPIO id=40
[    2.163811] gpio-of-helper ocp:cape-universal: Allocated GPIO id=41
[    2.163951] gpio-of-helper ocp:cape-universal: Allocated GPIO id=42
[    2.164091] gpio-of-helper ocp:cape-universal: Allocated GPIO id=43
[    2.164239] gpio-of-helper ocp:cape-universal: Allocated GPIO id=44
[    2.164375] gpio-of-helper ocp:cape-universal: Allocated GPIO id=45
[    2.164524] gpio-of-helper ocp:cape-universal: Allocated GPIO id=46
[    2.164661] gpio-of-helper ocp:cape-universal: Allocated GPIO id=47
[    2.164799] gpio-of-helper ocp:cape-universal: Allocated GPIO id=48
[    2.164940] gpio-of-helper ocp:cape-universal: Allocated GPIO id=49
[    2.165079] gpio-of-helper ocp:cape-universal: Allocated GPIO id=50
[    2.165219] gpio-of-helper ocp:cape-universal: Allocated GPIO id=51
[    2.165464] gpio-of-helper ocp:cape-universal: Allocated GPIO id=52
[    2.165810] gpio-of-helper ocp:cape-universal: Allocated GPIO id=53
[    2.165968] gpio-of-helper ocp:cape-universal: Allocated GPIO id=54
[    2.166111] gpio-of-helper ocp:cape-universal: Allocated GPIO id=55
[    2.166255] gpio-of-helper ocp:cape-universal: Allocated GPIO id=56
[    2.166401] gpio-of-helper ocp:cape-universal: Allocated GPIO id=57
[    2.166539] gpio-of-helper ocp:cape-universal: Allocated GPIO id=58
[    2.166681] gpio-of-helper ocp:cape-universal: Allocated GPIO id=59
[    2.166827] gpio-of-helper ocp:cape-universal: Allocated GPIO id=60
[    2.166967] gpio-of-helper ocp:cape-universal: Allocated GPIO id=61
[    2.167109] gpio-of-helper ocp:cape-universal: Allocated GPIO id=62
[    2.167256] gpio-of-helper ocp:cape-universal: Allocated GPIO id=63
[    2.167401] gpio-of-helper ocp:cape-universal: Allocated GPIO id=64
[    2.167547] gpio-of-helper ocp:cape-universal: Allocated GPIO id=65
[    2.167688] gpio-of-helper ocp:cape-universal: Allocated GPIO id=66
[    2.167698] gpio-of-helper ocp:cape-universal: ready
[    2.177603] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

Maybe there's something wrong with the boot loader. Does it help if the boot button is pressed and held pressed before and during power on?

Maybe there's information of interest sent to the serial port while booting?

ludook commented 6 years ago

you are right : keep "boot button" pressed fix the issue : I see now the gpio-of-helper in dmesg

and I understand why it did not work : I read this boot-modes and this comment boot sequence is :

  1. eMMC
  2. sd card [...]

and on my eMMC, I had an old distribution where uboot_overlays was not activated. that's why we did not see "gpio-of-helper ocp:cape-universal" in dmesg.

I flash my eMMC, and patch /boot/uEnv.txt, and it is working as expected.

thank's a lot for your help !

I close the issue