**** BEGIN LOGGING AT Wed Jan 10 03:00:02 2018 Jan 10 10:26:04 what is beagleboard? Jan 10 10:26:51 hi Jan 10 10:28:31 HI Jan 10 11:01:23 anyone recall issues from the past (omap3) with rtc/clock_monotonic suddenly jumping? Jan 10 11:03:28 Hi, I am making fully-software-controlled dual and quad stepper controller carriers for the pocket beagle and was wondering if Linux still looks for the EEPROM on i2c1 on this board. (I was planning on giving it the capability to look like a cape, but i'll use the eeprom either way) Jan 10 11:04:14 sidenote is that this board should support any combination of the common pololu carriers for the a4988, drv8825, drv8834, and drv8880, in case anyone is interested. Jan 10 11:11:19 tasslehoff: sounds unfun Jan 10 11:19:48 zmatt: yeah. https://e2e.ti.com/support/embedded/linux/f/354/t/265663 is for another soc, but I think I may suffer from something similar Jan 10 11:30:40 just pushed my current work thus far to https://github.com/sirkha/PocketBeagleStepperCarrier Jan 10 11:40:55 tasslehoff: 131072 seconds... that's exactly 2^32 cycles @ 32768 Hz Jan 10 11:42:24 tasslehoff: the am335x isn't very similar to omap3 btw, although that doesn't exclude the possibility that it's the same issue of course Jan 10 11:43:35 tasslehoff: the erratum referenced in that post is pretty am335x-specific I think Jan 10 11:44:08 it suggests to me that the cause in that case is the counter occasionally being non-monotone Jan 10 11:44:53 (caused by glitching the counter due to noise, in case of the am335x erratum) Jan 10 11:45:07 zmatt: yeah. I get a message from twl_rtc, where it sets the system time something like 76 hours in the future Jan 10 11:45:30 that sounds like the rtc in the pmic? Jan 10 11:47:33 is the rtc itself jumping, or is it reporting that because the system time has jumped (relative to the rtc) ? Jan 10 11:47:55 https://pastebin.com/WXBUcvUM Jan 10 11:48:03 this is the relevant output I think Jan 10 11:49:21 so this is setting system clock from the pmic rtc Jan 10 11:50:29 what am I supposed to see there? all of this looks like normal output Jan 10 11:51:03 apart from the rtc evidently having a wrong date Jan 10 11:53:42 zmatt: yeah. kinda unnecessary paste. just a too verbose answer on which clock had a problem :) Jan 10 11:54:00 except it doesn't answer it Jan 10 11:54:40 I'm afk for a bit anyway, bbl Jan 10 11:55:39 zmatt: at least it says that something has messed up the rtc. itself, or someone who tried to update it Jan 10 12:42:14 that distinction is rather important though Jan 10 12:47:58 zmatt: yep :) Jan 10 14:03:34 cool, structured bindings in C++ actually work these days Jan 10 14:04:49 for( auto [k,v] : some_map ) { ... } Jan 10 14:05:12 (or for( auto &[k,v] : some_map ) { ... } when this is more appropriate) Jan 10 14:56:27 Wait... wouldn't that let you alter a value's key on the fly, in the second snippet? Jan 10 15:04:24 Regardless, it looks like they're making C++ have more Python-like features all the time, so... yay. /? /! /!? Jan 10 15:13:21 MathOnNapkins: the key would be a const reference obviously Jan 10 15:13:34 That's what I figured x0 Jan 10 15:17:11 foo.cc:31:5: error: increment of read-only reference ‘k’ Jan 10 15:17:12 ++k; Jan 10 15:17:23 so there ya go :) Jan 10 15:27:49 danke Jan 10 15:59:26 https://rcn-ee.com/rootfs/bb.org/testing/2018-01-01/lxqt-4gb/BBB-blank-debian-8.10-lxqt-4gb-armhf-2018-01-01-4gb.img.xz. Is this the link to the latest version of debian for installing on 4gb emmc? Jan 10 16:01:23 quite likely. if you are after the LXQT experience Jan 10 16:01:51 no Jan 10 16:02:37 the latest lxqt flasher is https://rcn-ee.com/rootfs/bb.org/testing/2018-01-07/stretch-lxqt/BBB-blank-debian-9.3-lxqt-armhf-2018-01-07-4gb.img.xz Jan 10 16:03:04 Thanks. Installing on the beaglebone black. I want to install newest system, which fits on the emmc. Jan 10 16:03:32 if you really want lxqt (i.e. a desktop gui), then above is the latest Jan 10 16:03:42 if you don't need lxqt, then using the iot image is recommended Jan 10 16:04:02 https://rcn-ee.com/rootfs/bb.org/testing/2018-01-07/stretch-iot/BBB-blank-debian-9.3-iot-armhf-2018-01-07-4gb.img.xz Jan 10 16:04:34 zmatt, where did you get the latest lxqt flasher link? Jan 10 16:04:41 https://elinux.org/Beagleboard:BeagleBoneBlack_Debian Jan 10 16:09:07 I just got the beaglebone black. I turned it on and a beaglebone system started. I do not know which system to install on the emmc. One which has a desktop graphical user interface. What do you recommend? Jan 10 16:12:09 lxqt has a desktop gui, iot does not, so if you want a desktop gui then lxqt Jan 10 16:13:08 other than that I feel ill-qualified to give recommendations, since a desktop gui on a bbb is not something I'd ever use Jan 10 16:16:01 I think I plugged in the HDMI of a BBB about *once* ever Jan 10 16:16:08 there are no stable system emmc debian images having a desktop graphical user interface? Jan 10 16:16:34 lxqt is a desktop ui image Jan 10 16:22:24 https://rcn-ee.com/rootfs/bb.org/testing/2018-01-07/stretch-lxqt/BBB-blank-debian-9.3-lxqt-armhf-2018-01-07-4gb.img.xz. Is the image something you can update via internet? Or do you have to flash any other day? Jan 10 16:22:43 you can install updates normally Jan 10 16:23:05 yeah I tried running a desktop once and I wondered why anybody would advertize this feature. What would be useful is a minimal UI that has one tab for easy visual pin config, and one tab for journalctl -xe or so. Or have a "kernel log JTAG to HDMI converter" or something Jan 10 16:23:42 and yes there are stable images for lxqt too, but the latest one for that is already quite old (2017-08-31) Jan 10 16:24:02 I don't think it gets that much attention, most people use the iot image Jan 10 16:24:12 kind of like having a beaglebone REPL Jan 10 16:24:26 Thanks. Have one of you tested http://freedombox.org/download/ on the beaglebone black? Do you install it on the emmc? Jan 10 16:24:46 never heard of it Jan 10 16:27:14 "stable images for lxqt too, but the latest one for that is already quite old (2017-08-31)". Where do you download it? Is there both a sdcard and emmc version? Jan 10 16:27:29 https://beagleboard.org/latest-images Jan 10 16:27:51 all images there simply run from sd card, but there are instructions on that page on how to turn such a card into an eMMC-flasher Jan 10 16:29:42 You have to configurate this image Debian 8.7 2017-03-19 4GB SD LXQT too, kin Jan 10 16:29:57 in order to install it on the emmc? Jan 10 16:34:59 uhh what? 8.7 is very ancient Jan 10 16:35:16 current images are 9.x Jan 10 16:38:29 Frankly, looking on https://beagleboard.org/latest-images I do not know which image to choose if I want a debian system with a desktop gui? One which I can update using command line and I do not have to reinstall frequently. Jan 10 16:38:58 On the emmc. Jan 10 16:40:29 Hm the way I did it was to forward individual X applications from the bbb to my desktop with SSH for stuff I needed a GUI for. For example when hooking up a bitscope to the bbb's usb port and wanting to use the bitscope UI. Maybe that's an option for you to consider. Jan 10 16:42:11 also you can install any desktop environment on the iot image afaik, it's just that there is not a strong use case for doing that. Jan 10 17:14:18 It appears, desktop on beaglebone black is not something you do. I got the computer for freedombox.org. Jan 10 17:14:29 desktop gui. Jan 10 17:20:17 I'd go with a brwoser based gui that should work Jan 10 17:20:40 I mean the bbb hosted cloud9 IDE runs quite well Jan 10 17:51:46 can i directly access peripherals (gpio) of a arm chip in uboot? Jan 10 17:54:44 I'm looking at audio output on a beaglebone black. Seems like there are 3 options: hdmi w/audio at specific resolutions, an audio cape via i2s or a usb -> audio converter Jan 10 17:55:19 I only need audio output, so I think the hdmi or usb options are probably the way forward Jan 10 17:55:36 anyone got experience in these? recommendations?? Jan 10 18:49:36 zarzar1: you can access anything in u-boot Jan 10 18:49:45 ok cool Jan 10 18:50:13 u-boot has commands for gpio specifically Jan 10 18:50:28 (e.g. those are used to toggle the leds) Jan 10 19:17:47 Hi. I am using a BB Green and it seems the line "enable_uboot_cape_universal=1" in uEnv.txt does not work. I always have to load the overlay using config-pin after boot. Is there anything that could be wrong?https://pastebin.com/bmbucuv9 Jan 10 19:18:23 Could someone suggest me an industrial case for the beagleboard x15? thank you Jan 10 20:07:40 zmatt: ok Jan 10 20:07:42 thanks Jan 10 20:08:53 I am trying to call prussdrv_open but it always fails. Any idea how to debug this issue? Jan 10 20:21:08 enable_uboot_cape_universal=1 not working suggests u-boot overlays are not functioning, probably due to an old bootloader being used Jan 10 20:21:12 are you booting from sd card? Jan 10 20:21:49 (this is probably also why uio-pruss isn't working for you) Jan 10 20:22:06 zmatt: Yes, I am booting from an SD card Jan 10 20:22:29 assuming you don't care about the contents of eMMC, try wiping it using: sudo blkdiscard /dev/mmcblk1 Jan 10 20:22:33 then reboot Jan 10 20:22:58 this will ensure the bootloader on uSD card is being used instead of the one on eMMC Jan 10 20:27:46 zmatt: I am trying to boot now while holding S2 but nothing happens so far. Maybe there was no bootloader on the sdcard. Could that be possible? Jan 10 20:28:20 I copied a backup image of my root partition to a new sdcard Jan 10 20:28:26 ah Jan 10 20:28:34 then there will indeed be no bootloader Jan 10 20:28:44 But I did not copy the first 2048 sectors I guess Jan 10 20:29:19 Can I dd the first 2048 sectors wrong a working image? Jan 10 20:29:26 *from Jan 10 20:29:52 yes but beware that that would overwrite the partition table Jan 10 20:30:04 you may want to make a backup of sector 0 and restore it afterwards to ensure it doesn't change Jan 10 20:30:22 the bootloader is located in sectors 256-2047 Jan 10 20:30:51 you can also download a fresh one and install that Jan 10 20:31:20 and with a sector size of 512 bytes I have to copy bytes 131072 to 1048575 Jan 10 20:31:36 I will give it a try Jan 10 20:34:45 this is one way of installing a fresh bootloader: https://pastebin.com/VVdrC20P Jan 10 20:36:05 (untested, but I'm reasonably sure I didn't make any mistakes) Jan 10 20:38:12 zmatt: Is 256 correct if you're talking about sectors? Jan 10 20:38:16 yes Jan 10 20:38:27 ah, because dd is also using sectors, right? Jan 10 20:38:30 yes Jan 10 20:38:35 by default it is Jan 10 20:48:21 it's blinking like hell. Looks good so far Jan 10 20:48:40 But I can not ssh so far. Jan 10 20:49:14 yeah, it's working Jan 10 20:49:18 you're the best Jan 10 20:49:34 :) Jan 10 20:49:40 I need to send you some beer. :-D You helped me a lot in the last year Jan 10 20:49:56 hehe, I don't drink beer Jan 10 20:50:15 oh :-D then somewhat else Jan 10 21:45:45 zmatt: Hm. Now I have no mmcblk1 device. Is this a thing I can change in he uEnv.txt? Jan 10 21:50:14 there's a line that configures whether emmc is disabled or not **** ENDING LOGGING AT Thu Jan 11 03:00:01 2018