**** BEGIN LOGGING AT Thu Mar 19 02:59:58 2015 Mar 19 04:38:21 If I coded something for the beaglebone black (ARM-A8) in C or C++, how easy would it be to port to an ARM-M3? Mar 19 05:06:29 dutra .. what do you have in mind .. io would be completely different for a start Mar 19 05:20:52 Would anyone be able to help me out with flashing debian on my BBB. I've tried pretty much all images from the site and they have all failed. Mar 19 05:45:50 veremit, I have to work on a project for a Cypress PSoC 5 for a class, which lets me have an ARM Cortex M3. I thought about making a very simple Atari-like game. But later, I would like to keep it, probably porting it to the Beaglebone Black. Mar 19 05:46:30 dutra .. you won't get much of a display out of an M3 :) Mar 19 05:47:31 veremit, the psoc has a VGA output, and since it is a psoc, I can have a vga IC easily I think :P Mar 19 05:48:25 veremit, I know that the IO is different, etc, but if I write C code for the M3, would I have to completely rewrite it to run with the beaglebone A8? Mar 19 05:51:54 write it as source code Mar 19 05:52:02 in a high level language Mar 19 05:52:03 like C Mar 19 05:52:05 :) Mar 19 05:53:27 well .. it seems its not like a bare m3 .. so .. go for it .. you will need to do some translation .. but shuold be feasible Mar 19 05:54:22 awesome :D Mar 19 05:55:06 i have to make anything for this microcontroller class i am taking as a final project, as long as it uses a 8051 and the cypress psoc 5 Mar 19 05:58:49 which PSOC5 has enough DACs for VGA out? Mar 19 05:59:02 thought they topped out with only 2 DACs Mar 19 05:59:47 there is a VGA out connector on the board, so i assume i can use it Mar 19 06:00:05 they gave me the cypress cy8ckit-050 Mar 19 06:03:34 you mean the RS232? Mar 19 06:03:59 I see no VGA Mar 19 06:04:22 well i'm an idiot Mar 19 06:06:19 i just got the board today, but you are right, this is a rs232 Mar 19 06:19:04 oops. Mar 19 06:20:53 SPI TFT should work :) Mar 19 06:27:17 yeah that should work Mar 19 06:28:05 i have an fpga that i wrote an VGA module for some time ago. I wonder if I could use that with the psoc Mar 19 06:29:22 technically .. yes .. Mar 19 10:08:59 want to know about beagleboard xm Mar 19 10:09:16 what? Mar 19 10:10:09 want to know whether the sd card shipped with beagleboard xm has bootable os in it Mar 19 10:10:50 like angstrom Mar 19 10:11:48 I currently have one board with me. However, am not able to get it work Mar 19 11:24:47 hello everyone.. I got an unsolved issue with project I work with beagle-bone, and really need help Mar 19 12:02:09 Shaulikoo and what is your problem? Mar 19 12:03:15 attention deficit :) Mar 19 12:04:03 av500 hm I solved his problem Mar 19 12:04:20 via mindcontrol Mar 19 12:05:07 going to solve my problem?? Mar 19 12:05:09 heehee Mar 19 12:05:22 one problem per day Mar 19 12:05:22 lets see how good that mind control is :) Mar 19 12:05:24 haahaa Mar 19 12:05:28 try again tomorrow Mar 19 12:05:45 awww thats no fair.. Mar 19 12:06:14 seriously.. hows it going all? Mar 19 12:06:35 any new news in the beagle world ? Mar 19 12:06:50 Tenkawa musb still unstable Mar 19 12:06:56 ouch Mar 19 12:08:03 I was planning on re-deploying my bbb units however peripheral connectivity is going to be a touchy subject Mar 19 12:10:14 time to run.. bbl Mar 19 13:15:11 what are the steps to boot beaglebone from SD card? Mar 19 13:16:04 please..... Mar 19 13:17:01 ajay_kumar: http://bit.ly/1O95fGx Mar 19 13:18:02 :> Mar 19 13:30:09 i have googled prior coming here. when hold S2 button the image i have burn't into sdcard gets flashed into emmc. its not booting up from sd card. i have been stuck there. So if you can help me there i would be grateful to you Mar 19 13:44:38 @Anonissmus i have googled prior coming here. when hold S2 button the image i have burn't into sdcard gets flashed into emmc. its not booting up from sd card. i have been stuck there Mar 19 13:46:07 ajay_kumar, It sounds like you downloaded one of the flasher versions. You'll want a standalone version. Mar 19 13:48:00 @cdbachmann ohh can you please give a link of standalone version so that i can experiment on it..pleasee Mar 19 13:51:11 ajay_kumar, there should be a standalone version on the same place where you obtained the flasher version. There are a multitude of various versions out there. Mar 19 13:52:13 @cdbachmann okay thank you Mar 19 14:05:58 I have a problem with the new debian image. I flashed the new image and set up wifi according to the adafruit tutorial. It works fine but it is not loading the wifi on boot. I have to manually log in and use ifup wlan0 to make it start. Here is a pasebin of my interfaces file http://pastebin.com/37AjV6tG Any ideas? Mar 19 14:12:43 Any other files I could link? Mar 19 14:17:08 /leave Mar 19 14:22:15 Emmentaler: did uncommenting the "auto wlan0" not work? Mar 19 14:23:33 alas, no Mar 19 14:23:43 I thought it would too Mar 19 14:25:14 If this helps, I noticed that I do not have internet access through the usb cable either (but I can ssh in) Mar 19 14:25:56 Does the interfaces process have a boot log? Mar 19 14:28:17 same as the system log. Mar 19 14:31:20 system log= /var/log/dmesg ? Mar 19 14:34:39 and syslog there, and maybe a dedicated interfaces/networking file Mar 19 14:35:12 might be that networking is coming up before usb in your boot order. Mar 19 14:36:14 that was my thought but I have no idea how to check/change the boot order. Any primer suggestions? Mar 19 14:36:44 google "debian boot order" ;-P Mar 19 14:37:45 lol, i suppose :) Mar 19 14:45:47 there are some strange things with debian and network interfaces .. I couldn't get a usb wifi to enumerate properly at boot-time either Mar 19 14:46:21 any ideas? Mar 19 14:46:30 seems it doesn't bring it up if ethernet is present, for example Mar 19 14:46:31 How did you resolve it Mar 19 14:47:01 I'm not sure I have - I've forced ifup wlan0 & dhcp'd manually Mar 19 14:47:53 I dont have anything plugged into the ethernet port Mar 19 14:48:44 I tried a cron job @reboot but that didn't work Mar 19 14:49:04 rc.local is another option I've seen Mar 19 14:49:26 I haven't tried connman yet Mar 19 14:49:37 I am not famiiar with rc.local. I will google Mar 19 14:50:06 whichever is the lightweight one, but RCN said he was compiling from source if not using 'jessie' Mar 19 14:51:43 uh oh, we just went out of my depth. RCN? jessie? Mar 19 14:54:36 It looks like rc.local runs at the end of each level which means it will run more than once? Mar 19 15:15:48 Emmentaler hm really? Mar 19 15:15:56 I thought it runs at the last level Mar 19 15:16:38 Its what it says. I am trying it now though. It doesnt seem to be working Mar 19 15:16:52 urrr Mar 19 15:17:36 hm? Mar 19 15:18:12 like grrr :( Mar 19 15:18:24 or $%^@@ Mar 19 15:18:43 works fine when I run after logged in Mar 19 15:18:52 hm Mar 19 15:18:57 for us it worked fine Mar 19 15:19:05 or for me Mar 19 15:19:16 in serval debian ubuntu installations Mar 19 15:19:42 what do you want to run in rc.local? Mar 19 15:19:51 mine is just the straight debian Mar 19 15:20:13 ifup wlan0 Mar 19 15:20:32 might not be pathed right Mar 19 15:26:45 the script that calls rc.local sets paths so thats not it Mar 19 15:33:21 so I found this in the wicd.log file "No wired connection present, attempting to autoconnect to wireless network" Mar 19 15:33:45 and then "Unable to autoconnect, you'll have to manually connect" Mar 19 15:39:19 anyone had issues partitioning up 8gb uSD cards? Mar 19 15:39:55 stt_michael, what issues are you having? Mar 19 15:40:19 Emmentaler why not run the wlan setup in the /etc/network/interfaces files? Mar 19 15:40:48 it is in those files Mar 19 15:40:59 it just isn't starting on boot Mar 19 15:41:02 ah you're online .. ;P Mar 19 15:41:06 hi rcn, I read your remark a few days ago here regarding DMA Mar 19 15:41:27 Emmentaler did you forget auto wlan0 stranca ? Mar 19 15:41:28 here is my interfaces file http://pastebin.com/37AjV6tG Mar 19 15:41:30 your sfdisk won't work .. it says its done something ,but there are no partitions rcn-ee Mar 19 15:41:32 what is the status of TI support today for the am533xx we use? Mar 19 15:41:50 stranca? Mar 19 15:41:51 rcn-ee, got some issues with the shared git repo setup .. although I worked my way around one .. Mar 19 15:42:09 hm okay its in there Mar 19 15:42:16 and manual ifup wlan0 works? Mar 19 15:42:20 after login Mar 19 15:43:16 http://pastebin.com/pwQ8aawQ Mar 19 15:43:18 stt_michael, which version of sfdisk? fedora rawhide had a nice new version, that they changed syntax.. Mar 19 15:43:43 sfdisk from util-linux 2.24.1 Mar 19 15:44:03 ignore the other drives in the pastebin ;) Mar 19 15:45:37 odd, (that version is fine) and thus should have worked, Mar 19 15:45:42 woglinde yes Mar 19 15:46:11 http://pastebin.com/8sznu2bB is my wicd.log file Mar 19 15:46:27 is the software sopport from TI still under development? Mar 19 15:47:26 nivw, well the "3.14" tree we are using, is maintained by ti: Mar 19 15:47:35 http://git.ti.com/gitweb/?p=ti-linux-kernel/ti-linux-kernel.git;a=shortlog;h=refs/heads/ti-linux-3.14.y Mar 19 15:49:21 but 3.14 had an issue with the pullup and select() Mar 19 15:52:10 nivw, add your details to : http://bugs.elinux.org/projects/beaglebone-black/issues while i'll be gone next week, atleast we will be able to monitor and checkout the issue.. Mar 19 15:52:59 anyone partitioned up an SD card using fdisk, old skool ? Mar 19 15:56:12 I just noticed this bug http://pastebin.com/8sznu2bB Mar 19 15:56:20 crap wrong link Mar 19 15:56:40 http://bugs.elinux.org/issues/107 Mar 19 15:59:59 Emmentaler, 107, was a duplicate, wicd takes over eth0 with wheezy.. Mar 19 16:01:18 so... It ignores interfaces file or it is just read from a different process? Mar 19 16:01:22 hm deinstall wicd? Mar 19 16:02:32 I am still baffled. Are the old tutorials wrong about how to set up wifi? Mar 19 16:05:02 no wicd tries to plays game Mar 19 16:16:02 is wicd in the default minimal debian package? Mar 19 16:16:14 wait, let me rephrase that ... Mar 19 16:16:23 it's default in the "lxde" images Mar 19 16:16:26 rcn-ee, ... do you have wicd in your minimal debian tar .. :p Mar 19 16:16:31 nope Mar 19 16:16:35 good :) Mar 19 16:16:47 with lxqt we have connman.; ) Mar 19 16:16:48 right .. got around my segfault issues :/ Mar 19 16:16:59 yes, provided you either build from source, or use jessie :P~ Mar 19 16:49:52 so, no ideas why my uSD won't partition :( Mar 19 17:58:44 rcn-ee: does your script: https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh do what i think it does? in that it copies my current emmc and creates a new bootable image to flash another beaglebones emmc? Mar 19 18:02:57 rcn-ee assume I got the console image , how to upgrade to the lxqt ? Mar 19 18:51:01 mwillbanks, correct Mar 19 18:51:25 cityLights, it's a little complex, start with lightdm and lxqt-common lxqt-panel openbox.. Mar 19 18:54:07 rcn-ee: seems to look for /boot/uboot which I don't have with the most recent image, should i be more so looking for: mmcblk0boot0 or mmcblk0boot1 Mar 19 18:54:55 aka http://snaps.mike.pw/snap/20150319135452qvb94.jpg Mar 19 18:58:45 mwillbanks, oh "tools"... stay away from that repo.. Mar 19 18:59:25 this one: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh Mar 19 18:59:31 which should already be under /opt/scripts/ Mar 19 18:59:57 :D Mar 19 19:01:18 rcn-ee: you've made my day, thanks for all you do. Mar 19 19:31:22 Hello, Mar 19 19:32:18 I have BB XM with ULCD7 and it was working firn with Angstrom. Suddenly stopped, LCD shows black and color lanes on half of screen, any idea why ? Mar 19 19:47:35 So I'm looking at the latest linux kernel include/dt-bindings/pinctrl/am33xx.h, and it defines PULL_DISABLE as 1<<3. But in the am335x trm, bit 3 is for enabling or disabling the pull up OR pull down (and bit 4 configures whether it is a pull up or down) Mar 19 19:48:10 Ah, actually, I think I figured it out Mar 19 19:48:20 * fishey1 realizes he was reading things wrong Mar 19 20:08:44 hey !! i need to edit am335x-boneblack.dtb but its no present at /boot/ Mar 19 20:19:53 any idea about where can i find am335x-boneblack.dtb file ? Mar 19 20:20:16 need to edit it . Mar 19 20:21:13 ZeekHuge: http://bit.ly/1H7eaq8 Mar 19 20:23:08 but its not present in /boot ! Mar 19 20:24:10 ZeekHuge, /boot/dtbs/${uname -r}/ ? Mar 19 20:26:29 root@beaglebone:/boot# ls -al /boot/dtbs/${uname -r}/ -bash: /boot/dtbs/${uname -r}/: bad substitution root@beaglebone:/boot# Mar 19 20:26:51 `uname -r` if your going to do that.. Mar 19 20:27:18 or $(uname -r) Mar 19 20:28:55 root@beaglebone:/boot# ls -al /boot/dtbs/${uname -r}/ -bash: /boot/dtbs/${uname -r}/: bad substitution root@beaglebone:/boot# Mar 19 20:29:23 you are repeating yourself Mar 19 20:31:27 oh ! really sory for that. Mar 19 20:31:50 or even .. "find /boot/ | grep am335x-boneblack.dtb" Mar 19 20:32:11 rcn-ee, find /boot -iname "*.dtb" Mar 19 20:32:25 who knows the filesystem :P Mar 19 20:32:52 you know, i neer use -iname, always just lazy and auto use grep. ;) Mar 19 20:33:01 hehe Mar 19 20:33:27 an ls /boot/**/*.dtb works too ;) Mar 19 20:34:08 KotH, why the ** ? curious Mar 19 20:34:10 got it !! thank you ! Mar 19 20:34:26 NishanthMenon: shell expansion -> go into subdirectories Mar 19 20:35:28 NishanthMenon: you need to have globstar set in your bash, though Mar 19 20:35:41 KotH, interesting... i had expected ls /boot/*/*.dtb would do 1 level subdirectory, never knew of ** Mar 19 20:35:50 * NishanthMenon looks up globstar Mar 19 20:36:22 KotH, thx. /me has been enlightened.. Mar 19 20:36:26 np Mar 19 20:36:39 NishanthMenon: i owe you one for the pandaboards :) Mar 19 20:36:46 KotH, lol ;) Mar 19 20:37:51 anyways.. time to go home and get some sleep Mar 19 21:09:10 GPG error: http://repos.rcn-ee.net jessie InRelease: The following signatures were invalid: KEYEXPIRED 1435805428 KEYEXPIRED 1435805428 KEYEXPIRED 1435805428 Mar 19 21:12:19 cityLights, set your clock.. Mar 19 21:13:11 yep Mar 19 21:14:49 ok, so I upgraded to 3.19 because using a gpio to read pulses , stopped working Mar 19 21:15:07 I used epoll() with edge on a gpio Mar 19 21:15:25 works wih 3.19 , didn't work on 3.14 Mar 19 21:17:43 the gpio subsystem got a lot of nice changes since 3.14.x.. Mar 19 21:19:09 but you claimed TI is fixing 3.14 Mar 19 21:19:21 yes the whole device tree Mar 19 21:19:39 but a missing DMA probably hurts the preformance Mar 19 21:21:24 cityLights: 3.19 doesn't have DMA? or ti-3.14? Mar 19 21:22:18 I am new in this channel, so I may have it wrong Mar 19 21:23:32 the beaglebone black uses a TI based SoC , this chip has two PRUs Mar 19 21:23:48 these PRUs are far more advanced then normal DMA Mar 19 21:24:22 PRU aren't DMA devices. They are programable peripherals Mar 19 21:25:10 I just read here rcn responding that the DMA is turned-off in the kernel by default Mar 19 21:26:16 so I understand TI first made this chip, then they are developing the software drivers for it now. Mar 19 21:28:20 3.19: DMA is enabled, just not for the "musb" perhiperal... Mar 19 21:28:35 mmc/net/etc us DMA... Mar 19 21:28:52 *g* Mar 19 21:29:41 thanks Mar 19 21:32:16 well, I still didn't get miracast to work Mar 19 21:32:29 seems, I have to have X running Mar 19 21:32:43 so I am trying to install lxqt now Mar 19 21:32:56 what is miracast? Mar 19 21:33:49 oh, wireless display Mar 19 21:34:19 you mean vnc? Mar 19 21:34:21 like Mar 19 21:34:24 or nx? Mar 19 21:35:18 instead of using a hdmi display , you can send it to your tv Mar 19 21:36:24 you connect a miracast receiver to your tv Mar 19 21:37:03 then you can play your desktop to your tv Mar 19 21:39:12 now, I want the BBB to serve as a miracast receiver for android phone Mar 19 21:39:41 hm vnc or nx is enough for me Mar 19 21:39:52 besides what sense it makes for the bbb Mar 19 21:41:27 how can I use the TV as a remote dispaly? Mar 19 21:41:51 with nx you have to copy your files to the BB Mar 19 21:41:58 or mount via nfs Mar 19 21:51:11 and miracast makes this magicly? Mar 19 22:45:18 KotH: hiopensuse Mar 19 23:13:02 woglinde: yep Mar 20 00:05:53 cityLights: a PRUSS always has two cores (but saying "two PRUs" might be confused with "two instances of PRUSS", which am335x has not, although some other chips do) Mar 20 00:10:54 (and they are unrelated to DMA) **** ENDING LOGGING AT Fri Mar 20 02:59:59 2015