**** BEGIN LOGGING AT Wed Nov 05 03:00:00 2014 Nov 05 13:26:51 Hi, I succesfully used DS18B20 1wire temperature sensor on a Beaglebone white, are there also humidity and barometric pressure sensors just ready to go using 1wire technology ?? Nov 05 13:27:23 google does not know? Nov 05 13:33:33 Unfortunately not....there are many i2c or analog devices, DS18B20 is so immediate , just connected to beagle and read /sys/bus/1w/etcetcetc to get temperature data... Nov 05 13:35:12 Freddy: then use I2C Nov 05 13:35:17 temperature on a chip is easy Nov 05 13:40:22 I2C is totally unknown for me......time to learn.... Nov 05 14:20:19 Bye Nov 05 14:24:33 has anyone booted from usb, with u-boot 2013.10 or 2014.10, on a beagleboneblack? Nov 05 14:26:06 I have Nov 05 14:26:09 once Nov 05 14:26:19 uboot and tftp for kernel and nfs for root Nov 05 14:26:50 the goal is to install debian from usb, or pxe Nov 05 14:27:08 uboot on sdcard Nov 05 14:27:17 and wipe the SD card during the install, or afterwards Nov 05 14:27:22 uboot loads kernel+BTD+initrd from network Nov 05 14:27:27 afterwards, do what you want Nov 05 14:27:31 DTB Nov 05 14:33:42 so you haven't booted debian-7.7.0-armhf-netinst.iso for example? Nov 05 14:34:57 how would I boot an ISO? Nov 05 14:42:52 debian offers a hybrid image Nov 05 14:43:04 unsure whether it works with u-boot ... **** BEGIN LOGGING AT Wed Nov 05 15:22:11 2014 Nov 05 15:37:44 Does anyone know much about vlans and the beaglebone? It looks like the driver is fiddling with stuff... Nov 05 15:40:19 ? Nov 05 15:43:18 I understand that in dual EMAC mode that VLANs are used internally to differentiate between which interface the packets arrived on. However, I just want the ethernet port on the beaglebone to rx/tx vlan tagged frames properly... Nov 05 15:44:15 no idea, in my days we dint have no vlans not Nov 05 16:02:42 * jkridner googles vlan Nov 05 16:03:08 jkridner: http://en.wikipedia.org/wiki/IEEE_802.1Q Nov 05 16:03:25 what would be beagle-specific about them? Nov 05 16:03:35 driver requirements in the kernel? Nov 05 16:04:11 no idea Nov 05 16:04:18 ask xanium4332 Nov 05 16:04:29 * ogra_ prefers the non networked variant http://de.wikipedia.org/wiki/Vla Nov 05 16:07:47 so here's what I know. The beaglebone advertises having two ethernet interfaces. In fact, it has only a single interface to the processor. An internal 3-port switch is used to expose 2 interfaces to the world (one to the processor). The switch (which is VLAN aware) is then configured to tag frames coming/leaving each of the two interfaces with different VLANs. The driver then disambiguates the frames and pushes them to the Nov 05 16:07:47 correct interface in Linux Nov 05 16:08:08 The driver 'pretends' there's two interfaces, when in fact there is only one Nov 05 16:08:34 This is all fine as long as no VLAN-tagged frames are sent or received, as the switch won't process them correctly. Nov 05 16:09:22 However, there's various flags within the driver which enable/disable VLAN awareness (as well a device tree config item to enable dual emac mode) Nov 05 16:10:02 In the case with the beaglebone, there's only a single physical interface, so a lot of this logic is needed. Nov 05 16:10:32 *not* needed Nov 05 16:11:34 I want to try and make the interface act like a normal ethernet interface (incl. being able to send/receive vlan tagges packets). Basically I want the internal switch to disappear... Nov 05 16:12:10 I was hoping someone has already played around with all this... Nov 05 16:13:15 I have no idea why TI decided to add this 'dual emac' mode, it only works in the most simple of cases. They're better of explaining the existence of the internal 3-port VLAN aware switch, and mentioning you can use standard Linux VLAN tools to construct two virtual interfaces Nov 05 16:14:39 xanium4332: I never heard anybody speak about vlan here before Nov 05 16:15:04 OK sorry, was not sure where else would be better Nov 05 16:15:09 nowhere Nov 05 16:15:11 :) Nov 05 16:15:25 I fear you will have to do that work Nov 05 16:15:36 and then I can refer to next one that asks to your solution Nov 05 16:15:40 exiting, eh? Nov 05 16:47:35 Hello Nov 05 16:47:55 Hello Nov 05 16:48:18 I want to check if beagle bone rev c can be used in commercial product Nov 05 16:48:32 Guest33550: who would stop you? Nov 05 16:48:39 jkridner: the police! Nov 05 16:48:54 no....my question is on stability Nov 05 16:49:03 what stability? Nov 05 16:49:04 Guest33550: it depends on what you expect from BeagleBoard.org.... Nov 05 16:49:15 i want to use for home automation Nov 05 16:49:19 Guest33550: we might update the hardware to use newer stuff.... Nov 05 16:49:34 if you need old revs, go to some place like Arrow and order the revision you need. Nov 05 16:50:01 the board quality is something I think we have a pretty good handle on... Nov 05 16:50:19 but there's always a chance we update the memory, emmc, Ethernet PHY, etc. Nov 05 16:50:30 so it will run 24* 7 Nov 05 16:50:48 they run 24x7 in lots and lots of places.... Nov 05 16:51:02 if you have specific quality requirements, please test them yourselves to be certain. Nov 05 16:51:13 we only warranty for individual use, not for production use. Nov 05 16:51:24 because we don't know your environment. Nov 05 16:51:39 Guest33550: also you need to certify the BBB in your product for UL/CE/C-tick as the BBB itself is not certified Nov 05 16:51:49 there are several commercial SOMs that have similar features and a good degree of compatibility. Nov 05 16:52:01 KotH: actually, we are CE and FCC tested. Nov 05 16:52:06 not UL though. Nov 05 16:52:14 * jkridner doesn't know C-tick Nov 05 16:52:18 jkridner: hmm? i've missed the marks then Nov 05 16:52:37 KotH: http://elinux.org/Beagleboard:BeagleBoneBlack#Regulatory_Compliance_Documents Nov 05 16:52:42 we don't put the marks on the boards. Nov 05 16:52:57 but they were certified before we ever shipped. Nov 05 16:53:02 jkridner: if it's CE, then c-tick too (almost at least, they accept the CE cert as testing, but you need to register seperately) Nov 05 16:53:26 for some of our distributors, CE is a requirement. Nov 05 16:53:53 ok Nov 05 16:54:10 thought it would run as electronic component and not as a device by itself Nov 05 16:54:22 there was a whole funny incident where the r-pi guys were complaining that they didn't have a CE mark and distributors were puking at them. the R-Pi guys said... but look, BeagleBoard.org doesn't have CE... then we had to tell them how wrong they were. Nov 05 16:54:32 ...and thanks for spreading lies. Nov 05 16:54:44 fine thanks for advice. Nov 05 16:54:58 jkridner: heh Nov 05 16:55:01 jkridner: as usual Nov 05 16:59:32 I am trying to understand how events in prussdrv are handled. The nomenclature confuses me. Nov 05 16:59:54 why do I need to specify the "sysevent" for prussdrv_pru_clear_event() Nov 05 17:00:17 and if both cores deliver PRU_EVTOUT_0 - for which one do I clear the event? Nov 05 17:00:37 both *pru* cores. Nov 05 20:08:41 hi Nov 05 20:08:58 anybody available Nov 05 20:09:02 need some help Nov 05 20:10:45 help with what? Nov 05 20:17:52 i have bought beaglebone black rev c Nov 05 20:18:11 i connected with my laptop using minicom Nov 05 20:18:49 i am trying to get u-boot prompt but its diretly coming to loging shell Nov 05 20:19:12 whenever i reboot its resetting the minicom also Nov 05 20:19:46 please help me to get u-boot prompt on beaglebone black rev c Nov 05 20:20:10 you're using an ftdi cable or buspirate to reach the u-boot prompt? Nov 05 20:20:23 mannu1998: are you connected via minicom via an FTDI cable or are you using the virtual serial port? Nov 05 20:21:45 i have connected with USB port Nov 05 21:35:36 Anyone around who can help with writing device trees? Nov 05 21:36:50 gjn: you should start by asking your question, rather than asking to ask. Nov 05 21:37:36 you put a question out there with a pastebin, for example, and if people know, they'll respond... and it may take a while for them to notice your question. repeating it after a few hours doesn't hurt. Nov 05 21:39:35 Sure thing, I am working on a devicetree overlay to initiate UART2,UART4,CAN1, and a couple GPIO's and am having some issues. I get the .dts file to compile to a .dtbo and am able to load it into lib/firmware, but when I run the echo command to mount it to the capemgr slots I get a "write error: no such file or directory" Nov 05 21:39:47 What is a pastebin? Nov 05 21:40:07 http://paste.debian.net/ Nov 05 21:40:23 gjn: You paste your console logs there and link the result in the irc channel Nov 05 21:40:36 that way it doesn't "spam" the channel with lines of console output Nov 05 21:40:59 Most people use this though, although I prefer the debian one: http://pastebin.com/ Nov 05 21:42:11 Good to know, thanks Nov 05 23:07:02 Hello guys. I just got my BBB, and while reading the manual I can see all different mode available for extension header pins. I would liek to know if there is a list of default mode/pin somewhere ? Nov 05 23:08:40 For example, how can I know if the pin 21 is SCL or gpio3 ? Nov 05 23:09:46 thibaut: this is partially defined in the devicetree, partially gets switched around at run time. Nov 05 23:12:31 nomis: what do you mean by "switched around at run time"? by who ? Nov 05 23:12:42 thibaut: by the kernel, resp. the drivers. Nov 05 23:13:02 Hi to everyone Nov 05 23:13:28 I have some questions... Nov 05 23:13:29 usually the pin multiplexing gets set up once at boot time, tailored to your hardware. Nov 05 23:13:47 is there a realtime linux kernel for beaglebone ? Nov 05 23:14:02 nomis: when I cat the slots file to check which devicetree are loaded, I only see HDMI & emmc (and 4 empty lines before) Nov 05 23:14:09 is there a way to customize linx image? Nov 05 23:14:46 if I develope a shield board can I write my own drivers and inset thouse in the kernel? Nov 05 23:15:10 thibaut: sorry, I am not yet too involved with the beaglebone. I don't know how this mechanism is working. Nov 05 23:15:24 Ok, I will ask on ML, thx :) Nov 05 23:15:26 gmgunderground: yes. Nov 05 23:15:46 gmgunderground: check out http://beagleboard.org/project/machinekit for a Xenomai kernel and customized image. Nov 05 23:15:46 gmgunderground: you can develop your own drivers. Thats the fun with free software. Nov 05 23:16:01 gmgunderground: I am not sure about "hard" realtime. Nov 05 23:17:00 nomis: I don't need hard real time Nov 05 23:18:17 nomis: I need a fast way to exchange data from a custom board using beaglebone ethernet Nov 05 23:19:50 what is the fastest connection that I can use to exchange data between beaglebone and my custom interface? SPI, I2C, UART? Nov 05 23:20:04 I need more than 1Mbps Nov 05 23:20:20 gmgunderground: rough guess: SPI. Nov 05 23:20:51 nomis: how fast can be ? Nov 05 23:22:11 gmgunderground: depends on your hardware. According to wikipedia typically a few MHz Nov 05 23:25:09 8MHz would let you transfer 8MB within 30 seconds Nov 05 23:26:34 idwer: is only en example or 8MHz is the maximum speed of beaglebone SPI? Nov 05 23:27:16 Is there some limitations to use beaglebone in a commercial project? Nov 05 23:28:17 gmgunderground: only in terms of warranty... no promise it is suitable for your product or that we won't revise the boards. Ideal is to secure orders for a specific version if going into production. Nov 05 23:28:49 gmgunderground: http://elinux.org/Beagleboard:BeagleBoneBlack#Terms_of_Use Nov 05 23:29:34 gmgunderground: it was just an estimate, I don't know its maximum speed in MHz Nov 05 23:29:40 gmgunderground: https://groups.google.com/forum/#!topic/beagleboard/Lo0GEl1RdbU Nov 05 23:33:24 idwer: ok you are clear Nov 05 23:37:20 one question Nov 05 23:37:36 what is the advantage to use jtag in a beaglebone ? Nov 05 23:38:04 or better, who need a jtag ? Nov 05 23:39:05 no one really Nov 05 23:42:23 idwer: how did you calculate that? I end up with 8*8*1024*1024/8000000 = ~ 8.4s Nov 05 23:43:40 ok, add some overhead for the syscalls, but if you don't use single-byte transfers that shouldn't be that bad Nov 05 23:44:46 nomis: oh, I had flashrom's habits in mind.. it writes to flash connected over SPI, and reads the written bytes Nov 05 23:45:02 (for verification) Nov 05 23:45:12 ah, ok. Nov 05 23:45:54 if I don't use a jtag and I hard play with the kernel is there a way to lock the board? Nov 05 23:46:16 nothing reset, reflash, or power cycle can't fix Nov 05 23:46:19 Is there a way to debug an application running on the board ? Nov 05 23:46:27 gmgunderground: yeah. jtag. Nov 05 23:46:30 what are you calling application? Nov 05 23:46:31 (scnr) Nov 05 23:47:00 gdb Nov 05 23:47:00 gmgunderground: typically you want to use gdb Nov 05 23:47:08 application is for example a program write in c Nov 05 23:47:11 gdb Nov 05 23:47:16 or strace Nov 05 23:47:17 or a custom kernel driver Nov 05 23:47:25 normal apps can be debugged with gdb, printf, etc Nov 05 23:47:32 it is just another Linux system Nov 05 23:47:35 I'm new to linux and I'm learning all this world Nov 05 23:47:40 or, ultimately, a decent source code review Nov 05 23:47:44 maybe my questions are stupid Nov 05 23:47:47 if you can debug it on a desktop, you can debug it on the beagle Nov 05 23:49:29 I usually develop software for ARM Cortex processors with RTOS that is not like linux Nov 05 23:49:38 all software is a single image Nov 05 23:49:52 in linux there is a more complex OS Nov 05 23:49:58 gmgunderground: prepare for a culture shock Nov 05 23:50:30 I'm happy to learn new things Nov 05 23:51:14 I have to buy a beaglebone for tests and I want to know if I need to buy a Jtag (J-Link) adaper Nov 05 23:51:22 gmgunderground: no Nov 05 23:51:34 I have a J-Link interface Nov 05 23:51:44 no jlink Nov 05 23:52:09 linux and rtos isn't that different...just remember linux is not rt Nov 05 23:52:22 If I want to debug step by step an application what can I use ? Nov 05 23:52:32 gmgunderground: gdb Nov 05 23:52:43 gdb over ethernet ? Nov 05 23:52:49 over usb ? Nov 05 23:53:17 just open a shell and run gdb locally Nov 05 23:53:23 Beagle is a Linux machine afterall Nov 05 23:53:32 and if I flash a bad kernel image during test, is always possible to recovery the board ? Nov 05 23:53:34 gmgunderground: network is possible. You't then use gdbserver on the beaglebone and a regular gdb on the remote side. Running gdb locally is more convenient though Nov 05 23:53:56 yes Nov 05 23:54:09 worse case you break out a the microSD card flasher image Nov 05 23:54:15 what you do want to have around is the serial adapter Nov 05 23:54:19 ds2: yes for what question ? Nov 05 23:54:57 on the beagle - the boot process is: AM335x ROM -> First stage bootloader on a SD card type media -> Second stage loader aka U-boot -> Kernel Nov 05 23:55:14 if you screw up the kernel, drop into U-boot and tell it to pull a kernel elsewhere or use it to rewrite one Nov 05 23:55:25 yes it is always possible to recover Nov 05 23:56:03 ok, so I don't need a JTAG connection Nov 05 23:56:05 s/beagle/beaglebone/ Nov 05 23:56:27 beagleboard (BBC/BBX) have a different processor but they have ROMs so it works similarly Nov 05 23:57:46 If I understand in the citara there is only the boot loader and the image is in external flash o externam sdcard Nov 05 23:57:51 right ? Nov 05 23:58:16 u-boot can reside on SD as well.. what's citara? Nov 05 23:59:08 excuseme citara = sitara Nov 05 23:59:23 sitara is the name of the AM335x Nov 06 00:00:36 keep in mind the flash is a soldered on SD card...aka eMMC Nov 06 00:02:12 ds2: I will continue the discussion another day... here are 1AM, I go to sleep Nov 06 00:02:17 tank you for support Nov 06 02:30:07 hello, i am trying to ping 8.8.8.8 from my beaglebone through my laptop (usb connection) but nothing happens Nov 06 02:30:29 --- 8.8.8.8 ping statistics --- Nov 06 02:30:48 17 packets transmitted, 0 received, 100% packet loss, time 16008ms Nov 06 02:32:15 i can ping my laptop but not 8.8.8.8 Nov 06 02:37:15 i have tried turning the firewall off **** ENDING LOGGING AT Thu Nov 06 03:00:00 2014