**** BEGIN LOGGING AT Fri Jul 26 02:59:57 2013 Jul 26 03:00:16 And a happy Friday mrpackethead! Jul 26 03:03:14 Has anyone tried clustering beagleboard blacks? Jul 26 03:08:34 dz0004455: it runs linux, you can run linux cluster software on it... Jul 26 03:08:47 not sure if beowulf though... Jul 26 03:09:12 I know I could, wouldn't be too hard to run mpi jobs across them. I am curious about performance though. Jul 26 03:10:16 considering 10 would be > $400, probably not anywhere near a cheap pc build. Jul 26 03:10:34 I speculate that I could possible get better performance with a single nice xeon chip than an a 20-30 node cluster of them. Jul 26 03:11:18 But, it would be way more fun to build a cluster... Jul 26 03:17:09 possibly Jul 26 03:19:56 prpplague: around? Jul 26 03:20:09 JoshAshby-SFE: yes but brain dead Jul 26 03:20:22 JoshAshby-SFE: just got back from doing demos at the local makerspace for 4 hours Jul 26 03:20:31 what you demo? Jul 26 03:20:46 bbb+bacon+ userspace-arduino Jul 26 03:21:11 haha, thats fine. Just wanted to know if there were any reports of the bbw a6 ethernet phy having problems outside of angstrom Jul 26 03:21:56 JoshAshby-SFE: yes there were some issues reported about if the network goes down with the ifconfig command, it never will come back up Jul 26 03:24:02 * mranostay bikes in Jul 26 03:26:34 prpplague: okay, cool. I think my problems a driver problem but thats good to know also Jul 26 03:32:28 prpplague: also nothing on my end. either that or the mail guys don't like me :P Jul 26 03:33:14 JoshAshby-SFE: sorry i havent been able to follow up on it Jul 26 03:33:31 JoshAshby-SFE: last couple of days have been crazy at the office with the release of the minnowboard Jul 26 03:33:42 JoshAshby-SFE: i'll check on it in the morning Jul 26 03:34:29 hi everyone. what are the steps for updating the eemc chip? plug it into power while holding down boot button? how long do i hold the button down for? Jul 26 03:34:47 i did it without touching the button., Jul 26 03:34:54 BBB? Jul 26 03:34:55 prpplague: haha no worries. I move in a few days anyways so I'm going to be pretty busy till school starts up Jul 26 03:34:59 yes Jungle-Boogie Jul 26 03:34:59 Jungle-Boogie: instructions are fully document both on the wiki page and the getting started page Jul 26 03:35:14 prpplague: i'll take a look. thanks Jul 26 03:35:27 it took about 80 minutes to update using the "latest angstrom" image Jul 26 03:36:22 prpplague: Insert SD card into your (powered-down) board, hold down the USER/BOOT button (if using Black) and apply power, either by the USB cable or 5V adapter. Jul 26 03:36:33 that doesn't say how long to press the button Jul 26 03:37:22 i think you can let it go by the time two leds are lit Jul 26 03:37:49 so while its updating you will see no lights coming from the BBB? Jul 26 03:37:57 you will see them dancing crazily. Jul 26 03:38:23 it's very distinctly different than it booted off the eMMC and sitting idle Jul 26 03:38:27 and once complete solid until you reboot? Jul 26 03:38:40 exactly Jul 26 03:39:13 that's exactly what I needed to know! the getting started could be updated with a brush of more info. Jul 26 03:39:33 i felt the same. 45 minutes, hah! Jul 26 03:40:15 heh Jul 26 04:03:23 JFK911: did you have your device connected USB while updating or 5v barrel? Jul 26 04:04:01 usb to computer Jul 26 04:04:17 i knew it was updating because i had no usb devices showing for it vs. when it was booted to usremode Jul 26 04:04:20 *usremode Jul 26 04:04:24 usermode Jul 26 04:05:47 okay, cool. thank you. turns out i must be short on a 5v adapter Jul 26 04:05:56 plenty of 12v, though Jul 26 04:06:36 it will run 2.5x~ as fast Jul 26 04:07:37 lol Jul 26 04:07:39 suure Jul 26 04:17:57 anyone - why does the ubuntu eMMC flashing image on uSD not require holding down the boot button but the Angstron image does? Jul 26 04:19:19 BBBK btw Jul 26 04:28:22 hi all, just received my BBB in the mail... whats the default login to angstrom? =O Jul 26 04:29:04 <[yAK]> root Jul 26 04:29:08 <[yAK]> (no pass) Jul 26 04:29:09 ssh root@192.168.7.2 Jul 26 04:29:12 <[yAK]> enter Jul 26 04:29:14 no pass Jul 26 04:29:24 im accessing via serial console Jul 26 04:29:28 ;-) Jul 26 04:29:28 usb connected Jul 26 04:29:30 like a man Jul 26 04:29:41 cbf hooking up the fancy Jul 26 04:29:58 usb is the way to do it easy Jul 26 04:30:06 <[yAK]> i just got my beaglebone black as well Jul 26 04:30:07 plus i had a TTL serial cable from my dead cubieboard Jul 26 04:30:09 plug, boot, login Jul 26 04:30:10 <[yAK]> i think i broke it tho.... Jul 26 04:30:17 <[yAK]> cloud9 no longer loads Jul 26 04:30:30 <[yAK]> not sure why not.... :P Jul 26 04:30:36 i couldn't ssh into my BBB so now i'm updating the device Jul 26 04:30:37 cloud9 is on port 3000? Jul 26 04:30:40 yeah - im kind of funny with net configs on this thing Jul 26 04:30:42 <[yAK]> BobCat: yea Jul 26 04:30:47 i dont want to break my net Jul 26 04:30:56 on my workstation Jul 26 04:31:04 so, serial console was easier for me Jul 26 04:31:06 I plugged mine in and immediate ran nmap :) Jul 26 04:31:07 <[yAK]> it just wont load up anymore not sure why Jul 26 04:31:13 cant break that! Jul 26 04:31:53 oh... perhaps I should give it ethernet... i have a spare patch lead here Jul 26 04:31:56 silly... Jul 26 04:32:00 USB Jul 26 04:32:01 easy Jul 26 04:32:05 too excited getting serial console Jul 26 04:32:21 then hooking it to my Coretex-M0+ board Jul 26 04:32:25 and going "shiny!" Jul 26 04:32:31 <[yAK]> is the only way to reflash the emmc to use a microsd card btw? Jul 26 04:32:33 as all the LEDs lit up Jul 26 04:32:35 blue bliky Jul 26 04:32:38 hehe Jul 26 04:32:50 yeah, and RGB on the FRDM-K25 Jul 26 04:32:55 if they're all lit up it's stuck Jul 26 04:33:05 i think its flashing red though - hidden under a couple of shields Jul 26 04:33:05 <[yAK]> im just planning on using this to control my bitcoin asic miners ;/ Jul 26 04:33:17 <[yAK]> rather than the laptop that is doing it right now Jul 26 04:34:57 well, thats a little odd Jul 26 04:35:18 i accidently pulled the cord out with my damn boot, and plugged it back in, now no blinkies =( Jul 26 04:35:23 hit the power button, nothing Jul 26 04:35:37 do i have to hold it down for a couple of seconds? Jul 26 04:35:41 or something? Jul 26 04:36:10 oh Jul 26 04:36:13 my bad Jul 26 04:36:24 stupid 12VDC -> 5VDC adapter Jul 26 04:36:27 its loose Jul 26 04:36:30 crisis averted Jul 26 04:36:35 hah =S Jul 26 04:37:49 the thing do DHCP on the physical ethernet connection? Jul 26 04:38:00 i mean, i do want Ubuntu on it, but im playing atm Jul 26 04:41:33 <[yAK]> Oops! Google Chrome could not connect to 192.168.7.2:3000 Jul 26 04:41:36 <[yAK]> so annoying Jul 26 05:28:24 <[yAK]> any idea why loading up 192.168.7.2 in firefox is saying "did you know? this page can interact with your beaglebone type in your beaglebone's ip address here: _________" ? Jul 26 05:31:25 hi Jul 26 05:31:31 nikunj here ? Jul 26 05:31:49 can any body guide me Jul 26 05:31:56 for beagle board Jul 26 05:32:31 hwllo Jul 26 05:32:32 ? Jul 26 05:33:05 hmmm, quiet channel... and im needing to access the microSD on a BBB after plugging it in *after* booting, as it wont boot with the card in... silly Linux workstation not recognising microSD card reader... Jul 26 05:33:20 trying to install ubuntu to the microSD Jul 26 05:33:27 ok Jul 26 05:33:34 i install it alreadyu Jul 26 05:33:39 then Jul 26 05:33:50 yeah, im still on angstrom =( Jul 26 05:33:58 need real repos Jul 26 05:34:02 ok Jul 26 05:34:34 the channel went quiet a little while ago Jul 26 05:34:48 gui based ubuntu available? Jul 26 05:34:54 id gotten a net config from a friend with a pandaboard running angstrom Jul 26 05:35:16 of course, i could be proved a liar yet, we'll see Jul 26 05:36:35 in parallel, im trying to get a FRDM-K25 board working with my Linux Mint workstation, and isnt happening either Jul 26 05:36:48 perhaps i should just flash my laser driver firmware, and pray Jul 26 05:40:27 well, that went sorse than expected... now i cant access the serial port due to the device being "busy" Jul 26 05:40:31 wunderbar Jul 26 05:54:46 well, thats annoying... i think ill let the mBed linux gurus handle that one Jul 26 05:54:57 now wheres my Macbook? at least Coolterm works as expected Jul 26 05:57:15 boris_G: currently a sdcard is not detected after boot Jul 26 05:58:44 a wonderfull JIHAD everyone! Jul 26 05:59:11 chocolate jihad! Jul 26 05:59:21 Jul 26 05:59:22 SCUD missile STARLAN number key MDA Mahmoud Ahmadinejad bomb SHA Jul 26 05:59:22 Perl-RSA data haven sniper Saddam Hussein Albania S Key terrorist Jul 26 05:59:22 spies Jul 26 05:59:55 dys: you are a minimum of 10 years out of date Jul 26 06:00:02 dys: maybe even 20 Jul 26 06:00:29 ja, M-x spook lacks some more recent developments, I'm afraid Jul 26 06:00:56 well, it's your own fault for using an OS instead of an editor ;) Jul 26 06:04:35 actually, I'm using the OS as an IRC client, not an editor :-) Jul 26 06:04:53 also, why isn't it installed by default on the eMMC? Jul 26 06:10:40 because koen choose to use angström instead of emacs Jul 26 06:16:23 boris_G: btw, debian boots nicely with a microSD inserted Jul 26 06:16:41 ...it works because it locates the root FS using UUID instead of a device name Jul 26 06:16:44 yes, it's a uboot thing which can be worked around Jul 26 06:16:54 and the kernel needs to know Jul 26 06:17:27 ja, but you need an initrd for the UUID mechanism to work, and angström doesn't use any Jul 26 06:17:29 :-/ Jul 26 06:17:48 why would you? Jul 26 06:18:18 the LABEL/UUID mechanism to identify file systems on available block devices need userspace support afaict Jul 26 06:18:31 the initrd provides this before the real root system is mounted Jul 26 06:18:34 don't think so, but never tried Jul 26 06:18:51 also you could probably detect the inserted card from uboot and change the cmdline accordingly Jul 26 06:23:16 dys: do i need to do anything fancy to the Debian boot microSD? Jul 26 06:23:31 id like something i could "dd" from my mac Jul 26 06:27:03 I used the eMMC-flasher provided here: http://elinux.org/BeagleBoardDebian#Flasher Jul 26 06:28:37 theres a minor show stopper - my microSD card reader DOES NOT work on my linux workstation, only on my mac Jul 26 06:28:57 sorry to be a proverbial pain, but thems the breaks Jul 26 06:31:43 osx has dd too Jul 26 06:32:14 ja, you need unxz as well so for unpacking first Jul 26 06:32:24 yeah, unpacked it on unix Jul 26 06:32:28 I dunno how common it is in contrast ro gzip/bzip2 Jul 26 06:32:37 now want to transfer to and write on mac Jul 26 06:33:02 identify the card reader device, dd to it, ..., profit Jul 26 06:33:11 dd what? Jul 26 06:33:19 a bunch of files and directory or two? Jul 26 06:33:25 or is debian a dd image? Jul 26 06:33:28 profit? Jul 26 06:33:51 I thought you were trying to write the emmc flasher image Jul 26 06:33:58 no idea what that debian thing is Jul 26 06:34:01 im looking for an image Jul 26 06:34:05 i have ubuntu Jul 26 06:34:08 its is files Jul 26 06:34:12 cannot write via dd Jul 26 06:34:20 ok Jul 26 06:34:22 back up Jul 26 06:34:29 boris_G: If you always want to work with the microSD inserted - this worked for me too in Armstrong after changing /dev/mmcblk0p2 to /dev/mmcblk1p2 in uEnv.txt Jul 26 06:34:39 linux mint 15 workstation: cannot use microSD card reader, can unpack files Jul 26 06:34:53 after that change, it won't boot anymore without a microSD in the slot though Jul 26 06:34:54 mac, can use card reader Jul 26 06:35:06 \now, i need something i can dd on the mac, and im sweet Jul 26 06:35:18 little hard to dd some directories Jul 26 06:35:51 i have the "setup_sd.sh" or whatever on the ubuntu file after unpacking, but it dont run on my mac Jul 26 06:35:59 complains miserably Jul 26 06:36:11 and no, i dont have ports with a 64GB SSD Jul 26 06:38:06 s/Armstrong/Angström/ (coffee not working yet) Jul 26 06:38:23 yeah, i cant drink it, im soldering =( Jul 26 06:38:29 heh Jul 26 06:38:45 jazzed enough as it is Jul 26 06:40:01 hmm, you don't need to run shell scripts on the host when using the Flasher approach from the link above Jul 26 06:40:08 ok Jul 26 06:40:21 i have no link cause i was dissed Jul 26 06:40:29 unplugged my modem haha Jul 26 06:40:31 just unpack, dd if=unpacked_image of=/dev/your_microsd_blockdev Jul 26 06:40:37 0827 I used the eMMC-flasher provided here: http://elinux.org/BeagleBoardDebian#Flasher Jul 26 06:40:44 yeah, ive done cubie images, i know rhat process Jul 26 06:40:49 whats the link again? Jul 26 06:40:52 taa Jul 26 06:40:55 ^^ Jul 26 06:41:04 ok Jul 26 06:41:09 gimme a few Jul 26 06:41:19 soldering crap atm Jul 26 06:42:15 dys: you dont need to unpack to dd :) Jul 26 06:42:23 from archive Jul 26 06:42:25 ;) Jul 26 06:42:27 sorry Jul 26 06:43:46 ive realised i need some caps Jul 26 06:44:03 and we have no electronics store in town Jul 26 06:44:09 anymore Jul 26 06:44:13 ebay is slow Jul 26 06:44:16 sucks Jul 26 06:44:18 =( Jul 26 06:44:19 there are still towns with electronic stores? Jul 26 06:44:29 until recently, yes Jul 26 06:44:34 and who the heck buys electronics components on ebay? Jul 26 06:44:43 20k population in the LGA Jul 26 06:45:06 ok, u have somewhere that ships to .AU for cheap? Jul 26 06:45:13 unlike most .US companies Jul 26 06:45:30 we're considered "too backwards" for cheap rates from the US Jul 26 06:45:35 the chinese dont care Jul 26 06:45:43 boris_G: it might surprise you, but not everyone knows what you mean with LGA Jul 26 06:45:51 local government area Jul 26 06:45:56 lol Jul 26 06:46:00 sorry Jul 26 06:46:03 too much aussie in me Jul 26 06:46:07 here it usually means leadless grid array Jul 26 06:46:25 moaning Jul 26 06:46:25 population of 20k leads? :P Jul 26 06:46:30 now im being an ass Jul 26 06:46:48 more coffe panto? Jul 26 06:46:55 geez, i need some Jul 26 06:46:57 :@ Jul 26 06:48:41 morning mister panto! Jul 26 06:48:45 either that, or a scotch Jul 26 06:48:47 hi there Jul 26 06:48:47 hmmm Jul 26 06:48:49 panto: how is your jihad today? Jul 26 06:48:50 decisions Jul 26 06:48:57 KotH, it's fscking hot today Jul 26 06:49:10 * KotH would say that is good Jul 26 06:49:15 panto: beach time? ;-> Jul 26 06:49:20 I'll be coming around your part of the woods for two days next week Jul 26 06:49:27 visiting some family in zurich Jul 26 06:49:42 *member Jul 26 06:52:25 i htink i need to ask my missus for a hot glue gun... Jul 26 06:52:38 * boris_G adds that to the todo list Jul 26 06:52:47 panto: if you care for a drink, let me know Jul 26 06:52:57 why I do Jul 26 06:53:16 <_SY_> hello Jul 26 06:53:28 hi Jul 26 06:54:29 <_SY_> hi panto, question for you, is there a built in watchdog process in Angsrtom that I can configure to monitor the status of my own applications? Jul 26 06:54:43 _SY_, systemd already supplies that Jul 26 06:54:55 Anyone know diameter of 5v power supply for bbb? Jul 26 06:54:57 run your app as a service, and it has a bunch of watchdog options Jul 26 06:55:06 like logging/restarting, etc Jul 26 06:55:21 <_SY_> excellent, how does it know if an application stops responding or isn't doing what its supposed to do?# Jul 26 06:55:34 oh, that's trickier :) Jul 26 06:55:39 it hasn't been solved yet :) Jul 26 06:55:53 if you manage to do that, you probably can solve the halting problem Jul 26 06:56:11 the responding bit is easier of course Jul 26 06:56:44 oh, panto... i was looking into your PRUs... im wondering how i would go about having my GRBL interpreter in Linux userland, and commanding the PRUs to run like the PID loop and switch on and off for the laser, and the steps for the stepper motors? easy to do? apart from a complete rewrite of the code... Jul 26 06:56:48 <_SY_> ok, in the past I've written an application that does the same kind of thing, and the applications have to kick an entry in a db to keep themselves alive. Jul 26 06:57:07 for instance take a look at this: http://0pointer.de/blog/projects/watchdog.html Jul 26 06:57:23 <_SY_> thank you, will do. Jul 26 06:57:25 _SY_: http://0pointer.de/blog/projects/watchdog.html Jul 26 06:57:27 heh Jul 26 06:57:29 panto is faster :) Jul 26 06:57:33 heh Jul 26 06:57:58 boris_G, depends Jul 26 06:58:09 a) how big of a code space you'll need Jul 26 06:58:10 <_SY_> Will need to look deeper into systemd :) Jul 26 06:58:13 practical merit? Jul 26 06:58:31 how big is a PID library in C? Jul 26 06:58:35 b) how much computing power does your code need to run Jul 26 06:58:50 whats the internal comms from the application processor (the A8) to the PRU? Jul 26 06:58:52 boris_G, if it's written using floating point you're dead in the water Jul 26 06:58:59 ouch Jul 26 06:59:03 probably is Jul 26 06:59:10 all it needs to do is control a fan Jul 26 06:59:12 <_SY_> PID loop is pretty simple, thing to check is that the processor is up to your timing loop....what are you trying to control? Jul 26 06:59:18 so the laser dont get too hot Jul 26 06:59:26 ^^^ Jul 26 06:59:27 <_SY_> What are the iterations for the PID? Jul 26 06:59:36 <_SY_> timing cycles Jul 26 06:59:44 i aint tuned it - 1.0, 0.0, 0.0 for the time being Jul 26 06:59:50 * boris_G is n00b to PID Jul 26 07:00:14 <_SY_> I wrote one years ago for Gas turbine control on an 8086....10ms control loop, it was a struggle, only because the processor could just about handle it. Jul 26 07:00:25 wow Jul 26 07:00:37 im told the PRU has 8k code space Jul 26 07:00:42 <_SY_> Lots of information online for PID control...do you need full PID? Jul 26 07:00:44 and 200MHYz clock Jul 26 07:00:47 nope Jul 26 07:00:54 just gotta keep the heatsink block cool Jul 26 07:01:00 probably do it with P only Jul 26 07:01:56 <_SY_> Are you just switching the fan on and off? Jul 26 07:02:01 FYI fixed point math is just about always better for stability Jul 26 07:02:08 based on temperature input, yeah Jul 26 07:02:14 yup Jul 26 07:02:22 it's a bit weird at first, but you don't suffer the accumulating error of floating point Jul 26 07:02:26 i mean, PWM of the fan would be nice, but.... Jul 26 07:02:42 boris_G, PWM is trivial too Jul 26 07:02:48 just so it doesnt blast your earsa every time it trips the setpoint Jul 26 07:02:55 yeah, i suspect it would be Jul 26 07:02:57 <_SY_> Not sure PID is really required for this....I've also used PID for ROV motor control, it was important there because you could drive motors in both directions...but for on and off, not sure you need it. Jul 26 07:03:08 suggestions SY? Jul 26 07:03:28 just a PWM control of a fan, proportional to the temperate sensed from the laser heatsink block Jul 26 07:03:38 hotter = faster Jul 26 07:03:48 until a certain point, then kill the laser completely Jul 26 07:04:57 <_SY_> I would do a search online there are bound to be plenty of examples of this kind of thing....the PID itself will be pretty standard, its the calculation of the error itself that will differ from application to application. Jul 26 07:05:24 yeah, i have no idea of the thermal response of this laser Jul 26 07:05:29 its a PoS actually Jul 26 07:05:36 im suprised it even turned on Jul 26 07:05:39 cheap++ Jul 26 07:05:48 boris_G, link? Jul 26 07:06:06 just a 405nm diode in a brass tube, out of a pointer Jul 26 07:06:09 dx.com Jul 26 07:06:13 its $6.70 Jul 26 07:06:19 <_SY_> sorry, g2g, will be back online tonight...its 0806 BST here. Jul 26 07:06:21 no docos unfortunately Jul 26 07:06:22 heh Jul 26 07:06:43 now, u'll note i cant buy pointers and import them without going to jail Jul 26 07:06:50 but i can import components Jul 26 07:06:52 weird Jul 26 07:07:34 boris_G, it just raises the barrier of import from 'jackass with some money' to 'somewhat component person with money and skills' Jul 26 07:07:42 hehe Jul 26 07:07:51 u tell the australian government that Jul 26 07:07:56 i think theyre spastics Jul 26 07:08:05 and they know what i think about them Jul 26 07:08:09 i tell them all the time Jul 26 07:09:07 tell me, if someone in germany threw the results of a land survey to gain money from mining claims, what would happen to them? Jul 26 07:09:17 i suspect jail for a long time Jul 26 07:09:24 don't bet on it Jul 26 07:09:29 here in .AU, its a media circus Jul 26 07:09:34 corruption is universal Jul 26 07:09:35 but nothing happens Jul 26 07:09:42 yeah, i suppose Jul 26 07:09:54 humans suck, film at 11 Jul 26 07:09:55 legislation allows corruption Jul 26 07:10:00 hah Jul 26 07:10:06 Parliment: The Musical Jul 26 07:11:07 still, those legislators will take my inheritance, and demand i make their lives better Jul 26 07:11:09 arseholes Jul 26 07:11:46 i used to think .AU was civilised - then i saw what my Dad just saw before her died Jul 26 07:11:53 he even Jul 26 07:11:56 crappy KB Jul 26 07:12:11 what's a KB? Jul 26 07:12:18 keyboard Jul 26 07:12:25 im getting used to it Jul 26 07:12:39 used macbook air for two years Jul 26 07:12:42 heh Jul 26 07:13:51 btw, http://www.embeddedrelated.com/showarticle/123.php Jul 26 07:13:54 The Creator Had a Mastertape Jul 26 07:13:58 mmm? Jul 26 07:14:16 shiny! Jul 26 07:14:21 ill read that later Jul 26 07:14:29 when ive finshed soldering Jul 26 07:14:36 thanks =D Jul 26 07:16:24 for the life of me, i cant find my circuit diagram folder for this =( Jul 26 07:16:33 it was on my drafting table Jul 26 07:16:35 ack Jul 26 07:16:54 (this is regular for me - i never know what is going on or where anything is) Jul 26 07:18:33 ok, found it Jul 26 07:18:37 minor miracle Jul 26 07:18:45 possibly i do have gods? Jul 26 07:18:48 hah Jul 26 07:43:11 ka6sox: Jul 26 07:43:14 :-) Jul 26 07:43:45 greetings mrpackethead Jul 26 07:43:53 how was your day? Jul 26 07:44:30 good Jul 26 07:44:39 i got ink on a big deal today Jul 26 07:47:20 https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-ash4/1073884_10151755385247661_1472913756_o.jpg Jul 26 07:49:46 looks like some weird boards ;-) Jul 26 07:49:58 gtg... bbl Jul 26 07:59:58 mrpackethead: does that mean they'll be available at some distributor at some time? Jul 26 08:00:14 dys what? Jul 26 08:00:24 waht will be avaialbe? Jul 26 08:00:45 those fpga boards - if i remember earlier discussion correctly Jul 26 08:01:00 s/boards/capes/ Jul 26 08:02:28 you can buy a pcb Jul 26 08:02:33 you just have to make it yourself Jul 26 08:02:34 :) Jul 26 08:02:41 i just made four Jul 26 08:03:34 i do have a digilent eval board lingering in my farnell shopping cart for some time now Jul 26 08:03:47 a cape sounds like an attractive alternative Jul 26 08:03:54 * dys is on a student budget, though Jul 26 08:05:25 $14 for a board Jul 26 08:05:32 about $25 for parts Jul 26 08:59:39 I wanted to ask a question on the BBB. To turn on the LCD BB I recompiled the kernel by editing the board-335evm.c (adding lcd_init ()). On the BBB which has kernel 3.8 as I do? Jul 26 09:04:04 Giulio_: if you have a older lcd, you'll need to fix the circuit, other than that it should probably just work if you load the right DT and overlays or is that even autodetected through eeprom Jul 26 09:08:09 Thank you for the answer! I have a 7 "lcd (5 +6 +5), I just have to enable the LCD outputs of the BBB, but I do not know how to do. With the BB I recompiled the kernel by modifying the configuration file of the board, but the new 3.8 kernel has changed. Jul 26 09:09:06 yes, but you need to cut a trace for it to work with the BBB. Or that's how I understood it. Jul 26 09:18:19 No, the output of the LCD BBBlack is equal to that of the BeagleBone white. Just enable the LCD output. In the BeagleBone, I changed the file board-335evm.c then recompile the kernel. So BEAGLEBONE started it thought it had lcd connected and loaded the driver and lit the LCD output. Jul 26 09:19:57 i want to install gui ubuntu on the bbb. not cui. where can i get ubuntu image file? Jul 26 09:20:09 Giulio_: there's no board-335evm.c for beaglebone, only devicetree Jul 26 09:20:18 galactic_pretty_: ubuntu.com Jul 26 09:20:34 really? Jul 26 09:24:41 galactic_pretty_: I don't think ubuntu provides images for the bb. better stick with debian Jul 26 09:25:04 hmm Jul 26 09:26:20 exact! But I do not understand how the devicetree. Jul 26 09:27:08 How do I enable the LCD output with DeviceTree Jul 26 09:28:13 debian-7.1.0-armhf-CD-1.iso <--- is it possible to install this file on the bbb? Jul 26 09:28:38 http://cdimage.debian.org/debian-cd/7.1.0/armhf/iso-cd/ Jul 26 09:38:27 I haven't tried yet, but I plan to. basically install it over a qemu armhf vm, extract the root fs then mount it over nfs using the guide posted here earlier Jul 26 09:53:24 How do I enable the LCD output with DeviceTree? Jul 26 10:04:36 Giulio_, connect the cape and it should just work Jul 26 10:07:40 panto_, is a normal lcd, lcd I need to activate the exit without the BBB read to i2c that there's LCD screen. Jul 26 10:07:52 what is a normal lcd? Jul 26 10:08:00 how is it connected? Jul 26 10:08:12 lcd 7" (5+6+5) Jul 26 10:08:13 hdmi? the lcd pins of the soc? Jul 26 10:08:28 that's not enough information Jul 26 10:10:16 hdmi do not use it. In the BeagleBone, I changed the file board-335evm.c then recompile the kernel. So BEAGLEBONE started it thought it had lcd connected and loaded the driver and lit the LCD output, but the new 3.8 kernel has changed. Jul 26 10:10:39 obviously Jul 26 10:11:04 you need to convert the changes you did in the board file to DT Jul 26 10:11:20 use one of the standard lcd cape DT file as a starting point Jul 26 10:13:06 Thank you! I might indicate the names of these files? I still do not understand much how the device tree. Jul 26 10:13:27 you need to read about it Jul 26 10:13:37 http://www.elinux.org/BeagleBone_and_the_3.8_Kernel Jul 26 10:13:51 all the cape firmware files are in firmware/capes Jul 26 10:13:58 of the beaglebone kernel tree Jul 26 10:16:14 thank you very much! I will try to study well the device tree Jul 26 10:20:34 so, are arduino capes (for the most part) directly compatable with the beaglebone? Jul 26 10:20:48 er "shields" Jul 26 10:20:49 no, heck no Jul 26 10:21:07 dang. Jul 26 11:00:07 flufmnstr: you coudl make them talk to each other Jul 26 11:00:18 but "compatible" is a vauge word Jul 26 11:00:28 true, most arduino shields are trivial Jul 26 11:00:55 if for example a arduion sheild was a Real Time clock on I2C Jul 26 11:01:05 if you coudl join the pins together someway Jul 26 11:01:12 you might get it to work Jul 26 11:01:22 but its not really "plug and play" Jul 26 11:06:22 you can always build a shield cape Jul 26 11:06:41 a sheild cape? Jul 26 11:06:42 lol. Jul 26 11:06:49 or an arduino cape Jul 26 11:06:50 does such a thing exisit Jul 26 11:07:03 I think someone is bound to trying to make one Jul 26 11:09:36 he OpenROV Cape bridges the gap between microcontrollers like the Arduino that are good at talking to low-level hardware (like servos, lights, motors, and sensors) and microcomputers like the BeagleBone that are good at doing intense processing and interacting with high-level devises like USB Webcams and Ethernet connections. Together, the OpenROV Cape and a BeagleBone are a powerful combination of brains and Jul 26 11:09:36 brawn that can handle some very intense robotics projects! Jul 26 11:09:51 what a lot of crap Jul 26 11:10:04 mrpackethead, first time reading a PR release? Jul 26 11:10:11 just laffing Jul 26 11:10:23 why woudl you run an ardino onto of a cape Jul 26 11:11:16 mrpackethead: probably a stupid idea.. but you can make a beaglebone-shield for an arduino ;-) Jul 26 11:11:33 you can do all sorts of thigns Jul 26 11:11:37 not all things are smart Jul 26 11:11:41 but you can still do them Jul 26 11:11:47 most aren't Jul 26 11:12:11 as long as no animals/humans I hurt I don't care Jul 26 11:12:14 go ahead be stupid Jul 26 11:12:25 just don't get defensive about it when someone points it out :) Jul 26 11:14:50 ha ha Jul 26 11:15:25 apparently QtCreator is too stupid to parse gdb version strings.. oh my.. Jul 26 11:16:30 https://github.com/pantoniou/linux-bbxm/commit/fb99fd668f8baaf4270ce8b2359077dcc9a047aa Jul 26 11:16:56 this should fix the chicken-egg problem when trying to load dtbo firmware from the emmc Jul 26 11:32:21 what is the usual setup for bare bone development in terms of testing/uploading kernels to BBB? Jul 26 11:36:19 JoeMoney: scp works, as does rsync Jul 26 11:36:28 or you can configure u-boot to tftp the kernels Jul 26 11:37:16 tftp is great for kernel hacking Jul 26 11:37:39 koen, do you have any guides/links on using u-boot configured for tftp? Jul 26 11:38:14 yes Jul 26 11:38:15 http://bit.ly/17HVp8n Jul 26 11:38:17 first link Jul 26 11:41:50 hehe Jul 26 11:41:57 dhcp command does it all in one :-D Jul 26 11:42:57 koen: we miss you on #yocto Jul 26 11:43:13 koen: heavy trolling 24/7 Jul 26 11:47:21 koen, thanks Jul 26 11:48:41 ant_work: join us at #exactsteps Jul 26 11:48:50 for only $2/month Jul 26 11:49:00 inc. welcome drink Jul 26 11:49:58 don't know why, but drink on friday reads somehow better Jul 26 11:50:18 <_troll_> everything is better on friday Jul 26 11:50:52 ah, friday Jul 26 11:51:01 * koen pours some wine into a glass for lunch Jul 26 11:51:12 http://26-26-54.hardwarebug.org/18 Jul 26 11:51:13 heh, the guy was so proud that he've got RP chaning the topic and adding irclogs Jul 26 11:55:42 * georgem yawns Jul 26 11:57:57 hmm, the british isps have started blocking yet another torrent site Jul 26 11:58:09 one command later and it's back... Jul 26 12:01:16 maybe they bought stock in torguard Jul 26 12:14:15 koen, did you see my bandgap patch? https://github.com/jluebbe/linux/commit/bcd6c95b04feca13f1b13b8fda57856dca546739 Jul 26 12:14:53 shoragan, already in Jul 26 12:15:29 bonus points if you can sneak in a mention of 'bandersnatch' Jul 26 12:16:08 panto, didn't see it Jul 26 12:17:02 panto, it currently just reports the raw value, from which an unknown offset would need to be subtracted Jul 26 12:17:38 oh man, that guy in Yocto is _far_ too much work for a Friday Jul 26 12:18:03 we probably need to ask some HW person at TI to get that info Jul 26 12:19:05 are we sure that value is linear? Jul 26 12:19:32 it could be something more complex, I dunno Jul 26 12:22:27 right, afternoon beers! ciao all, have a good weekend! Jul 26 12:28:30 how does one determine the angstrom version running on the BBB? Jul 26 12:29:29 cat /etc/dogtag Jul 26 12:30:38 panto, newer bones have some calibration values for the bandgap and it seems that it changes by 1 for every °c Jul 26 12:30:39 panto: cool thanks! :) Jul 26 12:31:10 shoragan, let's ask TI about it Jul 26 12:31:23 do you have a contact? Jul 26 12:31:38 i tried months ago on E2E and got no answer at all Jul 26 12:32:22 there are a few TI guys here Jul 26 12:34:27 see http://processors.wiki.ti.com/index.php/AM335x_Thermal_Chamber_Experiment Jul 26 12:34:46 they seem to have done measurements with the bandgap register Jul 26 12:36:12 felipebalbi? Jul 26 12:36:31 whats this now? the internal temp sensors? Jul 26 12:37:14 yes, bandgap temperature sensor Jul 26 12:37:36 it's somewhat underdocumented Jul 26 12:38:05 so is the universe Jul 26 12:50:40 who else here works at TI and could find out how the temperature readings should be converted to °C? Jul 26 13:07:43 I want to use the ttyO0 serial port of the BBB for my application. How can I disable the agetty on this port permanently? Jul 26 13:08:12 it's a systemd service Jul 26 13:08:23 "systemctl disable serial-getty@ttyO0.service" does not work Jul 26 13:08:29 only if you use a systemd-infested distro Jul 26 13:08:35 true Jul 26 13:08:40 I am using Angstrom Jul 26 13:09:59 hmm, koen? Jul 26 13:13:00 thefox, cat /etc/securetty | grep ttyO Jul 26 13:13:20 rm the symlink for getty.target.wants in /etc/systemd/system Jul 26 13:13:21 I think you just need to remove them from /etc/securetty Jul 26 13:14:11 iphone voicemail tim it Jul 26 13:14:17 oops Jul 26 13:14:35 that was for Google ;) Jul 26 13:15:04 /c/c Jul 26 13:22:54 panto, I have removed ttyO0 from /etc/securetty, but the system still starts an agetty for this port Jul 26 13:23:04 hello, I had high hopes that I could get my beaglebone black to interface with HDMI CEC, but it looks like the driver on the black is already interfacing with the embedded CEC controller over i2c Jul 26 13:23:13 tried koen's suggestion? Jul 26 13:24:04 kristopherinkyot, the nxp framer 'might' be possible to do whatever you want to do Jul 26 13:24:06 I thought that I might be able to interface with the TDA19989 in userland, but does anyone have any pointers? Jul 26 13:25:06 panto: thank-you for your reply. Yes, the NXP TDA19989 should support CEC, but it looks like the DRM/HDMI driver is already talking to it Jul 26 13:25:20 koen, /etc/systemd/system/getty.target.wants contains only "getty@tty1.service". At the beginning of my tests today there was also an "ttyO0" file, but this is gone now. Jul 26 13:26:04 thefox, do you have ttyO0 as your console= in the command line? Jul 26 13:26:47 shoragan: in which file? Jul 26 13:26:52 Any idea on where I should start hacking on CEC support? Jul 26 13:27:00 look at /proc/cmdline Jul 26 13:27:07 it's passed in from the bootloader Jul 26 13:27:40 Yes, it is there. How can I remove it? Jul 26 13:27:40 thefox, it should be in uEnv.txt Jul 26 13:34:10 panto, maybe a stupid question, but I do not have an uEnv.txt file on my boot partition. What is the default uEnv.txt for the BBB? Jul 26 13:34:46 it's not just uEnv.txt that's affecting bootargs Jul 26 13:34:58 it's the whole other boot setup of u-boot Jul 26 13:35:06 you can use uEnv.txt to modify what you want Jul 26 13:37:45 shoragan: you want to get in touch with evalenti for bandgap ;-) Jul 26 13:38:18 does he visit this channel? Jul 26 13:45:40 which distribution supports the most hardware for black? Jul 26 13:46:19 since all of them use the same kernel, all of them Jul 26 13:47:37 I have added "console=" to the uEnv.txt. This solved my problems. Tnx. Jul 26 13:48:19 panto: really? I am assuming you mean https://github.com/beagleboard/kernel/tree/3.8 ? Jul 26 13:48:32 that's the one Jul 26 13:48:56 shoragan: not sure.. but you already dropped him a mail Jul 26 13:48:56 heh Jul 26 13:48:57 perhaps they use different compile options, but the statement stands Jul 26 13:49:12 panto: including patches? Jul 26 13:49:37 what patches? the bulk of the patches are in the beagleboard kernel Jul 26 13:50:19 panto: https://github.com/beagleboard/kernel/tree/3.8/patches Jul 26 13:50:32 if you have a booting kernel, you can put any distro on it, so the question is rather meaningless Jul 26 13:51:32 mru: yes, just wanted to know if everyone was synced around the beagleboard tree Jul 26 13:52:00 who cares? just build whatever kernel you want Jul 26 14:41:15 emeb_mac: FPGA! Jul 26 14:41:39 mranostay: Rah! Rah! Jul 26 14:57:45 panto: with the chicken patch: http://dominion.thruhere.net/koen/angstrom/beaglebone/test-BBB-eMMC-flasher-2013.07.26.img.xz Jul 26 14:58:20 ok, let's put it out there for people with capes to test it Jul 26 14:59:30 aholler, usb works with your patches on mainline Jul 26 15:00:16 mru, is the Nexus 7 available for purchase in the US now? Jul 26 15:00:46 I was given that impression Jul 26 15:01:23 Crofton: at best buy today, right? Jul 26 15:01:35 hmmm Jul 26 15:01:47 I suppose I could ssh to home and run a browser there Jul 26 15:02:41 panto: hdmi/fbi too, I had to add "ti," to the dt :/ Jul 26 15:03:15 aholler, the tilcdc driver or the da8xx driver? Jul 26 15:03:29 the tilcdc change it's compatible Jul 26 15:03:34 +d Jul 26 15:03:49 there's a new patchset that fixes various tilcdc+nxp framer problems Jul 26 15:03:50 Crofton: I filed for yocto 1.4 compliance months ago and haven't heard anything, do you have a guess when the AB will look at it? Jul 26 15:03:59 ping jefro Jul 26 15:04:09 maybe it slipped between the cracks Jul 26 15:04:11 panto: Up to now I never use it ;) Jul 26 15:04:14 I think it's better to go for a clean break on 3.11+ Jul 26 15:04:21 hehe Jul 26 15:13:29 that reminds me that I actually should try out hdmi with 3.11 really to see new logo. ;) Jul 26 15:18:11 seen it ;) Jul 26 15:18:21 lol Jul 26 15:18:25 pics or gtfo Jul 26 15:18:36 (and patches plz) Jul 26 15:18:40 I was about to do the same Jul 26 15:19:04 typical, musb crashes when issuing reboot Jul 26 15:20:27 panto: as said, just change tilcdc to ti,tilcdc in the dt Jul 26 15:20:51 panto: therfor you need the patch from av500 Jul 26 15:21:28 nop ... Jul 26 15:21:36 ok, picking that up and the other from Jan Jul 26 15:23:03 looks like it's coming alive... Jul 26 15:23:07 but the cd for mmc0 still does not seem to work. Jul 26 15:23:15 or I miss something in my dt Jul 26 15:23:21 no, it doesn't Jul 26 15:23:31 did someone had a look at it? Jul 26 15:23:47 we did ask Jul 26 15:23:51 nothing happened Jul 26 15:23:56 doesn't sound that much Jul 26 15:24:12 there's a standard option for detecting CD Jul 26 15:24:21 without a gpio Jul 26 15:24:32 we turned it on, but the driver doesn't seem to honor it Jul 26 15:41:17 tomorrow I will use a dremmel to make holes for the bbb in that: http://www.getdigital.de/products/Penguin_Peppermints/more/pic/lng/en ;) Jul 26 15:41:31 it fits perfectly Jul 26 15:43:09 heh Jul 26 15:49:53 hmm, that might earn me 40€ if I make a pic Jul 26 15:50:32 and it's a winner, 5€ if they just like it ;) Jul 26 15:50:51 I will become rich ;) Jul 26 15:54:24 firefox loading from .us now ..... Jul 26 16:02:08 aholler: what is that in a real currency? :P Jul 26 16:02:37 mranostay: about £35 Jul 26 16:06:42 aholler, send me your .config Jul 26 16:09:28 aholler, nm Jul 26 16:21:50 panto: still needed? nothing special there, just much less as I've stripped out a lot Jul 26 16:23:15 aholler, no, I figured it out Jul 26 16:23:28 you do need some extra patches on top of what you have Jul 26 16:23:36 there's a bug when switching resolutions Jul 26 16:23:49 I really think you should track my mainline tree :) Jul 26 16:24:05 I monitor it ;) Jul 26 16:24:10 lol Jul 26 16:24:52 which mainline tree is the best? Jul 26 16:25:06 theres only one Jul 26 16:25:08 the mainline mainline tree Jul 26 16:25:28 but when you have crap that needs to work you need your own patches on top of it Jul 26 16:25:42 you need that always Jul 26 16:25:47 I always patch my kernels Jul 26 16:25:58 my std-3.10 kernel currently has about 40 patches Jul 26 16:27:00 any uart expert? :D Jul 26 16:27:18 it's too much hassle to discuss with maintainers and, thanks git, rebasing is usually easy if done regulary Jul 26 16:28:41 i just want a simple code to send and receive from uart Jul 26 16:29:47 what's wrong with termios? Jul 26 16:30:00 it have been working for what? 30 years now Jul 26 16:31:41 panto: i tried to use it but i failed Jul 26 16:31:52 i need example or something to send and receive thats already working Jul 26 16:33:24 http://bit.ly/1c97fvq Jul 26 16:36:12 panto: wow did you do that??? :D Jul 26 16:36:22 i already searched google ping yahoo msn xD Jul 26 16:36:34 I knew what to search for Jul 26 16:36:54 there's nothing special about the uart of the bbb Jul 26 16:37:08 standard unix code works Jul 26 16:37:30 but termios is 30 years old!!! Jul 26 16:37:36 mmm that make sense Jul 26 16:37:37 if you want c++, just use boost: http://www.boost.org/doc/libs/1_46_0/doc/html/boost_asio/overview/serial_ports.html Jul 26 16:37:40 we must rip it out now! Jul 26 16:37:59 mru: i agree!! Jul 26 16:38:40 aholler: that look great!! i will try it now Jul 26 16:38:49 we must immediately replace it with something properly complicated that requires at least dbus Jul 26 16:39:46 aholler: 66mb lib size thats too much tho Jul 26 16:39:59 mru, ick, serial port IO with streams? Jul 26 16:40:02 kill it with fire Jul 26 16:40:08 ahmed_: now you know what the name 'boost' refers to Jul 26 16:40:09 ahmed_: boost is in most parts a header-only library Jul 26 16:40:44 but I assume you aren't that much experienced with c++, so it might a bit hard Jul 26 16:40:44 aholler, yes, but I bet after all the templates are instantiated it's still going to be a big pig Jul 26 16:41:06 aholler: yeah im not, i just learn from youtube and i know the basics Jul 26 16:41:09 panto: not true Jul 26 16:41:53 but im sure that i will do what i want as much as i keep trying Jul 26 16:41:55 still going to be larger than vanilla termios Jul 26 16:43:05 i wrote a program that sends a number using termios but i cant write a program to receive so its one way communication (i can send but cant read) Jul 26 16:50:55 anyway, serial ports should be used at all for communication. Jul 26 16:51:01 +not Jul 26 16:51:08 why not? Jul 26 16:51:23 because it's very reliable :P Jul 26 16:51:34 I used a modem connected over rs232 for years Jul 26 16:51:55 and a whole lot of sw on top of the serial Jul 26 16:52:00 not just termios Jul 26 16:53:10 if you want fast, reliable communication, rs232 is not the ideal choice Jul 26 16:54:07 mru, bah Jul 26 16:54:10 it's perfect Jul 26 16:54:19 you build your own reliable layer on top Jul 26 16:54:28 it's still not particularly fast Jul 26 16:54:28 but you can't beat it for simplicity Jul 26 16:54:36 I was getting to that Jul 26 16:54:40 plenty fast for many, many applications Jul 26 16:54:41 on top of the omap 3x serial driver ;) Jul 26 16:55:00 hey, no slapping the red-headed child Jul 26 16:55:26 the omap3 serial works with a 16550 driver Jul 26 16:55:44 and sometime lost chars ;) Jul 26 16:55:57 only if you have cpuidle or something like that Jul 26 16:56:00 that why you use hardware flow control Jul 26 16:56:01 and wasn't that fixed? Jul 26 16:56:06 which is a lost art unfortunately Jul 26 16:56:19 yes Jul 26 16:57:09 (the lost art) Jul 26 16:57:22 mru, I can't order even from a browser running in the US Jul 26 16:57:42 they're getting clever Jul 26 17:01:25 * georgem looks around for someone to troll Jul 26 17:04:54 * _troll_ suggests mranostay Jul 26 17:07:52 koen, I realized too late that that patch I send for the linux-mainline_3.8.bb file (https://groups.google.com/d/msg/beagleboard/FKKFCnWmgi4/Qs_t4VOEIioJ) is likely towards the wrong git repo. I guess this file is generated from the beagleboard/kernel.git repo right? Jul 26 17:08:36 panto: it needed my a few hours to write something in c++ to read out all of the sensorTag. the dynamic binary is just 47k (x86_64) and static arm (work e.g. with android 4.0) is 1.1MB Jul 26 17:09:02 so much to all the myths about "fat" c++ Jul 26 17:09:19 the C version would be 1/10 of that Jul 26 17:09:20 fatness comes from templates Jul 26 17:09:26 use of them rather Jul 26 17:09:35 panto: after years of development Jul 26 17:09:46 you might be able to write it in plain whatever ;) Jul 26 17:10:06 georgem: that isn't true Jul 26 17:10:45 the above example used templates and the same io streams as the serial I mentioned before. Jul 26 17:11:28 it's extremly hand to use the same calls for serial, sockets and whatever Jul 26 17:11:29 it is in my experience. thats just a simple program so its going to be small no matter whar Jul 26 17:11:37 aholler, I just don't get what all this bloat gets you? Jul 26 17:11:49 it's easy to go overboard and end up with a pig Jul 26 17:11:54 panto: I don't like to reinvent the wheel Jul 26 17:12:05 so you might now all the trick to not get there, but not everyone else on the team Jul 26 17:12:10 it's a trade-off Jul 26 17:12:26 I'm sure there are comparable C libraries Jul 26 17:12:36 in the end it's what you're comfortable with Jul 26 17:14:06 e.g. it's just dumb to always implement a list, hash and whatever for every app or every part of data structure. That's getting extremly boring and thus dangerous. Jul 26 17:14:32 there are libraries for that Jul 26 17:15:17 and boost isn't one? ;) Jul 26 17:15:44 boost is pretty nice I must say. you can end up some pretty big ass executable if you're using a lot of various container templates but you usually end up with something runs quite fast anyway. Jul 26 17:20:46 pushed hdmi fixes to the usual place Jul 26 17:20:51 most people just are getting afraid if they see an error from the wrong usage of template. but usually you hust have search your own failure and even don't need any experience in writing templates. Jul 26 17:22:09 aholler: yeah, I haven't had much trouble with that Jul 26 17:23:59 I find that working with boost for instance is a lot less of a pain in the ass than dealing with glib Jul 26 17:24:22 and with c++11 many stuff got much better, even for those looking at the produced assembly ;) Jul 26 17:25:16 I have yet to see a large C++ based program that's hasn't turned into a disaster Jul 26 17:25:20 *that Jul 26 17:25:29 I have written several of them Jul 26 17:25:51 since you were the single person writing it wasn't big enough Jul 26 17:26:09 I've not only written them always alone Jul 26 17:26:22 and if you call kde a disaster, I can't help ;) Jul 26 17:26:41 anyway, let's just say we have a different religion :) Jul 26 17:26:48 (not that I've written parts of kde, I'm just a user) Jul 26 17:27:44 and ooo, firefox and thunderbird are c++ too, that should break your religion ;) Jul 26 17:27:53 they suck Jul 26 17:28:02 :P Jul 26 17:28:04 webkit Jul 26 17:28:06 what doesn't suck? Jul 26 17:28:16 something small and usable Jul 26 17:29:08 well, I think USB is b0rken Jul 26 17:29:14 I think c sucks ;) Jul 26 17:29:19 6 hours to fix my car under the sun -_- Jul 26 17:29:19 it's powering up but doesn't enumerate Jul 26 17:29:32 aholler, it's your prerogative Jul 26 17:29:38 mine is that C++ sucks Jul 26 17:29:40 damn I'm so tired ... it'll pass the inspection though Jul 26 17:29:40 Although it sucks that you can't really run a debugger on webkit on a 32 bit machine since there isn't enough address space to map in all the debugging symbols anymore lol Jul 26 17:30:21 question: what do you use to connect two small cables ? I used an electrician's domino but it's a bit big Jul 26 17:30:42 I wouldn't want to see something like webkit implemented in just C. Jul 26 17:30:50 ha Jul 26 17:31:02 I would Jul 26 17:31:10 it would be faster for starters Jul 26 17:31:18 haha Jul 26 17:31:19 easier to interface to any kind of language Jul 26 17:31:23 :P Jul 26 17:31:39 I'm a weird older guy, what can I say Jul 26 17:32:12 I appreciate both Jul 26 17:32:49 I use C++ since almost ever. started with a precompiler for C ;) Jul 26 17:33:23 and still think it's the best language to write reliable sw. Jul 26 17:33:35 bzzt, that would be C Jul 26 17:33:50 no language where you can't tell what a single line does by a glance is safe Jul 26 17:34:11 strings in c are reliable? Jul 26 17:34:20 they are if you know what you're doing Jul 26 17:35:16 we might have a different viewpoint at reliable. ;) Jul 26 17:35:21 true Jul 26 17:35:30 Hrmm. panto I know some folks that write software for extreme security sensitive stuff and they're bared from using C or C++. I forget all the details but it sounded pretty reasonable when he explained it at the time Jul 26 17:35:51 georgem, I can understand why Jul 26 17:35:52 * georgem shrugs Jul 26 17:36:14 they might need something that's formally proven that's correct Jul 26 17:36:26 yeah, some of that sort Jul 26 17:36:29 something* Jul 26 17:36:32 impossible for most timeframes Jul 26 17:37:01 you can also do that with C Jul 26 17:37:14 but with very strict style Jul 26 17:37:20 i.e. no dynamic allocation Jul 26 17:37:26 and by ignoring the compiler and libraries Jul 26 17:37:30 no loops with variables as terminating condition Jul 26 17:37:33 exactly Jul 26 17:37:40 but you can't do that with C++ Jul 26 17:37:48 cause the compiler will do stuff behind your back Jul 26 17:37:58 as in C Jul 26 17:38:03 not really Jul 26 17:38:20 the C compiler will not call malloc ever without you calling it explicitly Jul 26 17:38:34 and it's easy to verify that's the case Jul 26 17:38:43 as in c++ Jul 26 17:39:00 are you sure? Jul 26 17:39:06 yes Jul 26 17:39:14 including standard features of the language like exceptions? Jul 26 17:39:44 do you want starting about signals? Jul 26 17:39:48 +to talk Jul 26 17:39:52 I do Jul 26 17:39:58 I know all about signals Jul 26 17:40:07 they don't allocate memory Jul 26 17:40:16 they use the stack at best for a trampoline Jul 26 17:40:27 and all of that is handled in the kernel Jul 26 17:41:28 yeah, the kernel is error free ;) Jul 26 17:42:30 I only wish the quality of user-land s/w in linux was half as good as the kernel :) Jul 26 17:43:12 besides that you don't have to use excpetions. there are many ways to use c++, you could even just use it with your normal C code to get stronger type checking Jul 26 17:43:51 call me when you get all the people in your team to agree on the exact same 'sane' subset of the language Jul 26 17:44:59 trying to unify people is silly Jul 26 17:45:18 it is not if you try to have some sort of sanity in your codebase Jul 26 17:45:31 you won't see that when your program is small Jul 26 17:45:35 webkit is doing it pretty effectively Jul 26 17:45:57 panto: I've worked in teams with several dozen experienced devs Jul 26 17:46:05 so did I Jul 26 17:46:29 and they all wrote the same style? Jul 26 17:46:35 no, they did not Jul 26 17:46:46 that's why it was always a problem Jul 26 17:46:58 at least with C you can't go too far off the reservation Jul 26 17:47:10 the differences are only going to be stylistic Jul 26 17:47:21 with C++ you can screw everything over Jul 26 17:47:33 if you have your SCM setup not to accept commits until they pass style and other checks its pretty easy to enforce Jul 26 17:47:38 it gets silly, sorry Jul 26 17:48:03 on a big project using C++ + CORBA + multiple inheritance you couldn't even find where some call ended up going Jul 26 17:48:09 * mranostay trolling trolls trollishly Jul 26 17:48:29 anyway, obviously it does Jul 26 17:48:30 almost nobody still uses corba Jul 26 17:48:42 you're so, very, very wrong Jul 26 17:48:53 nothing dies with s/w Jul 26 17:48:58 our mistakes live for ever Jul 26 17:49:10 are we talking kids or code? Jul 26 17:49:13 sure, it depends on your environment Jul 26 17:49:46 but show something better than corba if you start with networking. there is a reason why dbus doesn't do networking Jul 26 17:50:11 you can't solve everything with simple silly code Jul 26 17:50:15 once upon a time corba was 'the best' technology offered then Jul 26 17:50:34 that was 15+ years ago Jul 26 17:50:40 and now? Jul 26 17:50:46 that piece of code still lives and will live Jul 26 17:50:54 too much $$$ was spent on it Jul 26 17:51:01 it will torment us for ever Jul 26 17:51:09 and how would you replace it? Jul 26 17:51:20 how would you replace COBOL? Jul 26 17:51:23 or FORTRAN? Jul 26 17:51:40 and the tons of software that the world relies on Jul 26 17:51:54 you are saying it's bad sw, so I assume you have a better solution Jul 26 17:52:03 no, there is no solution Jul 26 17:52:05 that's my point Jul 26 17:52:13 there will always be bad sw Jul 26 17:52:25 you confuse bad witch complicated Jul 26 17:52:33 s/witch/with/ Jul 26 17:52:56 http://www.goodreads.com/quotes/21422-i-didn-t-have-time-to-write-a-short-letter-so Jul 26 17:53:14 simple is good Jul 26 17:53:50 sure, KISS is the prefered way but not everything can be solved with simple steps Jul 26 17:54:09 I disagree Jul 26 17:54:18 everything can be solved with simple steps Jul 26 17:54:24 but it's too expensive to do so Jul 26 17:54:29 well right Jul 26 17:55:15 yeah, we just use a tape machine Jul 26 17:55:21 simple enough? Jul 26 17:55:24 nope Jul 26 17:55:40 anyway, got to take off Jul 26 17:55:44 so 1/0? Jul 26 17:55:45 it's friday! Jul 26 17:55:56 no, half-time 0-0 Jul 26 17:56:13 heh Jul 26 17:57:32 * mranostay kicks a soccer ball at joel_ Jul 26 17:59:57 * joel_ kicks it back Jul 26 18:00:46 hello mranostay Jul 26 18:00:48 lunch time, bbiab Jul 26 18:03:29 aholler: any example code for serial port for lunix using boost lib? Jul 26 18:03:47 aholler: any example code for serial port for lunix using boost lib?* Jul 26 18:04:21 lunix=linux for lunatics? Jul 26 18:04:34 Ahmed_: just google for "boost asio serial communication" Jul 26 18:04:53 what does google mean? Jul 26 18:05:04 oh god, really time for lunch Jul 26 18:07:18 aholler: :D soo most of the codes are com1 com2 i cant find one for lunix like ttyO2 etc Jul 26 18:21:08 Ahmed_: I don't thinky anymore you should try to use boost. you are missing the basics. Jul 26 18:22:17 aholler: what does boost mean Jul 26 18:22:54 it's an opposite of buck *ducks* Jul 26 18:53:02 geez how effing hard is googling? Jul 26 18:57:57 is this a novelty troll account ? Jul 26 19:06:57 trolls trolling the trolls? the world has gone to trolls :/ Jul 26 19:09:15 "what does google mean?" < pretty far fetched Jul 26 19:09:54 what do you expect from a dead terrorist? Jul 26 19:10:25 to presumably lie at the bottom of the ocean ? Jul 26 19:11:37 not really a perfect setting to remember the meaning of the verb "to google" Jul 26 19:11:37 mranostay: but assuming your internet only runs bing? Jul 26 19:12:13 kblin: like in Bill Gates' house? Jul 26 19:12:41 "what is bing" < now that's a valid question Jul 26 19:13:01 kfoltman: I guess even bill gates will use google or yahoo before wasting time on bing Jul 26 19:13:18 kblin: well, his children, on the other hand... Jul 26 19:13:27 kblin: I mean, he allegedly has a "no apple products" rule, so... Jul 26 19:13:43 that's why he's only half evil Jul 26 19:14:03 that's just jealousy because he never managed to be as evil Jul 26 19:14:19 jobs is dead, he may try again now ? Jul 26 19:14:28 there's always Steve B Jul 26 19:14:53 kfoltman: windows phones? eh Jul 26 19:15:19 *ew even Jul 26 20:45:25 <_SY_> hello Jul 26 20:45:36 hi Jul 26 20:45:38 =) Jul 26 20:46:46 <_SY_> Quiet again Jul 26 20:47:03 its like almost 7am where i am Jul 26 20:47:08 im surprised im upright Jul 26 20:47:13 <_SY_> Where are you? Jul 26 20:47:17 austral;ia Jul 26 20:47:18 <_SY_> 21:47 here. Jul 26 20:47:27 <_SY_> nice which part? Jul 26 20:47:32 little place called lithgow, about 150km west of sydney Jul 26 20:47:48 <_SY_> NV u ? Jul 26 20:47:56 <_SY_> I nv u. Jul 26 20:48:01 ? Jul 26 20:48:05 nv? Jul 26 20:48:28 <_SY_> envy Jul 26 20:48:32 oh Jul 26 20:48:37 yeah Jul 26 20:48:40 its a nice place Jul 26 20:48:42 quiet Jul 26 20:49:05 what about u? where abouts are u? Jul 26 20:49:10 <_SY_> several people I use to work with sold up and move to oz. Jul 26 20:49:18 dont blame em Jul 26 20:49:31 id actually like to live in germany or russia Jul 26 20:49:32 <_SY_> UK....East Anglia Jul 26 20:49:35 oh ok Jul 26 20:49:41 no wonder ppl are going to oz then Jul 26 20:49:54 <_SY_> :) Jul 26 20:49:59 about as far removed from the UK as you can get Jul 26 20:50:06 i asked my adopted Mum Jul 26 20:50:10 shes an audio engineer Jul 26 20:50:28 lived in london for a while during the 90s Jul 26 20:50:36 early 2000s too i think Jul 26 20:50:44 My brother in law is in Sydney on shore leave with the US Navy Jul 26 20:50:50 ok Jul 26 20:50:54 <_SY_> Did you progress your PID problem? Jul 26 20:51:02 the americans like sydney too ;) Jul 26 20:51:13 no, i havent looked - i just got debian on the BBB Jul 26 20:51:18 running nicely Jul 26 20:52:02 i actually have to clean up this disaster zone - im getting a drafting table from 1912, with a 1960s drawing machine on it Jul 26 20:52:04 next weekend Jul 26 21:11:00 <_av500_> ahoi Jul 26 21:11:22 http://26-26-54.hardwarebug.org/168 Jul 26 21:13:05 what is the meaning of 26/26/54 Jul 26 21:13:13 <_av500_> 26+26=54 Jul 26 21:13:15 <_av500_> no? Jul 26 21:13:18 yes Jul 26 21:13:22 indeed Jul 26 21:13:23 and it's a long story Jul 26 21:13:37 <_av500_> from before time was even time Jul 26 21:13:50 in a world, where everything you know is wrong Jul 26 21:13:51 and certainly before arithmetic was born Jul 26 21:14:26 it's like bash.org but requires 80x more context Jul 26 21:15:06 <_av500_> thats good, no? Jul 26 21:15:13 boris_G: did you follow a specific tutorial to get Debian on your BBB? (I just received mine) Jul 26 21:15:39 cmicali: stick around long enough and you'll be in on the jokes Jul 26 21:15:55 stick around long enough and you'll be in one of the jokes Jul 26 21:15:58 trolls are real Jul 26 21:16:00 well yes Jul 26 21:16:04 haha Jul 26 21:16:05 mru Jul 26 21:16:39 http://26-26-54.hardwarebug.org/22 Jul 26 21:16:40 cde: no, i just wrote an image to my microSD, inserted, and booted Jul 26 21:17:05 does it boot off the uSD automatically? or do I need to configure u-boot on the emmc for this? Jul 26 21:17:11 <_av500_> yes Jul 26 21:17:16 <_av500_> or hold the boot button Jul 26 21:17:21 thx bro Jul 26 21:17:23 no, it should boot from uSD if you insert a card Jul 26 21:17:30 <_av500_> no Jul 26 21:17:37 <_av500_> not with valid stuff in emmc Jul 26 21:17:39 well, a card with a proper boot sector *ducks* Jul 26 21:17:47 <_av500_> no Jul 26 21:17:49 <_av500_> emmc trumps sd Jul 26 21:17:54 interesting, mine booted from the uSD fine Jul 26 21:17:55 <_av500_> unless you chnage the boot order Jul 26 21:18:00 aint changed it Jul 26 21:18:09 mru, heh, the irony, koen was http://26-26-54.hardwarebug.org/0 Jul 26 21:18:19 root@arm:/# uname --all Jul 26 21:18:19 Linux arm 3.8.13-bone24 #1 SMP Sat Jul 13 05:22:56 UTC 2013 armv7l GNU/Linux Jul 26 21:18:20 Russ: yeah i noticed that Jul 26 21:18:34 afternoon all Jul 26 21:18:48 * boris_G has done enough soldering for the morning Jul 26 21:18:56 we spent 3 days debugging slow transfer from in-field device to office, installed ssh hpn patches, started going down that road Jul 26 21:18:57 switched wifi adaptor, problem solved in 4 minutes Jul 26 21:18:57 so stupid Jul 26 21:18:57 writing off this week. onto the next. Jul 26 21:18:59 im just debating how lazy i am to get coffee Jul 26 21:19:43 * mranostay hasn't had any coffee this week.. rough week :) Jul 26 21:19:49 ouch Jul 26 21:19:58 actually, i should get a granny smith apple Jul 26 21:20:04 Kara says theyre better for me Jul 26 21:20:06 cmicali which adapter were you all using ? Jul 26 21:20:07 ;) Jul 26 21:20:09 _av500_: you obviously missed my graph ;) Jul 26 21:20:14 the "bad" one Jul 26 21:20:39 <_av500_> aholler: garph? Jul 26 21:20:41 m_billybob: rtl8188cus was the bad one - it has been working fine, but in the location xmit/signal strength problems limited throuput to like 60k/s Jul 26 21:20:54 gee =S Jul 26 21:21:01 antenna? Jul 26 21:21:03 m_billybob: switched to atheros one that has high gain antenna outside of device case, back up to 1.5mb/s Jul 26 21:21:05 or just a dud design? Jul 26 21:21:05 ah, using an athros now ? Jul 26 21:21:07 ah yeah Jul 26 21:21:25 adapters cost a whole $5 more Jul 26 21:21:28 hah Jul 26 21:21:29 should have gone with that to start with Jul 26 21:21:40 cmicali been seeing RCN saying if it isnt atheros, it probably wont worl well Jul 26 21:21:42 av500: http://ahsoftware.de/Beaglebone_Black_Boot_explained.svg Jul 26 21:21:51 ( with arm ) Jul 26 21:21:56 u-boot prefers the mmc Jul 26 21:22:06 speaking of wifi, mine was just playing silly buggers =S Jul 26 21:22:15 at least the one on the latest angstrom Jul 26 21:22:20 m_billybob: took moving mountains to get the RTL one to even work, but even if sw is rock solid can't help the fact the adaptor is a piece of shit Jul 26 21:22:21 hmmm Jul 26 21:22:41 aholler: im in debian, im pretty certain Jul 26 21:22:50 aholler, you could collapse some of those states Jul 26 21:22:56 cmicali, lesson learned hopefully. Jul 26 21:23:06 m_billybob: never, takes at least burning myself 5x until i learn Jul 26 21:23:09 the no arrow from spi0 going to the mmc0 on the left Jul 26 21:23:14 er, wait, no Jul 26 21:23:15 nm Jul 26 21:23:27 usb0/uart0 are also swapped Jul 26 21:23:32 root@arm:/# sudo apt-cache search gnuradio Jul 26 21:23:33 gnuradio-doc - GNU Software Defined Radio toolkit documentation Jul 26 21:23:33 root@arm:/# Jul 26 21:23:45 yup, thats Debian Jul 26 21:24:34 cmicali, ah well atleast fixing it next time will be more simplified ;) Jul 26 21:25:11 m_billybob: 1 roadblock down, 9183 more to go! Jul 26 21:25:14 <_av500_> aholler: the fun part is always when mlo on emmc and uboot on SD start to diverge Jul 26 21:25:19 Russ: i have it there because it's in the srm and the trm. Jul 26 21:25:21 you know, at $58 a board (inc tax and P&P), BBBs would make good home automation controllers Jul 26 21:25:24 this svg is really nice Jul 26 21:25:27 far more capable than RPi Jul 26 21:25:28 <_av500_> after 2ys or so Jul 26 21:25:49 Russ: and I assume people want to know what spi0 is for Jul 26 21:26:00 boris_G they would make good remote ( anything ) controllers Jul 26 21:26:06 <_av500_> to connect the arduino of course Jul 26 21:26:14 true - i just have a hatred against RPi Jul 26 21:26:17 haha Jul 26 21:26:19 nice one Jul 26 21:26:23 i do too Jul 26 21:26:28 Arduino Yun anyone? Jul 26 21:26:30 they are useful though Jul 26 21:26:39 oh yes, useful... as toys Jul 26 21:26:42 im more anti ardooono Jul 26 21:26:42 you give to kids Jul 26 21:26:48 just say ar do no ! Jul 26 21:26:52 oh, arduino has its uses Jul 26 21:27:06 http://hackaday.com/2012/12/20/custom-motd-for-the-raspberry-pi/ <= so awesome! Jul 26 21:27:17 dear god... dare i look? Jul 26 21:27:27 * m_billybob wont bother Jul 26 21:27:30 hahaha Jul 26 21:27:36 * m_billybob has no need for xbmc Jul 26 21:27:50 thats about all rpi is good for :P Jul 26 21:27:50 hah Jul 26 21:27:55 yeah im kidding Jul 26 21:28:01 what's that got to do with rpi? Jul 26 21:28:04 dont ever try a DTV dongle, and a wifi dongle... Jul 26 21:28:09 at once, i mean Jul 26 21:28:13 and no, i didnt do it Jul 26 21:28:17 i heard about it Jul 26 21:28:21 <_av500_> mru: you mean it exosted before rpi? unpossible Jul 26 21:28:25 *CRASH! BOOM!* Jul 26 21:28:27 <_av500_> existed Jul 26 21:29:04 pretty sweet hack putting a picture of a raspberry in there Jul 26 21:29:12 aholler, fwiw, i have got it workign yet. took me several hours yesterday to clear out a USB HDD, moved the rootfs over this morning though. Jul 26 21:29:16 mru: yeah, what cmicali said :) Jul 26 21:29:18 i should pull the finger out and get a Z-Wave controller Jul 26 21:29:23 i have the USB stick Jul 26 21:29:23 cmicali: ascii-art is a 'hack' now? Jul 26 21:29:23 i have not got it workign yet* Jul 26 21:29:42 <_av500_> mru: sadly yes Jul 26 21:29:47 and some ansi colour codes Jul 26 21:29:48 TheDRAW ftw! Jul 26 21:29:53 mru: totally, i think opening "terminal" on your macbook counts as a hack now too Jul 26 21:29:57 mru: sure, I mean you first have to port your editor to the pi Jul 26 21:30:00 ffs Jul 26 21:30:01 https://en.wikipedia.org/wiki/TheDraw Jul 26 21:30:08 heh Jul 26 21:30:12 cant use my mac without terminal open Jul 26 21:30:13 i used to be pretty good at thedraw Jul 26 21:30:18 im leet hacker am i? Jul 26 21:30:18 <_av500_> kblin: i ported my hdmi cable to the rpi Jul 26 21:30:40 _av500_: that's why you're making the big bucks Jul 26 21:30:41 "ported" a cable ? Jul 26 21:30:46 and that's not even a motd Jul 26 21:30:50 it's a login script Jul 26 21:30:56 if you read the linked page Jul 26 21:30:59 haha Jul 26 21:31:00 fortune ftw Jul 26 21:31:03 and a bloody stupid one at that Jul 26 21:31:14 "whoop, its a piece of shit...!" Jul 26 21:31:51 all you need for your motd is http://www.network-science.de/ascii/ Jul 26 21:31:53 done Jul 26 21:32:12 http://www.textfiles.com/artscene/asciiart/ASCIIPR0N/ Jul 26 21:32:16 i'm partial to the USAFLAG font Jul 26 21:32:28 i feel like it captures my patriotism and love of flags Jul 26 21:32:48 what was that called the thing the HAM opers used to do with ASCII over radio ? Jul 26 21:32:57 mru: i love how http://www.textfiles.com/artscene/asciiart/ASCIIPR0N/anime09.txt qualifies as pr0n Jul 26 21:32:58 are these mad uni projects? =P Jul 26 21:33:05 RTTY? Jul 26 21:33:11 ah yeah soudns right Jul 26 21:33:12 radio teletypwrite Jul 26 21:33:24 mate, they moved on Jul 26 21:33:31 they got some sweet modes out there now Jul 26 21:33:32 you mean some have Jul 26 21:33:37 yeah, good point Jul 26 21:33:50 * boris_G needs to upgrade his licence Jul 26 21:33:56 i watched a video not long ago, someone was collecting rtty art Jul 26 21:34:04 * boris_G actually needs to renew his licence Jul 26 21:34:15 now ive moved Jul 26 21:34:22 into much more stable accomodation Jul 26 21:35:16 i was VK2FPGA Jul 26 21:35:21 hmm so im like one step away from USB boot, if its going ot work Jul 26 21:35:26 dont laugh, i did, when i handed in the forms Jul 26 21:35:32 <_av500_> it works Jul 26 21:35:34 making a new uEnv.txt file . . . Jul 26 21:38:23 could have sworn someone like RCN or gerald or both said USB boot wouldnt work. Jul 26 21:38:37 <_av500_> it does work Jul 26 21:38:54 not doubting just saying . . . feel kind of silly now that well duh . . .mmc parameters could have been used Jul 26 21:39:40 _av500_ thats what aholler told me the other day too Jul 26 21:40:00 showed me some params, well most of what i need Jul 26 21:40:12 <_av500_> m_billybob: we have a GSoC that boots a BBB from an Androiud phone Jul 26 21:40:16 <_av500_> via usb Jul 26 21:40:21 lol nice Jul 26 21:42:36 according to hdparm though, this ATA<->USB controller I have is pretty crappy Jul 26 21:43:05 it supports,read ahead, and all the other "fancy" options are left out Jul 26 21:43:18 hey guys, i have an 8GB uSD card, and my df -h is telling me I'm using about 695MB of that... how would I "grow" the partition without wiping everything out? Jul 26 21:43:53 did you create the partition yourself ? Jul 26 21:44:05 i mean what does df -h / say as in total usage Jul 26 21:44:08 no, i dd'ed it Jul 26 21:44:12 oh Jul 26 21:44:14 hang on Jul 26 21:44:27 root@arm:/# df -h Jul 26 21:44:28 Filesystem Size Used Avail Use% Mounted on Jul 26 21:44:28 rootfs 695M 463M 197M 71% / Jul 26 21:44:28 udev 10M 0 10M 0% /dev Jul 26 21:44:28 tmpfs 50M 228K 50M 1% /run Jul 26 21:44:28 /dev/mmcblk0p2 695M 463M 197M 71% / Jul 26 21:44:30 tmpfs 5.0M 0 5.0M 0% /run/lock Jul 26 21:44:32 tmpfs 100M 0 100M 0% /run/shm Jul 26 21:44:34 /dev/mmcblk0p1 71M 21M 50M 30% /boot/uboot Jul 26 21:44:36 root@arm:/# Jul 26 21:44:51 ah i get what you meant now Jul 26 21:44:55 yeah Jul 26 21:45:37 resize the partition (if possible) and run resize2fs Jul 26 21:45:47 if you're using an ext[234] filesystem Jul 26 21:45:53 ok, how to resize the partition? Jul 26 21:45:56 i believe iam Jul 26 21:46:00 well only way I know how would be to tar up the rootfs, store it elswhere safely, create the parition new, then restore the boot and rootfs Jul 26 21:46:01 fdisk and a steady hand Jul 26 21:46:10 haha Jul 26 21:46:14 lovely Jul 26 21:47:07 blkid should tell you what fs is on it Jul 26 21:47:10 * m_billybob thinks Jul 26 21:47:18 mount will tell Jul 26 21:47:27 or /proc/mounts Jul 26 21:47:37 http://litwol.com/content/fdisk-resizegrow-physical-partition-without-losing-data-linodecom ? Jul 26 21:47:48 output of blkid for me /dev/sda1: LABEL="rootfs" UUID="e66ce4ae-51ca-4467-8da7-a8e54433d14c" TYPE="ext4" Jul 26 21:48:00 I dont like what mount outputs most of the time Jul 26 21:48:06 personal preference Jul 26 21:48:14 e.g. hard to read Jul 26 21:48:17 many tools will tell you the info Jul 26 21:48:19 harder* Jul 26 21:48:26 /dev/mmcblk1p2: LABEL="rootfs" UUID="63089517-6d2b-44cf-9c8b-0370fb04d1ae" TYPE Jul 26 21:48:26 /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="boot" UUID="FAD4-CF4C" TYPE="vfat" Jul 26 21:48:26 /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="BOOT" UUID="2756-B9FC" TYPE="vfat" Jul 26 21:48:26 /dev/mmcblk0p2: LABEL="rootfs" UUID="aa9676dc-5d32-4ef7-9dd9-c94274888788" TYPE Jul 26 21:48:26 root@arm:/# ^C Jul 26 21:48:27 root@arm:/# Jul 26 21:48:38 vfat? Jul 26 21:48:39 hmmm Jul 26 21:48:48 that's only the first partition Jul 26 21:48:48 vfat would be the boot partition Jul 26 21:48:56 oh Jul 26 21:49:08 so you apparently have an SD card inserted too ( and booted from ) Jul 26 21:50:15 hah Jul 26 21:50:18 ewps ? Jul 26 21:50:18 just killed my X Jul 26 21:50:37 * boris_ doesnt like breaking stuff... it just happens Jul 26 21:52:35 ok, its ext4 Jul 26 21:52:38 the rootfs Jul 26 21:52:56 /dev/mmcblk0p2 on / type ext4 (rw,noatime,errors=remount-ro,data=ordered) Jul 26 21:53:27 so resize2fs can do it Jul 26 21:54:41 ok Jul 26 21:54:43 syntax? Jul 26 21:54:52 resize2fs /dev/foo Jul 26 21:54:58 iirc Jul 26 21:55:05 and it just gobbles up the rest of the room? Jul 26 21:55:09 yes Jul 26 21:55:10 =O =P Jul 26 21:55:12 cool Jul 26 21:55:18 you have to expand the partition manually first Jul 26 21:55:26 mru needs to be unmounted though correct ? Jul 26 21:55:37 ahhhh Jul 26 21:55:42 and thats fdisk Jul 26 21:55:44 ext4 supports online resize Jul 26 21:55:48 gotcha Jul 26 21:55:50 ooo nice Jul 26 21:55:58 and might get away with resizing the partition online too Jul 26 21:56:11 worth a shot Jul 26 21:57:05 I use mostly lvm and that certainly allows online resize Jul 26 21:57:08 im getting parted hah Jul 26 21:57:10 worked ok for the last image I did that on Jul 26 21:57:42 wasn't a beagle, but was a debian image on SD card Jul 26 21:58:07 storage medium is irrelevant Jul 26 21:58:17 blk device Jul 26 21:58:19 (parted) print all Jul 26 21:58:19 Error: /dev/mmcblk1boot0: unrecognised disk label Jul 26 21:58:19 (parted) Jul 26 21:58:22 oops? Jul 26 21:58:31 msdos Jul 26 21:58:39 bugger Jul 26 21:58:44 print the dev? Jul 26 21:59:31 geez, being a wee bit obtuse Jul 26 22:00:03 * m_billybob isnt that experienced with this and doesnt want to get involved Jul 26 22:00:23 yeagh, thats cool Jul 26 22:00:40 i mean, i still have the image on my macbook Jul 26 22:00:48 i can rewrite it if i kill it Jul 26 22:01:21 id probably go about it a difffernt way, but mostly due with more experience with taring up the rootfs Jul 26 22:01:31 yeah, ok Jul 26 22:01:39 due to having more experiene with* Jul 26 22:01:45 but u gotta remember, i cant access the uSD on linux workstation, only mac Jul 26 22:01:56 the reader dont work on linux Jul 26 22:02:09 virtual machine ? Jul 26 22:02:15 "one of the eternal mysteries of the universe..." Jul 26 22:02:18 or just bare metal Jul 26 22:02:23 with 5GB SSD space? Jul 26 22:02:25 oh Jul 26 22:02:27 bare metal Jul 26 22:02:32 its an AMD A10 Jul 26 22:02:37 got a cubieboard a20.. damn this thing makes BBB setup look like a walk in the park with a seeing eye dog Jul 26 22:02:56 i got a cubieboard A10 - its ethernet dont work Jul 26 22:03:03 im using an AMD A4 3400 my card reader works fine Jul 26 22:03:04 piece of junk Jul 26 22:03:16 i think its the reader billybob Jul 26 22:03:16 but . .yeah Jul 26 22:03:50 possibly i should invest in a new reader? Jul 26 22:03:52 Vaizki, so you're saying you like it eh ? not much in the way of external I/O though right ? Jul 26 22:04:07 96 I/O Jul 26 22:04:18 <_av500_> Vaizki: just fex it Jul 26 22:04:18 well specifically GPIO UART I2C etc Jul 26 22:04:21 and wow really ? Jul 26 22:04:25 yup Jul 26 22:04:31 thats why i wanted an A10 one Jul 26 22:04:46 Vaizki: hows your ethernet going? Jul 26 22:04:55 there's I/O galore Jul 26 22:05:05 including SATA with power Jul 26 22:05:25 yeah, +5VDC only, but still, the goods Jul 26 22:05:35 cubieboard is still 100Mbit ethernet ? Jul 26 22:05:41 latest images allow you to hook up an SSD Jul 26 22:05:43 yup Jul 26 22:05:48 only 100Mbit Jul 26 22:05:52 yeah id want GbE Jul 26 22:05:54 i only got 100Mbit Jul 26 22:06:02 i cbf getting GigE Jul 26 22:06:20 would make a perfect storage board with GbE Jul 26 22:06:24 yea laptop sata. and loads of gpio etc.. but the hw support is a bit lacking in the distros that "support" it Jul 26 22:06:24 oh yes Jul 26 22:06:30 put an SATA HPM on it Jul 26 22:06:35 hah Jul 26 22:06:46 Vaizki: the drivers are probably in chinese Jul 26 22:07:01 Allwinner = chinese company who made the ARM chip Jul 26 22:07:15 allwinner docs are a joke Jul 26 22:07:16 tom cubie is probably having a Hell of a time translating Jul 26 22:07:29 probably not Jul 26 22:07:34 theyre open - more than i can say for rockchip Jul 26 22:07:36 he doesn't have anything to translate Jul 26 22:07:49 u mean it aint open? Jul 26 22:07:54 id want debian on one if i had one Jul 26 22:07:55 or is it just unreleased? Jul 26 22:08:06 billybob: i used linaro precise Jul 26 22:08:07 debian works on the A20 cubieboard Jul 26 22:08:23 was going to use it for a UAV controller Jul 26 22:08:34 I have debian on it now because Arch is a bit "working on it" Jul 26 22:08:37 hah - linux-adk and phonedrone Jul 26 22:08:41 woop! Jul 26 22:09:01 is that thing really only 50 bux ? Jul 26 22:09:07 the single core is Jul 26 22:09:09 yup Jul 26 22:09:16 dual core (A20) is $60 Jul 26 22:09:22 A20 would be cubieboard 2 ? Jul 26 22:09:26 yup :) Jul 26 22:09:36 nice. Jul 26 22:09:45 yeah Jul 26 22:09:46 boris_: I'm partial to the DIY drones ardupilot for UAVs Jul 26 22:09:57 itd be cool to run openCV Jul 26 22:10:06 ill have to look into it more at some point but still Jul 26 22:10:07 yeah, i hate myself, and like too bleeding edge hardware Jul 26 22:10:10 but mainly because I've flown it before Jul 26 22:10:17 i aint flown Jul 26 22:10:17 the only GbE board ive seen altely are all $200 + Jul 26 22:10:21 im still to get mine Jul 26 22:10:23 boards* Jul 26 22:10:44 kblin: i want to use QGroundControl Jul 26 22:10:45 I think the BBB ethernet is better than the CB/CB2 one, not sure though Jul 26 22:10:54 realtek on CB Jul 26 22:11:11 Vaizki BBB ethernet maxes 100Mbit theoretical Jul 26 22:11:18 I know Jul 26 22:11:25 to both of you Jul 26 22:11:31 Vaizki, with NFS root, it does 11.1MB/s writes and 11.9MB/s reads Jul 26 22:11:42 thats dahmed fast i think Jul 26 22:11:47 m_billybob: not bad Jul 26 22:11:57 that's as good as you'll get with 100Mbps Jul 26 22:12:04 wow Jul 26 22:12:06 that Jul 26 22:12:09 no doubt most PCs wont get that fast Jul 26 22:12:15 pretty much Jul 26 22:12:18 overheads? Jul 26 22:12:22 not with a shitty realtek nic at least Jul 26 22:12:24 or just junk hardware? Jul 26 22:12:27 LOL Jul 26 22:12:43 mru Intel Pro 1000 wouldnt gt that past through PCIe for me Jul 26 22:12:46 well err Jul 26 22:12:46 lol Jul 26 22:12:48 if the fabled NBN ever comes to town... Jul 26 22:12:56 boris_: I've got a bunch of amazingly bad GbE cards at work Jul 26 22:13:02 ouch Jul 26 22:13:05 screw that Jul 26 22:13:11 so I'd vote for junk hardware Jul 26 22:13:12 Ive used some 100Mbit intel cards on PCI that wouldnt go that fast Jul 26 22:14:11 anyhow mostly i am pretty impressed with the BBB Jul 26 22:14:29 yeah, i like it too... i havent gotten into it fully Jul 26 22:14:33 ttcp between two machines with e1000 nics says 116118.13 KB/sec Jul 26 22:14:35 done someting with it yet Jul 26 22:14:58 i have all kinds of odds and ends here waiting to use with it Jul 26 22:15:11 ive done a bunch of dabbling nothign very serious Jul 26 22:15:22 yeah Jul 26 22:15:42 I guess if you want SATA and gigabit ethernet you gotta go wandboard quad Jul 26 22:15:46 i want to get the Z-Wave working, and have a "remote power kill switch" Jul 26 22:15:50 and metering...! Jul 26 22:15:50 networkboot works good, and is fast for fast ethernet. I've written a couple of small apps for it Jul 26 22:16:18 I had a BBB drive a prop for a theatre performance Jul 26 22:16:23 mostly im leanring embedded linux, and the hardware Jul 26 22:16:36 having node preinstalled on emmc made this really, really easy :) Jul 26 22:16:45 billybob: i started on ar do no Jul 26 22:16:46 lol nice Jul 26 22:17:09 MovieOS? :P Jul 26 22:17:15 kidding Jul 26 22:17:21 wandboard quad is already 145 usd.. damn Jul 26 22:17:38 that's a lot compared to CB/BBB Jul 26 22:17:39 boris_ yeah lol im not much into arduino, for stuff like that id probably use an MSP430 or if i needed more omph some sort of ARM Cortex M0/M4 Jul 26 22:18:01 yeah... i wanted to get back into programming after 15 years out Jul 26 22:18:07 im not into that much torture Jul 26 22:18:11 and eventually I want to start gettign into PIC32 too Jul 26 22:18:18 but i got the hang of it, and now doing M0+'s Jul 26 22:18:33 m_billybob: I have to admit I'm a bit spoiled these days. I dug up my launchpad board recently and realized how much less fun it is to get anything done there Jul 26 22:18:35 msp430 is so dahmed easy, once you learn the hardware Jul 26 22:18:45 armv6m is an annoying instruction set Jul 26 22:19:04 kblin i know what you mean, but on the other hand its also far less complex Jul 26 22:19:13 I was considering getting some CC430 boards for remote sensors.. Jul 26 22:19:26 yeah Jul 26 22:19:32 and hooking them up to a central BBB with CC1110 Jul 26 22:19:32 <3 radio Jul 26 22:19:32 m_billybob: sure, and also dirt-cheap Jul 26 22:19:49 Vaizki: seen PowerCaster? Jul 26 22:19:55 nope Jul 26 22:20:12 915MHz 1W or 3W radio, that broadcasts... power... literally Jul 26 22:20:22 for low power remote sensors and crap Jul 26 22:20:24 kblin, my buddy and I made a reflow oven controller using a launchpad, technically though the PCB he made we only need the MCU Jul 26 22:20:42 well he made the hardwre i wrote the software whcih admittadly still needs work Jul 26 22:20:42 boris_: eh.. ok. not happening here in Finland though :) Jul 26 22:20:51 BBB is soaking up most of my free time lately Jul 26 22:20:59 hah, yeah, good point - u guys are 868MHz Jul 26 22:21:46 I just need to find a nice CC430 breakout board Jul 26 22:21:59 olimex does some and I guess panstamp will have some soon Jul 26 22:22:04 Vaizki: im wanting to print Finnish model trains when i get my laser printer working Jul 26 22:22:11 its amazing though, that thign only has 512byte ram and 16k flash, the software i wrote whcih was kind of bulky ( i could have made it smaller if i cared ) only took up 4k flash Jul 26 22:22:42 only 16k flash? that's huge for a mcu :) Jul 26 22:22:57 depends on how you look at it Jul 26 22:23:09 many M0+'s / M4's have much more Jul 26 22:23:22 '430 has low clock speed Jul 26 22:23:24 sure Jul 26 22:23:31 its also 8bit? Jul 26 22:23:34 430 is low power low cost Jul 26 22:23:38 16bit Jul 26 22:23:43 M0+ is 32bit Jul 26 22:23:45 ah Jul 26 22:23:46 no it's 16bit Jul 26 22:23:50 gotcha Jul 26 22:24:21 the DSPiCs are 16bit too Jul 26 22:24:40 * boris_ is supposed to be using a DSPiC for a VoIP radio interface Jul 26 22:24:41 I want to get some of those DIP-packaged M0+ Jul 26 22:24:47 u can get them? Jul 26 22:24:49 :O Jul 26 22:24:51 sure Jul 26 22:24:57 DIP-8 even :D Jul 26 22:24:58 who from? Jul 26 22:25:02 hah Jul 26 22:25:21 im not an expert on the hardware inside, but the msp430 has hardware *eveything* so you can either bitbang SPI etc, or use the hardware on it Jul 26 22:25:27 nxp LPC810M021FN8 Jul 26 22:25:31 is DIP8 Jul 26 22:25:34 its much faster than you may initially think Jul 26 22:26:50 ur kidding! wow! Jul 26 22:26:59 the 20/16 pin DIP versions are a bit more sensible than the DIP8 one Jul 26 22:27:10 http://vilaca.eu/lpc810/ Jul 26 22:27:15 yeah, i bet Jul 26 22:27:25 Memory is limited to 4KB flash and 1KB SRAM. Jul 26 22:27:29 the reflow controller i wrote operatios at 1Mhz, and checks an Thermocouple 32 times a second, displays data on an LCD, updates the LCD, adjusts ouput, based on readings etc Jul 26 22:27:29 because DIP8.. take away GND, VCC, RESET etc and you have what.. 4 or 5 usable IO Jul 26 22:27:35 its pretty dahmed fast for what it is Jul 26 22:28:31 billlybob: thats pretty neat Jul 26 22:28:32 ok got some work to do ill bbl Jul 26 22:28:40 ok mate =) Jul 26 22:29:43 whats a 20 pin M0+? Jul 26 22:29:48 part number? Jul 26 22:29:58 ta Jul 26 22:30:31 boris_: look up the LPC1110 series also for DIP 28 M0+ etc.. they're pretty cheap Jul 26 22:31:59 LPC1114FN28/102 for example you can get at 1.5 USD each in pretty small quantities Jul 26 22:32:18 ok Jul 26 22:32:37 and it needs less extra parts than a atmel 328p Jul 26 22:32:50 yeah - im looking for a dev board for it Jul 26 22:32:51 I mean supporting parts Jul 26 22:32:57 why? Jul 26 22:32:58 yeah, oscillator and crap Jul 26 22:33:06 it doesn't need a board Jul 26 22:33:19 well, i suppose, you said it doesnt need external fluff Jul 26 22:33:31 well ok you need 3.3V power but.. Jul 26 22:33:41 haha Jul 26 22:33:45 i can provide that! Jul 26 22:34:19 http://vilaca.eu/lpc1114/ Jul 26 22:34:24 check that out for example Jul 26 22:35:08 wicked :D Jul 26 22:35:21 sure bookmarking that one Jul 26 22:38:12 yea this shit is getting too easy Jul 26 22:38:30 sure is Jul 26 22:38:50 * boris_ could make an ar do no compatible board from that M0+ Jul 26 22:39:26 must have external USB -> serial - do it like a man Jul 26 22:41:14 ok, im gunna scare up a coffee Jul 26 22:41:18 back laterz Jul 26 22:41:40 don't scare it, that ruins the flavour Jul 26 22:41:41 at the prices M0+ chips are going for, every fridge and toaster is going to have one in 5 years Jul 26 22:44:20 they are well below .50 usd already.. although I do understand that if you sell a 100 000 000 of something then 50 cents is a lot ;) Jul 26 22:45:34 but sleepy time for me Jul 26 22:46:28 if it saves you $1 in other parts... Jul 26 22:48:02 now this is the kind of case i was looking for http://www.logicsupply.com/products/bb100_orange Jul 26 22:48:44 sadly none of the cases I've seen accommodate a jtag header Jul 26 22:49:54 you can steal my camel box design Jul 26 22:50:06 thanks, it'll be a thrill Jul 26 22:50:20 hasnt caught fire yet Jul 26 23:06:10 do micro SDHC cards work in the BBB? Jul 26 23:06:19 or just regular SD? Jul 26 23:09:32 micro SDHC works Jul 26 23:12:01 hey, anyone from san jose looking for an introish validation job? Jul 26 23:17:39 is there a spec/script to build the angstrom image Jul 26 23:21:03 oh i may have found it. Jul 26 23:44:55 heh first IRC channel ive seen where recruiters come around for job interviewees Jul 26 23:45:05 * m_billybob is back Jul 26 23:54:15 hah m_billybob i try geting people on irc all the time Jul 26 23:54:22 not thati m a recruiter Jul 27 00:01:03 all good. Jul 27 00:35:30 yup yup easy peasy Jul 27 00:35:33 root@arm:~# df -h / Jul 27 00:35:33 Filesystem Size Used Avail Use% Mounted on Jul 27 00:35:44 -/dev/root 275G 1.5G 260G 1% / **** ENDING LOGGING AT Sat Jul 27 02:59:58 2013