**** BEGIN LOGGING AT Sat Jun 06 02:59:57 2020 Jun 06 04:27:25 Abhishek_: I flashed the new image that you shared. This time no kernel panic on boot button press but still it is booting from mmc. Do you have time today. I would like to fix beaglelogic things today so that i can get back to primary stuff. Please let me know Jun 06 05:49:02 deepankarmaithan: Go to /opt/BeagleLogic Jun 06 05:49:07 Do a git pull Jun 06 05:49:15 Do ./install.sh Jun 06 05:49:20 And reboot Jun 06 05:54:42 deepankarmaithan: Can you post boot log from the PocketBeagle again Jun 06 05:56:45 ya sure. Jun 06 05:57:04 give me 10 min Jun 06 05:57:09 Okay Jun 06 06:01:40 Abhishek_: jkridner saketh ds2 pdp7_ Meanwhile i wrote down this post https://deebot.github.io/BootSerialLogging.html Jun 06 06:08:41 * deepankarmaithan posted a file: log6junButPress.txt (3KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/EQtgHAkbtcGbbyNmnhBvxCKh > Jun 06 06:08:55 Abhishek_: here is the new log above Jun 06 06:09:13 looks fine Jun 06 06:09:15 Now installing Jun 06 06:09:36 If you see any error, let me know immediately Jun 06 06:10:00 sure Jun 06 06:11:24 Abhishek_: https://github.com/abhishek-kakkar/BeagleLogic cloning this * just confirming if this the right one Jun 06 06:11:32 wait Jun 06 06:11:43 it's already there in /opt/BeagleLogic Jun 06 06:11:59 no it is not there Jun 06 06:12:03 thats the problem Jun 06 06:12:25 Okay maybe try in /home/debian ? Jun 06 06:12:31 ok Jun 06 06:13:43 not there Jun 06 06:13:50 hmm, Jun 06 06:14:02 uname -r ? Jun 06 06:14:18 4.19.94-ti-r42 Jun 06 06:14:25 looks ok Jun 06 06:14:27 does seem to be the emmc Jun 06 06:14:44 try dmesg | grep beaglelogic Jun 06 06:15:06 nothing comesup Jun 06 06:15:30 But the BeagleLogic cape did come up in the boot logs, that's why it looks weird Jun 06 06:15:42 journalctl | grep beaglelogic ? Jun 06 06:16:02 nothing here too Jun 06 06:16:58 The bootlog that you posted - kernel version has to be 4.9.36-ti-r46 Jun 06 06:19:06 Abhishek_: my mistake both beaglelogic and beaglewireless is connected to my laptop Jun 06 06:22:16 Abhishek_: i can see the BeagleLogic folder in the /opt Jun 06 06:22:31 do a git pull Jun 06 06:22:50 Assuming your BeagleBone is connected to the internet Jun 06 06:23:04 yes first doing the connection setup Jun 06 06:23:08 give me 10 min Jun 06 06:29:13 Abhishek_: pulled now installing Jun 06 06:32:32 Abhishek_: installed and rebooted Jun 06 06:32:40 nice Jun 06 06:32:53 Install PulseView nightly from the sigrok page Jun 06 06:33:13 Try not to upgrade the kernel on the BeagleLogic board for now Jun 06 06:33:43 ok Jun 06 06:40:47 Abhishek_: The PLuseview ui is in front of me Jun 06 06:41:21 Okay, click on "Demo Device" Jun 06 06:41:28 a window should open Jun 06 06:41:38 yes Jun 06 06:41:41 it did Jun 06 06:41:45 select BeagleLogic Jun 06 06:41:56 selected Jun 06 06:42:11 in the IP address put IP address of the BeagleLogic Jun 06 06:42:16 port as 5555 Jun 06 06:43:05 click scan device Jun 06 06:44:43 connection refused Jun 06 06:45:32 hmm Jun 06 06:45:45 do i need to change protocol. i have 2 options raw tcp and vxi Jun 06 06:45:52 raw TCP is OK Jun 06 06:46:08 i tried IP assigned to usb0 usb1 both Jun 06 06:46:27 check BeagleLogic, open a SSH prompt and type ps ax | grep -i beaglelogic Jun 06 06:47:14 896 ? Ssl 0:04 /usr/bin/nodejs /opt/BeagleLogic/server/app.js Jun 06 06:47:14 2104 pts/0 S+ 0:00 grep -i beaglelogic Jun 06 06:47:20 hmm Jun 06 06:47:37 you sure you did git pull? Jun 06 06:47:57 yes i did Jun 06 06:48:14 it should have used Go instead Jun 06 06:48:34 trying pull again Jun 06 06:49:00 it says already uptodate so i guss i did it last time Jun 06 06:50:05 Okay, do ./install.sh and paste the output Jun 06 06:50:15 you should actually do sudo ./install.sh Jun 06 06:52:02 Abhishek_: https://pastebin.com/iyycma6w here is the log Jun 06 06:52:55 go - command not found Jun 06 06:54:27 does apt has it in its repo Jun 06 06:54:39 maybe it has changed name Jun 06 06:55:36 try sudo apt install golang? Jun 06 06:56:11 ok Jun 06 06:56:41 https://tecadmin.net/install-go-on-ubuntu/ Jun 06 06:56:44 i found this Jun 06 06:56:50 should i follow this Jun 06 06:57:19 you're running Debian, it should be a little different, this one can work though Jun 06 06:57:58 apt-cache search golang ? Jun 06 06:58:02 unable to locate Jun 06 06:58:29 nothing comes up Jun 06 06:58:55 Ok, try this as well - ifconfig and check the IP addresses, they may have changed Jun 06 06:59:10 since you enabled connection sharing Jun 06 07:00:41 https://pastebin.com/qgUSHAwZ here are my ips. A new things is soft AP Jun 06 07:00:57 IP addresses haven't changed really Jun 06 07:01:23 maybe do a sudo apt update if golang isn't there? Jun 06 07:04:10 ok Jun 06 07:07:16 Abhishek_: something happedned after update. now broken dependencies https://pastebin.com/sUkskvHw Jun 06 07:07:47 run sudo apt --fix-broken install Jun 06 07:10:20 It installed some dependencies. However on the pulse view when i select beaglelogic , i see sr: bt-bluez: devid failed on the terminal Jun 06 07:10:34 that's fine Jun 06 07:10:51 I want to know if port 5555 is open on the BeagleBone Jun 06 07:13:18 i did netstat -ltup Jun 06 07:13:25 okay Jun 06 07:13:25 but no 5555 listed there Jun 06 07:13:33 hmm, which means it's not listening Jun 06 07:13:48 you have to install go first on the beaglebone Jun 06 07:13:55 so that you can build the TCP backend Jun 06 07:16:27 golang installation on beagle in progress Jun 06 07:16:34 okay Jun 06 07:18:18 the message appears again . but now rebooting may be that will help Jun 06 07:18:29 jkridner: cwicks I received DigiKey package, now mouser one remains. Jun 06 07:18:49 deepankarmaithan: reinstall beaglelogic Jun 06 07:19:14 ok Jun 06 07:26:47 Abhishek_: problem persists still see the messagebt-bluez:devid failed Jun 06 07:27:07 do you see port 5555 open on BeagleLogic Jun 06 07:28:58 no. Jun 06 07:29:04 hmm Jun 06 07:29:09 here is the output https://pastebin.com/biWhT1Fx Jun 06 07:29:45 hmm, go to /opt/BeagleLogic/tcp-server-go and ls -l there Jun 06 07:30:44 -rw-r--r-- 1 root root 2966 Jun 6 06:28 server.go Jun 06 07:30:55 type go server.go here Jun 06 07:31:02 go build server.go Jun 06 07:32:09 does the BBB have a os flashed in emmc out of the box? Jun 06 07:32:16 it should, eys Jun 06 07:32:17 *yes Jun 06 07:32:19 this worked now i have a server fil Jun 06 07:32:26 nice Jun 06 07:32:54 try restarting the BeagleLogic tcp service using "sudo service beaglelogic-tcp restart" Jun 06 07:33:07 see if you have port 5555 open now Jun 06 07:34:12 nope Jun 06 07:34:40 am i using the right command Jun 06 07:35:08 do ps ax | grep beaglelogic Jun 06 07:35:28 sorry grep -i beaglelogic Jun 06 07:36:40 897 ? Ssl 0:04 /usr/bin/nodejs /opt/BeagleLogic/server/app.js Jun 06 07:36:40 2156 pts/0 S+ 0:00 grep -i beaglelogic Jun 06 07:36:43 still same Jun 06 07:37:01 hmm Jun 06 07:38:37 sudo service beaglelogic-tcp info Jun 06 07:39:54 unrecognised service Jun 06 07:40:16 hmm, probably need to rerun the installation script Jun 06 07:40:34 ok trying Jun 06 07:44:39 reinstalled and rebooted still unrecognised service Jun 06 07:45:58 can you paste the install output? Jun 06 07:49:23 https://pastebin.com/4kdJfWvZ Here it is Jun 06 07:50:33 go install command has permission denied but we installed it seperatly using apt golang Jun 06 07:51:26 also go install command-line-arguments: open server: permission denied Jun 06 07:51:56 did you do go build with sudo? Jun 06 07:52:07 yes Jun 06 07:52:19 that explains it Jun 06 07:52:48 try "systemctl enable beaglelogic-tcp.service" Jun 06 07:52:52 with sudo Jun 06 07:54:00 elinux.org seems down, could someone please check? Jun 06 07:54:08 i checked status it says Jun 06 07:54:08 Jun 06 07:42:45 beaglebone systemd[1]: Started BeagleLogic Logic Analyzer TCP Service. Jun 06 07:54:08 Jun 06 07:42:45 beaglebone beaglelogic-tcp[823]: Listening on port 5555 Jun 06 07:54:18 yes Jun 06 07:54:20 try now Jun 06 07:54:38 on your PC, PulseView, scanning for BeagleLogic Jun 06 07:56:28 connected Jun 06 07:56:33 cool Jun 06 07:57:12 now to sample just need to connect wire Jun 06 07:57:25 Try the UART, probably the easiest Jun 06 07:57:35 ok Jun 06 07:57:41 the channel numbers are labelled as Beagle pins Jun 06 07:59:07 ok. sr: bt-bluez: devid failed this is still there so i think this doesnot have to do with our ports Jun 06 07:59:14 yeah Jun 06 07:59:21 don't worry about it for the time being Jun 06 08:00:19 thanks for the help will try capturing and will get back. have a nice day Jun 06 11:07:00 @abhishek_:matrix.org: hey did you check the slides, are they okay? Jun 06 11:08:24 vedant16[m]: Hey, I did open them but haven't looked at in detail, the theme looks nice Jun 06 11:10:00 Slide 4 - Point 2 - you'll have to work a little more on the PRU front besides implementing the language. Jun 06 11:12:42 Slide 9 - details of this are fuzzy at this point but will become more clear as you go forward and actually attack the PRU part of the problem once you have implemented the language Jun 06 11:13:31 But I still recommend that you start getting into the PRU and don't wait for the full language to be implemented, implement a few features, quickly demonstrate PoC Jun 06 11:14:12 Then you should be all set Jun 06 11:21:50 Bison is a big stopping point for me. I will complete variable declaration and assignment before monday, test it on PRU too. Jun 06 11:22:16 Okay i will make this change. Jun 06 11:23:09 Is it a necessity to implement compound arithmetic statements ? Jun 06 11:23:21 like 3 + 4 + 5 - 56 / Jun 06 11:23:38 * like 3 + 4 + 5 - 56 ? This part is taking time. Jun 06 11:23:47 start simple first, then move on to more complex features Jun 06 11:24:40 Ohk. Jun 06 12:20:36 I looked up LLVM backend, it has official support for RISC ISA, so is PRU Instruction set same as the one used in the linux core ? Jun 06 12:24:40 The PRU is a RISC ISA, sure, but is it already there? I don't know yet Jun 06 12:26:21 RISC V is there, that's different, right ? Jun 06 12:26:55 yes, that's a different ISA altogether Jun 06 12:26:56 https://www.lowrisc.org/blog/2019/07/risc-v-llvm-backend-in-clang-llvm-9.0/ Jun 06 12:33:53 ohh Jun 06 12:34:38 I flashed bbxm image on sd card, then put it in pocketbeagle, connected to pc through usb. Yet it is not showing as usb storage Jun 06 14:29:26 bbxm? Jun 06 14:33:43 Stretch image Jun 06 14:33:51 With lxqt Jun 06 14:34:07 wait BeagleBoard-xM != PocketBeagle Jun 06 14:35:09 https://beagleboard.org/latest-images Jun 06 14:35:24 "AM3358 Debian 10.3 2020-04-06 4GB SD IoT" Jun 06 14:35:43 Yup realised that, wasted 600mb Jun 06 14:44:23 I downloaded the one below. Jun 06 14:44:43 Okay Jun 06 14:44:48 Stretch for BeagleBoard via microSD card Jun 06 14:44:49 OMAP3/DM3730 Debian 9.5 2018-10-07 4GB SD LXQT image for BeagleBoard, BeagleBoard-xM Jun 06 14:45:19 fixed this thing, it was easy, just needed the right docs Jun 06 14:45:29 Good Jun 06 15:14:49 https://github.com/VedantParanjape/simpPRU/blob/master/frontend/test.sim Jun 06 15:15:08 can evaluate this. check this. Jun 06 15:15:15 added bitwise operators too. Jun 06 15:16:09 can you paste the output of the parser here too? Jun 06 15:33:42 * vedant16[m] uploaded an image: Screenshot from 2020-06-06 21-03-14.png (22KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/svdLDDGYjYxZgBRjeqEHkLse > **** ENDING LOGGING AT Sun Jun 07 02:59:56 2020