**** BEGIN LOGGING AT Wed Mar 27 02:59:57 2019 Mar 27 04:08:53 Hiii Mar 27 04:09:01 Hiii Mar 27 04:59:52 hello Mar 27 05:00:52 can anyone help me with my bbblack Mar 27 05:01:22 ** Mar 27 06:15:53 just ask your question. Mar 27 10:40:11 Hi Mar 27 10:41:24 I am using BBGW 8.7. I have enabled the pru by disabling ##BeagleBone Black: HDMI (Audio/Video) disabled: dtb=am335x-boneblack-emmc-overlay.dtb andcmdline=coherent_pool=1M net.ifnames=0 quiet cape_universal=disable Mar 27 10:41:48 But this caused wifi not working Mar 27 10:42:20 Can you please explain how can I enable inbuilt wifi? Mar 27 10:42:44 "am335x-boneblack-emmc-overlay.dtb" is the wrong base dtb for a BBGW Mar 27 10:42:56 also, you're using an ancient debian image Mar 27 10:43:32 I recommend flashing the latest debian image, it has separate settings for pru and other functionalities in its /boot/uEnv.txt Mar 27 10:46:36 I know that but configuring slots and all is different in latest image Mar 27 10:46:57 event I could not find slots latest image Mar 27 10:47:06 a bit yes, but you can still disable cape-universal and configure overlays in /boot/uEnv.txt Mar 27 10:47:39 cape-universal (being able to configure individual pins at runtime) is just considered simpler for newcomers, and therefore the default Mar 27 10:48:22 runtime loading of overlays (via the slots file) has always been buggy and is now entirely deprecated, although I think you can still enable it by disabline uboot-overlays (but that's probably a bad idea and entirely untested nowadays) Mar 27 10:51:00 Do you mean doing this "echo BB-PRU1 > /sys/devices/platform/bone_capemgr/slots" is deprecated Mar 27 10:51:26 it has to be controlled in uEnv.txt file? Mar 27 10:51:35 in the latest images, yes Mar 27 10:52:18 for many use-cases however you don't need an overlay at all, you can just configure individual pins using the 'config-pin' utility Mar 27 10:55:14 We are using 8.7 version and it is running in production Mar 27 10:55:56 without any issues. Only problem now is WiFi Mar 27 10:56:04 wifi should work by default Mar 27 10:56:09 I am able to connect to wifi using USB wifi adapters Mar 27 10:56:39 To make PRU to work, i did this Mar 27 10:56:44 but if you select "am335x-boneblack-emmc-overlay.dtb" then it won't work Mar 27 10:57:09 what do you maen "to make PRU work" ? PRU should work regardless of the base dtb selected Mar 27 10:57:22 No Mar 27 10:57:37 to make PRU working, I have to disable HDMI pins Mar 27 10:57:42 the BBGW has no hdmi Mar 27 10:58:03 Sorry, think that BBBW Mar 27 10:58:14 I just used the same image in BBGW Mar 27 10:58:14 BBBW and BBGW are very different! Mar 27 10:58:22 I realized now Mar 27 10:58:36 I took backup from BBBW and restored it in BBGW Mar 27 10:58:52 the BBBW has hdmi, which occupies certain pins Mar 27 10:58:54 Yes I relaized now Mar 27 10:59:02 the BBGW is badly designed, causing wifi to occupy certain pins Mar 27 11:00:48 anyway, like I said, current images use u-boot overlays which make it easy to enable and disable bits of functionality selectively. in the old system, major functionality like wifi or hdmi had to be configured in the base dtb, which is why it had so many base dtb variants Mar 27 11:01:20 ok understood Mar 27 11:01:33 (since runtime overlays were too buggy to enable such functionality using overlays) Mar 27 11:01:43 My concern is configuring slots Mar 27 11:02:08 the overlays you'd load via slots can instead be enabled via /boot/uEnv.txt Mar 27 11:02:14 all are in code. I need to change all those if I use new image Mar 27 11:02:17 ah Mar 27 11:02:41 I mean enabling UART Mar 27 11:03:26 enabling UART, SPI, PRU pins, all are done using echo command Mar 27 11:03:44 If I use new one I have change my code Mar 27 11:04:00 yeah that has changed.. by default the uarts and spi are enabled by cape-universal and you can configure their pins using config-pin Mar 27 11:04:16 ok thanks Mar 27 11:04:17 or you could enable their overlays in /boot/uEnv.txt and not have to do anything at runtime Mar 27 11:04:26 sure thanks Mar 27 11:04:31 but anyway, to get back to your original question Mar 27 11:04:35 will try and come back if required any Mar 27 11:05:05 if you have trouble loading your PRU overlay (which I assume configures certain pins) on the BBGW with its default base dtb, then there's probably a pin conflict with the pins the BBGW uses for wifi Mar 27 11:05:05 Yes please advise if you have any Mar 27 11:05:36 if you meant the BBBW instead then you'd need to check if there's a base dtb for the bbbw with hdmi disabled Mar 27 11:05:56 which kernel version are you using? Mar 27 11:06:06 4.4 Mar 27 11:06:16 4.4-bone or 4.4-ti ? Mar 27 11:06:29 I'm guessing -ti Mar 27 11:06:49 Sorry Mar 27 11:06:50 Linux beaglebone 4.14.71-ti-r80 Mar 27 11:09:12 what? that makes no sense, then it shouldn't even boot with dtb=am335x-boneblack-emmc-overlay.dtb since it no longer has those dtb variants Mar 27 11:10:49 4.14 kernel series is not meant to be used in combination with runtime overlays Mar 27 11:11:26 oh Mar 27 11:11:29 Hello to all beagle Family members Mar 27 11:11:41 I Need ur helps Mar 27 11:11:47 any one is here? Mar 27 11:12:00 no, just 160 bots Mar 27 11:12:27 zmatt: 159 bots and one sandworm, please. Mar 27 11:12:37 I have problem with memory of BBB wireless Mar 27 11:13:55 Recently, I purchase new BBB WL, and install some packages. and practice with some shell scripts and check server.js and it's examples through access cloud 9 IDE Mar 27 11:13:59 Raj_: so, if I understand correctly you have an existing production device that you're trying to extend with wifi functionality, and you're trying to use the BBBW or BBGW to do so? Mar 27 11:14:47 Now, I create any file. it shows me : " No Space left on device." Mar 27 11:14:59 What should i do? Please help me Mar 27 11:15:08 zmatt, yes exactly Mar 27 11:15:23 John_: unfortunately the default image has a crapton of stuff installed that leaves very little space Mar 27 11:15:35 through df commands: 100% used of memeory Mar 27 11:15:43 John_: if you reflash to the latest stretch-iot image you should have a lot more free space to begin with Mar 27 11:15:58 very little means only 50 MB for user. Mar 27 11:15:59 unfortunately beaglebones are shipped by default with the lxqt image, which includes a whole desktop environment Mar 27 11:16:13 no it has a lot more than 50MB of space left by default definitely Mar 27 11:16:31 but I'm guessing that a lot was used up by the packages you installed Mar 27 11:16:38 i got jessie image bydefault Mar 27 11:16:50 oh wow that's ancient, then you definitely want to reflash first Mar 27 11:16:55 it's desktop environment? Mar 27 11:17:09 jessie is an obsolete debian release Mar 27 11:17:10 reflash !!? Mar 27 11:17:15 means what i do? Mar 27 11:17:27 http://beagleboard.org/getting-started Mar 27 11:17:57 Hello Mar 27 11:18:08 i don't get u Mar 27 11:18:13 it has instructions on how to make an sd card with the latest image, and a link to instructions for reflashing Mar 27 11:18:19 i install new os or what? Mar 27 11:18:28 new OS? Mar 27 11:18:30 why? Mar 27 11:18:47 i want to work with bydefault OS Mar 27 11:18:55 because you're running a very old one, and because the one you're using leaves very little space Mar 27 11:18:56 how can i free the space. Mar 27 11:20:00 wait. i 'll give u OS release : Linux beaglebone 4.4.59-ti-r96 #1 SMP Mar 27 11:20:02 manually identifying and removing unnecessary packages is possible of course, but it's tedious and requires a lot of care Mar 27 11:20:07 yes that's ancient Mar 27 11:20:19 ancient hahaha Mar 27 11:20:25 what a man!! Mar 27 11:20:30 (that's just the kernel version btw, you can find the date using "cat /etc/dogtag") Mar 27 11:20:39 I'm not joking Mar 27 11:20:58 even i remove the installed packages : that also says NO SPACE Mar 27 11:21:20 yeah once you run out of space halfway through an installation with apt, you typically have a big problem Mar 27 11:21:25 BeagleBoard.org Debian Image 2017-04-09 Mar 27 11:21:31 like I said, ancient :P Mar 27 11:22:07 haha really...it's ancient Mar 27 11:22:22 than why BBB's give this as a bydefault. Mar 27 11:22:27 Raj_: anyway: while the BBBW is fully compatible with the BBB (it just replaces ethernet by wireless), beware that the BBGW is not fully compatible with the BBB since it uses many expansion header pins for wifi Mar 27 11:23:09 Thanks @zmatt Mar 27 11:23:15 John_: the beaglebones are flashed during production, but it can easily sit on a shelf in some warehouse Mar 27 11:23:23 for months or years Mar 27 11:23:26 what u say? can i install new os? Mar 27 11:23:49 I already gave you the link to instructions: http://beagleboard.org/getting-started Mar 27 11:23:58 of this : Debian 9.5 2018-10-07 4GB SD IoT Mar 27 11:24:02 yeah Mar 27 11:24:11 without desktop. Mar 27 11:24:43 in new OS all functionality and packages available bydefault? Mar 27 11:24:58 like in old currently os? Mar 27 11:25:01 once you've booted from sd card, be sure to either reflash the eMMC (there's a link to instructions on that page) or at least erase eMMC using "sudo blkdiscard /dev/mmcblk1", otherwise you can have issues Mar 27 11:25:06 yes Mar 27 11:25:19 ohk Mar 27 11:25:26 thanks more Mar 27 11:27:04 Raj_: so you should be able to use the BBBW instead of the BBB in your existing setup, if you use the right base dtb. If the BBGW doesn't work with its default dtb, then it probably won't work in your setup at all due to pin conflict Mar 27 11:29:37 Raj_: and if you want to use 4.14 you'd either have to switch to using u-boot overlays, or you'll need to make custom base dtbs, since the feature-subset dtbs that used to exist on older kernels no longer do Mar 27 11:31:53 Hey cloud9 IDE available in new Debian 9.5 2018-10-07 4GB SD IoT OS? Mar 27 11:32:20 yes Mar 27 11:44:23 Hello Mar 27 11:45:03 How can i work with server.js and it's example? which is availble bydefault in cloud 9 IDE! Mar 27 11:45:57 ny 1? Mar 27 11:47:26 just have patience after asking a question. if someone sees your question and has an answer, they will probably answer Mar 27 11:49:01 Ohk. U know about server.js? Mar 27 11:51:26 nagging people and repeating your question is not going to get you help faster. instead, it will annoy people and cause them to ignore you Mar 27 11:52:09 I am sorry, next time I will take care. Mar 27 12:04:13 Thanks zmatt. I will try with latest version of image. Also thanks for explaining about the difference between BBB/BBBW and BBGW. Mar 27 12:21:09 Hi how can i change ssid username and password in beaglebone black wireless board Mar 27 12:21:38 Linux beaglebone 4.14.71-ti-r80 Mar 27 12:26:05 Hi Mar 27 12:27:12 Need to change wifi password beaglebone black wireless Mar 27 13:39:38 the default ssid/password settings saved in /etc/default/bb-wl18xx Mar 27 13:44:47 Any possibility to set static ip from /etc/network/interfaces -in debiab 8? Mar 27 13:44:57 for wlan0 Mar 27 13:46:05 On the wifi interface, who does that? Mar 27 15:29:34 m Mar 27 15:49:10 rcn-ee[m]: as long as connman is the default, maybe consider removing ifupdown so people don't try to use two network managers at the same time :P Mar 27 16:23:36 zmatt: a favor please. you're familiar w python, right? I have a question about it. Mar 27 16:26:08 if I created a binary file where I stored 1000 short valued integers, how can I read it into an array in python? Mar 27 16:27:14 https://docs.python.org/3/library/array.html#array.array.fromfile Mar 27 16:28:30 there are more ways, but this is one Mar 27 16:28:52 you could also mmap it and then create a memoryview of the appropriate type Mar 27 16:29:18 but for such a small array it's probably not worth the bother Mar 27 16:31:52 thanks! Mar 27 17:06:42 for arbitrary data packed from C for instance you can use the struct module also raffo Mar 27 17:07:06 say if you have records like { int x; unsigned int y; long z; char t[32]; } Mar 27 17:09:07 and if the record structure contains variable-length fields, such as C-strings, then you ditch python in favor of perl and use its unpack() instead ;) Mar 27 17:10:25 :( Mar 27 17:10:33 in that situation you can divert the ctypes module from its primary use Mar 27 17:10:39 and type in the C struct exactly as is Mar 27 17:10:57 but I'm not sure how it plays with char [] and char [0] Mar 27 17:11:38 it doesn't Mar 27 17:12:39 it's also quite annoying that there are so many different ways of dealing with binary data in the python standard library, all with their own annoying limitations Mar 27 17:16:52 ctypes is overall the most powerful option though Mar 27 17:39:44 Hi Mar 27 17:40:32 I have a Beaglebone Black but i install debian 9.5 and now i don´t have space in the memory Mar 27 17:40:52 i don´t know what´s the problem Mar 27 17:41:16 memory ? not disk? Mar 27 17:44:18 hi, i have a problem with the disk, i have a BBB but now i only have 200 mb Mar 27 17:45:03 i have a question, can i use a sd card to install programs? Mar 27 17:50:03 what? Mar 27 17:50:20 i don't have space in the disk Mar 27 17:51:11 hi Mar 27 21:06:11 This is not directly related to BBB, but still I will try my luck. I have played recently with Trinamics TMCM-6212 controller driving stepper motors. With all its power, I find TMCL is somewhat limited for what we need (or maybe I have not figured it out). Are the other good programmable stepper-motor controllers that I can look into Mar 27 22:15:40 Hello Mar 27 22:16:18 How to enable ssh connection with beagleboard x15 card ? Mar 27 22:17:29 Serge_Afflalo: ssh is enabled by default Mar 27 22:17:46 you should be able to ssh to it if you connect it via usb or ethernet Mar 27 22:18:30 the x15 is connected to internet with rj45 cable Mar 27 22:18:46 can i use putty to connect? Mar 27 22:18:56 whichever ssh client you prefer Mar 27 22:19:36 it doesn't work for me when i tried with putty. Mar 27 22:19:51 i searched for the ip addres by typing ifconfig Mar 27 22:20:01 i saw 192.168.7.2 Mar 27 22:20:08 that's the usb networking interface Mar 27 22:20:15 with this ip address it doesn't work Mar 27 22:20:30 i tried 127.0.0.1 it doesn't work too Mar 27 22:20:38 that's the loopback interface Mar 27 22:20:45 the ethernet interfaces are eth0 and eth1 Mar 27 22:20:56 ok let me check Mar 27 22:21:09 ip addr show eth0 Mar 27 22:21:20 (or eth1, depending on which port you connected to) Mar 27 22:21:57 i see eth0 Mar 27 22:22:06 though usually networks have a local dns which lets you connect to devices by hostname, try just typing "beaglebone" in the hostname field in putty Mar 27 22:22:15 ehh Mar 27 22:22:30 beagleboard... or whatever the hostname is of the beagleboard-x15 by default Mar 27 22:22:32 I don't remember Mar 27 22:22:51 (type "hostname" to check) Mar 27 22:24:58 hostname - BeagleBoard-X15 but it doesn't work with putty Mar 27 22:25:41 I guess maybe you don't have a local dns that works. then you'll need to connect to its ip address Mar 27 22:26:26 this is what i want to do, find its ip address Mar 27 22:26:27 or if you use the ssh client in WSL (Windows Subsystem for Linux) you should be able to connect to "beagleboard-x15.local", but I don't think that will work in putty (unless you have Bonjour for Windows installed I guess) Mar 27 22:26:44 like I just said, "ip addr show eth0" or "ip addr show eth1" Mar 27 22:29:53 it works Mar 27 22:30:00 thank you **** ENDING LOGGING AT Thu Mar 28 02:59:57 2019