**** BEGIN LOGGING AT Thu Dec 28 03:00:02 2017 Dec 28 03:05:40 Hi all, I saw that several Mikroe click boards had been added to bb.org-overlays for uboot. I am trying to get the weather click module (PB-I2C2-WEATHER-CLICK.dts) working on their mikrobus cape (BB-MIKROBUS-01-00A1.dts). I added the weather click initialization to the cape dts file at the position indicated in the code comments. I then put the resulting dtbo files in uEnv as uboot overlays and disable HDMI video & Dec 28 03:05:40 audio. When I restart, dmesg shows that I2C buses come up, but when I run i2cdetect -y -r [0-2], the click module is not found at 0x76 or 0x77 on either bus. Dmesg also shows the error "bmp280: probe of 2-0077 failed with error -121" .... does anyone have experience with the click boards and can help me debug? Can I integrate the device initialization for the weather click module into the cape dts, or do I have to load Dec 28 03:05:40 both as overlays? I am a bit confused when it comes to that. Dec 28 03:06:06 Also here the show-pins output: Dec 28 03:07:30 P9.19 / cape i²c scl 95 slow rx up 3 i²c 2 scl i2c@4819c000 (pinmux_bb_i2c2_pins) Dec 28 03:07:30 P9.20 / cape i²c sda 94 slow rx up 3 i²c 2 sda i2c@4819c000 (pinmux_bb_i2c2_pins) Dec 28 03:09:25 All this on a bb black wireless, debian stretch with 4.9.71-bone9 Kernel Dec 28 03:11:02 And here the ./version.sh output https://www.irccloud.com/pastebin/Z2todulu/ Dec 28 03:15:53 have you seen the documentation of i2cdetect? Dec 28 03:17:01 "This program can confuse your I2C bus, cause data loss and worse!" Dec 28 03:17:08 i2c is not a discoverable bus Dec 28 03:17:31 anyway, lemme check those overlays Dec 28 03:17:34 Read yes understood maybe not completely? I tried with a python script but that did not work either Dec 28 03:19:00 I don't know what that "mikrobus cape" is and don't see the .dts you mentioned Dec 28 03:19:31 the "weather click module" seems straightforward enough Dec 28 03:19:52 it should be a bme280 at address 0x76 on i2c2 Dec 28 03:20:36 if the probe is failing, my first though would be some hardware connection issue Dec 28 03:20:39 *thought Dec 28 03:21:22 yeah the cape dts does not come with bb.org overlays unfortunately. Here is the source. https://www.irccloud.com/pastebin/1A8PE6th/ Dec 28 03:22:26 that looks outdated for current systems Dec 28 03:22:54 yeah was my thought as well, I checked the cape schematic and this points towards i2c2 as well: https://download.mikroe.com/documents/add-on-boards/click-shields/mikrobus-cape/beagleboane-mikrobus-cape-manual-v100.pdf Dec 28 03:23:44 probably it's better to avoid that overlay (nearly all of it can be configured using config-pin on a modern system) and just load the PB-I2C2-WEATHER-CLICK overlay for the bme Dec 28 03:23:56 oh thanks that's a great starting point. Dec 28 03:24:34 so basically I'd see the old dts regarding what's needed, and then put that in via config-pin manually? Dec 28 03:26:04 yes. using an overlay instead of config-pin should also still be supported as alternative, but what you linked is definitely wrong since the off-by-one numbering of uarts hasn't been true since 4.x kernels Dec 28 03:27:34 great, I will configure this manually first and then maybe build an overlay once I get it working. Would that overlay be interesting for the bb.org maintainers? Dec 28 03:27:57 no idea Dec 28 03:28:31 ok thanks for the help I'll go ahead and try Dec 28 03:28:33 still, no idea why you're getting a probe error Dec 28 03:28:47 since apparently the bme device did get declared, and the i2c2 bus is enabled Dec 28 03:29:32 what's -121 anyway... Dec 28 03:29:54 EREMOTEIO Remote I/O error Dec 28 03:29:59 That's what I wonder as well, I could not find the error code explanation online. Any idea would be appreciated Dec 28 03:30:02 oookay, whatever that means Dec 28 03:30:26 yeah that's the error I get when I run a C implementation Dec 28 03:30:54 ah, it got a NACK Dec 28 03:31:26 so, it's not responsive Dec 28 03:32:53 probably the faulty cape dts messes it all up? Guess I should fix that first before anything else? Dec 28 03:32:59 okay, so that mikrobus-cape is barely even a cape, it's little more than a cape-shaped bunch of wires :P Dec 28 03:33:43 the cape dts should be entirely superfluous for the purpose of getting that module working Dec 28 03:33:53 Yeah that is what I understood now, it just has a firmware chip that stores basic cape info, and otherwise extends i2c-2 to up to 4 boards. I got it because I thought that's convenient for quickly testing stuff Dec 28 03:34:55 is the firmware-stored pinmux used at all right now? I understood that it is not? Dec 28 03:35:51 afaik the cape eeprom just contains an identifier used to locate the appropriate overlay... but I don't use capemgr or overlays myself so I've never investigated in any detail Dec 28 03:36:20 ok Dec 28 03:36:21 may actually want to avoid having the invalid overlay installed in /lib/firmware Dec 28 03:36:47 since the system should actually attempt to load it automatically at boot when it detects the cape... which you don't want Dec 28 03:37:17 good idea, will remove and go back to the weather click and focus on that. Thanks a lot for your help! Dec 28 03:37:50 yeah, double-check your connections Dec 28 03:37:57 ok Dec 28 03:38:03 and you may want to ensure you connect the module while the board is powered off Dec 28 03:38:45 yeah Dec 28 03:44:46 fasle_: actually... I just realized something Dec 28 03:44:59 keep it coming :) Dec 28 03:45:21 wait no nm, i2c2 is setup by the main dts, never mind Dec 28 03:46:57 heh I was just editing my uEnv... do I need to load the i2c2-00A0.dtbo AND the weather click, or is the weather click dtbo sufficient? Dec 28 03:51:45 i2c2 is always enabled Dec 28 03:51:58 at least, in any standard dts Dec 28 03:52:35 yeah ok that's what I thought. But adding the i2c1 dts does not hurt, right? Dec 28 04:45:43 hm running the weather click dts as only overlay at either 0x76 or 77 gives the same error message (-121). I double checked all the connections. The green status light on the weather click is lit. Dec 28 04:47:32 Any further ideas, or should I first try this without the cape in between, on a breadboard, once I have access to one? Dec 28 08:13:47 hello all Dec 28 08:14:31 I noticed that when I flashed my BBBlue, while apt-upgrading it said "failed to set locale" Dec 28 08:14:45 now I am getting a "read only filesystem" error Dec 28 08:14:52 and also "input/output error" Dec 28 08:15:08 Are the errors related to the failure to set locale? Dec 28 08:16:34 Is anyone online? Dec 28 08:18:10 Also I cannot ssh into or screen into my board sometimes on boot up Dec 28 08:18:21 it just closes the connection on its own Dec 28 08:19:03 have you tried flashing it again? Which image file do you use? Dec 28 08:26:38 I have flashed both deb 9.1 images Dec 28 08:26:42 but it never works Dec 28 08:27:03 after around 10 mins of normal operation, it shows the Input/Output error Dec 28 08:27:23 Should I try flashing deb 8,5 Dec 28 08:27:28 8.6* Dec 28 08:29:08 I do not have a blue, but how about you try a different SD card for flashing / running the system? I had many SD cards that broke down and produced weird errors. Try to format and re-image the install medium? Dec 28 08:29:43 I'm sorry but what is an "install medium"? Dec 28 08:29:48 I do not think that changing Debian releases will make a difference Dec 28 08:30:09 well, how do you flash a new Debian image on the bb blue? Dec 28 08:30:47 I download the img.xz file Dec 28 08:30:53 use etcher to burn onto my sd card Dec 28 08:31:03 right, ok Dec 28 08:31:12 insert sd card in bb blue and power up while pressing "SD" button Dec 28 08:31:16 k Dec 28 08:31:17 go to the uEnv file Dec 28 08:31:23 and uncomment the necessary line Dec 28 08:31:33 reboot while pressing the "SD" button Dec 28 08:31:36 have you tried a different SD card? I had a similar problem in the past Dec 28 08:31:41 it starts its cyclone thing and then shuts down Dec 28 08:31:44 I have not Dec 28 08:31:45 I shall Dec 28 08:31:54 thanks a lot for the reassurance haha Dec 28 08:32:00 this had me pulling out my hair Dec 28 08:32:06 yeah I had to get a new sd card ... tons of fake SD cards on Amazon unfortunately Dec 28 08:32:28 because it just randomly throws the I/O error and also a read-only file system error Dec 28 08:32:30 buy one from a legit reseller, big brand chain or so Dec 28 08:36:43 thanks Dec 28 10:06:17 hello all Dec 28 10:06:30 I have a read only file system error problem with my blue Dec 28 10:06:40 it works fine initially and then randomly throws that error Dec 28 10:07:01 I was told here that it might be due to bad SD card but I tried it with a new card and problem still persists Dec 28 10:10:28 It is very frustrating, i would appreciate any help Dec 28 10:10:35 is the problem fixable? Dec 28 10:10:58 should I dump the kernel log here the next time the error shows up? Dec 28 10:16:03 anyone on? Dec 28 12:30:36 can any one help on irq based uart read/write application for beagle bone block? Dec 28 12:31:17 kindly share source code for the above Dec 28 14:34:13 Hello all, from where can I get the flasher image for Stretch IoT? Dec 28 14:34:16 Need to flash my blue Dec 28 14:37:17 Is anyone on? Dec 28 14:47:30 * tbr waves his hand mysteriously - This is not the IRC Channel you are looking for. Dec 28 15:08:03 lol Dec 28 19:51:54 /msg nickserv info Dec 28 19:55:52 fail Dec 28 20:09:56 so harsh :P Dec 28 20:10:53 not nearly as bad as say, /msg nickserv identify flufflybunnies Dec 28 20:17:50 hehe Dec 28 20:41:39 it's that extra l that makes it hard to crack Dec 28 20:42:58 myself: i know it doesn't look like it, but that was a randomly generated password. Dec 28 20:52:05 puhh thank god it wasn't the other line Dec 28 21:02:50 What size is the DC power jack on a BeagleBone Black? Dec 28 21:06:48 Ah, 2.1mm positive tip. Dec 28 21:31:32 ball: Careful, since that size is standard on a lot of 12v bricks, but the BBB is 5v and will be instantly destroyed by 12.. Ask me how I know! :P Dec 28 21:31:54 Ouchy. Dec 28 21:32:07 odd, that shouldn't kill it, the pmic has overvoltage protection Dec 28 21:32:14 unless it was reverse polarity maybe Dec 28 21:32:39 Anyone here tried BeagleBone Green? Dec 28 21:33:05 I'll probably buy the Black first but as a gardener the Green looks intriguing Dec 28 21:33:26 Heh. The same guy blew up a beaglebone and a minnowboard max the same day, the same way. Using a 19v LCD PSU... Dec 28 21:33:39 I wonder how high that PMIC's OVP goes. Dec 28 21:33:46 the green is... at least not as misdesigned as the green wireless Dec 28 21:33:50 20v Dec 28 21:35:04 Thanks zmatt Dec 28 21:35:25 Hm. I wonder if that was close enough to the limit. The irony is that I had made carrier boards for both boards, just a piece of laser-cut MDF with the board ziptied to it, and a DC-DC converter right next to it, so he could use whatever PSU he wanted on the DCDC and it would convert it to 5v for the board. The instant something didn't boot, he bypassed the converter and blasted 19v straight into the 5v jac Dec 28 21:35:31 the green is basically the black with hdmi removed and a couple of weird random changes Dec 28 21:35:32 k... *facepalm* Dec 28 21:35:56 and "grove" connectors, which are almost-but-not-qute a standard connector you can buy elsewhere. Grrr. Dec 28 21:36:16 that falls under weird random changes Dec 28 21:36:34 Oh yeah. I like the idea but hate the fact that they don't publish a part number for those things. Dec 28 23:58:41 Can anyone recommend a 7 inch touch screen lcd display that can be used for beaglebone black and qt development Dec 29 00:01:40 what does the touchscreen have to do with qt ? Dec 29 00:08:38 for gui applications that has button controls etc. This is for learning purposes Dec 29 00:47:09 go 7 Dec 29 01:32:48 onio1: The adafruit stuff is really good, well documented and even has mounting dimensions Dec 29 01:35:06 myself: cool thanks. Have you got a link to a particular one please Dec 29 01:36:25 myself: I just saw this one https://www.adafruit.com/product/2407 Dec 29 01:36:27 https://www.adafruit.com/product/2407 Dec 29 01:36:30 haha, yup Dec 29 01:36:38 that's the one we use at work, we go through hundreds of those :) Dec 29 01:36:45 cool thank Dec 29 01:37:12 I think we've only had 2 bad ones ever, it's a pretty solid product Dec 29 01:37:34 the problem I notice is that it is in dollars which means US but I am in the UK sometimes delivery charge may be more than the unit :) Dec 29 01:37:38 only problem is it's easy to mount it wrong such that random crap is pushing on the edges of the screen, and that'll cause phantom touches, so just be mindful of how you hold it Dec 29 01:37:52 ahh, see if pimoroni has something then Dec 29 01:38:35 doesn't look like it but they might be able to get it for you, give 'em a call Dec 29 01:39:43 I have just checked myself. Dec 29 01:39:58 we are sometime isolated on this island Dec 29 01:44:33 check through https://www.adafruit.com/distributors perhaps Dec 29 01:44:35 myself: https://www.amazon.co.uk/Adafruit-HDMI-800x480-Display-Backpack/dp/B01GQFV6JG Dec 29 01:44:58 https://i.imgur.com/RG0BS1U.gif Dec 29 01:45:42 see the price difference $89 to £128.31 :) Dec 29 01:46:01 I mean you could just come over here, real estate in detroit is cheap :D Dec 29 01:46:53 :) Dec 29 01:47:59 myself: I hit the jackpot https://www.ebay.co.uk/p/Adafruit-HDMI-7-800x480-Display-Backpack-With-Touchscreen-ADA2407/1772322016 Dec 29 01:48:26 relocation to Detroit is postponed Dec 29 01:52:37 myself: did you say you use these at work. Is this with the beaglebone black or raspberry pi or derivatives of either SBC Dec 29 02:05:03 bbblack, yeah Dec 29 02:05:49 we use microhdmi-to-hdmi cables from monoprice, but that's a standard part you should be able to get anywhere Dec 29 02:07:17 be aware that the microhdmi connector is the part most likely to give issues. We have a 5-10% trouble rate with the hdmi cables, and the majority of them come good after a few unplug/replug cycles to clean the contacts Dec 29 02:10:25 we used a hdmi display for prototyping, but the actual product has the bbb plug into a board that includes an FPD-Link ("LVDS") framer Dec 29 02:11:58 that's nice, I think our guy is working on that, cuz the hdmi cable is the least reliable part of the whole stack Dec 29 02:19:05 don't forget to reinforce the boot config pull-ups (and/or pull-downs) unless the framer has sufficiently high input impedance Dec 29 02:19:45 (sufficiently high being >150 KΩ if the framer pulls down) Dec 29 02:22:09 thanks myself and zmatt Dec 29 02:22:34 myself: you know your nickname gets really confusing in sentences :P Dec 29 02:23:47 * myself bows Dec 29 02:27:06 myself and zmatt any idea on this cheaper display https://www.amazon.co.uk/Makibes-Capacitive-1024%C3%97600-interface-Raspberry/dp/B017SQ3J38/ref=sr_1_3?ie=UTF8&qid=1514512432&sr=8-3&keywords=7+hdmi+screen Dec 29 02:28:09 looking to buy for learning purposes. I have experience in microcontroller programming and electronics I am trying to get into embedded linux Dec 29 02:29:00 got my new BeagleBone Blue Dec 29 02:29:05 this one I dont want to blow up Dec 29 02:29:25 i still can't force the other one on to bring it back to life Dec 29 02:30:58 This time I'll run everything off the same 3.3V line so i dont have a chance of anything exceeding 3.3V Dec 29 02:31:23 they should put a warning on the GPS UART that has 5V out that is always on Dec 29 02:32:42 agreed, though this isn't really the best place to complain about it, especially since jkridner isn't here Dec 29 02:34:24 Oh, well I'm not sure who jkrinder is unfortunately. Dec 29 02:35:40 However, I may be misreading information, but on the OS images are there any fairly vanilla versions without any special overlays included? I am going to run arducopter, and there is some bloat on the default images that I am not sure what's safe to remove, on the overlay portion anyway Dec 29 02:44:28 ? Dec 29 02:45:00 the overlays are part of a debian package, but why would it matter if they're installed or not? they take up negligible space Dec 29 02:45:26 if you want a fairly minimalistic image and just install the stuff you need, you can download the console image Dec 29 02:56:55 well some things are possibly enabled.. I just want to make sure i'm fairly vanilla i have some permission issues with setting pins and figure it may have to do with an overlay Dec 29 02:57:17 onio1: That display looks like it might work fine, it's HDMI and USB, and capacitive screens don't need recalibration, try it out! Dec 29 02:57:17 for example **** ENDING LOGGING AT Fri Dec 29 03:00:02 2017