- commented the line 'echo...' from /etc/rc.local
the file /etc/rc.local now look like this
cat /etc/rc.local
#!/bin/sh -e
#
rc.local
#
This script is executed at the end of each multiuser runlevel.
Make sure that the script will "exit 0" on success or any other
value on error.
#
In order to enable or disable this script just change the execution
bits.
#
By default this script does nothing.
echo 81 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio81/direction
echo 0 > /sys/class/gpio/gpio81/value
sleep 1
echo 1 > /sys/class/gpio/gpio81/value
sleep 1
#echo BB-CTAG-SW-8CH > /sys/devices/platform/bone_capemgr/slots
exit 0
reboot
aplay -l output
aplay -l
* List of PLAYBACK Hardware Devices *
card 0: Black [TI BeagleBone Black], device 0: davinci-mcasp.0-i2s-hifi i2s-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
4.
echo BB-CTAG-SW-8CH > /sys/devices/platform/bone_capemgr/slots
It hang up there for more than 5 minutes, during which nothing shows up on screen
I try to see what is happening 'ps ax' show nothing special, 'top' is here
top - 18:20:12 up 11 min, 2 users, load average: 0.00, 0.22, 0.29
Tasks: 98 total, 1 running, 97 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.7 us, 1.3 sy, 0.0 ni, 97.7 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
KiB Mem: 499152 total, 134180 used, 364972 free, 11996 buffers
KiB Swap: 0 total, 0 used, 0 free. 51408 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2814 debian 20 0 4560 1768 1440 R 1.6 0.4 0:00.36 top
9 root 20 0 0 0 0 S 0.3 0.0 0:01.31 rcuc/0
76 root -51 0 0 0 0 S 0.3 0.0 0:00.12 irq/162-44e+
1681 www-data 20 0 228832 3296 1912 S 0.3 0.7 0:01.21 apache2
2782 root 20 0 0 0 0 S 0.3 0.0 0:00.99 kworker/0:1
5.
I restarted the device
6.
last part of dmesg
[ 49.208638] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 50.229932] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 50.295844] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 53.485034] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[ 53.485068] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[ 53.485078] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[ 53.485089] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[ 53.485098] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[ 53.485108] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[ 53.485117] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[ 54.318195] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
7.
/boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
#uname_r=4.4.62-ti-r99
uname_r=4.4.62+
#uuid=
dtb=am335x-bonegreen-ctag-face.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 (mainline 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
8.
I try again
echo BB-CTAG-SW-8CH > /sys/devices/platform/bone_capemgr/slots
still hang up