**** BEGIN LOGGING AT Fri May 27 02:59:58 2016 May 27 16:11:06 alexhiam: ping.. May 27 16:12:30 alexhiam: do you have any suggestions on what all to change to change in the defconfig file for the blue. May 27 16:32:55 hey mdp,bradfa,Are you there? May 27 16:33:26 hey foreverska ! May 27 16:33:39 hey chanakya_vc May 27 16:34:03 foreverska, Just got over with my exams: ) May 27 16:34:15 Nice, how do you think you did? May 27 16:35:03 foreverska, Well it was electrical machines,a very tough subject.It went well though not in 90's range :( May 27 16:35:51 One B shouldn't sink you. May 27 16:36:33 I need marks.Well it would be a A- if I get in the 80's, May 27 16:36:37 foreverska, 6 May 27 16:36:43 *^ May 27 16:37:30 Mmm yea I forget you're running for grad school. Well here's hoping. May 27 16:37:31 Anyway,I am glad it's over.Finally can concentrate on GSOC May 27 16:39:35 foreverska, Yes I do.Although marks are not going to be the selling point of my application.Grad schools surely look at other stuff. May 27 16:40:57 I'd have to assume so. May 27 16:41:17 foreverska, Marks are a necessity for my third year intern next year.A lot of companies prefer candidates with high marks(Samsung,Qualcomm,NXP,TI) May 27 16:41:49 So that's another headache May 27 16:42:49 Even Microsoft and Goldman Sachs May 27 16:43:51 Well any of those will be great resume building. I don't personally trust ex-MS employees but some people may. lol May 27 16:44:56 foreverska, Why?Don't like Windows that much :P ? May 27 16:45:21 *Hate Windows that much :P May 27 16:45:51 Yea... a Tandy I recently got with Windows 3.1 is the first time windows has been in my house in 3 or 4 years. May 27 16:47:19 foreverska, Haha. I started using Linux only about 6 months ago and I myself no longer use Windows anymore,except for when I have to play counter strike :P May 27 16:48:14 CSS is on Linux. Tends to run at a lower FPS but it's perfectly playable. May 27 16:48:52 foreverska, Anyway I am starting with the firmware part. Plan is to get a basic setup that is capable of bitbanging up before wednesday. May 27 16:49:31 foreverska, Ohh I didn't know that. But many games like Age of Empires don't work. May 27 16:50:41 foreverska, Have you ever tried working with the AI behind AOE,it's super awesome piece of code! :D Although it allows the bot to cheat . May 27 16:50:56 Very nice. May 27 16:51:35 Never played AOE. I did C&C as a teen and that was my only RTS. May 27 16:54:55 Ohh. You should try it once if you have the time! Even if you don't just see the AI part of it.Microsoft did a pretty excellent job with that. May 27 16:55:02 foreverska, ^^ May 27 16:55:55 Yea I've always heard it's a really good game but if it doesn't work on Linux I don't really have a way to play it. May 27 16:55:58 foreverska, Which linux do you use?Ubuntu? May 27 16:56:57 Nah, debian. I keep trying to use Suse for things but I have trouble getting it to fit the mold like I can Debian. May 27 16:57:26 foreverska, Ohh.I have my computer on dual boot so that I can play.Always good to have windows.Might need photoshop or flash sometimes May 27 16:58:16 foreverska, Ohh! I have Ubuntu 14.04. I was thinking whether it be a good idea to upgrade to 16.04. May 27 16:59:10 We've got flash via google-chrome. You'll probably get MUCH better hardware support in 16.04. I mean the kernel in 14.04 is still in the 3s. May 27 17:01:33 Stable or LTS is basically just for older machines and/or office settings. May 27 17:04:12 Debian Stable is unrunnable on my home machine short of major work because I have a 960 but Testing is perfectly fine. May 27 17:09:08 You know what had an interesting AI that you might be interested in? Creatures 3, released in 1999 and used NN for creature AI. I vaugely remember a tool to manually edit the NN that ran the creatures. May 27 17:13:01 foreverska, Ohh. I will check that out. I never played that game.Although I was three when it released so :P May 27 17:13:26 foreverska, I am stuck with Machine learning as of now. NN is distant dream as of now :P May 27 18:04:13 kiran4399: you've removed the MPU9150 iio driver? May 27 18:05:08 kiran4399: and why all the other changes? May 27 18:06:39 kiran4399: I'm looking at the bb_blue_api branch, is that right? try to keep the branches clean, i.e. one blue branch, then if you want to make a new branch for a particular thing give it a more specific name May 27 18:07:55 kiran4399: also, careful with your commit messages - the last one said you updated bb.org_defconfig but it was really bb_blue.org_defconfig May 27 18:11:04 jkridner: is there really nowhere to buy the robotics cape? May 27 18:26:25 Hey Wormo,alexhiam,are you there?Can you please help me with the Pru Software support package? May 27 18:26:53 mdp ^^ May 27 18:32:46 chanakya_vc: I can try... May 27 18:33:46 alexhiam, I just have some fundamental doubts.I cloned the Pru sotware support from here:https://github.com/jadonk/pru-software-support-package May 27 18:34:27 alexhiam, Now essentially this contains the headers for writing code for PRU's right? May 27 18:35:27 So I would have to compile and link it using the PRU code generation tools right?Now what I understand is how do I give the path to the headers? May 27 18:36:11 alexhiam, Like when we install a new library for gcc,we have to give path for it.So that it is in the include folder. May 27 18:36:32 the header files May 27 18:39:19 well, yes, but that's 2 years old... May 27 18:42:48 alexhiam, I think it is the latest one.I don't think there has been upgradation to this.RPMsg hasn't changed May 27 18:45:09 chanakya_vc: yeah, that's using prussdrv, not remoteproc. Take a look at the beaglelogic and pruspeak code May 27 18:45:13 https://github.com/abhishek-kakkar/BeagleLogic/tree/master/beaglelogic-firmware May 27 18:45:19 https://github.com/deepakkarki/pruspeak/tree/master/src/pru-firmware May 27 18:46:04 alexhiam, Ohh so this is not using rproc.I will check out these links May 27 18:46:09 alexhiam, Thanks May 27 18:48:53 chanakya_vc: Abhishek will know more about it May 27 18:58:55 okay alexhiam I will try to catch him on the irc May 27 19:34:52 :( May 27 19:34:59 that is not working ! May 27 19:35:02 Hey Wormo May 27 19:35:06 how are you ? May 27 19:35:36 the kernel we compiled using yakbuild, the modules produced by it arent loading. May 27 19:35:54 Exec fromat error. May 27 19:35:58 *format May 27 19:42:58 make modules SUBDIRS=drivers/remoteproc ARCH=arm LOCALVERSION=-ti-r22 CROSS_COMPILE=/home/zeekhuge/Projects/OpenSource/toolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- May 27 19:43:09 command to build the omap_remoteproc module May 27 20:21:39 ZeekHuge: 'Exec format error'? what does 'file' command have to say about it, is it even compiled for arm? May 27 20:22:29 omap_remoteproc.ko: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), BuildID[sha1]=a9d555b0b11d0665b2f803b6f2d9154c025ae374, not stripped May 27 20:22:32 Wormo: ^ May 27 20:22:57 does 'dmesg' have anything to say about it May 27 20:23:12 make modules SUBDIRS=drivers/remoteproc ARCH=arm LOCALVERSION=-ti-r22 CROSS_COMPILE=/home/zeekhuge/Projects/OpenSource/toolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- May 27 20:23:15 command i used May 27 20:24:11 looks ok, that's supposed to be the toolchain used, and the local version May 27 20:24:17 so, dmesg? May 27 20:24:36 ahh .... omap_remoteproc: no symbol version for module_layout May 27 20:24:56 kernel config is the wrong one somehow then May 27 20:25:36 the prebuilt one has versioning on, as distro kernels do May 27 20:26:43 what are you starting from for .cofig? May 27 20:30:03 Hey Zeekhuge! May 27 20:31:02 You had showed me the makefile for compiling the code for PRU.Could you point to that link once again?I can't seem to find on your git account. May 27 20:31:48 Wormo: Its working ! May 27 20:31:54 the module got loaded ! May 27 20:32:12 finally ! we have found the source kernel May 27 20:32:18 pheww .. May 27 20:32:22 hey chanakya_vc ! May 27 20:33:35 chanakya_vc: https://github.com/ZeekHuge/PRU-framework/blob/master/firmware/src/Makefile May 27 20:34:47 Thanks ZeekHuge ! May 27 20:36:19 :) May 27 20:39:48 ZeekHuge, In the line no 47,pru_vring.obj is the obj of the PRU code that we are trying to compile right? May 27 20:45:35 Or is it the file of the vring data structure? May 27 20:55:26 chanakya_vc: it is a requirement, that should already exist there before executing the command in that target . if there is a target that builds any of the prerequisites, it will be executed. May 27 20:55:49 the pru_vring is the file there in the firmware/src folder May 27 20:58:54 ZeekHuge, So rproc-pru1-fw.obj is the file we are trying to build right? May 27 20:59:39 chanakya_vc: http://www.gnu.org/software/make/manual/make.html#Rule-Syntax May 27 20:59:42 see this ? May 27 20:59:54 that is targets: prerequisites. May 27 21:01:00 ZeekHuge, Okay got that. May 27 21:02:10 ZeekHuge, Next I want to ask is the install-tobb part.Now what I understand out of this that you are basically sending the binary file to the bbb right? May 27 21:03:26 that is not written by me, its from the PRU-project, only some corrections that i made. May 27 21:03:37 i never tested that part May 27 21:05:03 what you need to do to test that is, just type in "make install-tobb" that should work provided you are connected to bbb through usb at 192.168.7.2 May 27 21:06:30 ZeekHuge, Okay,so what I understand is that pru_vring file should be on the host computer for that right? May 27 21:07:00 Because it is a prerequiste for target that is prerequisite for install to bb May 27 21:07:40 exactly. pru_vring = pru_vring.c May 27 21:08:14 ZeekHuge, I think I get that the hang of it. May 27 21:08:55 yes you are ! May 27 21:09:23 but, we arent suppose to use this pru-framework project for the rproc purposes. May 27 21:09:31 So if i were to name my firmware file as spi_bitbang, the name of the targets at line 47 and line 43 would change right? May 27 21:09:32 its old now May 27 21:10:08 ZeekHuge, ^^ May 27 21:10:31 No I am only looking at it to compile my custom pru firmware and send it to the BB. May 27 21:13:13 what you need to do is, just replace all rproc-pru0-fw* with the firmware you want to load into pru0 and replace all rproc-pru1-fw* with the firmware you want to load into pru1. May 27 21:13:26 provided you will be using C. May 27 21:14:21 Yes I will be.I think I got the jist of the entire makefile.Although will take some time to get used to the syntax. May 27 21:14:30 ZeekHuge, ^^ May 27 21:22:25 yes. Try it and let me know if that works. produces some error. May 27 21:22:32 chanakya_vc: ^ May 27 21:37:09 ZeekHuge: you should post what you learned about building modules for the selected baseline at the mailing list :) May 27 21:38:56 clearly it was not previously well documented, with most people rolling their own BBB images or just using the prebuilt ones... not extending a prebuilt one with new modules May 27 22:09:31 okay Wormo May 27 22:09:57 and now, how should i go on with remoteproc ? May 27 22:14:24 okay so 4.4 has pruss and pru_rproc https://github.com/beagleboard/linux/tree/4.4/drivers/remoteproc May 27 22:14:37 my source does not have it. May 27 22:19:25 okay so 4.4.11-ti-r28 has pruss remoteproc http://rcn-ee.net/deb/jessie-armhf/v4.4.11-ti-r28/defconfig May 27 22:47:40 Wormo: can there be something to commit out of this ? May 27 22:48:15 as there need to be 4-5 commits and i dont know what to commit May 27 22:48:47 also, where should i post it, beagleboard-gsoc, beagleboard or my blog ? May 27 22:48:49 hi jkridner May 27 22:50:02 please do ans. I will see the logs. need to sleep now May 27 22:51:55 ok zeekhuge_ I will catch up & reply May 27 22:52:13 (still at work atm) May 27 22:52:23 this link http://jadonk.github.io/bone101/Support/ isn't existing and cause error in htmlproofer, should I ignore it from breadcrumb, or make redirection to bone101 ? jkridner May 27 23:06:48 jkridner, I added an empty index.html so Support can be found for now May 27 23:25:37 pmezydlo: You there? May 27 23:25:47 this may be faster than email May 27 23:27:24 yes i am May 27 23:28:30 m_w: ^^ May 27 23:28:44 hey May 27 23:29:08 m_w:hi now I try again May 27 23:31:04 m_w:Unfortunately, after the installation dts connection bbb breaks off May 27 23:31:21 any output? May 27 23:31:49 I am going to load my BBB with a new image May 27 23:31:59 which image are you running? May 27 23:32:03 [ 51.275617] Unable to handle kernel NULL pointer dereference at virtual address 0000000d May 27 23:32:03 [ 51.283923] pgd = dcb28000 May 27 23:32:03 [ 51.286671] [0000000d] *pgd=9c2ce831, *pte=00000000, *ppte=00000000 May 27 23:32:44 Jessie Snapshot lxqt May 27 23:32:52 link? May 27 23:32:59 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_lxqt May 27 23:33:33 okay the NULL pointer deference is it followed by a stack trace? May 27 23:37:10 I'm not sure if it is what you are talking about: May 27 23:37:30 [ 51.400281] Process bash (pid: 848, stack limit = 0xddffa218) May 27 23:37:30 [ 51.406048] Stack: (0xddffbc18 to 0xddffc000) May 27 23:37:30 [ 51.410423] bc00: dd9cf610 dd9aca10 May 27 23:37:30 [ 51.418637] bc20: c0024b89 c0024b99 dd9cf610 c0497af7 60000000 dd9cf610 dd9aca10 c0497b49 May 27 23:37:59 paste the whole output to pastebin May 27 23:38:07 ok May 27 23:38:45 http://pastebin.com/WBS3ijBd May 27 23:40:23 hmmmmm May 27 23:41:47 I will try on the old image May 27 23:42:02 try unloading spi_omap2_mcspi before loading the overlay May 27 23:46:00 ok it works, I really didn't think about it May 27 23:46:32 okay May 27 23:46:38 here is something to think about May 27 23:46:55 what happens when you want to run and host and slave at the same time? May 27 23:47:39 I do not know but I think it will be a problem May 27 23:47:50 are you sure? May 27 23:47:53 I have to check it out May 27 23:48:16 you are using the same compatible string for both drivers May 27 23:48:47 so if both drivers are loaded they will both be probed May 27 23:49:02 for each SPI interface May 27 23:50:42 so you need to do something to disguish a slave registration from a host registration May 27 23:53:27 thanks, tomorrow I will check it and write email to you. It's 2 am in poland. May 27 23:54:01 okay May 27 23:54:52 bye **** ENDING LOGGING AT Sat May 28 02:59:58 2016