**** BEGIN LOGGING AT Mon May 23 02:59:58 2016 May 23 12:18:37 hi, the BB-X15 has just arrived. Can somebody give me some information about the expansion header connector type? May 23 12:51:25 bradfa: Hi, Before publication I want to show you my block diagram: https://docs.google.com/drawings/d/1B8_UudxPw0RdieIvjJhUIH8m4XSRLnkSCv9SyPehJpY/edit?usp=sharing May 23 12:51:40 bradfa: What do you think? May 23 12:54:52 pmezydlo: this is for a duplex use-case? May 23 12:55:20 pmezydlo: or it's simplex RX then TX? May 23 12:57:25 bradfa: Is to TX and RX but TX is previous transaction May 23 13:00:26 bradfa:the answer is in memory and is loaded after the transaction May 23 13:01:00 bradfa:and is sent on the next transaction May 23 13:01:44 pmezydlo: ok May 23 13:02:00 pmezydlo: that should work for those kinds of uses May 23 13:02:29 pmezydlo: your "user application", are you thinkin of a spidev kind of setup? May 23 13:03:48 Exactly something very similar May 23 13:06:23 pmezydlo: sounds like a good way to start :) May 23 13:08:02 I'll be later, thanks and bye May 23 15:26:11 hey ! we can clone a git repo using --depth option, right ? May 23 15:26:15 nerdboy: ^^ May 23 15:26:22 or anyone.. May 23 15:27:54 increasing the depth number again and again,and after that use --unshallow May 23 15:58:11 Hey bradfa May 23 15:58:18 Are you there? May 23 15:59:05 pmezydlo: there is also Asynchronous Notification: http://www.makelinux.net/ldd3/chp-6-sect-4 May 23 16:05:29 m_w: I saved all links. May 23 16:08:58 good May 23 16:10:11 chanakya_vc: yes... May 23 16:11:24 :D May 23 16:22:41 Visaoni: need your adc part ordering info... May 23 16:44:00 bradfa,mdp, Been working on the PRU hello world example.I will mail you what I plan to do in the coming week. May 23 16:44:39 bradfa, I have thought of writing the firmware for SPI first,assuming data to be coming from an RPMsg core. May 23 16:45:32 chanakya_vc: ok, look forward to the email :) May 23 16:45:40 chanakya_vc: ok, SPI first will work May 23 16:46:27 bradfa, I will write a the very basic code framework which will just take in data from the circular buffers and bitbang it on two GPIO pins(clock +MOSI) .I think I can build up on this May 23 16:46:46 chanakya_vc: ok, sounds like a good way to start May 23 16:46:50 bradfa, Might need some help with the Device tree May 23 16:47:27 hey chanakya_vc May 23 16:47:37 chanakya_vc: no worries, device tree can be a bit of a steep learning curve, but it makes sense once you see its intentions :) May 23 16:47:48 we can help you through it May 23 16:48:06 it's simpler than it looks ;) May 23 16:48:39 chanakya_vc: hello world working ok for you yet? May 23 17:00:36 mdp, I have not been able to give it much time.So far.Still got to parse through the makefile.I might do a bit tonight a bit on Wednesday night. May 23 17:02:08 bradfa, I just wanted to know if the org has sent a BBB? If not I will borrow a BBB from the lab for the summers.It's just that it doesn't have the latest version of debian. May 23 17:02:34 chanakya_vc: I'm sorry, I don't know. jkrider was supposed to mail them out by this past weekend but I don't know the status. May 23 17:02:45 bradfa, And I wanted to install the Jessie on the new BBB that I got. May 23 17:02:54 chanakya_vc: if you get the latest image from online you can flash it onto any bbb May 23 17:03:25 bradfa, Yes.Would have to permission from my lab for that : ) May 23 17:03:42 chanakya_vc: it's always better to ask forgiveness :) May 23 17:03:42 *modifying their equipment* May 23 17:03:44 https://groups.google.com/forum/#!topic/beagleboard-gsoc/lns9QnPQKnk May 23 17:03:59 chanakya_vc: ^^^ May 23 17:05:12 bradfa, I don't think that it would matter much for the firmware part of the code,whatever I write? May 23 17:05:27 Unless there have been sweeping changes to remoteproc? May 23 17:05:31 chanakya_vc: no, just the kernel which will likely matter May 23 17:05:59 *RPMsg which I don't think there have been any May 23 17:06:08 bradfa^^ May 23 17:06:11 no, that area if very stable May 23 17:06:14 s/if/is/ May 23 17:06:22 chanakya_vc: you *WILL* need to end up running the proper kernel, so if you do borrow a bbb from your lab, just make a note of what was loaded on and then download the flasher for taht image, then blow away and load your own things that you need (at the end of gsoc you can reflash to how the lab had it) May 23 17:08:27 bradfa, Okay.I do have a BBB at the moment(borrowed on a temporary basis from the lab).I will start working on that.As mdp suggests there have been not many changes to the RPMsg so it wouln't matter for the code May 23 17:08:59 chanakya_vc: ok, sounds good May 23 17:09:21 bradfa, However if the BBB doesn't arrive b4 I start with the drivers,I will most certainly flash the BBB with Jessie May 23 17:09:36 chanakya_vc: sounds good May 23 17:10:09 So It wouldn't be a problem. May 23 17:11:22 bradfa,mdp I have been researching a bit on RPMsg and using it for firmware is just a matter of calling out a few functions in the firmware. May 23 17:11:45 The real challenge is going to get the SPI core to talk to it via a master May 23 17:17:46 bradfa,mdp Anyway let me get back to you with the details on the mail. May 23 17:18:17 chanakya_vc: ok May 23 17:26:50 bradfa, mdp http://processors.wiki.ti.com/index.php/RPMsg_Quick_Start_Guide May 23 17:27:39 bradfa, Here they have given the steps assuming that the PRU software support package is installed onto the host system May 23 17:29:00 bradfa, mdp So I am assuming that I would get the PRU code generation tools for the host system and not the AM335x version which lets me compile code natively on the BBB. May 23 17:29:36 chanakya_vc: afaik, you can compile your pru fw on any machine, either bbb or your PC, it should produce the same code if you are using the same version of the pru code gen tools May 23 17:29:44 well, there's lots of ways to do it May 23 17:29:56 chanakya_vc: either place you compile, it'll still be a cross compile, as pru!=arm May 23 17:29:59 chanakya_vc: I suggested host since I normally cross-assemble/compile everything May 23 17:30:25 chanakya_vc: but either way you want to use something like nfsroot so you have that loadable binary on the target May 23 17:31:11 some use sshfs or similar instead...either way it's nice to have your host-based editor environment May 23 17:32:11 chanakya_vc: but like mdp, I will have my pru code gen tools on a PC (not on bbb) May 23 17:35:16 mdp,bradfa, Okay,I have used scp so far to transfer binaries cross compiled on my laptop to the BBB. May 23 17:35:38 It will be the same I presume' May 23 17:35:55 chanakya_vc: that'll work May 23 17:36:50 chanakya_vc: if you find that using scp takes too long or gets annoying, take a look at using NFS to avoid having to copy stuff around as much May 23 17:37:42 bradfa, Okay I will download the Host version of the PRU generation tools along with the Software support package. May 23 17:37:52 NFS==sshfs? May 23 17:38:07 bradfa, mdp ^^ May 23 17:39:35 NFS != sshfs May 23 17:39:50 chanakya_vc: kind of, but you can have your linux kernel use a root file system which is an NFS export from another machine on a network (ie: your PC) May 23 17:40:07 sshfs is probably quicker for you to get set up, but NFS lets you actually boot your bbb from it May 23 17:41:30 bradfa,Wormo, NFS Sounds a bit complicated :P I will to read up on that.But it wouldn't be an issue I guess. May 23 17:41:38 *have May 23 17:42:41 bradfa,Apart from that would you like me to use checkpatch too? May 23 17:43:36 I don't have much experience on how to use it. I think it used to check issues with the kernel coding style? May 23 17:43:40 chanakya_vc: if you are writing kernel drivers, it's a good idea to use checkpatch, but get things working first, then just be srue to make it pretty May 23 17:43:51 pretty meaning using checkpatch :) May 23 17:44:23 bradfa, Haha. Also no requirement of Travis CI right? May 23 17:45:18 chanakya_vc: I think there is a requirement for travis, but I'm not entirely sure... I thought that pmezydlo was doing some things on travis but not sure how that worked out or what he found... May 23 17:48:01 bradfa, Okay I think we can figure that out later.It won't be required initially I guess. May 23 17:48:59 bradfa,mdp, So with all that my dev environment is set right?Nothing else required? May 23 17:49:23 chanakya_vc: afaict, you should be good to go. Work on getting the hello world going May 23 17:50:30 bradfa, Yes I will. My exams are over this Friday.Then I will be done to serious coding. May 23 17:50:36 *down May 23 17:51:46 chanakya_vc: good luck on exams :) May 23 17:54:28 bradfa, Thanks. Though they have been going forever.I am sure no one else has 1 month of exams :( May 23 17:55:14 that is a lot May 23 17:56:12 in a row at least May 23 18:01:52 Wormo, It surely is.Though we have breaks in between. In India,our high school end exams(board exams)last for a month followed by competitive exams for various engineering colleges. May 23 18:02:46 So we do get used to this.Although this is very tiresome :P May 23 18:06:52 Mine were spread out, midterm and finals for each quarter, so about 6 weeks but not in a row May 23 18:07:42 end of year was usually just like another quarter, aside from any senior projects due the last year May 23 18:29:01 Hey ! May 23 18:29:08 Morning Wormo May 23 18:29:20 Hi, sorry to say I'm heading out soon May 23 18:30:40 no problem :) May 23 18:33:29 Zeekhuge: there? May 23 18:33:40 hey kiran4399 ! May 23 18:34:08 ZeekHuge: Are you sure the link you sent the other day works for the 4.1 kernel? May 23 18:34:12 ever had a shallow repository ? struggling with it. May 23 18:34:31 ZeekHuge: I mean to say.. PRU-framework May 23 18:35:46 not very sure, there might be some bugs==typos, but i used it once, after making quite a number of corrections. Dont remember if i committed them .. May 23 18:36:04 but it will work with some modifications . May 23 18:36:54 and, why are you using 4.1 anyway ? jkridner's post says about using latest kernel image. and that is 4.4 not 4.1 May 23 18:42:15 kiran4399: ? May 23 18:42:34 ZeekHuge: How did you test it? May 23 18:42:48 dmesg .. May 23 18:42:56 K May 23 18:43:11 why 4.1 ? why not 4.4 ? May 23 18:45:02 kiran4399: ^^ May 23 18:45:25 ZeekHuge: I meant whatever was latest.. I was working on 4.1 2 months ago.. so .. May 23 18:45:25 anyways.. May 23 18:45:37 okay. May 23 18:46:10 I have a problem here .. May 23 18:46:30 I am trying to get the kernel source from kernel.org May 23 18:46:47 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git May 23 18:48:39 and had unreliable internet so used this clone.bundle approach https://www.kernel.org/cloning-linux-from-a-bundle.html May 23 18:49:14 and i am verifying the cone.bundle file , so it says clone.bundle is okay May 23 18:49:18 but when i clone it .. May 23 18:52:45 http://pastebin.com/WEygUX2Y May 23 18:53:10 that "pack has bad object at offset 632836070: inflate returned -3" error occurs all the time. May 23 18:53:49 I then tried to clone the repo, but using "git fetch --depth=N" option, increasing N every time. May 23 18:54:04 and then finally, "git fetch --unshallow" May 23 18:54:13 but the repo is empty. May 23 18:54:49 It just contains .git and size of that .git directory is 3.6 GB May 23 18:54:54 ds2: ^^ May 23 18:56:01 anyone ? May 23 18:56:21 nerdboy: ^^ mdp ^^ May 23 18:57:45 hehe ! May 23 18:58:03 got the solution. May 23 18:58:51 I tried to clone it into other repo. It gave error related to the branch. I cd-ed into the repo back and the "git checkout master" did the thing ! May 23 18:58:56 too late..what? May 23 18:59:04 aha! May 23 18:59:21 good catch May 23 19:04:24 help May 23 19:04:45 HELP May 23 19:04:55 dont ask to ask, just ask ! May 23 19:05:16 how to contribute? May 23 19:05:56 help May 23 19:06:09 and then wait till someone answers ;) May 23 19:06:17 :P May 23 19:06:55 this question would be better at #beagle May 23 19:08:16 quite active channel there. May 23 19:28:35 https://tmate.io/t/ro-a1tbGJMXlJInnMOVilvxzZoLJ May 23 19:28:41 need help ^^ May 23 19:30:21 mdp: ^^ May 23 19:32:03 oops ! just a second. May 23 19:49:37 yes, so here it is .. https://tmate.io/t/ro-GttA2pL4eQZ0PBM4DqZ0plQEq May 23 19:49:40 mdp: ^^ May 23 19:50:29 even when i have already downloaded the kernel and i am pointing the LINUX_GIT in system.sh , it is still trying to clone it again, May 23 19:51:10 you write the script .travis.yml? May 23 19:54:12 I have this script: https://github.com/pmezydlo/SPI_slave_driver_implementation/blob/master/.travis.yml May 23 19:55:25 This script download and install linux headers and commpile my driver May 23 19:58:37 me ? May 23 19:59:02 bte I got build_kernel.sh working ! May 23 19:59:06 *btw May 23 20:01:08 pmezydlo: ^^ May 23 20:03:37 pmezydlo: you using -rt- image ? May 23 20:04:26 yes> I use May 23 20:06:31 ahh .. okay. May 23 20:08:00 wget https://github.com/beagleboard/linux/archive/4.4.8-ti-rt-r22.tar.gz May 23 20:10:17 yeah that is okay, but why to use -real time- kernel ? May 23 20:10:44 pmezydlo: May 23 20:10:45 ^^ May 23 20:14:12 no I use only linux header. it is enough to compile lkm May 23 20:15:32 oh, okay. Cool ! May 23 20:15:38 but -rt- I don't know I will try check this May 23 20:22:14 you can the available versions on the bb with apt-cache search linux-image May 23 20:23:03 you'll see a lot of versions of each image, take the latest ti-rt image if you don't have it yet May 23 20:23:22 or ti or bone May 23 22:09:30 hmmm May 24 00:32:53 which Thing is this time? May 24 00:32:58 *is it May 24 00:44:15 nerdboy: ??? May 24 00:46:11 Things That Make You Go Hmmm... May 24 00:46:44 ah ds2's patented hmmmm May 24 00:46:57 sorry, spent too much time hanging around AFOTEC testers May 24 00:47:22 ^^ that was a capt herman-ism May 24 00:51:02 so coding starts today? **** ENDING LOGGING AT Tue May 24 02:59:58 2016