**** BEGIN LOGGING AT Wed Dec 10 02:59:59 2014 Dec 10 07:52:42 #I want to use beaglebone as mass storage device. Created diskfile like loop device and write following command. modprobe g_multi file=/dev/diskfile ro=0 removable=1 cdrom=0 stall=0 nofua=0 Now device appears perfectly. When i tries to copy something from beaglebone to host pc changes doesn't appear on PC side. and copy from PC to beaglebone is working alright. Is there any configuration issue??? Help appriciated . . Dec 10 07:58:26 kk_: sync? Dec 10 07:59:22 sync??? in? Dec 10 07:59:43 kk_: do you know of the concept of cache? like in filesystem or blockdevice cache? Dec 10 08:01:57 Yes little bit but not a complete idea. Can you give me just hint what you wants to know Dec 10 08:02:25 google for it Dec 10 08:02:48 if you understand what it does, you can answer your question yourself Dec 10 08:03:21 Ok no problem .My problem is related to that? Dec 10 08:03:28 most likely Dec 10 08:03:39 ok thank you man Dec 10 08:03:48 gm Dec 10 08:06:06 I'm having a hard time finding current information on how to read the ADC pins on BBB. What's the latest way using the shipping Debian? TIA Dec 10 08:06:50 JetForMe: some kernel driver Dec 10 08:07:11 JetForMe: you need to specify the ADC in the DT file you provide, then you get somewhere an ADC device which you read Dec 10 08:07:14 I find plenty of things similar to this: "echo BB-ADC > /sys/devices/bone_capemgr.*/slots" Dec 10 08:07:31 does campemgr still work with the current debian image? Dec 10 08:07:32 hoi woglinde Dec 10 08:07:38 But there's nothing at capemgr Dec 10 08:08:42 On my system, /sys/devices/bone_capemgr doesn't exist Dec 10 08:08:48 yappari Dec 10 08:08:52 yes, capemgr is dead Dec 10 08:08:57 panto killed it Dec 10 08:09:06 is panto a person? Dec 10 08:09:16 ah, so they are Dec 10 08:09:18 for various values of person Dec 10 08:09:21 if you can call a greek poopscooper a person ;) Dec 10 08:09:54 So, what's the way? I don't need high performance, although I hate the idea of reading from the file system (I have to get the values into my C++ program). I'll do it that way if it's easiest, it's just gross Dec 10 08:10:00 heh Dec 10 08:10:21 i have no idea what the current way for accessing adcs in the kernel is Dec 10 08:10:35 but there should be documentation about that in the kernel tree directory Documentation/ Dec 10 08:11:21 Can you remind me of the correct repo directory for that? Dec 10 08:11:43 you can google, right? Dec 10 08:11:58 Dude, seriously. If you look at the github repo, there's more than one kernel tree Dec 10 08:12:11 there's shit under linux, under kernel, and who knows where else Dec 10 08:12:27 a few days ago I stumbled on this, and figured it out, but looking at it now, I don't remember which is which Dec 10 08:12:34 if you don't know, just say so Dec 10 08:12:48 JetForMe: http://bit.ly/1yOGNmM Dec 10 08:12:51 nevermind, if ound it Dec 10 08:13:45 More appropriate might be this: https://github.com/beagleboard/linux/tree/3.14/Documentation Dec 10 08:14:02 depends on the kernel you are using Dec 10 08:14:13 * KotH does not know which kernel the debian image uses these days Dec 10 08:14:19 Nor do I know Dec 10 08:14:25 well, then find out Dec 10 08:14:31 3.14.22-ti-r31 Dec 10 08:14:52 I came here because an hour of googling for BBB ADC has turned up nothing that works Dec 10 08:15:06 well, using ADCs is not really BBB specific Dec 10 08:15:14 there is a generic API for it Dec 10 08:15:24 you just need to tell the kernel where it finds its ADC Dec 10 08:15:34 that seems pretty BBB-specific Dec 10 08:15:41 and that is done using DT, which is part general, part BBB specific Dec 10 08:19:39 What does linux call ADC, then? Dec 10 08:20:00 ADC? Dec 10 08:22:43 analog to digital converter Dec 10 08:26:43 kk_: please do not pmessage me Dec 10 08:52:56 everything I find keeps talking about capemgr Dec 10 08:53:42 panto: Is capemgr really gone? Anyting I read online about that is obsolete? Dec 10 08:57:20 More googling suggests it's really gone. Which is fine, but I can't figure out how to enable access to the ADC pins Dec 10 08:57:42 you need to set up your DT and load it at boot time Dec 10 09:00:39 koth elinux wiki has nothing for it? Dec 10 09:00:48 no idea Dec 10 09:00:57 #KotH : Do i need to enable cache or something in rootfs? Dec 10 09:01:25 KotH: DT is incredibly complicated and open-ended, how do I do that? Dec 10 09:01:26 woglinde: i havent done anything embedded linux related this year, so most of my knowledge how exactly things are done is out of date Dec 10 09:01:42 kk_: no, your cache is automatically enabled Dec 10 09:01:47 kk_: on all systems Dec 10 09:01:49 hm it still has capemgr Dec 10 09:02:06 yes, the current debian images still seem to have it Dec 10 09:02:07 JetForMe: it's not complicated, just badly documented Dec 10 09:02:13 but long term its gone Dec 10 09:02:19 JetForMe: just read the docu, follow the examples and try a few things out Dec 10 09:02:27 which docs? Dec 10 09:02:33 I can't even find good docs Dec 10 09:02:34 JetForMe: those in the kernel Dec 10 09:02:54 Than what is problem? Dec 10 09:03:04 kk_: your host is caching Dec 10 09:03:05 can you be more specific, KotH? Dec 10 09:03:18 kk_: thus doesnt write down any data until you flush the cache Dec 10 09:03:32 JetForMe: /path/to/your/kernel/sources/Documentation Dec 10 09:03:52 I'm already there, it's a huge directory. You mean the devicetree docs? Dec 10 09:03:58 yes Dec 10 09:04:07 Need to flush cache fro beaglebone end? Dec 10 09:04:10 also, there is a -R option to ls Dec 10 09:04:19 kk_: no, on your PC Dec 10 09:04:21 wow, i hate linux Dec 10 09:04:33 kk_: the one that uses the BBB as mass storage device Dec 10 09:04:47 JetForMe: dont worry, linux is userfriendly, it's just picky about its friends Dec 10 09:04:53 it's a dick Dec 10 09:05:21 JetForMe: also, you are dealing with embedded linux on a quite low level. there are very few things more advanced than that Dec 10 09:05:31 there is way too much shit in there Dec 10 09:05:41 What bothers me is that the BBB used to have support for this Dec 10 09:05:50 and now that's gone, and no one bothered to document the use Dec 10 09:05:51 JetForMe: ie if you are not prepared to read a lot and learn how a linux system works in detail, dont even start doing anything with embedded Dec 10 09:06:08 I've done a ton of embedded work. Linux makes it 1000x harder Dec 10 09:06:15 JetForMe: feel free to write the documentation. the elinux wiki is the right place for that Dec 10 09:06:26 JetForMe: uC embedded != linux embedded Dec 10 09:06:38 JetForMe: the former is much simpler than the latter Dec 10 09:06:56 JetForMe: like the difference between building a go-card and a space ship flying to mars Dec 10 09:07:12 bullshit. Linux should make things easier Dec 10 09:07:16 A lot of the work should be done Dec 10 09:07:37 but instead, it changes, and the people making the changes don't care about documenting it Dec 10 09:07:49 or bringing individual platforms up-to-date Dec 10 09:08:13 err... Dec 10 09:08:16 it is documented Dec 10 09:08:41 JetForMe they do Dec 10 09:08:45 In a way that doesn't require one to become a kernel expert to use it Dec 10 09:08:47 it's not documented for people who have no clue about linux, but for those who know how linux works, down to the inner most routiens in the kernel Dec 10 09:08:56 that's not documented Dec 10 09:09:07 no, you are not required to become a kernel expert anymore Dec 10 09:09:13 it was much worse before DT got introduced Dec 10 09:09:24 google for "board files" and see for yourself Dec 10 09:09:37 also, if you dont like linux. stop using it. nobody is forcing you Dec 10 09:09:39 except there was an interface to the ADC Dec 10 09:09:40 JetForMe you do not get any patch related to devicetree in, without document it Dec 10 09:09:52 Yeah, thanks for all the help Dec 10 09:10:01 woglinde: you have very little chance to get any patch in without documentation Dec 10 09:10:06 Instead of going on about linux philosphy, it would be nice for it to work Dec 10 09:10:21 sorry, i'm not here for handholding Dec 10 09:10:24 indeed Dec 10 09:10:27 if you want that, you'd have to pay me Dec 10 09:12:02 btw. http://elinux.org/Beagleboard:BeagleBoneBlack_Debian and http://elinux.org/Device_Tree and http://stackoverflow.com/questions/24134958/my-custom-capes-devicetree-fails-to-load-at-boot-but-can-be-loaded-manually Dec 10 09:12:09 enough to read Dec 10 09:12:50 thanks, woglinde Dec 10 09:13:28 o.O Dec 10 09:13:47 besides I never have done anything with capestuff yet Dec 10 09:14:44 Unfortunately, at least that last one refers to capemgr again, which seems to be broken, at best, after 3.13, and altogether gone at worst Dec 10 09:15:10 hi KotH: changed permission at every file transfer. Getting error continuously FAT-fs (mmcblk0p1): Filesystem has been set read-only Dec 10 09:15:31 although i remounted it as read write permission Dec 10 09:16:37 JetForMe yes but it has all to know about devicetree Dec 10 09:17:06 kk_: sorry, dont know about that anything Dec 10 09:17:48 kk_: make sure the underlying device is writeable as well Dec 10 09:18:27 Ok no problem man .Thnaks for your great help. Dec 10 09:18:39 :) Dec 10 09:18:50 JetForMe: substitute anything that refences capemgr with DT and put the overlays directly into your system DT, like everyone else does, w/o bitching how complicated things are Dec 10 09:19:08 See, that's helpful information Dec 10 09:19:17 JetForMe: uhmm.. that's easy to find information Dec 10 09:19:21 no, it's not Dec 10 09:19:27 JetForMe: and easy to guess too, if you know how DT and capemgr work Dec 10 09:19:41 You make so many assumptions about what knowledge someone has Dec 10 09:20:09 no, i dont Dec 10 09:20:21 but i expect people who want to do something with linux are able to google and read Dec 10 09:20:42 i know how much to read it is, and i know that it can take days to find the right document Dec 10 09:20:48 but i expect it nevertheless Dec 10 09:21:10 everyone here (and anywhere else for that matter) who is knowledgable about linux (or OSS in general) has done exactly that Dec 10 09:21:22 At this stage, there's a HUGE amount of misinformation online, because it has changed so drastically Dec 10 09:21:38 http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator#dtogenerator Dec 10 09:21:54 this generates overlays Dec 10 09:21:56 Oh, that's neat, av500 Dec 10 09:21:58 JetForMe: it has not changed fundamentally Dec 10 09:22:00 not what I was looking for Dec 10 09:22:02 JetForMe: just details Dec 10 09:22:13 there was an online generator that added the needed stuff to the BBB DT Dec 10 09:22:17 I cannot find it anymore Dec 10 09:22:31 when you google for "BBB ADC" (or similar), you're lead to a bunch of stuff about /sys, that just doesn't work any more Dec 10 09:23:02 it does work, as soon as you tell your kernel how to access the ADC Dec 10 09:23:03 and you can't just sub "DT" for "capemgr" Dec 10 09:25:12 av500: Thanks, that page has some very good context. Dec 10 09:25:50 there was another one, cannot find it any more Dec 10 09:26:10 https://github.com/RobertCNelson/rscm Dec 10 09:26:15 ah, there it is Dec 10 09:26:29 JetForMe: thats what you want Dec 10 09:26:37 That second one? Dec 10 09:26:48 yes Dec 10 09:26:56 it does not seem to have ADC yet Dec 10 09:27:03 but thats a good way for you to enter the game Dec 10 09:27:10 and send RCN a patch :) Dec 10 09:27:19 but you should get the workflow from that Dec 10 09:27:28 I'm not sure what I'm supposed to do. Do I apply all those patches, then run that script? Or only the patches I care about? Dec 10 09:27:34 hm Dec 10 09:27:36 http://www.alexanderhiam.com/tutorials/beaglebone-io-using-python-mmap/ Dec 10 09:27:43 thanks for the side av500 Dec 10 09:28:00 should remember the link to fast gpio toggling Dec 10 09:28:05 next time some ask Dec 10 09:28:09 JetForMe: you apply what you need Dec 10 09:28:14 Okay, thank you Dec 10 09:28:15 the patches edit your DT file Dec 10 09:29:49 av500 I think he is better using the overlays Dec 10 09:30:01 nah Dec 10 09:30:04 they will go poof Dec 10 09:30:51 ? Dec 10 09:31:09 av500: Seems like the first link, the generator, doesn't know anything about the ADC pins Dec 10 09:31:12 AIN pins Dec 10 09:31:21 av500 and they are for 3.13 Dec 10 09:31:32 JetForMe: yeah Dec 10 09:31:33 woglinde: panto is too buzy poop scooping, thus the DT overlay patches have not been upstreamed yet Dec 10 09:31:36 ignore that one Dec 10 09:31:42 I was looking fro the 2nd one Dec 10 09:31:46 ok Dec 10 09:31:48 I and thought it had more Dec 10 09:31:54 but then, easy to add :) Dec 10 09:31:54 woglinde: or the DT maintainers refuse to take his patches Dec 10 09:32:02 woglinde: choose one of those two possibilities :) Dec 10 09:32:06 no Dec 10 09:32:11 KotH: dynamic OF is in mainline Dec 10 09:32:19 av500: oh? it is? Dec 10 09:32:24 but one would need to build a new cape manager around it Dec 10 09:32:31 KotH: large rock you under live Dec 10 09:32:37 av500: indeed Dec 10 09:32:44 hm koth was at elce Dec 10 09:32:47 av500: but dont worry, i'll crawl out in january Dec 10 09:33:00 woglinde: but i didnt attend pantos talk Dec 10 09:33:07 woglinde: it was at the wrong time... twice! Dec 10 09:33:10 he held two times Dec 10 09:33:17 shame on you Dec 10 09:33:19 *g* Dec 10 09:33:38 well, i know him. and i know how to track him down if i need to know anything about DT Dec 10 09:33:49 i also know what kind of chocolate he likes, so bribing is easy too Dec 10 09:34:36 choclate gighad ? Dec 10 09:34:41 gihad* Dec 10 09:35:03 it's spelled JIHAD! Dec 10 09:35:17 geee hawd "! Dec 10 09:35:28 lol Dec 10 09:35:47 http://26-26-54.hardwarebug.org/5 Dec 10 09:47:22 hm https://github.com/alexanderhiam/PyBBIO/tree/master/tools/overlays Dec 10 09:47:25 with ADC Dec 10 09:48:04 I worry when I see refernces to 3.8, since back in 3.8, it was easy to get ADC to show up in /sys Dec 10 09:48:31 But at least it'll show me how to write the dts, maye Dec 10 09:51:07 what is "dynamic OF"? Dec 10 09:51:16 dynamic DT Dec 10 09:51:24 for some reason its all called OF in the kernel Dec 10 09:53:34 av500: OF comes from "OpenFirmware" Dec 10 09:58:31 sparc strikes back again! Dec 10 09:59:28 koth sure Dec 10 10:00:11 Thanks for the help. It's still gonna take a while to figure this out. Time for bed Dec 10 10:00:28 gn JetForMe Dec 10 10:00:53 gn woglinde Dec 10 10:01:33 woglinde: i like it how DT has been sold to the arm guys as the panacea and as a finished solutions "sparc has been using for decades" Dec 10 10:01:43 woglinde: yet arm is forced to use it in ways sparc never did Dec 10 10:01:58 koth I have no idea Dec 10 10:02:39 woglinde: the base info about the hardware was (and afaik still is) hard coded in board files on sparc systems. only additional hardware, not necessary early in the boot process are in DT Dec 10 10:03:00 woglinde: while on arm, everything has to be in DT Dec 10 10:03:09 just as one example how things differ Dec 10 10:03:22 there were only a few sparc boards Dec 10 10:05:17 that too Dec 10 10:06:04 DT is the systemd of arm linux :) Dec 10 10:06:47 +1 Dec 10 10:12:11 I like systemd Dec 10 10:12:13 ;) Dec 10 10:13:40 Hi, how can I read a peak or RMS voltage value of a 50Hz sine-wave using AIN inputs without rectify it ??? Dec 10 10:14:08 woglinde: we will banish you! Dec 10 10:14:32 FredTV: you sample it and take the highest value Dec 10 10:14:33 Can I use high sample rate readings and make an average of them ?? Dec 10 10:15:03 FredTV: what is, mathematically, the average of a sine? Dec 10 10:15:28 KotH: don't confuse us with mathematical facts! Dec 10 10:15:57 LetoThe2nd: sorry,i use information next time Dec 10 10:16:02 Vpeak/sqrt2 Dec 10 10:16:17 FredTV: try again Dec 10 10:16:27 FredTV: thats what you *want* Dec 10 10:16:33 (probably) Dec 10 10:17:53 Hmmmm 2Vpeak/pi Dec 10 10:18:56 FredTV: have a look at http://en.wikipedia.org/wiki/Sine#mediaviewer/File:Sine_one_period.svg Dec 10 10:20:22 FredTV: and by the way, an AIn usually has psotive values *only* Dec 10 10:20:51 2Vpeak/pi = average, Vpeak/sqrt2 = Vrms Dec 10 10:20:59 FredTV: you're gonna need external signal condition anyways. Dec 10 10:21:17 FredTV: nope, thats what you want. thats not what you would get for a sine. Dec 10 10:21:23 anyway, math comes next.....how to sample AIN into a loop ??? Dec 10 10:21:48 1) start loop 2) read value) 3) goto 1. Dec 10 10:22:41 I forget, sine is over a DC value, i.e. 2v +- 1V Dec 10 10:23:15 peaking from +3 to +1 Dec 10 10:24:29 KotH yeah banish sysv-rc Dec 10 10:25:35 woglinde: yes, we should go back to bsd init! Dec 10 10:26:03 bsd is thinking about systemd alike too Dec 10 10:26:06 I'll give it a try, do you know what's the max sample rate of a single AIN input ?? Dec 10 10:26:51 FredTV: the TRM and/or SRM should know, but for a 50hz signal just pick *something* Dec 10 11:19:43 hello, good morning in vitoria Dec 10 11:20:05 i need some help here Dec 10 11:21:24 i want to flash the boot partition on the emmc, so i have booted my begleboneblack from an usd with debian and try to do a dd if= of= to /dev/mmcblk1boot0 Dec 10 11:22:35 dd: writing `/dev/mmcblk1boot1': Operation not permitted Dec 10 11:23:37 why is that happennig, i want to put the same boot of a begaleboneblack with my installation workin into another "virgin" one Dec 10 11:24:37 in fact i've flashed the mmcblk0 partition with the BEAGLEBONE and the rootfs. That's have worked. But when i've tried to flash the boot... Dec 10 11:32:08 astrapotro_: what has worked? Dec 10 11:32:11 and what not? Dec 10 12:03:05 av500 , the flashing of the rootfs to the emmc has worked fine, but when i try to flash the boot partitions: dd: writing `/dev/mmcblk1boot0': Operation not permitted Dec 10 12:08:58 as root? Dec 10 12:12:34 yes i'm as root Dec 10 12:13:36 i'mk loosing something about booting, sure Dec 10 12:13:54 what partitions do you have? Dec 10 12:14:19 in fact i've flashed the mmcblk0 partition with the BEAGLEBONE and the rootfs Dec 10 12:14:26 what is "the BEAGLEBONE"? Dec 10 12:14:39 astrapotro_: you know that you cannot directly mount the image but have to "decompose" it into it's partitions using kpartx ? Dec 10 12:14:48 mmcblk0 is the emmc? Dec 10 12:17:33 i've 4 partitions in the black with my installation: Dec 10 12:20:57 so Dec 10 12:21:03 i've four devices Dec 10 12:21:14 /dev/mmcblk0boot0 Dec 10 12:21:24 /dev/mmcblk0boot1 Dec 10 12:21:31 /dev/mmcblk0p1 Dec 10 12:21:38 /dev/mmcblk0p2 Dec 10 12:21:59 i've succesfully flashed the p1 and the p2 Dec 10 12:22:13 and now i wanna flash the boots partitions but: Dec 10 12:22:32 dd: writing `/dev/mmcblk1boot0': Operation not permitted Dec 10 12:23:59 show us thy comand! Dec 10 12:24:29 also, the output of `id` `ls -l /dev/mmcblk1boot0` Dec 10 12:24:37 also, the output of `id` and `ls -l /dev/mmcblk1boot0` Dec 10 12:27:34 the command: # ssh mikel@10.0.0.14 "dd if=/home/mikel/bbb/boot0.img bs=1M" | dd of=/dev/mmcblk1boot0 bs=1M Dec 10 12:28:29 id : uid=0(root) gid=0(root) groups=0(root) Dec 10 12:29:17 ls -l /dev/mmcblk1boot0: brw-rw---T 1 root floppy 179, 16 Jan 1 2000 /dev/mmcblk1boot0 Dec 10 12:30:09 is mike a uid 0 user? Dec 10 12:31:52 doesn anyone have suspend to ram working on bbb with mainline kernel 3.18? Dec 10 12:32:02 wop, good question :-| Dec 10 12:35:22 KotH, user mikel is already member of group root and floppy Dec 10 12:36:03 astrapotro: it looks weird Dec 10 12:36:27 i'm pretty sure the issue is something very simple Dec 10 12:37:14 it've to be something like the boot partitions can't be flashed from the userspace? Dec 10 12:38:35 i'd be surprised Dec 10 12:38:43 linux doesnt block such things Dec 10 12:38:55 it is most likely some permission problem Dec 10 12:40:31 it seems that, but i think that i can't flash the boot devices from the userspace Dec 10 12:42:31 group root doesn't necessarily have permission to write on that flash Dec 10 12:43:36 astrapotro: p1 and and p2 are the two partitions Dec 10 12:43:44 what else is there to flash? Dec 10 12:43:50 there are only 2 Dec 10 12:44:07 nop, there are two more boot0 and boot1 Dec 10 12:44:13 no Dec 10 12:44:21 ok that are devices no partitions Dec 10 12:44:30 like on SD, there is one VFAT and one linux partition Dec 10 12:44:43 cat /proc/partitions Dec 10 12:44:47 and see Dec 10 12:45:20 179 0 7707648 mmcblk0 Dec 10 12:45:22 179 1 98304 mmcblk0p1 Dec 10 12:45:24 179 2 1641472 mmcblk0p2 Dec 10 12:45:26 179 8 3776512 mmcblk1 Dec 10 12:45:28 179 9 98304 mmcblk1p1 Dec 10 12:45:30 179 10 3677184 mmcblk1p2 Dec 10 12:45:32 179 24 2048 mmcblk1boot1 Dec 10 12:45:34 179 16 2048 mmcblk1boot0 Dec 10 12:45:38 so the mmcblk0 = uSDcard Dec 10 12:45:42 astrapotro: use pastebin, please Dec 10 12:45:47 mmcblk1 = the eMMC Dec 10 12:45:50 sorry Dec 10 12:45:56 ignore the boot1/2 Dec 10 12:46:05 as you see, they are tiny Dec 10 12:46:09 av500: what are the boot1/2? Dec 10 12:46:17 KotH: I think its an emmc thing Dec 10 12:46:22 they have "sections" Dec 10 12:46:29 that can be locked Dec 10 12:46:51 you'd need that for secure boot Dec 10 12:46:56 so ka Dec 10 12:47:02 astrapotro: what av500 said Dec 10 12:48:06 don't know, but the weird thing is that i've flashed those partitons (p1 and p2) and the begles doesn't boots; but in the other hand my installation's beagle boots Dec 10 12:48:48 buf, i can't handle with this Dec 10 12:49:32 anyway , thanks for the help ;-) Dec 10 12:53:51 hi, my comany is planing on buying BBB as a paltform on which we could do most of our projects Dec 10 12:54:01 we need I2C, 1-wire Dec 10 12:54:03 gprs,gps Dec 10 12:54:16 and as much RS232 and RS485 ports as we can get Dec 10 12:54:41 I have found this cape http://www.logicsupply.eu/beaglebone-black/boards-cases-capes/cbb-serial/ which fits in case http://www.logicsupply.eu/cases/mini-pc-cases/bb100/ Dec 10 12:55:07 my question is, can I with this cape still use I2C, 1-wire and add GPRS and GPS? Dec 10 12:55:19 or I can use only that cape and USBs Dec 10 12:55:21 ? Dec 10 12:55:35 read the SRM, TRM and the documentation to said board Dec 10 12:56:00 what are SRM and TRM? Dec 10 12:56:26 system refernece manual (of the BBB), technical reference manual (of the AM3359) Dec 10 12:56:44 thank you Dec 10 12:57:04 i also found out that i could use http://elinux.org/Tigal:BeagleBone_mikrobuscape and buy additional clicks, does anyone have any experience with that? Dec 10 14:52:18 Hi People Dec 10 14:53:15 ieup Dec 10 14:57:07 I have FreeBSD running on a BBB. I was having an issue with apparent crashing. I was focused on the prolific TTL drivers since I had been having problems with them (to the extent that we switched to FTDI at work). Turns out that the issue had absolutely nothing to do with prolific. Someone here told me to check FreeBSD. Turns out they were right. Dec 10 14:57:58 why should the prolific crash freebsd? Dec 10 14:58:29 I have had issues with their drivers using RedHat 5 (not my choice) Dec 10 14:58:35 and win 8 Dec 10 14:59:01 so what was the issue then? Dec 10 15:00:35 help! Dec 10 15:01:06 I ran the build_kernel.sh on the 3.18 sources and it now asking me to choose a maximum page_size Dec 10 15:01:16 Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers Dec 10 15:01:25 default is 8 - is this ok? Dec 10 15:01:32 We have not traced it completely. I can only say that when we are connected to the BBB through the prolific cable and just unplug it, KBD is triggered. Dec 10 15:01:42 cityoflights2: it should not ask you this Dec 10 15:02:01 VirG: on the BBB? Dec 10 15:02:09 av500: probably run an make oldconfig under the hood Dec 10 15:03:48 av500: Yes Dec 10 15:04:32 I've been able to capture traces and such but analysis will have to wait until later. Dec 10 15:05:19 Has anyone here taken a look at the RadXA boards (radxa.com) or Intel's Edison? Dec 10 15:05:42 (I know, wrong channel and such. I am curious) Dec 10 15:06:03 no Dec 10 15:06:10 no Dec 10 15:06:52 Hi, does anyone knows why I get errors when wanting to use P8_27 on the BeagleBone Black via Device-Tree-Overlay? Dec 10 15:07:07 what does 'dmesg | tail' say? Dec 10 15:07:49 jkridner: regarding DT and overlays, what is the plan for the future? Dec 10 15:07:57 jkridner: I guess a new debian wont have it, right? Dec 10 15:08:08 so what will there be wrt BBB and capes? Dec 10 15:08:27 I created the overlay according to the different tutorials, but when I want to put it in slots, I get the error message "File exists"... Dec 10 15:09:02 @jkridner: dmesg | tail returns [ 1506.255988] bone-capemgr bone_capemgr.9: slot #9: Failed verification Dec 10 15:09:38 I can use for example P9_12, but when I want to use P8_27 and P8_29, I get the error message above Dec 10 15:13:04 @jkridner: Further information: [ 1506.246317] bone-capemgr bone_capemgr.9: slot #9: bspm_P8_29_17 conflict P8.29 (#5:BB-BONELT-HDMI) Dec 10 15:13:32 k, so the HDMI is using that pin... you'd need to disable HDMI to allocated it. Dec 10 15:13:34 -> I have to remove the HDMI Layout? Is the mini-HDMI-port affected? Dec 10 15:20:13 ok, each time I try to remove the HDMI cape in the slots-file, I get a kernel panic, and an error "EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Dec 10 15:20:37 forcing me to remove power. After a reboot, the module is back loaded Dec 10 15:35:40 GUYS Dec 10 15:35:55 My beagle gets here today. Let's all jump up and down and throw balloons and shit Dec 10 15:35:57 :D Dec 10 15:36:21 anates: no, just edit uEnv.txt Dec 10 15:36:39 anates: you have to disable the HDMI at boot time. Dec 10 15:41:22 @jkridner: I did that. Is there a possibility to regain HDMI via the mini-HDMI-plug? Dec 10 15:44:38 anates: I don't understand. You seem to be confusing hardware and software. You have to disable the software driver for the HDMI to use that pin. You could always go back and re-enable it in software to use the HDMI, but you are in an either-or situation. You can't use a conflicted pin for something else and still expect to get HDMI working at the same time. Dec 10 15:45:01 jkridner: saw my question? Dec 10 15:45:07 [16:07] jkridner: regarding DT and overlays, what is the plan for the future? Dec 10 15:45:08 [16:07] jkridner: I guess a new debian wont have it, right? Dec 10 15:45:10 [16:08] so what will there be wrt BBB and capes? Dec 10 15:45:43 av500: oh, plan is to eventually get the overlays back in there, but push people to use config-pin/cape-universal stuff for most configurations. Dec 10 15:45:57 url? Dec 10 15:46:00 overlay support would be a back-port of whatever pantelis pushes upstream. Dec 10 15:46:09 @jkridner: Therefore I can not have both a screen output via the internal mini-HDMI-output and use the pins? Dec 10 15:46:23 indeed Dec 10 15:46:25 well, the wiki currently says the plan is to use config-pin/cape-universal.... I'll dig up that URL. Dec 10 15:46:44 anates: not THAT pin. Dec 10 15:46:49 https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/cape-universal-00A0.dts Dec 10 15:47:24 anates: http://beagleboard.org/support/bone101/#headers shows the conflicted pins Dec 10 15:47:42 if it is orange, you need to disable something to enable the pin for other uses. Dec 10 15:49:05 av500: I guess http://elinux.org/Beagleboard:Capes_3.8_to_3.14 doesn't make plans all that clear. Dec 10 15:49:17 I'll work with rcn-ee to improve that page to answer the question. Dec 10 15:49:51 jkridner: thx Dec 10 15:50:03 jkridner: even the universal does not enable ADC Dec 10 15:50:08 jkridner: Thanks, I got it Dec 10 15:50:22 neither does the RealSimpleCapeManager Dec 10 15:51:18 yeah, that's silly. only problem is conflicting with LCD touch screens. Dec 10 15:56:38 av500: http://elinux.org/Beagleboard_talk:Capes_3.8_to_3.14#Need_notes_on_overall_strategy_1364 <-- just making a TODO Dec 10 15:56:42 Btw., when I start the BBB without attached cape, I get a network connection. When it is already on the BBB when starting, I get no connection. Why? Dec 10 15:57:57 jkridner: thx Dec 10 17:01:16 Currently I get a lot of read/write errors on mmcblk0, why? Dec 10 20:36:06 yesss Dec 10 20:36:13 My beaglebone black from adafruit just arrived Dec 10 20:36:16 first arm board :D Dec 10 20:36:28 py0: great! Dec 10 20:37:49 now time for some tweaking around Dec 10 20:44:48 I am so happy jkridner Dec 10 20:56:26 save that original SSD :) Dec 10 21:22:15 djlewis, ? Dec 10 21:32:48 hi, my bbb connects to my linux laptop via the usb cable and brings up eth1 with an ip address of 192.168.7.2, but on my linux desktop, there is an eth1 interface but it doesn't get an ip address. both linux machines are recent debian testing. bbb has original angstrom install. clues? Dec 10 21:36:05 never mind. the laptop has network-mangler and the desktop has a static ip. "ifconfig eth1 192.168.7.1" made it work. Dec 10 22:05:17 Hmmm Dec 10 22:22:31 affect of cpufreq scaling on BBB's interrupt latency/jitter - [freq=fixed] http://dan.drown.org/bbb/run8/interrupt-latency.png [freq=ondemand] http://dan.drown.org/bbb/run9/interrupt-latency.png Dec 10 22:22:40 no real surprise that freq=ondemand results in higher latency due to the cpu being clocked slower on average Dec 10 22:24:48 people using pps-gpio would get better results by turning off cpufreq scaling Dec 10 22:43:56 py0: i read lots of people make a change and no longer get a boot off the original ssd Dec 10 22:44:09 then it is from step 1 Dec 10 22:50:11 what does original ssd indicate Dec 10 22:52:24 py0: Sorry dude, the SD card. I have ssd on my brain working on this computer. Dec 10 22:53:03 You've confused the hell outta me bub Dec 10 22:53:32 py0: did you get s SD memory card with your new BBB? Dec 10 22:55:20 py0: nevermind, have fun with it. I gotta go now. Dec 10 23:06:02 I was afk :| Dec 10 23:33:39 Can I please have some help connecting my four pin usb to ttl cable to my beaglebone black rev c Dec 10 23:34:14 I'm looking at this legend http://beagleboard.org/support/bone101 and trying to match it to the specs listed on http://www.adafruit.com/products/954?gclid=COimv8HIvMICFWdo7AodTi8AgA but I can't seem to figure out the correct way to plug in my serial cable Dec 10 23:35:51 (Legend: Cape Expansion Headers) Dec 10 23:36:50 Not useful. Dec 10 23:37:12 YOu want to connect to the dedicated serial port, the 6-pin male header inboard of the main headers. Dec 10 23:37:18 http://elinux.org/Beagleboard:BeagleBone_Black_Serial Dec 10 23:37:30 ^^^ Dec 10 23:37:52 I really need to make a picture for that. Dec 10 23:37:57 wow Dec 10 23:38:03 I really like your technical response agmlego Dec 10 23:38:13 thank you for your clarity and thanks jkridner for the link Dec 10 23:38:26 py0: You are very welcome. Dec 10 23:38:55 How do you tell which pin is which # Dec 10 23:39:08 it's not labeled Dec 10 23:39:09 It is probably labeled in the silkscreen on the board. Dec 10 23:39:12 Ah. Dec 10 23:39:39 Then use your multimeter and find which of the pins is connected to ground. Dec 10 23:39:45 I tried to read the schematic here http://beagleboard.org/static/beaglebone/latest/Docs/Hardware/BONE_SCH.pdf on page 10 but could not understand it Dec 10 23:39:48 THen you will know the orientation of the header. Dec 10 23:39:51 I do not own a multimeter :| Dec 10 23:39:58 or what a "header" is in this case Dec 10 23:40:12 py0: A header is the series of pins grouped by a plastic shroud. Dec 10 23:40:24 ok :D Dec 10 23:40:47 py0: YOu will want to pick uop a cheap multimeter, especially one with a continuity or diode check feature, at some point very soon if you are going to be doing embedded systems work. Dec 10 23:41:09 It is an essential piece of electronics diagnostics equipment. Dec 10 23:41:45 In any case, let me see if I can figure it out without having a board or any other references in front of me. Dec 10 23:41:58 I will definitely look into that.. is it possible for you to help me figure out the schematic? http://beagleboard.org/static/beaglebone/latest/Docs/Hardware/BONE_SCH.pdf p10 Dec 10 23:42:10 just so I can make some coding progress for the time being Dec 10 23:42:36 jkridner: ping Dec 10 23:42:44 yo! Dec 10 23:42:50 The schematic is probably not going to be useful for you, since it is an idealized version of the circuit, without any of the physical geometry. Dec 10 23:43:22 oh Dec 10 23:43:25 py0: http://dave.cheney.net/2013/09/22/two-point-five-ways-to-access-the-serial-console-on-your-beaglebone-black Dec 10 23:43:30 I was hoping it would reveal the pin numbers Dec 10 23:43:50 That link shows you a picture, with someone else''s serial adpater plugged in. In the picture, you can see the adapter's pin labels. Dec 10 23:44:12 friggin sweet! Dec 10 23:44:13 py0: Sure will, but without the board layout, or labels in the silk, pin numbers do you no good, right? Dec 10 23:44:43 py0: Note that I found that page as one of the first results to a GOogle query for "beaglebone black serial header pinout" Dec 10 23:44:51 ds2: pong Dec 10 23:45:08 I was looking for "beaglebone black pinout" Dec 10 23:45:32 py0: Yep, got to ask for what you actually want. ;-P Dec 10 23:53:26 I really appreciate that agmlego Dec 10 23:54:46 py0: THis is what thic hcannel is for. Dec 10 23:54:53 *this channel Dec 11 00:38:34 I'm trying to find information on the BBBK regarding WDT, does anybody know if their is hardware WDT support or is it only software? Dec 11 01:04:18 shouldnt i see wdt in this list? ls -1 /sys/devices/ocp.2/ Dec 11 02:25:33 lianli# cu -l /dev/ttyU0 -s 115200 Dec 11 02:25:33 Connected Dec 11 02:25:38 now it's just hanging there.. Dec 11 02:25:52 is something supposed to happen? I've never connected via serial before Dec 11 02:26:08 agmlego, please be around :x Dec 11 02:27:09 i use screen, screen /dev/ttyUSB0 115200 Dec 11 02:27:43 why is screen needed Dec 11 02:28:01 it's a terminal emulator Dec 11 02:28:14 oh Dec 11 02:28:26 Well, I've acquired root on my device through serial for the first time, hooray! Dec 11 02:28:34 :) Dec 11 02:29:07 But now, because of lack of docs (or my inability to find them).. I can't figure out how to install the freebsd image to my beagle through the sd card it's on Dec 11 02:29:26 I held down boot when attaching power like the website said but I can't tell if anything is happening or what Dec 11 02:30:45 what board are you using? Dec 11 02:30:52 beaglebone black rev c Dec 11 02:31:14 and your connected to serial over the debug port, or the usb mini serial port? Dec 11 02:32:03 if you are connected to the tx,rx,gnd pins on the debug port with a ftdi serial device for example, you should be able to see something. Dec 11 02:32:06 um.. I have the mini usb-> usb plugged in for power, and a usb plugged in again but on the other end is the seperated pins Dec 11 02:32:18 I can only see a root prompt and motd Dec 11 02:32:40 login: root pass: Dec 11 02:33:40 oh sounds like you made it, how exactly to install freebsd is beyond me! i know how to install debian with dd directly to an sdcard thats it. Dec 11 02:35:12 I tried shutdown -p now to turn it off but at the end it just said to press a button to reboot.. what's the safest way to disconnect this thing Dec 11 02:35:51 you can try halt Dec 11 02:36:56 https://www.freebsd.org/cgi/man.cgi?query=halt&apropos=0&sektion=0&manpath=FreeBSD+10.1-RELEASE&arch=default&format=html Dec 11 02:37:05 nothin Dec 11 02:38:02 oh try shutdown, sorry i forget bsd Dec 11 02:38:31 bsd, linux samething right? Nope! Dec 11 02:39:36 is the revc your first beagle product? **** ENDING LOGGING AT Thu Dec 11 02:59:58 2014