**** BEGIN LOGGING AT Sat Dec 13 02:59:58 2014 Dec 13 03:24:06 I have a proof of concept system that I have been slowly putting together and testing components with an arduino, However the arduino is much too slow for my application and as such I would like to use the beaglebone black that i have to interface with the components Dec 13 03:24:57 I am having difficulties finding appropriate resources for bare metal programming in c++ in the bbb, and I already am decently well versed in C++ itself. Dec 13 03:45:20 DJHenjin, my BBB running the Angstrom linux distribution I got from the official documentation has g++, the gnu C++ compiler, already installed. Is there something specific you're having trouble figuring out how to do? Dec 13 03:47:47 I run Linux every day, I commonly work with g++ writing applications with spec gnu++11, I have no idea however, how to actually go about writing a stand alone executable i can load through u-Boot. with which I can access as many as possible GPIO's at the lowest level possible Dec 13 03:50:10 and I actually opted to install Ubuntu onto an SD card for my bbb when I originally intended to do the compiling on the board. however I have since decided to switch to cross compiling on my gaming computer Dec 13 03:53:23 It sounds like I misunderstood. You're trying to run stuff without an OS at all? I'm not sure how to do that. I'm just running everything on linux and offloading the stuff with realtime constraints onto the PRUs. Dec 13 03:55:26 I cannot bear the latency Dec 13 03:56:05 cant have linux' scheduler deferring execution of certain tasks as well Dec 13 04:30:54 hii all Dec 13 04:31:43 i dumped a brand new image of ubuntu 14.04 in beagle bone card .. every thing is fine Dec 13 04:31:52 but my hdmi is not working and Dec 13 04:32:03 only 3 led lights up for ever Dec 13 04:32:11 and nothing else Dec 13 04:32:35 what is the problem here?? Dec 13 04:34:49 and as i put the card in to my pc both partition are mounting correctly Dec 13 04:35:44 in which BOOT habe only 2 file : MLO , u-boot.img Dec 13 04:39:02 what does the serial port say? Dec 13 04:41:11 serial port is also not connecting to my PC Dec 13 04:41:21 ds2, ^ Dec 13 04:47:34 ds2, there should be a env.txt..?? but its is not there in my BOOT partition , it is present in /boot of rootfs Dec 13 06:01:14 now i am following http://www.armhf.com/boards/odroid-xu/odroid-sd-install/ Dec 13 06:01:45 but mount /dev/sdX2 rootfs it gives error Dec 13 06:03:08 https://bpaste.net/show/1c211395598d Dec 13 06:07:03 how did you write the filesystem? Dec 13 06:14:01 in step 4 note that it is saying to dd of=/dev/sdX not /dev/sdX[1+]. this is because its asking you to write out a boot image, and it has to be on the root of the drive, the bs=512 seek=1 serves to protect the partition table just created from being overwritten Dec 13 06:22:42 just be sure you dont have any partitions from that drive mounted when you issue the dd command Dec 13 07:04:27 DJHenjin, I did it correctly Dec 13 07:08:08 DJHenjin, Do i format it with gparted??? and do those step again?? Dec 13 07:12:18 I'm having trouble registering a project. Is the website broken? Dec 13 07:19:18 RahulAN: I did not even format my memory card when I dd imaged my Ubuntu across. But I downloaded one that was ready to run as is Dec 13 07:19:52 yes but as i am doing with that image too i ma getting same error Dec 13 07:20:23 nothing on beagle bone and also when mounting on pc it gives this same error which i am getting now Dec 13 07:20:41 RahulAN: why do you think you need 14.04? Is the Debian image not enough? Dec 13 07:20:47 at the end of the dd, add 'conv=fsync' Dec 13 07:21:00 DJHenjin, Ohkk Dec 13 07:21:01 give that a shot Dec 13 07:21:05 ohkk Dec 13 07:21:16 tbr, i have ubuntu image with me Dec 13 07:21:32 previously i was using debian only.. it was fine and so the ubuntu also Dec 13 07:21:43 but now i am unable to find the problem Dec 13 07:22:11 maybe your image is corrupted or you got the wrong image? Dec 13 07:22:43 tbr, these are downlaoded from beagle page and its a fresh new image Dec 13 07:22:44 I had a similar problem a while back and I am trying to remember how i fixed it Dec 13 07:23:26 actually I think I remember what it was. Dec 13 07:23:34 DJHenjin, dd if=bb-ubuntu-14.04.1-console-armhf-2014-10-29-2gb.img of=/dev/sdb bs=?? Dec 13 07:23:53 what to put in bs Dec 13 07:23:57 i usually put 4096 Dec 13 07:24:03 ohkk Dec 13 07:24:47 * tbr usually just puts 10M there, except for reading from optical drives it doesn't seem to make a difference Dec 13 07:25:56 ive had the pleasure of being able to do actual benchmarks on that && an understanding of how it works at the lowest level typically helps Dec 13 07:28:32 BRB, smoke break; Dec 13 08:30:15 DJHenjin, same error again Dec 13 08:30:38 JBD2: no valid journal superblock found. Dec 13 08:30:48 EXT4-fs (sdb2): error loading journal Dec 13 08:30:53 DJHenjin, ^ Dec 13 10:15:18 Hi! Dec 13 10:15:57 yesterday I ask about expand 2gb Image ... but now I have my custom image in sd with 2gb and want to copy to 4gb emmc Dec 13 10:16:19 Anybody knows any script that do that ? or process to follow? Dec 13 10:16:20 thanks Dec 13 10:57:09 salaet: http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD Dec 13 11:05:48 vvu:thanks Dec 13 11:09:18 vvu:but I want to expand sd to 4gb to flash emmc 4gb Dec 13 11:09:44 I dont know wich is the exact size that I need to set Dec 13 11:11:19 If I flash to emmc 2gb its possible to expand inside emmc? Dec 13 11:14:07 salaet: you can use https://github.com/ungureanuvladvictor/BBBlfs it will automatically expand if you have a 4gb eMMC Dec 13 11:14:23 great! Dec 13 11:14:33 vvu:thanks Dec 13 11:19:19 salaet: np Dec 13 12:34:04 I actually had to do that once but much bigger fs sizes. 1TB >> 3TB Dec 13 12:34:59 wrote a high efficiency/parallel throughput copier Dec 13 12:53:33 vvu:Your scripts runs awensome! Dec 13 12:53:41 vvu:congratulations Dec 13 12:53:43 thx Dec 13 12:53:59 vvu:good job Dec 13 12:55:19 question: wich is more recomendable for production enviorement debian or ubuntu en BBB? Dec 13 12:57:07 debian think so, that is the beagleboard.org supported distro Dec 13 12:57:50 oks! Dec 13 15:03:05 hey guys Dec 13 15:51:26 which kernel is current recommended for BBB? Dec 13 17:02:22 Humpelstilzchen: 3.8 is still shipped by default, but lots of dev work gone into 3.14. Dec 13 17:02:54 jkridner: is https://github.com/beagleboard/linux.git the right tree? Dec 13 17:29:10 yes Dec 13 17:58:11 ok thx Dec 13 18:08:16 could someone please fill me in on the PRUs i have no idea what they are capable of Dec 13 19:11:22 <_av500_> tried google? Dec 13 19:12:03 <_av500_> https://www.google.com/search?q=beaglebone+pru+projects Dec 13 19:13:17 going thrfough the TRM ATM Dec 13 19:13:53 what is TRM ATM? Dec 13 19:13:57 but thanks, I really should have done that. but I have been getting such poor and often wrong results from google lately Dec 13 19:14:36 technical ref manual, at the moment Dec 13 19:15:47 <_av500_> krishnaghchaitan: ATM = at the moment Dec 13 19:16:19 thanks DJHenjin and _av500_ Dec 13 19:16:53 are there any ways of accessing BBB directly from internet?? Dec 13 19:17:52 you could have a handler server on the BBB, and have that listen on a port forwarded port, but then you will want to quadruple or more the security in the service Dec 13 19:19:20 <_av500_> krishnaghchaitan: sure, its a computer running linux Dec 13 19:19:39 <_av500_> these have been seen on the internet Dec 13 19:20:27 thanks ! my problem is like this! if someone is from india and want to access BBB in INDIA from USA. can you please give me detailed steps of doing this. if have found one way using TOR. i want to do it using cloud. can you please help me? Dec 13 19:20:33 people often forget to secure internet facing devices not realizing that once a potential threat is inside your network they own everything Dec 13 19:20:56 krishnaghchaitan: what kind of access? Dec 13 19:21:14 access to BBB terminal. Dec 13 19:21:36 so ssh? Dec 13 19:21:44 yup! ssh! Dec 13 19:21:47 ok Dec 13 19:22:58 same way anyone else sets up an ssh server on linux, change the port to not22 so that its harder to recognize as an ssh server, and forward the port to the BBB through the router, ensure that all passwords are strong enough Dec 13 19:24:20 then take note of the IP address(some people use domain names, ssh.example.com would be a particularly bad example) and use the IP address and port to connect the same way as connecting locally Dec 13 19:24:38 oh thanks DJHenjin. Dec 13 19:25:31 no problem, I spent 5 years running a hosting company on a server 3000KM away that I only ever had ssh access to Dec 13 19:49:25 DJHenjin i think it was possible as you hosted big servers! but if i used mobile internet then please tell me ways to connect Dec 13 19:49:59 mobile internet on which end? Dec 13 19:50:27 mobile internet connected to beaglebone black Dec 13 19:50:56 mobile as in ? Dec 13 19:51:12 like a cell phone modem, or IP address that changes Dec 13 19:51:44 yup cell phone modem! it has ip address that always changes Dec 13 19:52:01 ok, so theres a couple ways to get around that Dec 13 19:52:24 wow! educate me then! i am eager!! Dec 13 19:56:21 the easiest one (but most pain in the ***) is to keep track manually of the IP when it changes. but since that is not an extremely reliable method when the IP can change more often... There is a second method called Dynamic DNS. Basically what this is, Is just like a normal DNS set up for a website with a static IP with one exception. The Beagle would have a small additional piece of software running on it known as a Dynamic DNS update client. wh Dec 13 19:56:24 ich basically just sits there and looks at the internet IP that it can be reached at. and when that IP changes it connects to the DNS provider and updates the IP in the DNS records. (I recommend setting the TTL(time to live) to somewhere around 600 seconds in the DNS configuration) Dec 13 19:57:34 and better not to forget that some mobile data operators apply NAT and thus making inbound connections a bit more challenging Dec 13 19:58:23 and some may filter incoming SYNs even if using public IPs Dec 13 19:58:31 yep, that's a PITA I thankfully never ran into Dec 13 20:45:35 hello Dec 13 21:19:11 anyone in here used gobot much at all? **** ENDING LOGGING AT Sun Dec 14 02:59:58 2014