**** BEGIN LOGGING AT Sat May 13 03:00:02 2017 May 13 16:48:53 Hi guys. Anyone knows how to change i2c speed on my BB black wireless? May 13 17:31:01 wow, impressive May 13 17:31:03 oops May 13 17:31:18 wrong window -_- May 13 18:08:17 hi. is there a list of packages preinstalled in the images found on https://beagleboard.org/latest-images May 13 18:10:49 presumably there is, since afaik the build scripts are online somewhere May 13 18:11:08 it's also easy to just extract the list of installed packages from the image itself May 13 18:13:22 limited bandwidth here :) May 13 18:13:31 but will check the build scripts May 13 18:31:58 I'm using BBB can I change usb0 (client mode usb ) to show my product CLI interface rather then linux console? May 13 18:59:56 I'm using BBB can I change usb0 (client mode usb ) to show my product CLI interface rather then linux console? May 13 19:02:10 usb0 is the ethernet interface (192.168.7.2) - you mean that? or you mena the serial interface? May 13 19:05:23 assuming you serial, you're looking at running your daemon instaed of agetty (i assume you have a daemon of some sort?) May 13 19:13:10 there is a usb0 connection (usb-client) , i want to use it as program output May 13 19:13:14 i don't want the linux console May 13 19:13:45 and i don't want the ethernet-over-usb either... May 13 19:20:53 where do you see this usb0 connection? paste May 13 19:21:08 Let me clear myself May 13 19:21:19 when i plugin the usb cable to the PC. May 13 19:21:29 It will power up the BBB May 13 19:21:37 and will used as ethernet-usb May 13 19:21:52 and also add device (COM30 for instance) used as the linux console May 13 19:22:21 yes May 13 19:22:23 I want to use this COM30 as CLI interface yo my product May 13 19:22:37 ok. that's serial then May 13 19:22:38 so I want to redirect the output/input of my CLI interface to that COM30 May 13 19:22:48 but I don't want the linux console there... May 13 19:22:52 21:05 < sicelo> assuming you serial, you're looking at running your daemon instaed of agetty (i assume you have a daemon of some sort?) May 13 19:23:03 sorry , what is agetty? May 13 19:23:16 it is what shows that console May 13 19:23:21 okay.. correct! May 13 19:23:37 I have nodejs process that i want to redirect insted of this agetty May 13 19:24:07 i don't know if your program will really be able to handle everything involved though ... anyway i have limited knowledge too May 13 19:24:54 maybe someone more experienced will chime in May 13 19:25:13 Do you know how can i shutdown the agetty? May 13 19:25:21 kill it :) May 13 19:25:34 find the script that starts it and disable it May 13 19:26:40 how do i find it...? May 13 19:30:37 /etc/systemd/system/serial-getty\@ttyGS0.service May 13 19:30:59 but you really really have to know what you're doing here :-/ May 13 19:32:36 I don't want to disable the serial interface, just the linux console login May 13 19:33:32 you;ll still need to edit that. see `man agetty` to learn about the login option May 13 19:37:25 Maybe someone else can help? how do i disable the usb serial console login May 13 19:42:44 by telling agetty to run your cli interface instead of /bin/login. did you read the man page? May 13 19:45:20 i'm trying now to disable this service, and just redirect input/output May 13 19:45:24 let's see if it'll work... May 13 19:45:41 since it's an usb serial and not a "real" serial, that might suffice indeed May 13 19:46:22 though editing the serial-getty@ttyGS0.service might be more convenient, as it'll also take care of launching your service and restarting it if it crashes May 13 19:47:12 okay, let's start with step1... and see if it works... May 13 19:47:30 step 1 being..? May 13 19:47:36 wonderfull! it works... May 13 19:47:48 now I just need to try with editing the service file. May 13 19:47:58 sicelo, thanks a lot! May 13 19:48:32 don't forget to do systemctl daemon-reload after editing the service file (though systemctl will remind you anyway if you try to restart the service) May 13 19:49:23 i'm getting musb: Babble Interrupt Occurred errors with my BBB :( May 13 19:49:28 Okay, but now, how do I disable the usb-ethernet feature (and also the auto-driver created on my windows) when plugging the USB May 13 19:49:57 sucks - i was hoping to use it as my wifi AP for a few days (with hostapd) May 13 19:50:11 rabbishimon: find and extermine whatever startup script is responsible for setting up the multi-function usb gadget May 13 19:50:22 replace it with a one-line addition to /etc/modules: g_serial (iirc) May 13 19:50:43 sicelo: try inserting a powered usb hub in the chain May 13 19:50:51 where do i see all the startup scripts? May 13 19:50:54 i am using one :( May 13 19:51:23 sicelo: huh, okay, that often helps to solve usb issues... hmm.. May 13 19:52:56 rabbishimon: good question actually, since it's a bit messy mix of new systemd services and old sysv services... hmm... the SVG image you get by doing systemd-analyze plot >boot.svg shows the whole startup process in any case May 13 19:53:49 iirc there's a "generic boot service" or something like that that's a big shell script responsible for various custom beagle stuff May 13 19:57:18 it was one of the first things I got rid of when I was doing boot time optimization since it was excessively slow, back then at least. dunno if that's still the case May 13 20:00:50 another issue, Is it possible to load new image via USB/Ethernet for mass-production rather than SD-card. May 13 20:01:05 yes May 13 20:02:32 we used flashing via usb (also imaging via usb) a lot, although recently we've actually come back to flashing via sd card May 13 20:02:59 I still need to find a moment to get flashing via ethernet working May 13 20:03:38 how do I do this via usb? May 13 20:05:21 unfortunately the best public tool for this is afaik still BBBlfs, which is a brittle utility wrapped in broken scripts May 13 20:05:34 I did write a guide for it a while ago: https://pastebin.com/x5QzB18E May 13 20:07:01 it's also possible to use its u-boot and FIT image but replace the brittle tool with a bootp and tftp server (e.g. we use dnsmasq, which can do both) May 13 20:08:41 beware that its DT inexplicably does all sorts of pinmux, so I'd advise against using it to flash a BBB while attached to a CAPE May 13 20:10:41 what about TI Uniflash , is it any good? May 13 20:10:47 never used it May 13 20:10:50 btw, dmesg shows babble message even before i connect any usb device on BBB, newly booted May 13 20:11:05 sicelo: huh, that's definitely weird May 13 20:11:45 i'll go make a different plan for an AP then :) May 13 20:11:55 will come back to the BBB some other time May 13 20:12:01 sicelo: it's been like that from the start? May 13 20:12:29 zmatt: what would you recommend for production ? May 13 20:12:59 sicelo: maybe try reflashing with the latest image (unless you already have), if you still get that error right at boot with nothing attached to usb that might be suggestive of a hardware problem May 13 20:13:30 yes, taht's what i plan to do. but that's going to have to wait for later May 13 20:18:04 rabbishimon_: it sounds like uniflash might be worth examining, if it fits your workflow (and you don't mind the requirement for a Windows host to run it) May 13 20:18:13 note that you need v3, not v4 May 13 20:19:47 zmatt: what would you recommend for production ? May 13 20:21:27 I don't have specific recommendations. it depends on what kind of workflow is convenient for you and how much time you're willing to invest in getting it smooth May 13 20:21:44 ours is still evolving May 13 20:22:41 is there any solution which is windows based? the tool you mentioned is for linux May 13 20:23:04 as I just said, uniflash v3 is windows-only May 13 20:23:47 for me, that alone is reason enough to not be interested in it :) May 13 20:24:23 hehehe... do you know any guide on how to use it? blog, something... May 13 20:25:20 http://lmgtfy.com/?q=uniflash+am335x May 13 20:27:31 heheh , okay, i'll try that... May 13 20:28:04 :) May 13 20:33:01 zmatt: here's another one (which i did try in google...) : i'm trying to use config-pin, i'm getting these error in dmesg: of_resolve_phandles: Could not find symbol 'gpio4' May 13 20:40:13 that sounds like an attempt to load an overlay on top of an incompatible base device tree May 13 20:40:42 since gpio4 indeed doesn't exist, I'd blame the overlay May 13 20:41:55 I don't use cape-universal myself, but if I'd have to take a guess it would be: a version of cape-universal that was meant for kernel 3.8 being used with kernel 4.x May 13 20:44:00 (since I know kernel 3.8 used bogus 1-based numbering for various peripherals, so it's quite possible "gpio4" did exist there and meant gpio3) May 14 02:58:54 typing my beaglebone black wireless's ip into chrome (192.168.7.2) gives me 'the site can't be reached'. I am not able to connect to the board through SSH in Putty May 14 02:59:33 Is it possible I unknowingly renamed my BBB? It's as if the IP is completely unrecognized **** ENDING LOGGING AT Sun May 14 03:00:03 2017