can't set up remoteproc on kerlnel 4.14

58 views
Skip to first unread message

malkowki

unread,
Jul 17, 2019, 11:03:07 AM7/17/19
to BeagleBoard
Dear,

I would like to setup pru via remoteproc but I couldn't see the driver loaded even after loading device tree AM335X-PRU-RPROC-4-14-TI-PRUCAPE-00A0.dtbo.
vesrion.sh gives:
Saisissez le codegit:/opt/scripts/:[1cfc1dcc9918af109e337d8e50173e4e772afa52]
eeprom
:[A335BNLT00C00816BBBK13DF]
model
:[TI_AM335x_BeagleBone_Black]
bootloader
:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.09-dirty]:[location: dd MBR]
kernel
:[4.14.106-bone-rt-r19]
nodejs
:[v6.17.0]
uboot_overlay_options
:[enable_uboot_overlays=1]
uboot_overlay_options
:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options
:[disable_uboot_overlay_video=1]
uboot_overlay_options
:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]
pkg check
: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg
:[bb-cape-overlays]:[4.4.20190610.0-0rcnee0~stretch+20190610]
WARNING
:pkg:[bb-wl18xx-firmware]:[NOT_INSTALLED]
pkg
:[kmod]:[23-2rcnee1~stretch+20171005]
WARNING
:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg
:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
groups
:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c netdev gpio pwm eqep bluetooth admin spi tisdk weston-launch xenomai cloud9ide]
cmdline
:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait]
dmesg
| grep remote
[    1.701987] remoteproc remoteproc0: wkup_m3 is available
[    1.899173] remoteproc remoteproc0: powering up wkup_m3
[    1.930698] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    1.939878] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg
| grep pru
dmesg
| grep pinctrl-single
[    0.446130] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg
| grep gpio-of-helper
[    0.447034] gpio-of-helper ocp:cape-universal: ready
lsusb
 ici
...
Any help?

Robert Nelson

unread,
Jul 17, 2019, 11:19:42 AM7/17/19
to Beagle Board, Beninio Mbila
On Wed, Jul 17, 2019 at 10:03 AM malkowki <bmb.tec...@gmail.com> wrote:
>
> Dear,
>
> I would like to setup pru via remoteproc but I couldn't see the driver loaded even after loading device tree AM335X-PRU-RPROC-4-14-TI-PRUCAPE-00A0.dtbo.
> vesrion.sh gives:
> Saisissez le codegit:/opt/scripts/:[1cfc1dcc9918af109e337d8e50173e4e772afa52]
> eeprom:[A335BNLT00C00816BBBK13DF]
> model:[TI_AM335x_BeagleBone_Black]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.09-dirty]:[location: dd MBR]
> kernel:[4.14.106-bone-rt-r19]

"bone" kernels only support uio_pruss..

remoteproc_pruss is NOT mainline, thus the 'bone' kernels don't support it..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Beninio Mbila

unread,
Jul 17, 2019, 11:37:57 AM7/17/19
to Robert Nelson, Beagle Board
Hello Robert,
Thanks for your fast response.
Is it then possible to switch to TI kernel from the board or the best is to recompile new image on host computer from https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black?
--
Beninio Mbila

Robert Nelson

unread,
Jul 17, 2019, 11:58:18 AM7/17/19
to Beninio Mbila, Beagle Board
On Wed, Jul 17, 2019 at 10:37 AM Beninio Mbila <bmb.tec...@gmail.com> wrote:
>
> Hello Robert,
> Thanks for your fast response.
> Is it then possible to switch to TI kernel from the board or the best is to recompile new image on host computer from https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black?

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#4.14.x-ti

Beninio Mbila

unread,
Jul 18, 2019, 4:52:52 AM7/18/19
to Robert Nelson, Beagle Board
Dear Robert,

I have tried to ti Kernel as the following but I got these errors..:

root@beagle:#/opt/scripts/tools/update_kernel.sh --ti-rt-channel --lts-4_14
info: checking archive
ERROR: The certificate of ‘rcn-ee.com’ is not trusted.
ERROR: The certificate of ‘rcn-ee.com’ hasn't got a known issuer.

Ho wto solve it?
--
Beninio Mbila
Message has been deleted

malkowki

unread,
Jul 19, 2019, 4:21:20 AM7/19/19
to BeagleBoard
Hi Robert,
root@beagle23:~# date
Fri Jul 19 10:14:47 CEST 2019
I have checked my clock on my board, everything seems ok, see above.

I don't understand why I have this  certificate error?

Any help how to solve it?


Le mercredi 17 juillet 2019 17:58:18 UTC+2, RobertCNelson a écrit :
Reply all
Reply to author
Forward
0 new messages