**** BEGIN LOGGING AT Mon Oct 17 02:59:58 2016 Oct 17 03:10:09 Hello Oct 17 03:29:12 still curious people seemingly some here just to say hello and then leave again Oct 17 03:29:17 *come here Oct 17 04:43:17 hi Oct 17 04:44:11 i wanted to enable automatic module loading for beagle board with kernel version 3.14.43 Oct 17 04:45:05 but the menu is not available in kernel make menu config. Can you help me how to i achieve the automatic module loading once the device is connected to beagle board Oct 17 04:51:27 any one can answer ? Oct 17 05:54:43 i wanted to enable automatic module loading for beagle board with kernel version 3.14.43 but the menu is not available in kernel make menu config. Can you help me how to i achieve the automatic module loading once the device is connected to beagle board Oct 17 06:04:13 depmod command can be used to automatically modprobe once new usb is connected to beagle bone ? Oct 17 06:17:04 vino: your question isn't really clear Oct 17 06:17:55 depmod should always be run after installing a kernel, and on most distributions this is taken care of automatically if you install a kernel via a package Oct 17 06:18:12 zmatt: i am try to automatically detect and load a module Oct 17 06:19:11 instead of modprobe done at boot time, modprobe to be done when a device is detected. Then the module should be removed once the device is disconnected Oct 17 06:19:32 zmatt: u get my point ? Oct 17 06:19:58 the kernel is normally always able to automatically detect when a module needs to be loaded; for this it does rely on an index created by depmod Oct 17 06:20:06 kernel modules are never automatically unloaded Oct 17 06:20:55 how do i populate depmod ? Oct 17 06:21:10 (I think in some cases udev may be involved to some degree also, but I've never dug into the details since it should always just work. if it doesn't then the distro is plain broken) Oct 17 06:21:14 you just run depmod Oct 17 06:21:15 that's it Oct 17 06:21:52 i tried running depmod still auto detect of usb is not working Oct 17 06:22:26 i have to run manually modprobe once the device is connected so that the kernel detects the device Oct 17 06:22:39 Hey, I tried to set dtb=am335x-boneblack-audio.dtb in uEnv.txt and now emmc is not detected during boot, dropping me to initramfs. Is there any way to recover from it without booting from SD and flashing? I guess there should be a way to override this from uBoot, but cannot find how. Oct 17 06:25:10 zmatt: any inputs ? Oct 17 06:27:36 overlord_tm: yeah you can override it, one sec Oct 17 06:30:14 overlord_tm: another possibility btw is enabling ums mode, then the eMMC shows up via usb as mass storage device (as if it's an usb stick) Oct 17 06:30:36 u-boot's drivers are slow as fuck, but good enough for fixing a config file Oct 17 06:30:42 ums 0 mmc 1 Oct 17 06:31:54 zmatt, in uboot shell?? It says unknown command ums :D Oct 17 06:32:02 huh Oct 17 06:32:18 U-Boot 2016.03-00001-gd12d09f (Mar 17 2016 - 16:16:15 -0500) Oct 17 06:32:37 how on earth Oct 17 06:32:59 this is an u-boot from one of the standard debian images for bbb ? Oct 17 06:33:04 yes Oct 17 06:33:47 http://pastebin.com/9H2D3Yyd anyhow, this should work for booting manually Oct 17 06:34:01 but still wtf why would ums no longer work Oct 17 06:34:19 you can also recover from initramfs but that's more hassle Oct 17 06:34:33 oh wait it might actually not be Oct 17 06:35:43 with a bit of luck this might work in initramfs: Oct 17 06:36:02 modprobe g_mass_storage file=/dev/mmcblk1 (or mmcblk0, whichever applies) Oct 17 06:37:40 zmatt, problem is that emmc is not detected (probably fuckup in dtb file). So i do not have /dev/mmcblk entry :s Oct 17 06:40:33 oh duh right Oct 17 06:41:00 next time maybe check http://elinux.org/BeagleBone_DTBs Oct 17 06:41:05 specifically the eMMC column :) Oct 17 06:42:33 anyhow, you can use above instructions for manually booting via u-boot, or flash a console image onto SD, boot it, mount eMMC and fix the config file Oct 17 06:42:49 or use BBBlfs to mount the beaglebone eMMC via usb and fix the config file Oct 17 06:47:01 ok weird, that u-boot version indeed seems to be missing ums, unless they renamed it or something Oct 17 06:51:09 2016.09-00003-gb2f9e49 includes it again Oct 17 06:54:57 managed to boot with manual boot script you posted :D Oct 17 06:58:19 http://pastebin.com/PBuSS4cL the steps I used to upgrade u-boot Oct 17 06:58:28 in case you're interested Oct 17 07:06:11 zmatt: any info you have about automatic module loading by kernel ? Oct 17 07:09:25 # cat modules.devname # Device nodes to trigger on-demand module loading. Oct 17 07:09:41 how do i populate modules.devname Oct 17 07:10:07 by running depmod Oct 17 07:12:05 can u share some examples of that command Oct 17 07:12:58 i want to enable gadget serial to be on-demand module loading i.e., load the module to kernel if gadget serial is connected Oct 17 07:13:00 yes: Oct 17 07:13:02 depmod Oct 17 07:13:40 :-) Oct 17 07:13:42 no args ? Oct 17 07:14:02 do you see any args in my example of its invocation? Oct 17 07:16:19 yes i dont see any args Oct 17 07:16:50 even after running depmod command modules.devname is empty, so i thought some argument is missing Oct 17 07:17:51 can u help me populate that file ? Oct 17 07:18:10 with gadget serial being loaded automatically once the device is connected Oct 17 10:43:57 sho Oct 17 10:59:54 I need help with my beaglebone green wireless! Oct 17 11:00:57 The Examples with the BBG dont work Oct 17 11:07:00 I need examples how depmod can be used to enable hotplug featues for Beagle bone Oct 17 11:14:54 vino: there are no examples, "depmod" is the full invocation and if it doesn't work then stuff is seriously broken on your system Oct 17 11:15:24 given that it works on basicaly every linux system, maybe it's time for a clean reinstall Oct 17 11:15:59 even having to invoke depmod manually is unusual Oct 17 11:25:55 Any idea where can I find some info about enabling McASP clocks in device tree? Oct 17 14:15:59 zmatt, I think I figured out most of the driver part :) At least i can read and write mcasp registers now :D Oct 17 14:16:08 tnx for the help :D Oct 17 14:45:58 okay so ethernet-over-usb no longer seems to work out of the box Oct 17 14:46:08 i have two new devices and updated the images and can't get an ip address. Oct 17 14:57:45 ill fix it if someone has some hints they could give me Oct 17 14:58:32 like which services it uses Oct 17 15:15:47 alright lets see if it works in windows Oct 17 15:25:52 i guess the out-of-the-box drivers don't work on W10? Oct 17 15:26:49 all the drivers fail to install :-( Oct 17 15:26:52 there goes my day lol Oct 17 15:27:15 hmm it says up to W10 Oct 17 15:33:46 Try this? https://github.com/beagleboard/beaglebone-getting-started/tree/master/Drivers/Windows Oct 17 15:36:30 thanks MathOnNapkins, i'm on it Oct 17 15:36:45 Thank me if it works XD Oct 17 15:36:59 I personally have no had an issue with this, and am surprised you are (Windows 8.1 here) Oct 17 15:37:02 *have not Oct 17 15:37:06 :-( Oct 17 15:37:13 did you upgrade to the latest release? Oct 17 15:37:19 I guess I thought the drivers were all signed, but maybe you have an older image or something Oct 17 15:37:39 Uh the latest image I've used was probably made about a year ago Oct 17 15:37:59 yeah i actually cant do ethernet over usb on my linux box with the latest release either Oct 17 15:38:04 so i've got some issues to dig through Oct 17 15:38:08 i'm much happier trouble shooting on linux tho Oct 17 15:40:42 meh no luck Oct 17 15:57:55 hmm disabled driver signing and it worked Oct 17 15:59:15 or it installed, i should say Oct 17 17:07:39 man this is rough Oct 17 17:13:09 Hello everyone, I just have a quick question about the BBGW Oct 17 17:14:15 hey fluxer Oct 17 17:14:16 is it possible to connect multiple sources to the BBGW's Wifi, as if it were a router? Oct 17 17:14:36 I noticed that you can configure the BBGW by connecting to it. Is this where that functionality begins and ends? Oct 17 17:15:59 @fluxer, out of the box, it's setup as an access point, so you can login and point it to another AP... To make it into a wifi router, just grab the iot image: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_iot and plug in a usb-ether adapter for the upstream.. Oct 17 17:17:35 Thanks for that info. Is there documentation for how that image enables the routing functionality? I will be needing to implement that functionality into another custom image Oct 17 17:17:56 @fluxer, it's actually just connman, and this pre-setup config: Oct 17 17:18:44 or two configs: https://github.com/rcn-ee/repos/blob/master/rcnee-access-point/suite/jessie/debian/settings & https://github.com/rcn-ee/repos/blob/master/rcnee-access-point/suite/jessie/debian/main.conf Oct 17 17:19:10 Also, I don't need internet access for this project, just need 4 other BBGW to connect to a single BBGW which will then process audio Oct 17 17:19:20 received from UDP Oct 17 17:19:34 Great, that's rcn-ee Oct 17 17:19:36 *thanks Oct 17 17:23:34 hi, do i have to do some changes with dtb files in /boot/ to work with Pru? Oct 17 18:24:47 hey rcn-ee, since your here, can you give any thoughts about how ether over usb is failing? is there a mailing list solution somewhere, i'm not the only who has had this problem but i'm going through your /opt/scripts/boot files now Oct 17 18:24:57 also, it's nice to meet you, i love your work Oct 17 18:26:35 rcn-ee: omg! you're alive! Oct 17 18:26:40 * vagrantc waves to rcn-ee Oct 17 19:05:16 so theres this part in configure_usb0.sh that says "do not modify unless you know what you are doing" Oct 17 19:05:28 <_< >_> Oct 17 19:05:33 * ayjay_t modifies Oct 17 19:05:39 * ayjay_t has no idea what hes doing Oct 17 19:52:42 ayjay_t, that's alwasy been a little picky.. Oct 17 19:53:30 rcn-ee, i've been digging through these files all day, i don't really understand how all these services interact. i know the 4 kernel add conman, but i think its something else that creates a network Oct 17 19:53:42 i know theres a lot of talk about dnsmasq, but thats not installed Oct 17 19:54:12 i'm hoping its something in the configuration, and not one of the drivers... Oct 17 19:54:20 Well, we let connman take care of eth0/wlan0, but with usb0, we control it manually thru udhcpd.. (since with connman, we can't force 192.168.8.2) Oct 17 19:54:32 okay so thats why the interface is blacklisted Oct 17 19:54:58 someday, connman will allow us to define a base starting ip.... Oct 17 19:55:32 connman is actually better at handling usb0 bringup, start dhcpd, etc... Oct 17 19:55:32 okay so i can look at udhcpd and its settings next Oct 17 19:56:04 as long as you don't need that "ip value" because every reference document says use: 192.178.8.2 Oct 17 19:56:14 so right now i get 192.168.7.2 in BBB's ifconfig, and my gentoo box sees thats something there and keeps on telling me "connecting...connection broken" Oct 17 19:56:22 waiti 8.2? Oct 17 19:56:29 sorry, 7.2, ;) Oct 17 19:56:37 haha that would have been good news, to be honest Oct 17 19:57:30 i think the rt kernel still has random usb issues, otherwise your gentoo box should connect via: sudo dhclient usbX/eth.. Oct 17 19:58:59 i think it might be the kernel too, which is disheartening, but means i need to downgrade if i want this feature Oct 17 19:59:02 and i do want this feature Oct 17 19:59:11 i don't think the 3.8's have your pinconfig though, which i rely on Oct 17 19:59:30 sadly, dhclient doesn't work. gentoo detects a lan connection, but doesn't take an ipaddress Oct 17 19:59:37 we have pin-config in 4.4.x. ;) and (4.9.x-bone) Oct 17 19:59:52 okay so there's a 4.9.x-bone? Oct 17 20:00:10 run journalctl -f on the beagle.. is dhcp kicing an address? Oct 17 20:00:39 4.9.x should be an lts, so i've been hacking on 4.8.x->4.9.x a lot to maek sure it's a drop-in for v4.4.x-ti.. Oct 17 20:01:19 yeap, 4.9.0-rc1-bone0 should be in the apt repo right now.. Oct 17 20:01:21 because this IP over usb seems to work on 3.8.x-bone79, but not on the 4.4.9-ti-r25, which is the latest release i got from the site Oct 17 20:02:01 but if i can move UP with a more recent build I might do that instead of trying to fix 4.4.9-ti-r25, i have a 4x and 3x running right next to each other and i've been trying to diff the config files to find a lead on why it doesn't work Oct 17 20:02:35 ayjay_t, which rootfs with the 4.4.9-ti-r25.. there was a few releases i had majorly messed up dnsmasq.... Oct 17 20:02:45 (finally just dropped it totally for udhcpd) Oct 17 20:03:04 i don't think there is a dnsmasq on 4.4.9-ti-r25 Oct 17 20:03:15 your vocab is a little bit ahead of mine, although i'm definitely working to get there Oct 17 20:03:36 oh, cat /etc/dogtag has the rootfs version. ;) Oct 17 20:03:49 usually just /opt/scripts/tools ; git pull is enoug to update it.. Oct 17 20:04:23 not seeing any activity on journalctl Oct 17 20:05:33 2016-05-13 Oct 17 20:06:18 rcn-ee: so, with the increase in size in the am335x_evm u-boot image, you've bumped newer image to start the first partition at 4MB? Oct 17 20:07:01 vagrantc, correcto... it's only needed for "SPL-DTS" u-boot, which am335x_evm_defconfig enables by default... Oct 17 20:07:22 and after playing with it forwhile, i went back to non-dts-spl.. ;) Oct 17 20:07:56 maybe 2016.11 it'll be ready.. (rgmi-mode was broken, for an un-released clone) Oct 17 20:08:38 rcn-ee: i was considering dropping am335x_boneblack from debian's u-boot and switching to that, since it could in theory support more platforms ... Oct 17 20:09:31 but if there are stills ome outstanding issues, maybe i'll stick with just supporting the boneblack for now Oct 17 20:09:51 vagrantc, it'll be the best option going forward, but it already blows past the 1MB spot on the disk, so that has to change.. Oct 17 20:10:03 * vagrantc needs to figure out all the parties to nudge to get the 4MB starting partition consistant across tools in debian Oct 17 20:10:22 * vagrantc thought debian's tools mostly defaulted to 2MB ... Oct 17 20:10:42 that should be good for "stretch", just not buster... Oct 17 20:21:55 rcn-ee: you think this will continue to grow by megabytes every few years? Oct 17 20:22:12 vagrantc, i hope not.. Oct 17 20:23:13 considering the am335x non-dts spl supported just as many boards as the current much bigger dts based spl. ;) Oct 17 20:26:25 ayjay_t, this is logs from usb0 networking: https://gist.github.com/RobertCNelson/0bc85dbb347cb08c963e3a5a8936f572 Oct 17 20:27:57 sounds like it's 1MB after all Oct 17 20:29:30 vagrantc, careful thou, sfdisk/etc likes to "assume" 1MB, i had to do this: https://github.com/RobertCNelson/omap-image-builder/commit/25687c0a7f525b9b72627f1d69a80bfabfa3daf0 otherwise, the "2nd" partition would start at 1MB -> and end before the 4MB spot.. Oct 17 20:31:37 hm so i guess i installed 4.4.24-ti-r55 with ./update_kernel.sh Oct 17 20:32:11 ayjay_t, that's what i'm running now. ;) Oct 17 20:32:24 i guess i'm hanging out with the cool kids then Oct 17 20:35:00 vagrantc, and i'm not sure how are are going to load the overlays.. either in u-boot's u-boot.img or read them from /boot/... so that might push use over 4MB. ;) Oct 17 20:36:56 rcn-ee: i've honestly just ignored overlays entirely Oct 17 20:37:27 vagrantc, but we can do it in u-boot... thus ignore all the kernel broken-ness. ;) Oct 17 20:37:32 my use is fairly unsophisticated Oct 17 20:39:47 welll that works Oct 17 20:39:48 rcn-ee: all this talk has me reconsidering loading u-boot.img from a filesystem again Oct 17 20:59:09 ayjay_t, you got it working? Oct 17 21:14:53 rcn-ee yeah Oct 17 21:15:07 thanks so much for your help Oct 17 21:15:15 my office and i were admiring your commit rate on github Oct 17 21:15:39 it was only 20 copy/paste/push'.s ;) Oct 17 21:15:59 well, at least you've figured out how to copy paste Oct 18 00:15:24 Hello...what does the TERM=none mean when I update bonescript? Oct 18 00:26:51 meh i always change mine to TERM=screen Oct 18 00:27:32 https://www.gnu.org/software/gettext/manual/html_node/The-TERM-variable.html Oct 18 00:42:24 Thank you. Oct 18 00:48:39 If anyone is bored and wants to pitch in, please see https://github.com/ChristopherRush/BB-Evil-Genius. Oct 18 00:48:53 ...I am on Project16.js. Oct 18 00:49:16 It has an .html script, too. Oct 18 00:51:00 I am using a BBGW, bonescript, and socket.io to produce some motor movement via server app. **** ENDING LOGGING AT Tue Oct 18 02:59:58 2016