**** BEGIN LOGGING AT Wed Jun 12 03:00:27 2019 Jun 12 07:11:23 ds2: yes, today I will make it Jun 12 07:12:51 ds2: I wanted to check that my bb-xx15 works first Jun 12 07:12:59 ds2: Jun 12 07:41:35 ds2: and the particular reason for not providing updates on Monday was the fact that those updates would be outdated till Wednesday. For example, on Monday, I wasn't able to boot both dom0 and domU machines, I didn't have a power supply and I didn't know about the status of my order with a debugger. So, I didn't want to confuse other people with outdated blockers. Jun 12 10:15:23 julieng: do you know how to pass consoleto domU? Jun 12 10:15:37 I got error: (XEN) Cannot send chars to Dom1: no UART available Jun 12 10:20:59 embden_[m]: What is your DomU configuration at the moment? Jun 12 10:30:46 * embden_[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/rOWzcHzaDxehhWJmIsGIbibU > Jun 12 10:36:41 embden_[m]: I will answer on the ML. Jun 12 14:54:40 pratimugale : The last git commit was 3 days ago. What have you been up to these days? Jun 12 14:57:50 abhishek_: I was working in the 'wip' branch, I just created a pull request to the master branch Jun 12 15:04:25 abhishek_: Is this how the userspace program should look like : https://github.com/pratimugale/pruss-api/blob/master/examples/example2-rpmsg/userspace.c Jun 12 16:06:52 pranav_kumar[m]: Are you here? Jun 12 16:14:55 Yes Jun 12 16:16:11 There hasn't been a check-in or wiki update for you in a few days. How have you been doing on your project? Jun 12 16:16:27 Did you review the links I sent over to you? Jun 12 16:17:27 Get stuck in the figuring out the registers and the gpio doestnot getting activated Jun 12 16:18:49 Well, starting from getting the GPIOs exported and being set to output would be the first step. Were you able to use your prior C code to export the GPIOs you wanted to use as outputs? Jun 12 16:19:23 Made a code there is register left but i had figured it out but then also making the academy code right gpio not getting activated Jun 12 16:20:18 Plz figure out if see any problem is there Jun 12 16:20:55 What is the name of the GPIO you want to use? They follow a naming convention of GPIOX_YY. Show me the code you are currently using and lets figure it out. Jun 12 16:22:00 Gpio1_15 ,p8_15 Jun 12 16:22:55 OK, so did you watch that video with Derek Molloy on GPIOs that I sent you? Jun 12 16:23:24 Yes Jun 12 16:23:44 So, you understand that there are four GPIO banks, with each bank having 32 GPIOs. Jun 12 16:24:00 GPIO1_15 is in bank GPIO[1], the 15th bit. Jun 12 16:24:34 Yes Jun 12 16:24:37 Yes i had done that Jun 12 16:24:54 And you are doing that in the C code? Jun 12 16:25:00 Or in your pasm? Jun 12 16:25:39 No in assembly Jun 12 16:25:47 Pasm Jun 12 16:26:13 OK. First, make sure that pin is exported so that the GPIO bank "wakes up" and is responding. Jun 12 16:26:50 On your shell, try "$ echo 47 > /sys/class/gpio/export". Jun 12 16:27:18 Pld Check the last updated link in the progress wiki of day 9 june Jun 12 16:28:49 The only link on that date is a vim tutorial. Jun 12 16:29:12 And i have check that Jun 12 16:29:36 Its exported that the first thing in the derek molloy lectures Jun 12 16:29:51 I will send you the link Jun 12 16:30:28 When doing this sort of development, make sure your GPIOs work OK by using the file system method of interacting with GPIOs via the /sys/class/gpio/* files first. Jun 12 16:30:34 gm all... Jun 12 16:30:41 I'll have limited bandwidth today. Jun 12 16:30:42 https://www.ofitselfso.com/BBBCSIO/Help/BBBCSIOHelp_PRUBlinkUSR3LEDExamplePASMCode.html Jun 12 16:31:03 When you verify that the input/output of the pins are OK and that you can change their values, then you can jump into the pasm. Jun 12 16:31:10 jkridner[m]: Morning. Jun 12 16:31:20 morning Jun 12 16:32:31 glad to see a bit more traffic in here! Jun 12 16:32:32 glad to see a bit more traffic in here! Jun 12 16:32:38 Hello Jun 12 16:32:38 Hi all Jun 12 16:32:39 Hi all Jun 12 16:32:41 hi Jun 12 16:32:46 gm Jun 12 16:32:56 Mine is showing msg could not be sent internal server error Jun 12 16:33:04 good morning all Jun 12 16:34:16 I see we have all 4 students on the channel - hello! Jun 12 16:34:16 http://processors.wiki.ti.com/index.php/PRU_Linux-based_Example_Code#PRU_gpioToggle Jun 12 16:34:22 Hello everyone Jun 12 16:34:41 @cwicks hello Jun 12 16:35:18 cwicks Hi Jun 12 16:35:50 vaishnav98_: Can you go first today - report in - big accomplishments over the last week - then what are your blocks and so forth? (going first since I see jkridner is here but may have to step out of the meeting) Jun 12 16:40:12 embden: pranav_kumar and pratimugale - can you please make sure you are ready with your updates this week. Last week we lost some time waiting for ...typing... it may help you to type up your update now while we are waiting for vaishnav98_ even in a separate text app and then copy paste it when it's your turn. :) thanks Jun 12 16:40:21 jkridner ravikp7 cwicks: sure , I wasn't able to do any of the work expected to be completed last week as I was at the hospital for the last few days due to an emergency, I am recovering from the surgery and will begin work from tomorrow onwards, I hope to put in extra time to make up for the lost days and hope to catch up with the schedule, last week the only work I was able to finish was making changes suggested Jun 12 16:40:22 by jkridner to the insclick CLI Jun 12 16:40:58 Hi everyone Jun 12 16:41:32 Hi abhishek_ Jun 12 16:41:48 vaishnav98_: I'm so sorry to hear you had an emergency and hope you are recovering well. Jun 12 16:44:33 cwicks: now I'm almost alright :) Jun 12 16:44:38 vaishnav98_: health is most important Jun 12 16:45:23 vaishnav98_: any blockers? (not from time schedule) Jun 12 16:46:15 vaishnav98_: Sorry to hear. I hope you recover soon. Jun 12 16:46:31 @vaishnav98__:matrix.org: get well soon brother Jun 12 16:47:05 cwicks: no other blockers as of now, I plan to work on adding support for SPI based Click Boards in the coming week Jun 12 16:47:32 fyi, I have Suman Anna in my office right now catchng me up on pruss in the kernel. Jun 12 16:47:57 but, my lunch meeting just showed up. Jun 12 16:48:31 embden: can you go ahead next with your update and blockers? Jun 12 16:48:31 zeekhuge: pranav_kumar : Thank you for your wishes:) Jun 12 16:48:41 joys of CDT Jun 12 16:48:43 ok Jun 12 16:48:47 * embden[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/IseJLYMyOvGuTpVVNcwGvtPf > Jun 12 16:50:56 I was able to run assembly code and started to program it. By understanding it's register mapping as given in the datasheet . But the problem that gpio are not working as expected while the user led run fine if i embed this in between the program. Dont understand is it some thing related to bone_capemanger or something else. Jun 12 16:51:30 pranav_kumar[m]: verify the pinmux Jun 12 16:52:36 Blocker : activating the gpio is the main blocker for me Jun 12 16:54:12 Like as the pins i am using are not pinmuxed and i am following a chart stated in the site Jun 12 16:54:27 https://elinux.org/Ti_AM33XX_PRUSSv2#Beaglebone_PRU_connections_and_modes Jun 12 16:54:50 pranav_kumar[m]: ALL pins except for analog, power, and maybe USB, are muxed Jun 12 16:55:01 embden[m]: Thank you for the update! You mention on your weekly report you don't have an usb-ttl adapter. When do you expect it? IIRC this is the only way to get UART on the x15, so you will not be able to do much without it. Jun 12 16:55:18 pranav_kumar[m]: also, WHICH GPIOs are you using? the PRU ones or the system ones? Jun 12 16:55:56 julieng: I've already got it. Jun 12 16:56:01 pru one it is p8_15 Jun 12 16:56:36 pranav_kumar: did you try config-pin utility ? Jun 12 16:56:42 embden[m]: Perfect then :) Jun 12 16:56:56 pranav_kumar[m]: make sure it is muxed to the pr0_pruN_... signal NOT gpioX_Y Jun 12 16:57:00 yes that is working fine Jun 12 16:57:25 http://www.ofitselfso.com/BBBCSIO/Help/BBBCSIOHelp_PRUPinInOutExamplePASMCode.html i was following this link guide Jun 12 16:57:26 pranav_kumar[m]: note the mux is specific to IO direction (mux changes depending on if it is input or output Jun 12 16:58:00 ds2: Actually, he's been working with the GPIOX_YY pins using the registers, not the PRU-specific muxes. Jun 12 16:58:19 ds2: This is so we can make a more generic solution. Jun 12 16:58:19 hendersa: DOH Jun 12 16:58:40 hendersa: has he checked if he can toggle the line via the ARM side? Jun 12 16:58:48 that what is specified in the datasheet Jun 12 16:59:00 ds2: That's what we were walking through right before the meeting. Jun 12 16:59:12 https://elinux.org/images/6/65/Spruh73c.pdf Jun 12 16:59:32 julieng: right now I don't understand how booting from SD works. Should I write u-boot.bin or u-boot to the first addresses of SD card byte-by-byte, attach the cable and power on the board? Jun 12 17:02:05 hendersa: 'k... enjoy :) Jun 12 17:02:50 embden[m]: spl goes first then u-boot goes in the location after that Jun 12 17:04:07 embden[m]: Nutshell version - on startup, processor looks at the config pins for boot order. if bootorder has SD card, the SD card part is: look for signature on first sector of SD. If FAT, do the fat thing. Else if magic signature, load it into SRAM Jun 12 17:04:57 embden[m]: jump to entry point in SRAM. Usually this first code is SPL. SPL then sets up a few thingsincluding DRAM. It then loads rest of U-boot into DRAM and jumps to it. Jun 12 17:05:57 ds2: so, is SPL a part of u-boot? Jun 12 17:06:22 embden[m]: it is built from the u-boot sources and shares many of hte code but it goes away after u-boot is loaded. Jun 12 17:06:42 embden[m]: it is a shim to work around limited SRAM... DRAM needs to be setup and SPL sets up DRAM Jun 12 17:07:13 u-boot is huge (larger then SRAM) so it needs to be loaded into DRAM Jun 12 17:07:36 but DRAM isn't available on startup so SPL sets it up and loads it into DRAM Jun 12 17:08:20 ...cwicks is happy in a noisy room... Jun 12 17:08:39 embden[m]: ds2 is the best person for any questions regarding the board. I am not entirely familiar with it. Jun 12 17:08:49 pratimugale: can you go ahead and make your quick update and talk about your blockers? Jun 12 17:08:58 ds2: I understand it I more interested on from where to take spl? Jun 12 17:09:30 This week I completed writing and tested the RPMsg functions, and now I'm working on SWIG to complete for other languages and Documentation. I also sent out the mail that @jkridner wanted me to send. I had got stuck again while using rpmsg but I think I have figured it out now. No blockers. Jun 12 17:09:48 julieng: yes, I know, I wanted to find who is that person whom I can ask question :) Jun 12 17:10:09 embden[m]: the processor ROM pulls will load the SPL from the magic place in SD Jun 12 17:10:52 embden[m]: feel free to send out a email if I don't answer all your questions today; I have something in 20 minutes Jun 12 17:11:35 ds2: ok, but in what mailing list? Jun 12 17:12:34 embden[m]: you can email me and the rest of the mentors... Jun 12 17:12:44 ok Jun 12 17:13:17 embden[m]: few things to be aware of in case you are doing a search - SPL is same as MLO and same as xloader. MLO is the name if you use the FATFS option. x-loader is the name used to refer to it if you are using NAND Jun 12 17:13:48 they are all the same code.... x-loader needs to be tagged/"signed" (magic header added) Jun 12 17:14:04 ds2: Jun 12 17:14:15 ok Jun 12 17:14:50 embden[m]: and if it isn't clear, there are 2 ways the loading can happen - either direct from a raw sector at a known offset OR as a file named MLO for a FAT partition done in a quirkly way (it wants the partition table to be setup in a particular C/H/S format) Jun 12 17:17:33 embden[m]: If I am not around, see if RCN is around...he should know this stuff pretty well too Jun 12 17:24:36 pratimugale: pratimugale Do you and your mentors feel you are on schedule? Jun 12 17:25:28 zeekhuge: abhishek_ any comment on schedule for pratimugale today? Jun 12 17:28:03 cwicks: It took me some time to get started with things but now I can work faster Jun 12 17:29:14 thanks pratimugale Jun 12 17:30:26 ds2: Jun 12 17:30:30 ok Jun 12 17:32:54 pratimugale: embden_ pranav_kumar vaishnav98_ We are now in the busy time of coding. Please remember to ping your mentors for help on things in the IRC, in the email if that has been working for your team, etc. The pace of work should now be really going quickly and in order to maintain the schedules. Please communicate quickly with mentors if work is not on schedule. Don't let blockers sit, get them out in the Jun 12 17:32:55 open and on the channel with mentors please. This is the end of the official time - please keep solving blocks with mentors while you have them online now. happy coding! Jun 12 17:33:37 thanks Jun 12 17:35:47 cwicks: Sure, Thank you Jun 12 17:36:08 thank you students for your energy and enthusiasm it's exciting to see the progress on the projects. !! Jun 12 17:36:30 ...recall that cwicks loves videos :)... Jun 12 17:36:30 Will do, thanks Jun 12 17:36:35 Sure Jun 12 17:37:24 You will soon see one once mine problem get figure out @cwicks:matrix.org Jun 12 17:37:59 😁 Jun 12 18:10:14 embden[m]: https://www.digikey.com/eewiki/display/linuxonarm/BeagleBoard-X15 Jun 12 18:10:27 embden[m]: specifically - sudo dd if=./u-boot/MLO of=${DISK} count=2 seek=1 bs=128k Jun 12 18:10:30 sudo dd if=./u-boot/u-boot.img of=${DISK} count=4 seek=1 bs=384k Jun 12 18:10:42 that's the offsets for SPL (aka MLO) vs u-boot itself Jun 12 18:11:21 ds2: thanks! Jun 12 18:11:35 that's from RCN Jun 12 22:11:21 orchardsystems **** ENDING LOGGING AT Thu Jun 13 02:59:57 2019