**** BEGIN LOGGING AT Mon Apr 01 02:59:57 2019 Apr 01 13:20:11 Hello !! anyone know about How to attach memory card with eMMC? of BBB WL Apr 01 13:20:27 uhh what? Apr 01 13:21:30 actually i need more space for my BBB WL. So i insert 4GB memory card into BBB. So, Now, How can i use or mount that memory card? Apr 01 13:22:19 just like on any linux computer Apr 01 13:23:08 if you actually want more space on the whole system though, you'll probably just want to boot from sd card (and wipe eMMC) instead of trying to use both Apr 01 13:25:04 means both not to use at same time. it's not possible!!?? Apr 01 13:25:59 If everythings in SD card then what is the use of BBB's 4GB Memory? Apr 01 13:26:01 sure it's possible, just like on any other linux computer. however, based on your questions, I suspect you're not ready for the headache it causes Apr 01 13:26:21 well the better question is what are you doing that requires more than 4 GB of memory? Apr 01 13:26:40 4 GB is a lot of space Apr 01 13:27:03 No No, u get my point in wrong way. Apr 01 13:27:14 then explain it better Apr 01 13:29:25 by default memory is less in BBB. So , now i want to add memory card for to expand that free space. Apr 01 13:30:30 if you're currently running an lxqt image (which is what's installed by default), you should first consider reflashing to the latest stretch-iot image. it has a lot more free space than the lxqt image Apr 01 13:30:44 also, it sounds like I understood you perfectly Apr 01 13:31:39 the typical reason people run out of disk space is because they're running the lxqt image, which includes a complete desktop environment. this is useful for almost nobody, but takes up a lot of space Apr 01 13:33:53 Wait, I am starting from first step. I am working on BBB Wireless. I want to increase sizeof "/dev/mmcblk1p1" which consumed 88% memory right now. I want to increase it's size from external SD card. Is it possible? If yes then how? Apr 01 13:41:37 Hey zmatt Apr 01 13:44:28 waiting ... Apr 01 13:45:12 John_: chill, I'm at work so sometimes my attention is needed elsewhere Apr 01 13:45:25 and I understood your question, you don't need to keep repeating it Apr 01 13:46:05 Ohk thank u Apr 01 13:46:15 more importantly, you've already been given all the information you need Apr 01 13:50:50 but just to repeat it in summary one more time... 1. 4GB is a lot of space, so my guess would be you're probably just wasting space on something. in particular, if you're using the lxqt image I'd recommend first reflashing to the iot image, you'll have a lot more free space 2. if you really need more than 4GB of space, the easiest solution would be to wipe eMMC and ignore it, and boot entirely from ... Apr 01 13:50:56 ...SD card instead. (in particular this is probably your best option if you insist on using the lxqt image) 3. in principle you could use both eMMC and SD card for parts of your storage in a variety of ways, just like you can on any other linux system, but this is probably a lot of headache and I don't recommend it Apr 01 13:52:14 ohk Thank u sir Apr 01 13:52:16 i got it Apr 01 13:55:52 zmatt: I remember you were surprised that I was trying to use USB for audio and said you use I2S. Does this need a specific audio cape or can I use a fairly generic I2S DAQ (I have some pcm5102 boards) ? Apr 01 13:57:26 it's on bbgw which I think causes problems, but I've seen a description from someone who was able to get it working for output only. not sure what dac he used though Apr 01 14:07:06 artag: https://pastebin.com/raw/37Vr51Wr here are some notes on the interfaces available. you'll have to cross-check it against the pins that the bbgw squanders on wireless Apr 01 14:07:49 thanks. and is there a primer on the current way of doing the dtb stuff ? Apr 01 14:08:46 (note that this description is from a hardware point of view without considering how well supported particular configurations are by the linux driver in its current state, which for example doesn't support independently clocked transmit and receive sections without a patch) Apr 01 14:08:50 Seeed also muxed a few of the audio pins on the bbgw to the audio of the wl18xx, so you'll have to think about that when you wire in your pcm5102.. Apr 01 14:09:20 it probably doesn't configure those by default though? is something you'd need to check Apr 01 14:09:31 or just keep bluetooth disabled if you don't need it Apr 01 14:09:44 yeah, I think the writeup I found noted that but was able to send the same signal to both. I'm only doing output Apr 01 14:10:28 and not bothered about bluietooth, certainly not audio Apr 01 14:11:00 artag: and not sure what you mean by "the current way of doing the dtb stuff", but if you mean a dts example for connecting to an audio codec: https://pastebin.com/raw/VmHHXagD Apr 01 14:11:13 just be-careful with gpio3_16, it needs to be low on startup, (unless you don't care about wifi) Apr 01 14:11:47 i mean, using uboot rather than whatever was previous Apr 01 14:11:57 (the mcasp node also needs to be configured, and you need to declare the codec) Apr 01 14:12:06 i know nothing about device tree so don't want to learn something obsolete :) Apr 01 14:12:21 I mean, that's just a different way of loading the overlay. the actual contents hasn't really changed Apr 01 14:12:47 except that you need to add some extra nodes to disable runtime pinmux for the pins you used if you want to be compatible with cape-universal Apr 01 14:13:02 my overlay-utils has a handy macro for it Apr 01 14:13:16 right. so far though I think I've mostly found 'do this' + 'this and that changed', so is there current howto ? Apr 01 14:14:26 i will look at overlay-utils ta Apr 01 14:14:53 um, take an existing overlay and modify it for your needs.. Apr 01 14:14:54 rcn-ee[m]: yeah, think i saw that and it does matter, thanks for reminder Apr 01 14:14:54 grab https://github.com/mvduin/overlay-utils pick an example you want to try, tweak it to taste if necessary, do 'make .dtbo", copy it to /lib/firmware (optional) and configure the path in one of the overlay vars in /boot/uEnv.txt ( Apr 01 14:15:17 (uboot_overlay_addr4-7 or dtb_overlay) Apr 01 14:15:44 then reboot and pray it still boots (u-boot indicates any and all errors by... not booting the system at all anymore) Apr 01 14:16:04 awesome :) Apr 01 14:16:10 highly convenient Apr 01 14:16:48 gpio-demo is probably a nice example, it has a fair bit of comments Apr 01 14:17:06 or uart4 Apr 01 14:17:53 you can of course also look at the official bb.org-overlays repository, but those use a different (and imho far less readable) format Apr 01 14:18:57 I also have some general notes about devicetree sourcecode here: https://pastebin.com/XC8vB33d Apr 01 14:21:26 ok, will digest those, doubtless be back ... Apr 01 14:21:36 bon apetit Apr 01 15:06:12 Hello Apr 01 15:30:47 m Apr 01 16:30:47 * n8vi returns to a project he's had to put down for a while Apr 01 16:31:23 hey guys, is anyone aware of any specific documentation of using github.com/beagleboard/image-builder with a cross-compiler? Apr 01 16:33:15 (I have the prerequisite knowledge to compile the kernel or u-boot or a homebrew project with a linaro, so, that's a starting point) Apr 01 16:34:29 it looks like it chroots into the image to do stuff, so that's going to make cross-building... challenging Apr 01 16:35:35 Hmmm Apr 01 16:35:59 you could try bind-mounting a static qemu-user-arm into the chroot to allow armhf executables to be emulated transparently inside the chroot Apr 01 16:36:21 I've had some amount of success with it previously Apr 01 16:36:26 interesting Apr 01 16:37:05 oh wait Apr 01 16:37:12 it actually does that! Apr 01 16:37:28 https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L246-L253 Apr 01 16:37:48 so it looks like it may already be designed to support cross-building Apr 01 16:38:25 so, it's supposed to automate it? Apr 01 16:38:52 I mean, automating the whole process is the whole point of image-builder, isn't it? Apr 01 16:39:29 oh, huh, I see what you're saying. It does say something about qemu when doing apt-installs, but they fail. I'll try installing qemu and see if it magically starts working Apr 01 16:39:57 install qemu-user-static specifically Apr 01 16:41:00 got it. Thanks! Apr 01 16:54:04 n8vi, qemu-user-static, is not perfect, don't be suprised if omap-image-builder locks up under some sequences.. Apr 01 17:02:14 well, so far I'm getting a bunch of 404s in what looks like an initial apt-get update Apr 01 17:03:23 so networking doesn't work? what kinda of crazy os distro do you have setup? native or emulation? Apr 01 17:03:36 also Also "Skipping acquire of configured file ... doesn't support architecture 'armhf'" Apr 01 17:04:02 I'm running mint here, and networking works, because I'm using it for IRC. I have a straight debian system, and I'll try on that. Apr 01 17:05:14 did you pass the /etc/resolv.conf to the armhf chroot? from your x86 host? Apr 01 17:05:50 I just ran the script, I thought the script set up the chroot Apr 01 17:06:53 which script? Apr 01 17:07:59 ./beagleboard.org_stretch_image.sh from github.com/beagleboard/image-builder Apr 01 17:08:23 or beagleboard.org_jessie_image.sh Apr 01 17:09:13 so pastebin the full log of what you ran.. Apr 01 17:11:57 https://pastebin.com/1tb6k49M Apr 01 17:12:42 that's not my problem. fix you host OS.. Apr 01 17:12:54 you've got backports enabled and a bunch of random crap.. Apr 01 17:13:40 Okay, I'll try it on my debian system Apr 01 17:13:56 that was mint Apr 01 17:14:51 all your 404's are from ubuntu: Err:17 http://archive.ubuntu.com/ubuntu xenial/main armhf Packages Apr 01 17:14:51 404 Not Found [IP: 91.189.88.149 80] Apr 01 17:15:50 hmm. I did do an apt-get update before trying Apr 01 17:16:05 I'll take a look at my apt-sources Apr 01 17:18:29 Honestly, i'd reinstall, you've got 3 random ppa's on top of mint along with xenial-backports ENABLED. Your system is un-supportable... Apr 01 17:22:26 n8vi: this is what you should normall see: https://gist.github.com/RobertCNelson/09b00a76794f716d22e1331b3e97201e Apr 01 17:23:18 rcn-ee[m]: but having multiple distros enabled in APT is exciting and fun! :D every upgrade you wonder whether you'll get to untangle another dependency mess or whether you end up in a situation where neither upgrading nor downgrading seems possible \o/ Apr 01 17:41:14 I think the system *is* xenial Apr 01 17:41:33 Grace ~ # apt-show-versions -b | grep backports Apr 01 17:41:33 Grace ~ # Apr 01 17:42:11 mint is based on xenial.. Apr 01 17:42:37 well "Mint" sonya is based on xenial.. Apr 01 17:43:02 anyway, I'm disabling all ppas and retrying Apr 01 17:43:53 and you have this issue too: Apr 01 17:44:09 N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://packages.linuxmint.com sonya InRelease' doesn't support architecture 'armhf' Apr 01 17:44:10 mint doesn't have armhf packages in the feed.. Apr 01 17:44:21 hmm Apr 01 17:45:27 just install debian buster.. you can get Mint's "cinnamon" desktop, as it's been merged into debian now days.. Apr 01 17:48:21 I'll set up a vm Apr 01 17:48:29 full report pending Apr 01 18:46:25 zmatt is there any active sgx users on the channel? i've got a bbb image to play with... https://rcn-ee.net/rootfs/bb.org/testing/2019-04-01/stretch-iot/ Apr 01 18:58:08 Hye Apr 01 18:58:39 hey can anyone tell me whether beaglebone black emulates VFP in software Apr 01 18:59:52 why would it bother, it has the whole 32 vp3 register set.. Apr 01 19:01:36 + neon Apr 01 19:01:54 VFPv3-D32 to be precise, while debian/ubuntu is built only for VFPv3-D16 as a minimum requirement for their port.. Apr 01 19:03:57 Just got a question from my friend asking whether beaglebone black emulates VFP in software Apr 01 19:04:17 I was like it has Neon, but the question was more like yes or no Apr 01 19:04:49 it has full hardware support for VFPv3 and Neon, so it has no reason to emulate it in software Apr 01 19:05:04 it also depends, was the "software" built to utilze the vfp? you could allways wrongly compile it... Apr 01 19:05:12 indeed Apr 01 19:05:35 (in which case it's back to your friend for messing it up.. ;) ) Apr 01 19:05:40 Exactly! I am confused whether it has capability to do so or it doesn't need to Apr 01 19:06:42 I am confused by why you think those two things are mutually exclusive Apr 01 19:08:01 or what you even mean by "having the capability to do so" ... any processor has the capability to do floating-point arithmetic in software Apr 01 19:08:54 My bad, I guess it won't emulate VFP in software since it has a dedicated VFP3 for it Apr 01 19:09:29 Is it what I think is correct? Apr 01 19:09:31 but on the beaglebone, it definitely doesn't need to, and it won't provided the software is compiled with appropriate settings (which should be the default if you use the native toolchain on the beaglebone) Apr 01 19:09:56 gotcha! Apr 01 19:09:59 thanks Apr 01 19:10:47 it's not particularly fast though, unless you use single-precision floats and use appropriate flags that allows the processor to execute them in the neon unit Apr 01 19:12:15 fair enough Apr 01 19:12:34 e.g. the neon unit can perform two single-precision additions or multiplications per cycle Apr 01 19:13:19 while vfp (non-neon) requires 9-10 cycles for an addition (single or double-precision), 10-12 cycles for a single-precision multiplication, 11-17 cycles for a double-precision multiplication Apr 01 19:14:13 so that's a pretty big difference Apr 01 19:15:21 (I don't remember the exact flags needed to allow the compiler to use the neon unit for single-precision float arithmetic, but -ffast-math definitely suffices) Apr 01 19:16:28 rcn-ee[m]: I haven't done anything with sgx in quite a while I'm afraid, although I do still care Apr 01 20:07:59 Hello Apr 01 20:08:19 What email can I send a product enquiry to for Beagleboard? Apr 01 20:10:34 Guest20765: this is not a sales channel. contact any of the distributors Apr 01 22:40:21 zmatt, rcn-ee[m]: thanks for your help. So far it appears to be going smoothly on a freshly installed debian stretch vm. Apr 01 23:11:18 okay, build complete. I'm guessing I now run ls Apr 01 23:11:21 whoops Apr 01 23:11:54 I'm guessing I now run gift_wrap_final_images.sh to get images Apr 01 23:12:01 ls Apr 01 23:12:07 damn window manager Apr 01 23:37:49 Hello! Apr 01 23:39:22 I ruined my image! New image time. Those cheap, generic WiFi dongles are not easy to set up. Apr 01 23:40:42 I feel like this is a 2015 issue that I am rehashing. Go me! Apr 01 23:42:10 I see that people set up MachineKit w/ the new, more current version of Debian. Yea boy! Apr 02 02:10:01 zmatt: Do you use nmtui as the network-manager? Apr 02 02:20:02 I know that question is off. Do not worry about it. Apr 02 02:20:50 I am going to try to set up my "dongle" w/ the BBB w/ this nmtui interface that comes w/ the network-manager. Apr 02 02:23:43 uhh what? Apr 02 02:24:11 nm is for gnome network-manager, which is not installed by default on the beaglebone and would almost certainly conflict with the normal networking setup done Apr 02 02:24:21 Oh. Apr 02 02:24:22 Okay. Apr 02 02:24:39 I was in the Debian wiki. Apr 02 02:24:57 is this still about the usb wifi stick that doesn't show up any networks? Apr 02 02:25:15 Yes zmatt: Sure but it could be so much more. Apr 02 02:25:22 I could learn more stuff. Apr 02 02:25:36 * vagrantc suspects missing firmware blobs Apr 02 02:25:43 that is not a problem that's going to be solved by a different network manager Apr 02 02:25:51 Oh. Apr 02 02:25:52 Okay. Apr 02 02:25:53 wild guess Apr 02 02:25:54 vagrantc: kernel log said it successfully loaded the firmware Apr 02 02:25:57 oh Apr 02 02:25:58 firmware! Apr 02 02:26:04 Oh. Apr 02 02:26:05 Dang. Apr 02 02:26:09 but yeah, it's probably some sort of driver incompatibility Apr 02 02:26:13 which usb adapter? Apr 02 02:26:21 usb wifi sticks are generally kind of hit-and-miss on linux Apr 02 02:26:29 Please hold. I will get the info. Apr 02 02:26:46 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter Apr 02 02:26:55 hmm. Apr 02 02:27:05 Right. Everywhere I read, it works. Apr 02 02:27:29 set_: I don't suppose you have a linux desktop computer you can test it on? Apr 02 02:27:40 (*or linux laptop) Apr 02 02:27:47 Yes. Apr 02 02:27:53 I have one! Apr 02 02:27:57 I have two! Apr 02 02:28:00 Only two. Apr 02 02:28:05 so go check if it works on those Apr 02 02:28:08 Okay. Apr 02 02:28:11 Good idea. Apr 02 02:28:20 What should I suspect if it works on those? Apr 02 02:28:32 Or one? Apr 02 02:29:17 let's cross that bridge when we get there Apr 02 02:29:20 Fine. Apr 02 02:29:33 it may be possible to figure out what's happening differently there compared to the beaglebone Apr 02 02:29:42 Please hold. This should take long. The Ubuntu machine opens up quickly. Apr 02 02:29:43 Okay. Apr 02 02:29:54 "not" take long. Sorry. Apr 02 02:30:51 Oh and this BBB is the A5C, i.e. just for reference. Apr 02 02:31:15 that's an older one, no? Apr 02 02:31:26 shouldn't matter though Apr 02 02:33:22 Heh? Apr 02 02:33:39 What is the lesson today? I am on an Ubuntu Machine. Apr 02 02:34:22 It is in the other room right now. So, I have to run there and back. Apr 02 02:34:50 take your time Apr 02 02:34:58 Okay. Apr 02 02:35:10 I will go and research ideas and perform tasks. Apr 02 02:35:16 I mean, just stick it in and see if it shows up and networking interface and, more importantly, whether it shows any wifi networks Apr 02 02:35:25 *shows up as networking interface Apr 02 02:35:36 lsusb shows it is there just like the BBB does. Apr 02 02:35:55 that's not useful information, that pretty much just means the connector isn't broken :P Apr 02 02:36:00 I will go and look through the WiFi stuff w/ ip addr. Apr 02 02:36:49 every modern linux desktop distro has a gui for networking stuff, no need to bother with commandline tools Apr 02 02:36:59 Oh. Apr 02 02:37:01 Okay. Apr 02 02:37:17 I tried w/ ip addr and nocarrier for the chip so far. Apr 02 02:37:50 I will go into networking w/ my Windows GUI stuff. Apr 02 02:38:01 it's not going to have an ip obviously until you connect to a wifi network Apr 02 02:40:11 Oh. Apr 02 02:40:15 Right! Apr 02 02:40:16 I got it! Apr 02 02:40:22 It works! Apr 02 02:40:27 WiFi! Apr 02 02:40:57 okay, pastebin the kernel log (or at least the part since you inserted the wifi stick) Apr 02 02:41:04 also, which kernel version is it? Apr 02 02:41:14 Let me check. I think 18 lts. Apr 02 02:41:21 Oh. Apr 02 02:41:22 that's not a kernel version Apr 02 02:41:23 Dang it. Apr 02 02:41:26 I know. Apr 02 02:41:30 Let me go and see. Apr 02 02:41:34 "dang it" ? Apr 02 02:42:04 4.15.x Apr 02 02:42:26 oh yea. Kernel log. Apr 02 02:42:28 Please hold. Apr 02 02:45:26 dmesg right? Apr 02 02:45:33 yes Apr 02 02:45:55 I have to go and write it down. Please bear w/ me. Apr 02 02:46:30 "write it down" ? oh the url you mean Apr 02 02:46:40 Yes. Apr 02 02:46:51 aMSqVwkk Apr 02 02:47:18 Yea zmatt: I am going to write down my kernel log on the Desktop Ubuntu machine. Apr 02 02:47:20 Yikes! Apr 02 02:47:40 Hahaahha. You must think I am thicker than a tree. Apr 02 02:47:54 I am way too lazy for that. Apr 02 02:48:34 ... Apr 02 02:48:46 That is cool. WiFi on the desktop w/ that little dongle. Apr 02 02:49:35 oh you had it already plugged in at boot instead of plugging it in after boot Apr 02 02:49:40 No. Apr 02 02:49:46 I plugged it in after boot Apr 02 02:49:58 uhh Apr 02 02:50:00 I forgot to plug it in before starting the machine. Apr 02 02:50:16 I did sign in after plugging in the dongle. Apr 02 02:50:23 But the machine was up. Apr 02 02:50:27 [ 4.106331] usbcore: registered new interface driver rtl8192cu Apr 02 02:50:32 Oh. Apr 02 02:50:36 that's 4 seconds after the kernel started Apr 02 02:50:47 Yea. Apr 02 02:50:51 Okay. I was wrong. Apr 02 02:51:03 I forgot what happened. Apr 02 02:51:11 it's okay, just makes it a bit harder to fish out the relevant lines Apr 02 02:51:12 I was getting excited. Apr 02 02:51:17 Aw. Apr 02 02:52:07 I'm pretty sure that's the same firmware file as the one it loaded on the bbb Apr 02 02:52:13 same driver Apr 02 02:52:26 Oh...I can plug in the BBB again to check. Apr 02 02:54:11 zmatt: How can I make sure I am looking in the correct dir. and files? Apr 02 02:54:37 so it could be the newer kernel, it could be a power issue (some wifi sticks require too much burst power to work well on the bbb without using e.g. a powered usb hub), could be something else that's entirely non-obvious Apr 02 02:54:44 what do you mean? Apr 02 02:55:11 Like, if I was to look in the BBB for the correct files/drivers, where would I look? Apr 02 02:55:19 the kernel log Apr 02 02:55:25 Oh. Okay. Apr 02 02:55:25 [ 4.093753] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin Apr 02 02:55:29 Aw. Apr 02 02:55:50 can you just pastebin the kernel log from the bbb? Apr 02 02:56:08 w/ the WiFi driver installed, right? Apr 02 02:56:19 adapter...whatever? Apr 02 02:56:27 yes Apr 02 02:56:32 Okay. Please hold. I will. **** ENDING LOGGING AT Tue Apr 02 02:59:57 2019