**** BEGIN LOGGING AT Sat Mar 16 02:59:57 2019 Mar 16 07:29:01 <__ikki__> I followed building kernel instructions from https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-4.19.y and now got various .deb packages in `deploy/` directory. So, do I need to `sudo dpkg -i *.deb` all packages in order to install the kernel ? Mar 16 07:29:31 <__ikki__> linux-headers-4.19.5-ti-r5_1xross_armhf.deb linux-upstream_1xross_armhf.buildinfo linux-image-4.19.5-ti-r5_1xross_armhf.deb linux-upstream_1xross_armhf.changes linux-libc-dev_1xross_armhf.deb Mar 16 07:29:40 linux-image usually suffices Mar 16 07:30:06 <__ikki__> And how do I transfer this linux-image to beagle ? tftp ? Mar 16 07:30:10 linux-libc-dev only needs to be vaguely the right version, so whatever is installed on your system is probably fine Mar 16 07:30:13 uhh, scp? Mar 16 07:30:23 <__ikki__> zmatt: Thanks! Mar 16 07:30:31 tftp is an obscure protocol typically only used for netbooting Mar 16 07:30:46 <__ikki__> Oh! Mar 16 07:30:59 maybe you're confused with sftp ? Mar 16 07:52:07 fred__tv_: I can't reproduce your issue here, the overlay works correctly for me Mar 16 07:53:05 (on a BBB running a fairly clean stretch-iot 2018-10-07 image) Mar 16 07:58:11 <__ikki__> zmatt: `make spi0.dtsi` make: Nothing to be done for 'spi0.dtsi'. Mar 16 07:59:02 the argument to make is the file you want to produce, i.e. never a source file Mar 16 07:59:07 make spi0.dtbo Mar 16 08:00:10 <__ikki__> zmatt: got it! Mar 16 09:30:02 Hi everyone :) I'm shopping around for a microSD card and would like to know what the effective maximum throughput of the microSD slot is on the BB Black (v1), so that I know the speed of card to not bother surpassing. Can anyone tell me? Mar 16 09:33:25 <__ikki__> zmatt: Your kernel build instructions and dt-utils script works fine without any issues. Mar 16 09:34:51 <__ikki__> Just need to confirm that P9_18 //data out is MISO, right ? Mar 16 09:49:31 To be clear, I'm not talking about "how fast can you actually move data in practice" or anything that depends on OS, file system, etc. Just talking about the hardware limits, the theoretical max of the slot, as constrained by whatever bus its connected to. Mar 16 14:28:47 zmatt: thanks all the examples work in the py-uio project Mar 16 14:28:52 looks simple enough Mar 16 14:30:34 aside from me forgetting everything I ever knew about python :) Mar 16 15:41:08 <__ikki__> Following instructions here: https://github.com/RobertCNelson/ti-linux-kernel-dev/tr ee/ti-linux-4.19.y a file `kernel_version` is created. But `cat kernel_version` gives 4.19.5-ti-r5 which isn't listed in the released tags:https://github.com/RobertCNelson/ti-linux-kernel-dev/releases Mar 16 15:42:11 <__ikki__> I built kernel for: $git describe --tags Mar 16 15:42:12 <__ikki__> 4.19.9-ti-r5 Mar 16 15:45:00 <__ikki__> $ modinfo -F vermagic KERNEL/drivers/iio/chemical/bme680_spi.ko Mar 16 15:45:09 <__ikki__> gives: 4.19.5-ti-r5 SMP preempt mod_unload modversions ARMv7 p2v8 Mar 16 15:45:32 <__ikki__> Where is this release `4.19.5-ti-r5` coming from ? Mar 16 17:02:28 Can I plug in USBmini power to BB black while running from 5v wall wart and then safely unplug the 5v barrell? Mar 16 17:13:02 i would think so Mar 16 17:13:12 doesn't it have a fancy power chip? Mar 16 17:14:15 https://elinux.org/BeagleBone_Power_Management Mar 16 17:16:01 cool Mar 16 17:16:59 * tries it ... Mar 16 17:17:17 no smoke after plugging in usb with connected 5v barrel Mar 16 17:17:34 no smoke after unplugging barrel jack Mar 16 17:17:50 no smoke after plugging back in barrel jack Mar 16 17:18:08 no smoke after unplugging usb Mar 16 17:18:14 so i would say yah ok Mar 16 17:18:40 ugh, can't find a usbmini that fits cleanly through case :-( Mar 16 17:18:42 also it didn't reset itself when doing any of that root@beaglebone:~/py-uio/src/uio/ti# uptime Mar 16 17:18:43 17:18:33 up 2:55, 2 users, load average: 0.60, 0.58, 0.55 Mar 16 17:18:54 mini? Mar 16 17:19:01 oh yeah mini right Mar 16 17:19:30 Is there an easy way to see if it's getting power usb power (from shell preferably)? Mar 16 17:19:39 from code? Mar 16 17:19:51 i don't know that .. Mar 16 17:19:58 like from ssh Mar 16 17:20:31 well if you have a usb device i guess that would indicate power from usb Mar 16 17:21:22 I'll drag a laptop over there and see if it shows up when plugged in. Mar 16 17:26:27 Cool I can see the usb netdevs enumerate when plugged in (with one of these usbmini cables) so hopefully that one's passing enough power. Mar 16 17:26:38 there is a way to read the PMIC status register Mar 16 17:26:51 http://www.ti.com/lit/ds/symlink/tps65217.pdf page 53 Mar 16 17:27:01 https://electronics.stackexchange.com/questions/322139/beaglebone-black-power-switch-detection Mar 16 17:27:09 the status register indicates the power source Mar 16 17:27:20 ACPWR | USBPWR Mar 16 17:27:43 sweet Mar 16 17:29:03 seems you get at it via the i2c Mar 16 17:31:00 Ok so what's a reasonable utility to try reading that? Mar 16 17:31:59 i think you have to kick up your google fu with 'i2c pmic status register beaglebone black' .. although maybe it is a util out there .. I'm am noob really Mar 16 17:32:26 https://www.linuxquestions.org/questions/linux-newbie-8/failing-to-read-the-correct-data-on-beagle-bone-black-using-ioctl-and-file-read-on-i2c-bus-0-a-4175576686/ i found that .. but hmm .. maybe not so much Mar 16 17:32:55 seems like you at least have to enable the proper i2c with the overlays Mar 16 17:33:21 i2cget ? maybe Mar 16 17:34:13 switching dt overlays would require a reboot no? Mar 16 17:34:30 you are running the universal cape? Mar 16 17:34:39 if so you can probably use config-pin Mar 16 17:34:44 * guessing again Mar 16 17:36:27 maybe not .. Mar 16 17:36:41 * samnob considers how distracted by BBB foo he wants to get while trying to install the new UPS ;-) Mar 16 17:38:22 sudo i2cget -y -f 0 0x24 0xA Mar 16 17:38:30 returned 0x88 Mar 16 17:38:36 heh .. maing AC power .. Mar 16 17:38:42 and then i unplugged .. oops no usb Mar 16 17:38:49 * waiting for it to come back up Mar 16 17:39:36 plugging in usb gives 0x8c Mar 16 17:40:03 Ah I was just futzing with i2detect, Rickta59 thank you for helping me lazy. Mar 16 17:40:22 hmm .. so says both 1 << 2 (usb) + 1 << 3 (ac) Mar 16 17:40:27 I'm gettning 0x8c with both powered. Mar 16 17:40:39 I'll pull the usb and see if I get 24 Mar 16 17:40:54 and now 0x84 after unplugging ac Mar 16 17:41:09 err 88. Mar 16 17:41:20 so you can detect what is plugged in Mar 16 17:41:25 Sweet. Mar 16 17:41:47 * samnob passes Rickta59 the $beverage pitcher. Mar 16 17:41:59 * goes back to writing book 'How to learn BBB by solving other people's problems' Mar 16 17:42:16 cheers! Mar 16 17:44:29 I've seen 88 and 8c as described. Now we go for 84, the BBB runs my bouncer so if I disappear ;-) Mar 16 17:44:55 So cool. Mar 16 17:45:50 so what are you actually doing with the UPS? Mar 16 17:46:59 hello Mar 16 17:47:08 Upgrading the "corner of the living room under the stairs datacenter" to support the gnubee. Mar 16 17:47:44 hello Mar 16 17:47:47 this is all to preserve your uptime count? : ( Mar 16 17:47:55 what? Mar 16 17:48:03 hi Guest19738 that was towards samnob Mar 16 17:48:15 What happened to beaglebone website, loks gutted. Mar 16 17:48:48 looks gutted. Are they out of business? Mar 16 17:48:50 which url? Mar 16 17:49:05 https://beagleboard.org Mar 16 17:49:19 Rickta59: that's the 'production' BBB. It's to keep the services running. Mar 16 17:49:52 where is the real website then? Mar 16 17:50:08 seems fine to me Mar 16 17:50:29 https://netrenderer.com/index.php i went there and typed in beaglebone.org Mar 16 17:50:37 and it looks the same as my desktop Mar 16 17:53:17 and i was using http not https Mar 16 18:29:58 site renders fine for me too Mar 16 18:30:30 (https) Mar 16 18:59:50 what is /dev/uio/gpio-irq zmatt ? Mar 16 19:00:05 * trying things in other-examples Mar 16 19:01:08 the examples in other-examples all require specific DT overlays Mar 16 19:01:32 so how do i load those? Mar 16 19:01:46 something i need to do at uboot time? Mar 16 19:02:05 they use uio-pdrv-genirq (rather than uio-pruss) to use a device directly in userspace or route an interrupt to userspace Mar 16 19:02:18 the overlays are in the dts directory Mar 16 19:02:29 i did a make in there .. seems to make Mar 16 19:03:02 I haven't updated them yet to make them cape-universal-compatible though Mar 16 19:03:27 ok .. but that is a userspace thing that doesn't use the pru? Mar 16 19:03:29 so if you want to try these examples you'd need to disable that in your /boot/uEnv.txt along with enabling the overlay you want to try Mar 16 19:03:35 yes, has nothing to do with pru Mar 16 19:03:48 thanks Mar 16 19:04:10 would would be required to make it 'capt-universal-compatible' ? Mar 16 19:04:13 what Mar 16 19:06:01 just use config-pin to set the pull up * for example of the P9_12 dts Mar 16 19:06:06 ? Mar 16 19:07:05 the USES_PIN macro from overlay-utils Mar 16 19:07:28 i.e. disable the pinmux-helper device for each pin used by the overlay Mar 16 19:07:38 ok **** ENDING LOGGING AT Sun Mar 17 02:59:57 2019