在过去,我在Debian Jessie的Beaglebone Black上运行了一些PRU代码。
最近升级到Debian Stretch(版本9.4),现有PRU代码现在生成分段错误。
我已经更新了uBoot以使用旧的dbto文件(在Jessie中工作)并且uBoot似乎没问题。
(我已经包含了version.sh的输出)
root @ engraver:〜#/ opt / scripts / tools version.sh
GIT中:/选择/脚本/:[ea6ea9fca05f36f5044398884375b0231348d6e2]
EEPROM:[A335BNLT000C1826BBBG0816]
模型:[
ti_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-01-28]
bootloader:[eMMC-(默认)]:[/ dev / mmcblk1]:[U-Boot 2018.01-00002-g9aa111a004]
内核:[78年9月4日-TI-R94]
的NodeJS:[v6.12.3]
uboot_overlay_options:[enable_uboot_overlays = 1]
uboot_overlay_options:[uboot_overlay_pru = / LIB /固件/ AM335X-PRU-RPROC-4-4-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal = 1]
PKG:[BB-斗篷叠加]:[4.4.20180126.0-0rcnee0〜拉伸+ 20180126]
PKG:[BB-wl18xx固件]:[1.20170829-0rcnee2〜拉伸+ 20180104]
PKG:[固件-TI-连通]:[20170823-1rcnee0〜拉伸+ 20170830]
团体:[debian:debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
dmesg |
grep pinctrl-single
[1.385819] pinctrl-single 44e10800.pinmux:142针脚,f9e10800尺寸568
结束
我还尝试在/ am335x_pru_package / pru_sw / example_apps / PRU_memAccess_DDR_PRUsharedRAM中构建示例PRU文件,但仍然会出现分段错误。
以上来自于谷歌翻译
以下为原文
In the past I had some PRU code running on Beaglebone Black with Debian Jessie. Recently upgraded to Debian Stretch (ver 9.4) and existing PRU code now generates a segmentation fault.
I’ve updated uBoot to use the old dbto file (that worked in Jessie) and uBoot seems OK. (I’ve included the output of version.sh)
root@engraver:~# /opt/scripts/tools/version.sh
git:/opt/scripts/:[ea6ea9fca05f36f5044398884375b0231348d6e2]
eeprom:[A335BNLT000C1826BBBG0816]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-01-28]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.01-00002-g9aa111a004]
kernel:[4.9.78-ti-r94]
nodejs:[v6.12.3]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180126.0-0rcnee0~stretch+20180126]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
dmesg | grep pinctrl-single
[ 1.385819] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
END
I’ve also tried building the example PRU files in /am335x_pru_package/pru_sw/example_apps/PRU_memAccess_DDR_PRUsharedRAM and still get a segmentation fault.
0