**** BEGIN LOGGING AT Mon Oct 17 02:59:58 2016 Oct 17 17:21:54 hi, do i have to do some changes with dtb files in /boot/ to work with Pru? Oct 17 17:25:08 ZeekHuge: hi are you there? Oct 17 17:26:03 pmezydlo: Hey ! yeah ! how are you ? Oct 17 17:26:42 fine but I have a problem, could you help me? Oct 17 17:27:41 I can surely try Oct 17 17:28:14 I started work on PRU, And i have a problem with loading firmware Oct 17 17:28:23 do i have to do some changes with dtb files in /boot/ to work with Pru? Oct 17 17:28:51 I dont think so .. did you try the blinky example ? Oct 17 17:29:16 yes I try this Oct 17 17:29:48 So did that work ? Oct 17 17:29:53 what was the output ? Oct 17 17:30:30 blinky works == everything on the configuration side is correct. Oct 17 17:31:06 echo "Rebooting pru-core 0" echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/unbind 2>/dev/null echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/bind Oct 17 17:31:39 output in this line has error Oct 17 17:32:02 /sys/bus/platform/drivers/pru-rproc/bind not found Oct 17 17:33:25 is remoteproc module loaded ? Oct 17 17:33:36 ls -e | grep remoteproc Oct 17 17:33:39 aahh .. Oct 17 17:33:46 lsmod | grep remoteproc Oct 17 17:34:30 I don't have remoteproc Oct 17 17:35:21 lsmod output is empty Oct 17 17:36:03 Well.. all my work was with remoteproc, so cant help with other modules like prussdrv Oct 17 17:36:31 but why do you want to use prussdrv ? Oct 17 17:36:50 or you dont know what you want to use ? Oct 17 17:37:10 but now i have it, (modprobe) Oct 17 17:37:26 pru_rproc 13719 0 Oct 17 17:37:27 pruss 10829 1 pru_rproc Oct 17 17:37:27 pruss_intc 7451 1 pru_rproc Oct 17 17:37:32 cool .. Oct 17 17:37:37 try reboot now Oct 17 17:37:39 i mean Oct 17 17:37:46 prboot Oct 17 17:38:15 huh .. preboot Oct 17 17:38:37 echo "4a334000.pru0" > /sys/bus/platform/drivers/pru-rproc/bind Oct 17 17:38:37 bash: echo: write error: No such device Oct 17 17:40:01 which kernel version are you using? Oct 17 17:40:39 4.4.23-ti-r51 Oct 17 17:42:12 check the sysfs directory, it may be structured differently Oct 17 17:42:22 m_w:hi, this image i have from http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_lxqt Oct 17 17:42:48 pmezydlo: try echo them without quotes , I remember something like that Oct 17 17:43:03 * ZeekHuge says Hi to m_w Oct 17 17:43:48 hey guys Oct 17 17:44:13 ZeekHuge : still the same Oct 17 17:44:48 tree /sys/bus/platform/drivers/pru-rproc Oct 17 17:44:59 wait , let me plugin my BBB Oct 17 17:47:39 ZeekHuge: ok Oct 17 17:51:48 ls /sys/bus/platform/drivers Oct 17 17:52:14 see if the directory is there Oct 17 17:52:50 I see it on the 4.4.12-ti-r31 image Oct 17 17:53:29 yes I have pru-rproc and pruss-intc Oct 17 17:54:43 hmmm Oct 17 17:55:10 i think the problem is in dtb Oct 17 17:55:23 cd /sys/bus/platform/devices Oct 17 17:55:27 ls Oct 17 17:56:05 sorry my BBB were in a different box and I didnt remember that so .. ahh anyway . I have it now. Oct 17 17:57:57 m_w: I have only this concerning pru: ocp:pruss@4a300000 Oct 17 17:58:22 wrrrr: "ocp:pruss@4a300000" Oct 17 17:58:22 pmezydlo: dmesg | tail -n20 Oct 17 17:59:41 ZeekHuge:http://pastebin.com/3j3gfm24 Oct 17 18:00:21 can be loaded as an overlay, rproc was failing, so we need Oct 17 18:00:22 to use the dtb-rebuilder... Oct 17 18:00:46 https://groups.google.com/forum/#!topic/beagleboard/l59Dx8ygxNg Oct 17 18:02:06 I think your problem is related to this change Oct 17 18:02:25 thanks I will try this now Oct 17 18:02:43 well not so fast Oct 17 18:02:59 you might not have to do anything special Oct 17 18:04:21 nevermind Oct 17 18:05:05 follow the post Oct 17 18:08:00 m_w: I am probably confused, the changes that post mention would just change the way modules get loaded . isnt it ? Oct 17 18:08:28 oh ! got it ! Oct 17 18:09:12 I think so .... will get back to it later ... Oct 17 18:09:36 pmezydlo: please let us know the results ! Oct 17 18:11:18 ZeekHuge: thanks for help Oct 17 18:11:35 you actively have to select between uio and rproc Oct 17 18:12:58 by modifying the dts Oct 17 18:13:27 https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-overlay.dts#L14 Oct 17 18:16:44 pmezydlo: sure no problem . Thanks to m_w :) Oct 17 19:13:56 ! rcn-ee ! after long time !! Oct 17 19:58:10 if he was still here i'd say "psssst... don't scare him off..." Oct 17 19:59:04 nah, should be around more often, finally sold my 2nd house... So i'm not spending every extra moment, cleaning/fixing/updating/etc. ;)0 Oct 17 20:03:20 did you notice an email with "sandwiches" in it? Oct 17 20:04:23 should be in gmail somewhere i think... Oct 17 20:06:25 yeah, i need to back to San Jose. ;) Oct 17 20:08:10 AMS is in seattle this time => https://annual.ametsoc.org/2017/ Oct 17 20:08:41 but... esc is in san jose next month. .;) Oct 17 20:08:52 special symposium on instrumentation Oct 17 20:09:35 go to as many as you want, as long as you can go to AMS in Jan Oct 17 20:11:25 rcn-ee: is there a beagleboard thing at esc? Oct 17 20:12:02 it's something a co-worker wanted me to take there place on.. one of the wireless module guys, but they run linux.. **** ENDING LOGGING AT Tue Oct 18 02:59:58 2016