**** BEGIN LOGGING AT Tue Aug 04 02:59:58 2015 Aug 04 07:09:23 hii i developed my reference board using beagle bone schematics and gerber but i am not able to boot from my sd card Aug 04 07:10:06 how much are you willing to pay for help? Aug 04 07:10:29 i hope a suggestion or help Aug 04 07:11:19 well, beside the standard "use jtag, serial cable and debug the shit out of your board"? Aug 04 07:12:34 look, we might be a group of volunteers here, who help people getting things done. but we are not keen to people who drop in out of nowhere, ask questions which are clearly of commercial nature, and expect to be helped Aug 04 07:12:38 it does not work like this Aug 04 07:13:15 especially if you do not seem to have done your homework at all Aug 04 07:13:25 calm, calm Aug 04 07:13:52 * KotH is calm Aug 04 07:13:58 * KotH had already a bar of chocolate Aug 04 07:14:29 but i got up too early, so i might be a tad bit grumpy Aug 04 07:14:31 mmmm, should open a vlc chocolate Aug 04 07:15:01 tbr: you can go to vdd for me and get even more from luca Aug 04 07:15:23 * tbr nibbles on some libav mint Aug 04 07:15:38 :) Aug 04 07:15:41 do they pay for travel? Aug 04 07:15:49 yes Aug 04 07:16:04 you just need to be active in an multimedia related OSS project Aug 04 07:16:09 if in doubt, contact j-b Aug 04 09:22:47 Hi. Can someone please tell me how to get at the P8 pins on the BBB in 'c'? Aug 04 09:28:31 Peter___: google for "GPIO linux" Aug 04 10:21:36 KotH - thanks, that looks just the job. Aug 04 10:29:47 hi all! I saw that there is a new 4.1 kernel, has this kernel support for PRU, through rproc or uio_pruss ? Aug 04 10:31:19 can I use https://eewiki.net/display/linuxonarm/BeagleBone+Black for white beaglebone? Aug 04 10:32:01 does beaglebone white and black have different device tree on kernel? Aug 04 11:15:11 what chip to use to connect a sensor to a CAN bus? Aug 04 11:24:13 citylight2: ? what u mean Aug 04 11:25:42 rob_w: let me help you translate that: "i have been given this weird task, but i have no clue whatsoever, i dont even know what i should be asking for" Aug 04 11:25:51 ah Aug 04 11:26:06 citylight2: use a uC Aug 04 11:26:20 citylight2: an 8bit pic or something like that should be enough Aug 04 11:26:35 or connect can_h and can_l together ;-) Aug 04 11:38:48 rob_w : I mean I have a sensor that gives open connector output. It is far from my beaglebone black Aug 04 11:39:23 I seek a chip, to input this sensor and output CAN bus Aug 04 11:40:02 KotH: I am seeking a lazy selution Aug 04 11:40:06 solution Aug 04 11:40:18 mcp2515 Aug 04 11:40:24 a classic canbus chip Aug 04 11:41:33 yet only the physical thing, yea need one to load it up etc Aug 04 11:45:52 I heard that atmel have a full one chip solution Aug 04 11:46:23 in order to connect my BBB need I use a mcp2515 on the BBB side? Aug 04 11:49:08 i found a website named google.com and when i type "beaglebone cape canbus" i got http://elinux.org/CircuitCo:CAN_Bus_Cape_RevA Aug 04 11:50:14 rob_w what about the sensor side? Aug 04 11:53:30 bbb + cancape + sensor ? Aug 04 11:54:01 uC + sensor + mcp2515 ? Aug 04 12:11:15 azv4: downgrade ? Aug 04 12:11:28 had to rollback Aug 04 12:11:38 v5 had a hangover Aug 04 12:11:40 reset hard , i guess Aug 04 12:11:52 rollback didn't work, might have to try a reboot Aug 04 13:36:54 rob_w I also heard about a protocol that resembles CAN bus called LIN Aug 04 13:37:05 which IC are 1.5$ Aug 04 13:38:13 20k baud rate Aug 04 13:41:05 lin is a subsiduary bus to can Aug 04 13:41:49 well , Aug 04 13:42:05 if you like linbus , then use that .. i dont know what your conditions are Aug 04 13:43:06 can't you use i2c ? Aug 04 13:43:33 i think was talking about a distance between his devices Aug 04 13:43:53 I would say rs485 .. but half-duplex is a pain Aug 04 13:44:15 could do rs422 differential Aug 04 14:22:45 stt_michael, I use canbus, like rs485 and rs422 I'm sure you loose speed for distance Aug 04 14:23:08 just depends what is easier for you. For me canbus is easy, but I have tools for it too, which make is really easy Aug 04 14:24:49 what do I need to interface my bbb to a lin bus? Aug 04 14:24:53 LIN Aug 04 14:25:09 CAN is length/rate limited; The bus assumes and requires all nodes to see the same bit at the same time. If you run the bus too fast, or over too long a distance, that assumption is violated, and you run into collisions and failures of the bus. Aug 04 14:25:46 In practice, tens of meters at slow speeds, or up to a megabit at shorter distances, is practical with CAN. Aug 04 14:26:08 LIN is necessarily shorter and slower, not being a differential bus. Aug 04 14:26:21 I need 20m max, speed of 20k is good for me Aug 04 14:26:29 citylight2: YOu would need a LIN traNSCEIVER AND/OR DRIVER, MUCH LIKE WITH can. Aug 04 14:26:37 Sorry about that. Aug 04 14:26:56 do me have a LIN stack for the beaglebone? Aug 04 14:28:05 can bus max speed is 1Mbit / Sec at 40 meters Aug 04 14:28:18 slowst is 50kbits / sec at 1000 meters Aug 04 14:28:45 the distance you have and speed you want, you could use a varity of things Aug 04 14:28:57 can, lin, rs Aug 04 14:29:26 probably more than that too Aug 04 14:30:21 agmlego, what's the easiest to implement in bbb? Aug 04 14:30:34 tlab: Depends. Aug 04 14:30:45 What does the user think is easy? Aug 04 14:30:59 lol true Aug 04 14:31:50 The bone has CAN, but needs a transceiver IIRC. LIN can be trivially bitbanged, and the PRUs were largely designed to be software-defined bus drivers. Aug 04 14:32:26 RS232 and RS485 are trivial since they are simply different electrical means for UART. Aug 04 14:32:29 so the pru would drive the can driver? Aug 04 14:32:34 No. Aug 04 14:32:44 THe CAN driver would drive the CAN transceiver. Aug 04 14:32:51 pru will load code and use the gpio Aug 04 14:33:19 but the PRU will offload the cpu from handling the bus Aug 04 14:33:33 Yes, this is what the PRU was mostly intended for. Aug 04 14:33:55 Atmel ATA6617C is 5.18 for a full one chip solution Aug 04 14:34:09 so main software doesn't slow down communication? Aug 04 14:34:16 it offers 16 IO pins and sends out LIN Aug 04 14:34:40 Sure, it is a full AVR with a LIN driver. Aug 04 14:34:58 An enterprising person might even be able to run Arduino on it. Aug 04 14:35:28 so I can just connect my sensors to it and have it sent without dealing with the communication Aug 04 14:36:23 Once you program the AVR in it to send the data from your sensors, yes. Aug 04 14:36:48 agmlego: does TI offer a slimier solution ? Aug 04 14:39:21 citylight2: I can Google as well as you can. Aug 04 14:39:43 ok ok Aug 04 14:39:56 I just figured someone here may know better Aug 04 14:40:19 so I have a towertech bbb canbus cape. Is it best to create some PRU code for that? It seems like it already works just fine socketcan Aug 04 14:40:33 *with Aug 04 14:40:53 tlab: Why would you do that, when the bone itself *already talks CAN*? Aug 04 14:41:01 If you do write it please share Aug 04 14:41:15 Like, the AM335x *has* a CAN driver built in already. Aug 04 14:41:37 at the time it was the easiest solution I knew... Aug 04 14:41:48 All the cape does, IIRC, is add the necessary transceiver to drive the bus. Aug 04 14:41:51 plus it gives me extra canbus lines Aug 04 14:42:04 tlab: I think you are misunderstanding me. Aug 04 14:42:51 I understand that there are can on the bbb, and just needs a transceiver... Aug 04 14:43:23 tlab: Let me ask you a different question. Would you rather a) use the Ethernet port on the bone or b) write your own code for the PRU, figure out how to mux the right pins, tune it for performance, and use all of *that* for Ethernet? Aug 04 14:43:45 use socketcan. Aug 04 14:43:52 it works fine. Aug 04 14:44:21 of course, juse use the ethernet Aug 04 14:44:44 Unless you are significantly unhappy about a particular aspect of the Ethernet controller on the bone, you would never do b). So, too, with the CAN. THe difference is, with Ethernet, CircuitCo put the transceiver on the board already for you; with CAN, you use a cape to provide that. Aug 04 14:44:56 No reason to get the PRU involved. Aug 04 14:45:22 Now, if you want to do LIN, you may have to use the PRU; I do not believe the AM335x has a LIN driver built in. Aug 04 14:50:14 I should try to get the bbb canbus working Aug 04 14:51:04 it works pretty well with the can/serial cape and capemgr Aug 04 14:51:33 i just wish they had actually used can0 rather than using can1 and calling it can0 in the overlay, somewhat confusing Aug 04 14:52:56 the point is to skip another cape Aug 04 14:54:19 tlab: You will need a cape anyway due to the need for a transceiver chip. Aug 04 14:57:25 yeah true... currently I have the TTcan board, but I am wanting to add a small display, example ssd1306 Aug 04 15:01:07 so I'll need to squeeze in wiring and ensure I still can with the TTcan Aug 04 15:19:45 anyone know where the cape manager config is located in the kernel via make menuconfig? Aug 04 16:23:55 how to connect the beagle to internet Aug 04 16:24:12 i am using linux Aug 04 16:25:19 which beagle? Aug 04 16:26:12 the bbw and bbb have an rj45 socket that you connect a cable to and then the os thats running on the beagle uses that wether its android or linux Aug 04 16:33:57 i am using a beaglebone nlack Aug 04 16:34:05 i am connecting it via usb Aug 04 16:35:35 i connected my beagle to my linux pc via usb Aug 04 16:35:36 and im guessing your using angstrom? Aug 04 16:35:45 on the bbb Aug 04 16:35:55 no i'm using debian on the beagle Aug 04 16:36:18 im not sure if debian has the drivers for the ethernet over usb subsystem Aug 04 16:36:30 i know angstrom does Aug 04 16:36:40 it's almost the same Aug 04 16:36:47 just let me know Aug 04 16:36:58 let you know what? Aug 04 16:37:11 do you have the g_ether drivers loaded? Aug 04 16:37:33 we help in here not do work for you lol Aug 04 16:37:46 how do you connect the beagle which is running on angstrom to the internet Aug 04 16:38:07 same way as with debian ... you plug in a network cable ... Aug 04 16:38:23 i am using an usb cable Aug 04 16:38:37 i don't have an ethernet cable Aug 04 16:38:45 (to make networking over USB work you need to configure your PC for that and likely need to reconfigure the beagle too ) Aug 04 16:38:52 get an ethernet cable thnen Aug 04 16:39:04 fine Aug 04 16:39:10 thanks a lot Aug 04 16:39:27 ty ogra_ i havent used the bbb or the ethernet over usb myself so only know a limited amount Aug 04 16:40:00 that's the easy way of course :) Aug 04 16:40:04 actually this was a little helpfull Aug 04 16:40:34 H-H-H, well, it has networking and serial gadget support enabled and also sets up a dhcp server to assign an IP to your PC ... but that wont help for i forwarding, you need it the other way round Aug 04 16:41:14 thanks for the info Aug 04 16:41:37 (y) Aug 04 21:30:28 hi all, was wondering if anyone can point me to docs on the pwm limits (in terms of freq and duty)? Aug 04 21:30:53 beagle bone black is the platform I'm after details on Aug 04 21:39:09 www.adafruit.com/datasheets/BBB_SRM.pdf Aug 04 21:45:00 heda: You want the AM335x TRM (spruh73l.pdf). I've never used the PWM myself but take a look at chapter 15 Aug 04 21:45:12 limbrik: thanks a million! Aug 04 21:48:40 whoops. TRM, not SRM. Aug 04 22:08:46 hmm, no rcn Aug 04 22:09:10 did anyone here used a sensor with can bus sending info to your BBB? Aug 04 22:09:15 is so how? Aug 04 22:09:24 hi guys my boot is failing on my beaglebone black and i have a serial cable how do i have boot using the normal dtb? Aug 04 22:09:50 how do i have uboot use the standard am335x dtb? Aug 04 22:24:46 anybody? Aug 04 23:00:06 can someone help me fix my board through uboot Aug 04 23:00:13 please Aug 04 23:10:54 mistawright: I don't know how, but I can ask some questions. Is there a tutorial that you're following? If so, please link us to it. If not, where'd you get the idea this was possible, and what links can you find to how that's done? Aug 04 23:11:31 i assumed the beaglebone black could boot from usb Aug 04 23:11:34 also, can you describe the symptoms? You say "my boot is failing"; what shows up on the console? pastebin the boot log if you can Aug 04 23:12:12 i would be happy with even etting it show up as a usb device so i could edit the uEnv.txt directly. For some reason it will no longer read microsd cards without giving me errors when trying to initialize them Aug 04 23:12:24 pastebin the errors Aug 04 23:12:54 myself: http://pastebin.com/B5Kk2DK7 Aug 04 23:30:33 mistawright: So your kernel is hanging on boot, but the bigger problem is getting "no partition table" on mmc0 even though you believe the SD card has a valid partition table? Aug 04 23:31:15 i can do without the microsd card part. its hanging on boot from emmc Aug 04 23:31:28 i need to be able edit the uEnv.txt Aug 04 23:32:06 mistawright: I remember someone - is it zmatt - shared a u-boot command line snippet to make it expose mmc1 as a usb mass storage device. I don't really want to search the logs but maybe google around? Aug 04 23:32:29 havent found anything Aug 05 00:14:45 limbrik: U-Boot# ums 0 mmc 1 this is the command that did the trick Aug 05 00:14:56 thanks for pointing me in the right direction Aug 05 00:20:36 hopefully i can just dd an image to the partition and boot up after that **** ENDING LOGGING AT Wed Aug 05 02:59:58 2015