**** BEGIN LOGGING AT Thu May 31 03:00:08 2018 May 31 03:47:38 this overlay fails to apply... https://gist.github.com/kenrestivo/06c6905f610a9dc8af532dd9ba84fd4b May 31 03:47:45 no real error message, just, it fails. May 31 03:47:51 all i wanted was to add a pulldown :( May 31 03:48:17 what is "&buttonled0" referring to? May 31 03:49:07 itself? May 31 03:49:09 &label needs to refer to an existing label, either in the base dts or in the overlay May 31 03:49:10 does it need a name? May 31 03:49:16 aha May 31 03:49:34 e.g. &buttonled0_pins refers to the node labeled with buttonled0_pins: May 31 03:49:38 do i need that stanza at all? May 31 03:49:44 what are you trying to do? May 31 03:49:54 set P9_23 to be a pulldown gpio May 31 03:49:58 1.17 May 31 03:50:28 i'd like to get it to be 0x27 when it shows up in kernel/debug May 31 03:51:04 it's 0x2f now May 31 03:51:43 pins:pin 49 (44e108c4.0) 0000002f pinctrl-single May 31 03:51:54 if it's a led, you probably want to use a gpio-of-helper to setup the gpio as init-low output May 31 03:52:03 oh? May 31 03:52:13 rather than relying on weak internal pull May 31 03:52:41 i have not used gpio-of-helper May 31 03:52:58 you're evidently using my overlay-utils. it includes a gpio example (gpio-demo.dtsi) May 31 03:53:12 yes, but where is the gpio-of-helper kernel module? May 31 03:53:18 compiled into the kernel May 31 03:53:23 :0 May 31 03:53:43 cool, that could make life a lot easier May 31 03:53:46 or I guess you could compile it as a module if you wanted to, but in beaglebone kernels it's compiled-in May 31 03:54:50 that's nice, i'd never heard of it May 31 03:55:06 weak pull, but i'm just driving a simple NPN May 31 03:55:27 which then drives a 5v LED, kind of a hello world but with 5V led's not 3.3v ones May 31 03:55:52 5V led? what sort of led needs 5v? o.O May 31 03:56:54 don't forget to use a suitable series resistor when driving a transistor May 31 04:00:09 an old one May 31 04:00:24 is it two leds in series or something? May 31 04:00:26 antique TTL through hole May 31 04:00:37 those need 2-3V May 31 04:00:50 like most leds May 31 04:01:25 ok, well then i'm doing a bunch of dumb things May 31 04:01:33 just funnin' around anyway May 31 04:02:03 gpio-of-helper: probe of button-led failed with error -22 May 31 04:02:26 what does your DT fragment look like? May 31 04:02:45 https://gist.github.com/kenrestivo/06c6905f610a9dc8af532dd9ba84fd4b May 31 04:03:26 are you using an ancient kernel? May 31 04:03:42 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux May 31 04:04:32 I don't know if rcn backported my gpio-of-helper enhancements to the old 4.4 series... I'd need to check May 31 04:04:48 4.4 is old? May 31 04:04:52 the older version required some additional properties May 31 04:05:12 ISTR this was the most recent BB debian image available on bb.org May 31 04:05:25 but maybe i should grab a new kern and reflash. May 31 04:05:44 uhh what download link did you use and when? 4.9 has been the default for quite a while already afaik May 31 04:06:06 I'm using 4.14 myself, as are the latest testing images May 31 04:06:41 then this is just an olde image. i'll have to start over May 31 04:07:17 it's stretch, from here https://beagleboard.org/latest-images May 31 04:07:19 the fact that you're using runtime-overlays is also kind of indicative of that, since those have been deprecated and aren't enabled by default (although they still work) May 31 04:07:29 aha, i see what happened. i did a dist-upgrade May 31 04:07:57 and never upgreaded the kernel May 31 04:08:08 (nor the bootloader) May 31 04:08:13 guess not May 31 04:08:28 hmm, cool, there's rt images too May 31 04:08:39 which do you recommend, if i wanted to keep this old stuff around? May 31 04:08:56 linux-image-4.9.99-bone10 ? May 31 04:09:08 linux-image-4.9.99-armv7-x6 ? May 31 04:09:19 linux-image-4.14.9-ti-r20 ? May 31 04:09:26 4.14-ti or 4.14-bone May 31 04:09:32 I'm using 4.14-bone myself May 31 04:10:02 thanks, i'll get on what you're on. if i ruin this image, i'll just flash a new one from bb.org May 31 04:10:23 linux-image-4.14.42-bone14 ? May 31 04:10:39 what does the boneXX mean? May 31 04:11:29 the last number versions the releases by rcn, i.e. the patchset and kernel config May 31 04:11:33 rcn is a treasure May 31 04:12:04 he's pretty amazing May 31 04:18:49 thanks for your help too. i'll play with this some more tomorrow May 31 05:35:40 hi everyone May 31 10:18:05 Hi I'm upgrading an old Debian to the current version which doesn't have the prussdrv library. Any idea where to get it? May 31 10:32:50 Guest67331: I don't know if it's part of a package, but at the very least you can find it here: https://github.com/beagleboard/am335x_pru_package/tree/master/pru_sw/app_loader May 31 10:33:55 also, just in case it's useful for you, I also have a nice python lib for using uio-pruss: https://github.com/mvduin/py-uio/#uio_pruss May 31 10:34:14 (a nice C/C++ library to replace the rather hideous libprussdrv is still on my to-do list) May 31 11:07:39 zmatt - you kindly answered my question about prussdrv - which immediately vanished May 31 11:19:05 I need a copy of the prussdrv library. zmatt kibdly told me where to find it but the screen vanished. Eeek! May 31 11:19:24 12:32 < zmatt> Guest67331: I don't know if it's part of a package, but at the very least you can find it here: https://github.com/beagleboard/am335x_pru_package/tree/master/pru_sw/app_loader May 31 11:22:18 zmatt - many thanks May 31 12:22:35 excuse me I have one question May 31 12:22:53 i have one error May 31 12:23:01 --> Perhaps kernel or device tree is too old May 31 12:23:23 beaglebeginer: http://www.catb.org/esr/faqs/smart-questions.html#symptoms May 31 12:26:48 unless that is literally the error you're getting (which I doubt, since that sentence yields 0 google results), in which case you need to explain what you're doing May 31 12:30:50 all sentence May 31 12:30:51 ERROR in rc_adc_init, failed to open iio adc interface : No such file or directory Perhaps kernel or device tree is too old ERROR: failed to run rc_adc_init() May 31 12:33:26 so, perhaps kernel or device tree *is* too old? you can find the latest images at: https://beagleboard.org/latest-images May 31 12:33:54 (if you want to reflash eMMC instead of booting from sd card, there are instructions below the download links) May 31 12:48:56 is there anyway to change the autologin from debian user to another user? May 31 12:49:23 there is May 31 12:50:28 what file do I need to edit? Ive found mixed answers when I have searched May 31 12:51:14 you're talking about the desktop environment of the lxqt image right? May 31 12:51:35 I think it uses lightdm, so check /etc/lightdm/* I guess. it can't be hard to find the setting, since it'll be configured to "debian" May 31 12:51:59 you can probably find the line using: grep -r debian /etc/lightdm May 31 12:52:31 ok ill take a look. And I was able to change the polarity for pwm. I was having the same issue, I had to change the period first. May 31 12:53:15 thanks for the help May 31 20:07:42 We plan on putting a WL1837MOD on MMC3 of the BB X15. Are there any examples of where to start with the device tree definitions? May 31 20:08:45 there should be plenty of device trees with a wl18xx May 31 20:09:34 e.g. am335x-boneblack-wireless May 31 20:11:12 zmatt: thanks. that looks promising. May 31 22:26:40 a wifi chip on a disk interface? May 31 22:28:55 troubleshooting: 1) look in logs for error, 2) google the error, 3) profit May 31 22:38:25 hmm, i guess it uses sdio which is mmc which is just another spi bus, so why not use the mmc Jun 01 00:28:05 Hi all Jun 01 00:28:21 I just got my new BBB Jun 01 00:28:48 I downlaoded an old Debian image Jun 01 00:28:56 I like to use for my project Jun 01 00:29:16 I see this "No space left on device with just one or two commands Jun 01 00:29:49 None of the other solutions listed on google is applicable to myy board Jun 01 00:51:49 No space left on device --solution ?? Jun 01 01:19:24 use the SD card? Jun 01 01:20:03 Is this addressed to me? Jun 01 01:21:45 Well yes. it's typical that no space is left due to the image putting as much useful applications as possible. The SD card slot can be used for your application, it's not ideal. The other option is to strip the image of things you aren't going to use. As for that zmatt is far more informed on that process. Jun 01 01:23:41 ok Thanks! Jun 01 01:24:00 When is Zmatt available to chat ? I can ask him. Jun 01 01:24:31 i have used another BBB before which is not functional anymore Jun 01 01:25:08 I did not have any "No space issues" earlier Jun 01 01:25:21 I am confused on why I am seeing this onmy new board Jun 01 01:25:31 Its holding back my progress Jun 01 01:27:28 he has answered before at all hours. I presume you are using a C revision board? that has 4G eMMc. So likely you may need to examine the contents of the image you programmed into it and see what was in it. Do you have a list of exactly what you need to have in the image? Jun 01 01:29:50 yes it is a Rev C board with 4G eMMC Jun 01 01:32:00 I have the image name which is bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img Jun 01 01:32:15 df command result is : Jun 01 01:32:25 df Filesystem 1K-blocks Used Available Use% Mounted on udev 10240 0 10240 0% /dev tmpfs 100720 12632 88088 13% /run /dev/mmcblk0p1 3360336 2880556 289368 91% / tmpfs 251792 4 251788 1% /dev/shm tmpfs 5120 4 5116 1% /run/lock tmpfs 251792 0 251792 0% /sys/fs/cgroup tmpfs 50360 0 5036 Jun 01 01:32:34 oops Jun 01 01:32:53 Yes this is a really old image Jun 01 01:33:07 but this is aa part of the Z-Wave ZIp gate way kit Jun 01 01:33:13 can't change to another Jun 01 01:34:09 I see that /dev/mmcblk0p1 3360336 2880556 289368 91% / Jun 01 01:34:22 is using 91% of the space Jun 01 01:34:33 I don't know what I should be deleting Jun 01 01:34:46 ZIp gate way kit? does it have specific applications on it? ' Jun 01 01:35:02 So how much space do you need then? Jun 01 01:35:14 No not at the moment Jun 01 01:36:11 Soon I do a scp of the ZIp gateway kernel Jun 01 01:37:14 and another tgz file Jun 01 01:39:41 you have ~289M of freespace on /dev/mmcblk0p1 that's no 0 space available. the tempfs likely are RDRAM so /home and user dirs are in there. Jun 01 01:40:14 oh yes sorry Jun 01 01:40:21 it as df command Jun 01 01:40:26 was Jun 01 01:42:42 Again how much space do you need? As I said the SD card can be used for storing data etc. and it looks like you have enough space for some sizable application development. Even if you replace the kernel with something it looks to me you still have space. So your question is "how much do you need? " Jun 01 01:45:37 looks like my tar files are 40 Mbad 1.8Mb Jun 01 01:47:24 42Mb or so Jun 01 01:47:44 So extract them to a directory on your computer and do a du -s * to see how much space they use. Jun 01 01:48:25 ok I will do that and get back to you Jun 01 01:59:10 for zip gateway kernel, du -s * 4284 boot 99540 lib 39692 zip_gateway_beaglebone_kernel.tar for ZIP gateway BB du -s * 4704 install 1748 zipgateway_ver2_27_beaglebone.tgz Jun 01 02:01:16 so ~150m of your 289 available still 140M left. Jun 01 02:01:33 yes that should fit Jun 01 02:01:52 I have worked with another board before and did not have this issue Jun 01 02:03:19 does the server/application have a data base or need to store data? that will need to be accounted for hence my mention of SD card use. Also temporary files etc. should use tempfs so you don't kill your flash based drive space. Jun 01 02:04:34 well considering all you aren't deleting files etc. from the mmC image so it's all good. Even if it might "seem" tight. Jun 01 02:04:41 I am not sure about that at the moment as I am just getting started and running into problems Jun 01 02:06:52 well if there is a QEMU tool to test out images on and configure without killing a live BBB that might help too. Jun 01 02:08:11 that's what I've been using with risc-v experimentation anyhow. Jun 01 02:09:10 I just reflashed the BBB Jun 01 02:09:19 and beginning all over again Jun 01 02:10:57 well you can test everything (well mostly) using QEMU it appears people have been doing that. It however may take more time than you have available. Jun 01 02:12:51 ok Jun 01 02:13:38 I suggest you take notes and keep track of your goal. When I do things like this I tend to get lost and forget what my goal is :D Jun 01 02:16:54 of potential use regarding what I just said https://www.aeronetworks.ca/2014/04/4-qemu-tool-chain-for-beaglebone-black.html Jun 01 02:19:21 ok , I will do that Jun 01 02:19:28 thanks for the link Jun 01 02:20:57 hopefully it will be of use to you. **** ENDING LOGGING AT Fri Jun 01 03:00:09 2018