This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BBB开发板无法加载设备树(串口)

刚入手BBB开发板,想要测试串口通信,1、进入/lib/firmware目录下面,反编译得到dts,具体如下:

-rw-r--r-- 1 root root 759 Jan 24 22:46 ADAFRUIT-UART1-00A0.dts
-rw-r--r-- 1 root root 794 Jan 25 15:44 BB-UART1-00A0.dts

在此我使用的是第一个即: ADAFRUIT-UART1-00A0.dts。

2、进入/sys/devices/platform/bone_capemgr,打开slots文件,得到如下:

0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1

3、想要向这个文件加载cape,命令如下:

echo ADAFRUIT-UART1 > slots

结果系统开始报错;

bash: echo: write error: Invalid argument。

想要问一下这是什么原因,我用的系统版本如下:

Linux beaglebone 4.1.15-ti-rt-r43 #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016 armv7l GNU/Linux
root@beaglebone:/sys/devices/platform/bone_capemgr# cat /proc/version
Linux version 4.1.15-ti-rt-r43 (root@a4-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016