**** BEGIN LOGGING AT Tue May 05 02:59:59 2015 May 05 04:54:03 is it possible to log in as root user on the prebuilt 14.04.2 image? May 05 04:55:13 the only information I see is username: ubuntu, password: temppwd, and I'm guessing "ubuntu" is in the list of sudoers, but it seems like of silly that I can't even log in as root on my own server May 05 04:55:58 change the password? May 05 04:56:18 ie sudo su, and passwd root :p May 05 04:56:18 how can I change root's password if I don't have it to begin with? May 05 04:56:25 its most likely unset May 05 04:56:36 I tried an empty password, doesn't work May 05 04:56:45 uhm. no. May 05 04:56:49 empty != unset May 05 04:57:25 PDogJr: just use sudo to set the password. May 05 04:58:29 that's a good idea, I am extremely dumb for not realizing I could do that if I am already a sudoer May 05 04:58:30 thank you May 05 04:58:36 it's personal preference and all, but there's not really much reason to log in as root rather than use sudo... May 05 04:59:04 and there are a few good reasons to not allow logins as root May 05 04:59:22 I don't log in as root, I just wanted to secure my sever and make sure there wasn't some password already set that I wasn't aware of, but of course I can change the root password anyway as the "ubuntu" user May 05 05:00:43 also has anyone tried running arch? I updated, rebooted my beaglebone, and ssh stopped working after that May 05 05:03:06 when I logged in with a physical keyboard, I noticed that it wasn't assigning a subnet mask on my network May 05 12:14:24 admin May 05 15:17:13 Hy all there are a chanel fr for beaglebone board please? May 05 15:22:36 I (just starting) would like to create a analog input sampling on my bbb. Looking for example applicatiopns / software. I found teh document (pdf) "am3359" and there Table 2-8 ADC signals description. Must I try to understand the whole doc or is there some more introductional way? May 05 15:23:08 Akex_, il s'en foute de ta question ^^ May 05 15:25:30 Aparement ;) May 05 16:03:48 hi May 05 16:13:49 hi May 05 16:16:01 Hi chloe May 05 16:16:21 add me(L):D:D May 05 16:37:25 member:tverrbjelke_ have you seen this? http://beaglebone.cameon.net/home/reading-the-analog-inputs-adc May 05 16:54:10 hi May 05 16:54:40 hello? May 05 16:54:44 Hi May 05 16:55:21 ho May 05 16:57:50 chloe is a bot May 05 16:58:11 oh May 05 16:58:43 you fug May 05 16:59:48 It's a Java application running on someones virgin mobile phone to be precise. May 05 17:00:46 hacked? May 05 17:00:47 lol May 05 17:01:12 * GenTooMan finds that stuff very annoying. May 05 17:02:54 notice it's gone May 05 17:17:37 hi May 05 17:18:21 hi May 05 17:19:49 how May 05 17:20:26 hi May 05 17:30:47 hi May 05 17:31:14 hi May 05 17:31:20 hi May 05 17:31:28 Hi MattRichardson May 05 17:32:07 am facing problem in getting debug uart console in beaglebone black May 05 17:32:27 sorry it is beaglebone white rev a6 May 05 17:32:56 I figured out some how uart1 cabbot be used as debug port May 05 17:33:30 can uart 2 or uart4 can be used as debug port in beaglebone white? May 05 17:34:12 just reconfigure uboot May 05 17:34:42 I did it for the black, and other platforms .. there should be something in the uboot config which specifies which uart to use May 05 17:34:56 scratch that .. not for the Black, just for the Wandboard I had May 05 17:35:02 but the principle is the same. May 05 17:35:33 you may need to add some config parameters to specify the address/pin code for the other/new uart, but its not hard May 05 17:36:47 I thought the white used the otg port with an ftdi driver for debug May 05 17:37:24 Oh. May 05 17:37:36 Well, there is that .. then different game altogether :D May 05 17:37:53 If i reconfigure uboot for uart2 or uart4 does it works straight forward ie., pin muxing for uart2 or uart4 & chnages for SERIAL4,CONS_INDEX=4 May 05 17:37:58 ?? May 05 17:38:17 depends what defaults are :) May 05 17:38:30 ok I gotta split .. bbl. good luck May 05 17:38:44 member:James_Johnson thx, this is exactly the kind of info I am looking for. What makes we additional thoughts is, that "am3359".pdf was telling me that I also have to att tyüpical 10nF externally between VDDA_ADC and VSSA_ADC (they name that capacitor CVDDA_ADC). But they don't mention that on cameon.net ... Do I misunderstand basic stuff? May 05 17:38:45 should I connect the power cable along with mini usb cable? May 05 17:39:11 to get the console? May 05 17:40:42 could anybody pls share any link pls, debug port along using ftdi driver May 05 17:40:47 ? May 05 17:41:54 wish I knew more MattRichardson May 05 17:43:24 http://www.ftdichip.com/Drivers/VCP.htm May 05 17:43:38 http://beagleboard.org/static/beaglebone/latest/README.htm May 05 17:45:19 hmm, that's looks like it might be mostly black rrelated May 05 17:48:14 MattRichardson are you using a BB white or black? May 05 17:48:29 bb white May 05 17:49:38 MattRichardson It’s been a while since I used a BB white but I’m almost positive I just used a USB cable and it both powered the unit and got me the console May 05 17:52:08 yeah, but you need the drivers for ftdi if on windows/mac... linux already should have them May 05 17:52:33 well yeah May 05 17:53:37 sorry, wasn’t sure what the question was exactly May 05 17:54:51 I think the first link I posted is good for drivers, but have no way of testing May 05 17:55:16 James_Johnson: it helps confirm, no reason to be sorry :) May 05 17:55:22 should I even connect the power adapter along with mini usb cable or just connect only the mini usb cable for powering & as well as getting console? May 05 17:55:34 either will work May 05 17:56:27 sorry for my poor understaning May 05 17:56:47 should I connect both or only mini usb is enough? May 05 17:57:00 only mini usb is enough May 05 17:57:03 sudo modprobe ftdi_sio vendor=0x0403 product=0xa6d0? May 05 17:57:29 does this driver helps me getting console in linux , after connect mini usb cable? May 05 19:22:08 hello. is it safe to apt-get update; apt-get upgrade; apt-get dist-upgrade the debian release on bbb? May 05 19:30:30 Why would it not be? May 05 19:30:36 ALso, define: safe May 05 19:31:03 like it doesn't mess up e.g. a webserver installation i have running May 05 19:40:36 talin: So long as you pay attention to whatg it is updating, and make sure that the new versions of things relevant to your task do not change from your current setup, you should be fine. May 05 19:40:47 thank you May 05 19:40:48 talin: Basically, same thing you do whenever you update anything. May 05 19:40:57 alright. so it's like a regular debian May 05 19:40:59 Read the changelogs. May 05 19:41:09 talin: Debian is debian is debian. May 05 19:41:21 right after i installed it, i configured some stuff and then did an upgrade and tons of stuff related to encodings got messed up May 05 19:41:31 never seen that on debian elsewhere, that's why i'm asking May 05 19:42:18 talin, we tag the kernel, so a normal "apt-get update ; apt-get upgrade" won't force a kernel update.... So you just get userspace updatse.. May 05 19:42:43 oh, okay. must have been some strange mishap :) May 05 19:43:23 looks like this image, bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz, doesn't ship scripts/tools/eMMC/init-eMMC-flasher-v3.sh May 05 19:43:37 is it found on media created with BBB-eMMC-flasher-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz? May 05 19:43:39 talin: It was probabloy in the changelogs that "encodings will get messed up". ;-P May 05 19:43:54 agmlego|skynet: yeah :) May 05 19:44:11 idwer: ? it's under /opt/scripts/.... but it's not enabled by default.. as the word "eMMC-flasher" isn't in the name.. May 05 19:44:31 talin, http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC May 05 19:44:57 sorry, meant that for idwer.. May 05 19:46:08 rcn-ee: what was I looking for again.. ah yes: idwer, just factory reflash the eMMC... May 05 19:46:53 if I plug an Arudino Mega2560 into a BBB running linux, will the BBB pick the Arudino up and load drivers? May 05 19:47:00 Yes. May 05 19:47:03 idwer, all release images flashers/non-flashers/consoles: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-03-01 May 05 19:47:37 There's 5 of them, depending on which model you have and what you want to do with it. May 05 19:50:14 I would just leave the emmc unused/empty, if that is possible May 05 19:51:19 solder a wire across the Boot switch then. May 05 19:52:01 why? fedora can boot with an empty emmc May 05 19:52:19 yeah fedora will be fine .. the am335x won't ;) May 05 19:53:05 it don't have a bios remember, you can't just F12 it :P May 05 19:54:36 pretty sure even if you zero-out the eMMC the processor looks at that SDIO interface first May 05 19:54:51 Unless you press/bridge the boot switch. That's how I understood it anyhow May 05 19:56:50 if there is no valid bootloader found it will skip and try the next device May 05 19:57:27 so if you remove the mlo on the emmc it will be skipped May 05 19:58:57 the new factory version, mlo's dd'ed to the mbr, so you need to clear that out vs, removing the mlo.. May 05 19:58:57 hmm so there is some form of fall-back May 05 19:59:40 rcn - dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=10 May 05 19:59:55 correcto.. May 05 20:00:08 that is "zero'ing out" the emmc :) May 05 20:00:48 do the "new versions" dont use filesystem based mlo`s anymore ? May 05 20:00:53 dd if=/dev/zero of=/dev/mmcblk0 count=1 seek=1 bs=128k May 05 20:01:32 rob_w, correct, to many new users where accidenetly deleting mlo/u-boot.img from the fat partition in windows... so we moved them.. May 05 20:02:12 rather sad May 05 20:02:21 is there anyway to get a beaglebone black with a bad ethernet port to boot normally? May 05 20:02:39 i was scared that new versions dont support fs boots anymore May 05 20:03:22 for some reason the spec pdf actually say that they dont support fs boots from emmc, but the bbb and others proove that wrong May 05 20:03:28 they still do... and even more methods... http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 May 05 20:04:06 in mainline u-boot, ext boot with MLO also works... the bootrom spec doesn't mention that. ;) May 05 21:06:16 hm, no armhf packages found in jessy/ .. or am I blind May 05 21:07:03 right. jessie May 05 21:09:08 idwer, ? May 05 21:09:26 rcn-ee: typo on my side May 05 21:16:16 rcn-ee: I'm looking for kernel 4 (to turn a bbb into a debug device http://www.coreboot.org/EHCI_Debug_Port#DIY_.2F_BeagleBone_Black ) is it in stretch? sid? May 05 21:17:09 idwer, that kernel module is enabled accros the board... May 05 21:17:16 first what version are you running? uname -r? May 05 21:18:24 rcn-ee: 3.8.13-bone70 May 05 21:18:31 ERROR: could not insert 'g_dbgp': No such device May 05 21:20:40 idwer, works here: https://paste.debian.net/171649/ May 05 21:20:56 first make sure g_multi/g_ether is loaded via, lsmod... May 05 21:21:59 if either, g_multi/g_ether is loaded, disable the modprobe line in: /opt/scripts/boot/am335x_evm.sh May 05 21:22:36 https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L93 May 05 21:22:56 ah, had to rmmod g_ether May 05 21:23:02 :) May 05 21:27:37 I've been pouring through omap-image-builder figure out how to make custom images. Most of it's pretty clear, but I'm a bit confused on how to copy files into the chroot(?) May 05 21:27:37 I would like to install a python package I'm been working on locally, so while making the image I would like to copy the tarball into the chroot, and install in a normal way with pip. I see in the target/chroot scripts where python packages are installed via pypi. Can these scripts access files outside of the chroot file system? If not where in the process could I add a command to copy a tar file over to the chroot? May 05 21:28:34 I'm assuming that filesystem you create that becomes the basis of the image is called a chroot... May 05 21:32:25 rcn-ee, fyi omap-image-builder is great, thanks May 05 21:32:49 foundatron, the easist way, is copy directly in scripts/chroot.sh or use wget and download/extract.. May 05 21:33:36 so edit chroot.sh to do the copy? May 05 21:33:47 everything under /target/chroot/*.sh dl/runs/etc something.. May 05 21:34:32 so every .sh file in that /target/chroot/ gets run? May 05 21:34:58 foundatron, just the one you specifiy.. and your free to script anything in there.. May 05 21:34:59 so I ad another shell script there it will get executed May 05 21:35:10 ok May 05 21:35:23 that's the: "chroot_script" var.. May 05 21:36:01 ahhh, those look like they are running from within the chroot filesystem May 05 21:36:07 can they access the host? May 05 21:36:16 (sorry if that terminology is wrong) May 05 21:36:43 not really, (chroot isn't perfectly) isolated.. May 05 21:37:47 use the chroot_after_hook.. https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L1051 May 05 21:38:54 the machinekit guys set that call up, it's run directly from the host, (not in the chroot), so you'll have to parse where the chroot is.. May 05 21:39:15 (tempdir) May 05 21:39:25 hmmm May 05 21:39:27 ok May 05 21:39:37 let me see what the machinekit guys are doing May 05 21:39:59 thanks, I've been baning my head against this for a few hours May 05 21:40:09 *banging May 05 21:40:27 well, they set it up, then i merged them in, and rewrote it.... ;) so the chroot_after/before_hook's aren't really being used anymore. . ;) May 05 21:40:47 oj May 05 21:40:49 oh May 05 21:41:59 but anything not documented/or/used is a free for all. ;) May 05 21:42:28 So what do you will that variable with, a shell script w/path? May 05 21:42:36 to something on the host system? May 05 21:42:54 tempdir should be exported, so your shell script should see it.. May 05 21:43:15 cp ./myfile ${tempdir}/file_in_chroot... May 05 21:44:30 sure, and chroot_after_hook= should point to a shell script on the host somewhere? May 05 21:45:08 or in the target/chroot dir May 05 21:45:11 ? May 05 21:45:56 it's in the base dir... "${DIR}/${chroot_after_hook}" yuck, we should move that to /target/chroot/*... So it's been un-used for atleast a year now. ;) May 05 21:46:10 ok May 05 21:46:31 yeah, most users have been able to hack up the chroot_script enough to not use that one... May 05 21:46:56 yeah the only reason I don't want to do that May 05 21:47:08 is because i want to keep my branch insync with yours May 05 21:47:21 but yeah I could do that May 05 21:48:09 Thanks so much for taking the time to answer my questions May 05 21:51:31 no problem... Most things are pretty frozen now days.. The biggest change i see coming down the pipe is convert the ubuntu upstarts mods to systemd, otherwise just not much.. May 05 21:52:25 I've spent a lot of time with the omap builder this week May 05 21:52:29 12 hours or so May 05 21:52:34 just reading bash May 05 21:52:38 and more bash May 05 21:52:45 its good stuff May 05 21:52:50 and lots of bash. ;) May 05 21:57:42 rcn-ee: do you have anything that supports a RO / ? May 05 21:58:56 ds2, i was looking at that again last week.. https://gist.github.com/RobertCNelson/fa060aafd0def90b427d <- that's my debian squeeze xM that's been on digikey's roof for 4 years... ro... same microSD, solar powered, so lots of re-cycles.. May 05 21:59:52 trying to figure out the best way to calcuate how big to make the inital ro / partition.. (var has to rw..) May 05 22:01:13 rcn-ee: do you fix up stuff like /etc? May 05 22:01:50 i 'think' i had to boot it intially 'rw' once and debian fixed those up... May 05 22:02:48 ah May 05 22:03:04 sounds like it is less sophisticated then what Angstrom had? May 05 22:03:52 Angstrom was more sane back then.. Also the "/run/' directory is now setup too... May 05 22:04:45 looked it up.. debian wheezy got "/run" so that cleans up alot of why /var/ had to rw... May 05 22:04:58 (it's also tmpfs of ram..) May 05 22:05:31 So it should be way easier for Jessie to run with ro root... May 05 22:05:44 this sounds like more then 10mins of work to let me kill power with a disconnect switch May 05 22:07:02 it's something defintelly on my mind too.. Just need a free weekend.. gf's been keeping me busy with those.. ;) May 05 22:07:21 heh May 05 22:08:03 with all the things zmatt pointed out, a RO system seems to be the easiest way to deal with things on a battery system May 05 22:08:49 yeah, once setup, it solves all the issues.. (except where you store things you want to keep..) May 05 22:09:19 thinking of keeping all that on FAT May 05 22:09:21 then mtools May 05 22:10:17 the only bad part, once you get it working and it works, you don't want to update it , this is runing an ancient kernel with Debian Squeeze 6.x (armel) http://connectivity.digikey.com/outside.jpg May 05 22:10:53 i don't see that as a problem but then I want it solely as a userland May 05 22:11:14 got a kernel that supports all the hw i need with a different linearage May 05 22:11:25 the other option is to build up a userland from simple init May 05 22:11:47 nah, use ro /.. ;) May 05 22:12:36 the big drawback is locating all the src files to keep out of GPL jail May 05 22:13:29 toybox is getting nicer... May 05 22:14:17 so is musel(sp?) May 05 22:15:17 that's a littler harder to symlink over /usr/bin/x ;) May 05 22:16:14 X? not using X May 05 22:16:26 160x160 displays don't work well with X May 06 00:18:20 Just an FYI: http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents <--- the save-emmc.zip has a bad line of code: /dev/mmcblk1 should be /dev/mmcblk0 for the board I'm using, I'm not sure if it's a difference with RevC of the BBB, but I had to do a ls -lah /dev/mmc* > /mnt/test.txt to find out the listed mmc devices. Just letting you guys know, since I can't for the life of me figure out how digits work, or the website's captcha is crazy. I'd e May 06 00:39:39 You know, looking into this further, I don't think my EMMC is listed at all in the /dev/ directory, where would it be for the wiki article to work May 06 01:31:53 people, what's the arm linux channel or is there one anymore? Use to be #linux-arm or something May 06 01:36:18 armhf? May 06 01:36:42 or even #archlinux-arm ? May 06 01:36:43 hmm? there's no one there May 06 01:36:53 no it was a pretty simple name, no arch stuff May 06 01:37:11 mostly kernel people hangout there, ojn and the likes May 06 01:37:25 oh, #armlinux ? May 06 01:37:50 oh yes, thank you May 06 01:37:58 np, it's all about context May 06 02:30:15 So, any ideas on why I can't get the EMMC image off of my BBB? There is only one /dev/mmcblk0 device, and it's the SD card I've loaded. What's an alternative name to the onboard emmc? **** ENDING LOGGING AT Wed May 06 02:59:58 2015