**** BEGIN LOGGING AT Tue Dec 11 03:00:02 2018 Dec 11 13:58:33 hi guys Dec 11 13:59:37 would anyone be able to help me with the PRU on the beaglebone black? Dec 11 14:00:13 possibly with an example that works with a BBB right out of the box from this year? Dec 11 14:09:33 I have been looking through different examples on the forums, to try and wrap my head around this and none have them worked because they are all 2-4 years old. It seems like the BBB has changed since then and doesn't keep files in the same places. I am currently trying to run an example from PRUcookbook which just flashes the USR3 LED on the BBB itself. Looking through the Makefile I have noticed most of the paths are wrong. Dec 11 14:11:40 It would be nice to look at a program the we can load in that operates on the PRU and then outputs something that can be seen. That way I can look through the code and see what is needed to make it work instead of trying to figure out what is wrong and troubleshoot something that I don't even know how it works in the first place. Dec 11 14:13:40 Even emailing someone our more precise questions that could be answered would be great. Dec 11 14:35:13 anyone recommend a good vnc. last time i used to access a shared linux box we used vnc, is this still the best option Dec 11 14:35:30 mike121: ssh :-) Dec 11 14:35:58 can i get graphics (x window system) with that ? Dec 11 14:36:23 ssh -Y Dec 11 14:36:34 ah ok :) Dec 11 14:37:00 i'd think twice about which GUIs really need.. but its possible, sure. Dec 11 14:41:17 i just want to use node.js. seems like they drop support for 32bit linux now. my laptop is 64bit though. but i like to work on my desktop bigger screen. Dec 11 14:41:25 huh? Dec 11 14:41:32 in which way is this related? Dec 11 14:42:13 i can run the latest node.js on my laptop. ssh into it from my 32bit desktop Dec 11 14:43:04 yeah sure, but there's totally nothing GUI involved. Dec 11 14:43:49 (and nothing beagle as far as i can see, too) Dec 11 15:08:13 Guest88732: you could try my py-uio library: https://github.com/mvduin/py-uio/ Dec 11 15:08:56 its README has instructions that should work on current images, and it has a bunch of examples Dec 11 15:11:00 hmm, the list of examples in the README needs updating Dec 11 15:12:01 thank you zmatt. i will. Dec 11 15:18:01 Guest88732: as for toggling a led, there's a pru-examples/fw/gpio.h header with some useful constants Dec 11 15:35:13 Guest88732: as for toggling a led, here's an example that you can save as pru-examples/fw/toggle-led.pasm, compile using 'make', and execute using a few lines of code similar to pru-examples/basic-test.py Dec 11 15:35:36 haven't tested the example yet apart from making sure it doesn't have any syntax error Dec 11 15:36:11 (it does use some of the macros defined in common.h so be sure to check there for anything unfamiliar) Dec 11 15:45:39 m Dec 11 16:27:45 It is possible to identify a board from CLI? Dec 11 16:28:12 insivumeh: please define "identify" Dec 11 16:31:56 LetoThe2nd: I have remote acces to a "board" I suspect it is a BeagleBone Black, how can I confirm this? Dec 11 16:32:37 perl -pe 'y/\0/\n/' /proc/device-tree/model Dec 11 16:32:48 zmatt: ++ Dec 11 16:33:39 or equivalently: tr '\0' '\n' zmatt: Thanks!! [output TI AM335x BeagleBone ] Dec 11 16:40:40 if it's just saying "BeagleBone" and not "BeagleBone Black" then it should be an old BeagleBone White Dec 11 16:42:16 zmatt: At least I can start looking for the real question, understand the boot process of the BeagleBone Dec 11 16:46:24 rom loads SPL into internal SRAM, then SPL (among other things) initializes ddr3 memory and loads the full u-boot there, and then u-boot loads linux Dec 11 16:50:39 zmatt: Thanks, the thing I don't know is how to translate grub configurations to this board (as it uses uboot). I'm using debian on the board. Dec 11 16:50:55 insivumeh: the config file for the bootloader is /boot/uEnv.txt Dec 11 16:51:05 zmatt: Any documentation available? Dec 11 16:51:16 it has a fair amount of comments Dec 11 16:51:26 zmatt: OK, I'm reading it. Thanks Dec 11 16:51:38 but the most relevant bits are the uname_r variable which selects the kernel version Dec 11 16:51:58 the "cmdline" variable is where you can set additional kernel parameters Dec 11 16:52:43 oh, how old is this system? (cat /etc/dogtag ) Dec 11 17:00:35 zmatt: Very old, rcn-ee.net console Debian Image 2015-02-19 Dec 11 17:00:50 ouch Dec 11 17:03:07 zmatt: This is a seismometer, running a seedlink wave server (the standard for these kind of things) and I don't want to mess too much, only trying to install sysvinit-core Dec 11 17:03:58 zmatt: But the last time I tried, and reboot, systemd was still running Dec 11 17:04:08 you're trying to switch from systemd to sysv-rc ? why? also, that's really not an "only" Dec 11 17:04:22 or a "don't want to mess too much" Dec 11 17:04:28 also, didn't you say you're working remotely? Dec 11 17:04:36 so, once it no longer boots, it's over? Dec 11 17:06:11 zmatt: This seismometer is running OpenVPN, and systemd has this problem that you cannot restart individual configurations Dec 11 17:06:26 what do you mean by that? Dec 11 17:07:38 zmatt: In debian 7 you can start/stop different vpn client/server configurations Dec 11 17:07:59 https://github.com/OpenVPN/openvpn/blob/master/distro/systemd/README.systemd#L39-L70 Dec 11 17:08:30 of course no idea whether this works on such an ancient system Dec 11 17:10:47 zmatt: Let's try! Dec 11 17:15:43 zmatt: I have another three seismometers like this, so I'm testing all this before doing something nasty remotely Dec 11 20:03:23 Hi all, I am from Australia and we are just starting a new design based on BBB. I am looking for Altium design files for Rev C. Does anyone have these? Dec 11 20:11:19 kaushalyas: apparently conversion should be possible, but require a bit of teamwork with someone who has Orcad/Allegro... it seems Altium provides a script that needs to be run on a machine that has a licensed copy of Allegro to export the data in a format that Altium can import Dec 11 20:16:38 for the .brd anyway, I get the impression that Altium should be able to import the schematic Dec 11 20:20:06 Helle everyone, I meet one question that beaglebone black wireless does not support ad-hoc mode. What I should do? Dec 11 20:20:55 hmm, it doesn't? Dec 11 20:21:05 it's possible I guess, ad-hoc mode is rarely used nowadays Dec 11 20:22:04 Yes, I use iwconfig wlan0 mode ad-mode command, and I get "SET failed on device wlan0 ; Operation not supported." Dec 11 20:22:17 yep, you're right... it supports, managed (client), AP, monitor, mesh point, and all P2P roles Dec 11 20:23:34 Is there wifi device driver to support ad-hoc ? Dec 11 20:24:11 or I should change another board? Dec 11 20:24:54 do you really IBSS (ad-hoc) mode that badly? is there a reason you can't simply have one device be AP? or use mesh point mode? Dec 11 20:26:09 or P2P mode Dec 11 20:26:36 I have an project related ad-hoc. I must be use ad-hoc mode. Dec 11 20:28:26 well, the wl18xx doesn't support ad-hoc Dec 11 20:29:38 Oh, my god. That means I have to change other board? :( Dec 11 20:30:31 "Ad-Hoc is not supported, and no plan to support it either." -- TI employee on support forum Dec 11 20:31:24 Thanks zmatt Dec 11 20:36:02 zmatt, do you know which board support ad-hoc? Dec 11 20:40:51 no idea, I've never had any need for ad-hoc mode Dec 11 20:41:13 you could try to find a usb-wifi stick that works and supports ad-hoc mode Dec 11 20:41:25 and use that in whatever device you like Dec 11 20:42:07 bbl Dec 11 20:43:38 Zmatt, thank you very much. Dec 11 23:05:29 anyone have pointers on detecting specific models of beaglebone? Dec 11 23:05:46 check the board id in the eeprom Dec 11 23:05:46 i'm kind of looking for an equivalent to e.g. https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md Dec 11 23:06:03 ah, right on Dec 11 23:06:24 head -c 16 /sys/bus/nvmem/devices/0-00500/nvmem | hexdump -C Dec 11 23:06:54 https://github.com/beagleboard/image-builder#eeprom-database Dec 11 23:07:54 this looks like exactly what i need - thanks much! **** ENDING LOGGING AT Wed Dec 12 03:00:00 2018