**** BEGIN LOGGING AT Wed Sep 19 02:59:59 2012 Sep 19 06:44:18 Anyone know a way to create "Inodes that were part of a corrupted orphan linked list"? I need to verify that my fsck-strategy works. Sep 19 06:54:18 and, is there an easy (meaning I don't have to write it myself) way to show fsck progress on boot with other console-stuff to framebuffer disabled? Sep 19 07:53:09 koen: ping Sep 19 08:04:37 av500: pong Sep 19 08:05:29 1:1 Sep 19 08:40:05 Hi. I've got a Beaglebone, and I've got u-boot to load my linux kernel. However, the last message I see is "Starting kernel ..." then nothing is printed. Does anyone have any tips for debugging this further ? I'm using the latest OMAP kernel tree from kernel.org, using ttyO0 for console output. Sep 19 08:41:32 what's the command line that u-boot sets? Sep 19 08:42:30 dm8tbr, you mean the kernel arguments ? Sep 19 08:44:37 yes Sep 19 08:45:01 dm8tbr, bootargs=console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait debug Sep 19 08:45:31 that does not match your previous statement Sep 19 08:45:50 " using ttyO0 for console output" Sep 19 08:45:56 dm8tbr, I've tried ttyO0, ttyO1 and now ttyO2 Sep 19 08:46:03 while I don't remember off hand which is the right one Sep 19 08:46:52 do other linux kernels boot? Sep 19 08:47:07 but shouldn't there be something printed along the lines of "uncompressing kernel", before the tty question becomes relevant ? Sep 19 08:47:30 dm8tbr, yeah, I've got the Angstroem distribution on another SD card, that one boots Sep 19 08:48:46 * dm8tbr hsn't done bring-up in a long while Sep 19 08:48:59 might need early-printk? Sep 19 08:49:23 dm8tbr, good idea.. let me try that.. Sep 19 08:49:46 kroon: probably u-boot passes wrong machid to the kernel Sep 19 08:49:58 wrong == unsupported Sep 19 08:51:28 it's machid that defines the port to be used for "Uncompressing kernel" output Sep 19 08:51:48 so if you don't see it, probably something is wrong with it Sep 19 08:52:10 ilyanok, aha, sounds like something I can dig into .. Sep 19 08:52:39 the answer is far simpler: no beaglebone support in "latest OMAP kernel" Sep 19 08:52:57 you need linux-next from yesterday to boot from a ramdisk Sep 19 08:53:06 or my beaglebone-3.6 tree to boot from SD Sep 19 08:56:16 koen, aha.. this one ? git://github.com/koenkooi/linux.git Sep 19 09:05:36 kroon: no, github.com/beagleboard/kernel.git Sep 19 09:15:30 koen, thanks, building.. Sep 19 09:17:21 http://d0t.dbclan.de/xkcdclickdrag/ Sep 19 09:26:20 hehe, d0t's page gets around :) Sep 19 09:31:43 av500: nsf low ram Sep 19 09:37:42 damir__: works here Sep 19 12:26:50 So, trying to boot my Beaglebone, I got a little further using beaglebone-3.2 branch from Koen's tree, it's uncompressing and booting the kernel, but then no output, so I guess I have the incorrect tty for console setup Sep 19 12:37:19 ogra_: and? Sep 19 12:40:24 av500, for me ? Sep 19 12:45:51 if you ate ogra_ , yes :) Sep 19 13:07:33 av500, ?? Sep 19 13:08:50 ogra_: av500 is requesting further information from you so as to be able to help you further Sep 19 13:09:24 cde, any idea what he wants to help me with ? Sep 19 13:09:31 :) Sep 19 13:09:51 yes. in fact I have several ideas on the subject Sep 19 13:10:13 tell me :) Sep 19 13:10:55 maybe he wants to help you get off ubuntu Sep 19 13:11:01 lol Sep 19 13:11:18 I heard of this support group Sep 19 13:11:19 depends on the salary :) Sep 19 13:11:24 with a 12-step programme Sep 19 13:11:33 totally anonymous of course Sep 19 13:16:56 ogra_: zatab Sep 19 13:18:13 oh, well, playing with it atm... the u-boot build doesnt seem to init the LCD so i cant get anything from the kernel yet Sep 19 13:18:23 (whjich doesnt seem to finish booting) Sep 19 13:18:53 sadly the image they install doesnt have /proc/config.gz so i could compare with the defconfig for zatab Sep 19 13:19:25 i used it over the evening yesterday, with android its pretty responsive Sep 19 13:20:18 it is a good device though i think $350 are to much ... i would have considered buying it for $100 less Sep 19 13:21:25 (it comes with two sparate micro USB sockets, one in host and the other in OTG mode, the host more one has an adapter to actually attach normal sized plugs ... pretty cool for a tablet) Sep 19 13:23:22 otg is pretty standard Sep 19 13:24:09 thing is, i've got otg in my phone Sep 19 13:24:14 and i've never used it Sep 19 13:25:34 the host mode one isnt Sep 19 13:25:47 and that you have separate ones isnt Sep 19 13:25:52 true Sep 19 13:26:10 but yes $350 is too much Sep 19 13:26:13 i.e. you can directly attach any USB kbd to it without any fiddling Sep 19 13:26:27 ogra_: works on our tablets too :) Sep 19 13:26:34 with the host cable Sep 19 13:26:47 ogra_: you can do that with OTG Sep 19 13:26:51 ogra_: as in attach keyboard Sep 19 13:26:59 ogra_: OTG is host mode pretty much Sep 19 13:27:46 OTG just means that device will be able to change directions Sep 19 13:28:09 and it's controlled by extra pin in the socket + possibly negotiated in software if direction has to be switched Sep 19 13:29:34 only advantage of full host mode is that all you need is any odd usb cable and gender bender Sep 19 13:30:57 well, you still need to switch the port back and forth dependin on use Sep 19 13:31:54 no, that's automagic with otg Sep 19 13:32:10 janne: _something_ has to switch it Sep 19 13:32:32 but not the user so he doesn't have to care Sep 19 13:34:40 and I had to fight with tegra2 usb complex to get host mode working on the tablet in front of me Sep 19 13:39:17 janne: you need special cable Sep 19 13:39:21 so user does have to care Sep 19 13:39:57 janne: OTG is host mode Sep 19 13:40:29 all OTG really defines is extra pin in microusb socket to enable host mode when cable is plugged in Sep 19 13:40:47 and then only if two OTG devices are connected together, switching directions on the fly Sep 19 13:44:41 jacekowski: yeah, most so called OTG devices are not real OTG, more like dual-role Sep 19 13:53:05 is OTG really used for something these days? Sep 19 13:53:12 what is the OTG "killer app"? Sep 19 14:00:57 jonand: there never was one Sep 19 14:01:29 but nokia had it early and apple still does not, so nokia is clearly "better" Sep 19 14:04:03 there used to be some digital cameras you could connect directly to a printer Sep 19 14:04:21 why the hell anyone would want that is another matter Sep 19 14:04:40 for people who don't like trees Sep 19 14:04:46 or rather, like dead trees Sep 19 14:04:56 for people who thing digital is the new polaroid. Sep 19 14:05:01 s/thing/think/ Sep 19 14:05:42 mru: for that OTG was not needed Sep 19 14:06:15 in fact, most of those cameras predate otg Sep 19 14:06:45 nevertheless, it's the only case I can recall seeing where the same port is used as either host or device Sep 19 14:07:10 well, you can use mouse on your android phone Sep 19 14:07:32 sounds even less useful Sep 19 14:07:50 it has a perfectly good touch screen and an interface designed for that Sep 19 14:08:34 well, then hmmmmmmmmm Sep 19 14:08:44 you can have 64GB memory stick hanging from it Sep 19 14:08:55 extra 64GB of storage Sep 19 14:09:09 but...but...but....cloud! Sep 19 14:09:19 and plenty of extra power usage Sep 19 14:10:15 you can use your phone to charge another phone Sep 19 14:10:32 you can use your phone to discharge another phone Sep 19 14:15:51 bradfa: http://energia.github.com/Energia/ Sep 19 14:16:10 oooo Sep 19 14:16:25 will check out! Sep 19 14:16:59 bradfa: that's where my arduino IDE comment comes from :) Sep 19 14:17:31 94 MB, a bit smaller than CCSv5! Sep 19 14:18:14 you can do proper bare metal on it, but by default you can use the arduino API Sep 19 14:18:30 if you're familiar with the arduino stuff Sep 19 14:18:43 I'm not, but based on what I know of it, probably wouldn't take long to pick up Sep 19 14:18:45 can it bitbang? Sep 19 14:18:51 av500: yes Sep 19 14:19:11 I thought that was implied with "arduino api" Sep 19 14:19:18 :) Sep 19 14:19:28 does arduino do interrupts? Sep 19 14:19:34 (I know, wrong channel!) Sep 19 14:19:41 this is *the* channel Sep 19 14:19:53 av500, *your* channel! Sep 19 14:20:03 that too Sep 19 14:21:28 gah, now I want an MSP430 launchpad... Sep 19 14:21:44 this linux stuff is for the birds :) Sep 19 14:21:59 you dont have lunchpads? Sep 19 14:22:06 doesnt everybody have several? Sep 19 14:22:11 they were $5 only Sep 19 14:22:18 I have Stellaris lunch-pad coming in October Sep 19 14:22:22 $4.30, no? Sep 19 14:22:23 but no msp430s Sep 19 14:22:30 that too Sep 19 14:22:41 * koen headdesks Sep 19 14:22:58 I thought that was a weird price Sep 19 14:23:01 my first launchpad design ended up as an FTDI doing bitbang :) Sep 19 14:23:05 but I only looked at the euro amount Sep 19 14:23:16 ti: they make funnies Sep 19 14:23:18 so now I realize msp430 -> 430 dollar cents Sep 19 14:23:30 * koen puts in dunce cap Sep 19 14:23:35 koen: omap5 will cost a lot then Sep 19 14:23:51 am3359, $33.59? Sep 19 14:23:57 yes Sep 19 14:23:57 better price for bones! Sep 19 14:24:05 r-pi pricing :) Sep 19 14:25:07 msp430 lunch-pads are backordered... :( Sep 19 14:54:32 bradfa, I heard we can get everybody a better price on beaglebone, but we have to recall the TRM and datasheet from the website and your local storage in return Sep 19 14:55:27 mdp: and require a signed boot loader Sep 19 14:56:06 yes, we can fix that in the next spin Sep 19 14:56:33 mdp, hmmm... Sep 19 14:56:34 "Errata 54: Boot ROM allows an unsigned image to be processed" Sep 19 14:56:41 mdp: using HS chips would take care of that Sep 19 14:57:02 yep, solution is to cancel the GP offerings Sep 19 14:57:27 lots of ways to lower costs and serve the customers Sep 19 14:58:34 I'll sell you beaglebones at half price if you pay me a $50 discount fee Sep 19 15:01:21 mru, "club member prices!" Sep 19 16:29:31 Hi, when my beaglebone starts execute a service with my aplication, I want the console only for this aplication, how Can I configurate this? Sep 19 16:30:11 oteros2000: same what you do on other machines running a linux based OS (minus android) Sep 19 16:30:40 because when I push any key of my keyboard view a promt of linux in the screen Sep 19 16:31:20 I don't know how do that, please tell me. Sep 19 17:17:34 av500: i see i made the 26 + 26 = 54 club Sep 19 17:19:09 mru: signed bootloaders? that's insanity Sep 19 17:20:16 you don't need to tell me that Sep 19 18:02:29 anyone know how to read an IO pin Sep 19 18:02:30 ? Sep 19 18:02:46 I can set them but haven't managed to read one yet Sep 19 18:02:48 braille? Sep 19 18:03:01 send it to your kindle? Sep 19 18:03:03 o haven't tried that Sep 19 18:03:20 or that Sep 19 18:03:55 gpio_get_value() Sep 19 18:04:02 ^ usually works Sep 19 18:04:35 my basic trouble is doing something like 'echo in >/sys/class/gpio/gpio$apn/direction' doesn't seem to make gpio$apn/value follow the physical input Sep 19 18:05:48 what api is that from? not the javascript I take it Sep 19 18:06:09 kernel Sep 19 18:06:25 kernel space function I believe Sep 19 18:08:16 ok so you have to be in kernel mode to do it Sep 19 18:08:19 ? Sep 19 18:08:25 yes Sep 19 18:08:30 sorry I don't know javascript Sep 19 18:08:52 trust me your really lucky there Sep 19 18:09:15 I much prefer C api but I've never done kernel mode anything Sep 19 18:10:09 seems like the /sys stuff is supposed to be a working backdoor, its fine for output, how frustrating Sep 19 18:10:10 have you set up the muxing for that pin anywhere? Sep 19 18:10:15 yes Sep 19 18:10:39 although there is some weirdness when it is switched to output mode Sep 19 18:10:42 and when you set up the muxing did you set it to pull either direction? Sep 19 18:10:49 well Sep 19 18:10:58 no Sep 19 18:11:31 then what is driving the pin.. actual input? Sep 19 18:11:50 what I've done to switch to input is '"echo in >/sys/class/gpio/gpio$apn/direction" Sep 19 18:11:58 yeah I hook it up to 3.3V Sep 19 18:13:06 it still works as an output after I do this at least :) Sep 19 18:15:12 sysfs should work if speed isn't very important Sep 19 18:15:32 but it always reads low and cat gpio$apn/value shows 0 Sep 19 18:15:45 that was my hope Sep 19 18:15:47 you of course exported it? Sep 19 18:16:40 and verified that direction actually set? Sep 19 18:16:45 earlier on I did 'echo 32 >/sys/class/gpio/export Sep 19 18:16:46 ah Sep 19 18:16:57 well now thats the weird bit Sep 19 18:18:19 mranostay, I would have identified that quote with you even without your name next to it Sep 19 18:19:40 basically I think 'echo in >gpio32/direction' doesn't do what it seems to be saying it will Sep 19 18:20:52 becaust 'head -n 2 /sys/kernel/debug/omap_mux/board/core' still seems to be saying the pint is set for an output Sep 19 18:21:14 though it originally seems to be saying its an input (before I set it as output and drive pin high or low) Sep 19 18:21:24 bkerin, they are two separate things Sep 19 18:21:27 but it doesn't work as an input even before I use it as an output Sep 19 18:21:45 one controls the direction of the signal for the gpio block Sep 19 18:22:07 the other controls the pinmux for the pin you are using to route the signal to/from the real world Sep 19 18:22:24 hi,i need some help to recover my BB c4 -u-boot over uart Sep 19 18:22:28 ah, this starts to make sense Sep 19 18:23:15 bkerin, it's clearer yet at a whiteboard...but we'll have to do with text ;) Sep 19 18:23:48 well I really appreciate it Sep 19 18:24:28 one sec I'm going to verify why they seem to change together when I set for output, but only one changes when set for input Sep 19 18:25:20 i have tryed several procedures and compiled x-load and u-boot-denx but it freezes after x-loader Sep 19 18:27:05 my NAND is corrupted and i dont know how to load u-boot from SDRAM Sep 19 18:28:53 menezes: boot via UART Sep 19 18:29:36 that is what i wanna do. Sep 19 18:29:40 load spl/u-boot.bin first Sep 19 18:29:46 then u-boot.img Sep 19 18:31:56 you hsve to make the board try uart boot though... I can't help you with that, look at the manual Sep 19 18:33:58 ok, after 'echo 7 >gpmc_ad0', head -n 2 /sys/kernel/debug/omap_mux/board/core changes to show the pin set for output and never changes back Sep 19 18:37:00 though after 'echo 32 >/sys/class/gpio/export', 'cat /sys/kernel/debug/gpio' contains this line: ' gpio-32 (sysfs ) in lo' Sep 19 18:37:33 that latter line *is* changed by 'echo in >direction' Sep 19 18:38:10 i have tried several procedures, like nishantmenon o-map-uboot-utils.git Sep 19 18:38:44 so it looks like what I'm missing is a way to set the pinmux for io (mode 7) but for input, not output? Sep 19 18:47:11 bkerin, setup the pin mux which includes input/output pull-up/down and mode (0 thru 7) via /sys/kernel/debug/omap_mux Sep 19 18:49:04 gpmc_ad0 to be an input, like http://pastebin.com/cDT2SgR6 Sep 19 18:53:05 but that one is in the wrong mode, if you want mode 7 (GPIO mode) you have to change the mode to mode 7, like http://pastebin.com/mBqCRPi8 Sep 19 18:53:50 now when you put a 0V on that pin, it should read 0, when you put 3.3 V on the pin it should read 1 Sep 19 18:56:44 if you put nothing on the pin, it'll read 1 due to the pull up Sep 19 18:57:31 echo 32 > /sys/class/gpio/export then cat /sys/class/gpio/gpio32 Sep 19 18:59:26 bradfa, awesome, I try now... Sep 19 19:05:27 mdp bradfa BAM you solved it Sep 19 19:05:34 +1 +1 +1 +1 +1 +1\ Sep 19 19:05:59 * bradfa gets a balloon! Sep 19 19:06:09 * bradfa gives mdp one, too! Sep 19 19:06:41 bkerin, doing gpio through sysfs is slow, just fyi Sep 19 19:07:53 source of my confusiong was thinking that magic 7 was, well, a magic 7 not an oct value, plus this dobbs article:http://www.drdobbs.com/embedded-systems/beagle-io/240001076 Sep 19 19:08:25 which alludes to setting for input without mentioning the need for MUX change Sep 19 19:08:48 in u-boot and kernel mode there are macros that handle it addressing Sep 19 19:09:40 bkerin, yeah, I can see how that would confuse. The author never actually sets anything as inputs but talks of it like they know how to Sep 19 19:09:52 actually it looks like the author of that acticle thinks its a magic 7 too Sep 19 19:10:09 yeah Sep 19 19:10:23 technically, it's a magic 7, but only because to get the mode they want, all other bits greater than the 7 are 0s Sep 19 19:10:51 some pins are set up correctly in u-boot already at least I seem to remember them being so on the C4 Sep 19 19:11:26 thurbad, yes, some are. many aren't Sep 19 19:11:39 yeah Sep 19 19:17:20 bkerin: cool, nice to hear it's working Sep 19 20:25:14 greetings Sep 19 20:26:12 I am going to port MINIX 3 to arm architecture Sep 19 20:26:47 and need to know what development board should I use? Sep 19 20:28:00 anyone alive? Sep 19 20:28:35 alive yes, actively paying attention... not so much Sep 19 20:29:25 please Sep 19 20:29:45 kind of a loaded question I guess... what features are you looking for? Sep 19 20:30:08 http://wiki.minix3.org/en/UsersGuide/HardwareRequirements Sep 19 20:31:28 that's just for the default x86/emulator install Sep 19 20:31:39 At present they are using Beagleboard xm Sep 19 20:31:50 are you actually going to port it yourself? Sep 19 20:32:05 yeap Sep 19 20:32:06 or are you looking to install an already ported version? Sep 19 20:32:13 no Sep 19 20:32:24 i am going to port it myself Sep 19 20:33:15 we get a lot of people claiming they are "porting" android, when in fact they're looking for an already coded solution Sep 19 20:33:25 so I had to ask :P Sep 19 20:33:36 :) Sep 19 20:34:02 actually I am taking it as a final year project Sep 19 20:34:21 that's quite an undertaking Sep 19 20:34:45 there's some assembly in minix that would need to be completely rewritten if memory serves Sep 19 20:35:09 hmmm Sep 19 20:35:41 How difficult would it be? Sep 19 20:36:17 I mean I am doing such thing for the first time Sep 19 20:36:20 epends on how well you understand x86 and arm assembly Sep 19 20:37:19 for undergrad work on OS's most people barely scratch at drivers in minix Sep 19 20:38:25 actually there are things like porting stuff to minix Sep 19 20:38:46 maybe modify the filesystem to handle small files more efficiently, implement some realtime and multithreading Sep 19 20:39:38 if there's an existing version of minix working on the xM, something similar is where I would start Sep 19 20:40:26 there is no present version of minix working on xm Sep 19 20:40:46 there are people who are trying to do this Sep 19 20:40:48 on xm Sep 19 20:40:52 ah Sep 19 20:41:36 and Xm is bit costly so I was thinking about saving some bugs Sep 19 20:41:52 How about "bone" ? Sep 19 20:42:04 personally I would define what features you need/want from the hardware before trying to pick a board... there are ferarri's, pinto's and everything between when you talk about arm platforms Sep 19 20:43:10 bone may be doable Sep 19 20:43:47 and whatever that runs on bone Sep 19 20:43:59 things like the r:pi are nicely priced but finding the data to write the drviers might be hard because it's not an open platform Sep 19 20:43:59 will that run on xm Sep 19 20:44:47 hmmm Sep 19 20:45:08 the drivers will obviously be different, and they are not 100% code compatible Sep 19 20:45:32 So what would you suggest then? Sep 19 20:45:42 should I skip this idea Sep 19 20:45:51 or stick to it Sep 19 20:46:33 I'd say define the project better first Sep 19 20:46:42 codenamefreak, I would use qemu-system-arm Sep 19 20:46:44 it's not a bad idea, but may be a bit ambitious Sep 19 20:47:06 codenamefreak, or something old, like strongarm Sep 19 20:48:37 and what all do I have to change in kernel Sep 19 20:49:04 Minix is based upon microkernel arch. Sep 19 20:49:59 So what I think is all the changes are required to be done at the kernel level only Sep 19 20:50:43 What do you say? Sep 19 20:51:11 I don't know enough about minix, just that modern arm hardware is a very complex beast Sep 19 20:51:19 have you browsed through a TRM lately? Sep 19 20:51:31 nope Sep 19 20:51:45 that's why I'd recommend starting with qemu-system-arm Sep 19 20:53:51 hmmmm Sep 19 20:54:05 gives you additional debugging opportunities too Sep 19 20:54:10 thurbad?? Sep 19 20:54:20 I've ported angstrom to a custom board, and that was not a trivial undertaking even though it was similar to a C4 with a few parts upgraded Sep 19 20:54:33 and what all that I may have to change in kernel Sep 19 20:55:43 the assembly definitely needs to change, dunno how much there is in minix though Sep 19 20:55:46 And also it would be very kind of you guys if you can suggest me where to start it from Sep 19 20:56:35 I don't think anyone here has any experience with the minix kernel Sep 19 20:56:57 I have some,but not at that level Sep 19 20:59:21 I have around 6 to 7 months to finish this project Sep 19 20:59:45 or whatever project that I take Sep 19 21:00:26 do you already know minix well? Sep 19 21:00:43 I have started it Sep 19 21:01:34 I like it, I use it, I have a little. I keep it in a jar on top of my refrigerator. I'd like to put more in that jar. That's where you come in. Sep 19 21:02:04 sort of Sep 19 21:02:24 do you already know arm well? Sep 19 21:02:30 nope Sep 19 21:04:57 so what woul you suggest then Sep 19 21:05:08 read the ARM ARM first Sep 19 21:05:17 should i drop this idea Sep 19 21:05:32 https://silver.arm.com/download/download.tm?pv=1299246 Sep 19 21:05:48 then the cortex-a8 trm Sep 19 21:05:54 http://infocenter.arm.com/help/topic/com.arm.doc.ddi0344herrata01/DDI0344H_errata_01.pdf Sep 19 21:07:01 then the TRM for the DM3730 (beagleboard xm processor) http://www.ti.com/lit/gpn/dm3730 Sep 19 21:07:20 * mranostay pokes in Sep 19 21:07:38 (you probably want the datasheet too) Sep 19 21:07:46 and then the beagleboard xm trm/schematics Sep 19 21:08:24 and you'll probably want the datasheets and interface specs for the major chips on the board, just as the ddr2 and the ddr2 specification, mmc specification, etc Sep 19 21:09:14 codenamefreak, if you are going to do this, I'd forgo must of that documentation and use qemu with arm emulation, then you mainly just need the ARM ARM Sep 19 21:10:40 you'll still need some hardware information because OS's need things like timers and interrupt controllers to run Sep 19 21:10:56 what's the point in porting an OS to an emulator? Sep 19 21:10:57 only Sep 19 21:11:38 It fulfils some educational requirement? Sep 19 21:13:37 but really, at least with emulated hardware, you can probably get by with only a couple thousand pages of documentation to wade through Sep 19 21:14:28 mru, one could ask the question, what's the point of running minix on anything Sep 19 21:15:21 tanenbaum might give you a cookie Sep 19 21:15:57 is it one of these? Sep 19 21:15:58 http://smells-like-home.com/2012/05/giant-smores-stuffed-chocolate-chip-cookies/ Sep 19 21:16:59 the other option for a fun minix project would be creating a user mode minix that compiles under any arch Sep 19 21:58:02 I have a ccouple of questions on the BeagleBone. If there was a forum rather than a mailing list I would ask there so I ask here. Can I Debug a USB flash drive or any Flash Drive Device with Beagle bone? Can I for example connect a Flash drive directly to the BeagleBone's USB port and Debug? If not I suppose I have to look for some other options Sep 19 21:58:50 what do you mean debug? Sep 19 21:58:57 FTDI has a V2DIP2 and VNC2 boards which they say will do the job unless I can do this with the BeagleBone istead it saves me money, time and trying to use different firmware and software packages Sep 19 21:59:16 Well for example it will not mount but it powers up Sep 19 21:59:33 so maybe somehow get data of the flash drive by connecting it directly to the BEaglebone Sep 19 21:59:50 Or TTL into it Sep 19 22:00:01 is it formatted as fat32 or ext2/3 ? Sep 19 22:00:07 fat32 Sep 19 22:00:26 so not ntfs? Sep 19 22:00:38 exaclty just fat32 Sep 19 22:01:30 It was bumped so there is a slight possiblity that a solder joint is now loose or who knows. Want to try other ways to get into the drive Sep 19 22:02:05 Iwill remove the plastic to examine it that way and can I make conenctions to the EEPROM from there maybe rather than connect the USB Sep 19 22:02:57 rx tx ground and vcc connectioned Sep 19 22:21:09 No ideas or am I way off in what I am asking here Sep 19 22:21:46 so you're not even sure if the device is working? Sep 19 22:22:13 I have some developement boards, such as Bus pirate, TIAO (TUMPA), PICKit2 generic. Sep 19 22:22:14 you should be able to get it to work on the usb otherwise Sep 19 22:22:42 so no way to tap into the EEPROM chip and get the data off it that way> Sep 19 22:23:10 I am sure the data is still there Sep 19 22:23:27 I dn't want to desolder Sep 19 22:23:53 you can't hook it to a pc? Sep 19 22:26:58 Yes but only the LED emits so power is there it just will not mount Sep 19 22:27:35 No way to hook it up to the rx/tx/gnd and vcc on board and try to debug or get the data off the drive that way Sep 19 22:29:03 you'd have just as much luck trying to bypass the bad usb joint most likely Sep 19 22:32:50 I always thought if there was data on the chip there would be other ways to access it? Sep 19 22:33:07 In most products thus the Bus Pirate was born Sep 19 22:35:26 sure if you're talking the right protocol Sep 19 22:35:58 but if the connector is the problem, how are you getting to the chip? Sep 19 22:49:18 I see your point so if there are no loose connections. But what if the USB Mail connector itself it scewed up. Can't I connect to the pins on the board side Sep 19 22:56:11 probably, but you could do that with most any usb port Sep 19 23:00:55 I take it back. The Sandisk Cruzer will not mount but I can see the LED is blinking and almost looks like its not getting enough power Sep 19 23:06:09 is this on your pc? Sep 19 23:06:43 WALK YE PLANK Sep 19 23:08:49 arrr Sep 19 23:09:59 YARR Sep 19 23:10:05 International Talk like a pirate day for you there Sep 19 23:10:20 Ye scoundral Sep 19 23:20:37 Yes Sep 19 23:22:48 I read up on the workings of a USB flash dirve and there is NAND flash-memory chip on board so if I desoldered it and places the Tx/Rx/GND and applied the correct voltage to it using a developement board like the Bus Pirate or BeagleBone can I get the data off this chip or not Sep 19 23:24:22 MOst people cannot seem to answer this question and I really do not know why. Maybe the data gets erased when desoldered for example or maybe I cannot connect the chip to any other device in this manner or maybe the ROM boot loader does something to the NAND flash chip data where it needs to connected to it in order to retrive the data? Sep 19 23:25:42 If I cannot do this I don't see the point in how a developement board is labelled as versitile? Sep 19 23:26:06 pcfr33k: i have repaired many flash drive where the usb conn has worked loose. Easy. Sep 19 23:32:07 seems much easier to just just the continuity across the connector and repair that if needed rather than detaching the NAND chip Sep 19 23:33:42 err. just check Sep 19 23:34:05 That will be the first thing I will do when I open it then if that doesn't work I will remove the NAND. I have a lot of experience with des/soldering surface mounted SMD chips Sep 19 23:34:14 yes I will Sep 19 23:34:50 usb drives contain a microcontroller that decides how data gets stored in the nand flash Sep 19 23:34:58 SO enough about the USB flash drive Sep 19 23:35:14 how much do you know about the Beaglebone? Sep 19 23:35:17 without information on that proprietary firmware, the data will likely look like a bunch of random garbage Sep 19 23:35:55 So even if I remove the chip and get the data off it it will be garbage without the ROM firmware handling it? Sep 19 23:36:02 yes Sep 19 23:36:27 if you buy an identical flash drive, you might be able to swap the nand flash chip to the new drive Sep 19 23:36:40 Thats a good idea Sep 19 23:37:01 Never thought about the Rom/Fimware though Sep 19 23:37:07 but the microcontrollers aren't usually labled, and the model numbers don't usually indicate anything other than what the external hardware looks like Sep 19 23:37:50 so if the data is really really important, send it to a specialist Sep 19 23:38:11 Well not that important if it get lost then thats it Sep 19 23:38:20 If I can recover it then good Sep 19 23:38:27 also, if the device is dead, it may actually be the firmware stored in the nand flash that is dead Sep 19 23:39:05 Well the LED looksl ike it trying to gain more power. Its blinking slowly and its not as bright as it should be Sep 19 23:39:35 worth a try Sep 19 23:39:39 ya Sep 19 23:39:57 storing data in a propriety format without backups is always risky Sep 19 23:40:23 When was the BeagleBone released and will there be an update soon as far as a more powerful Arms Processor/Graphics chip? Sep 19 23:40:51 http://en.wikipedia.org/wiki/BeagleBone#BeagleBone Sep 19 23:41:11 There are at least 2 or 3 others out there in the same category as the BeagleBone and trying to figure out which one I will get or wait Sep 19 23:41:14 thanks Sep 19 23:42:45 Last question what is the main difference betwen the ARM Cortex and ARM Cortex M3. Ibeen looking at a Mikroe Easy MX Pro v7 but it seems to have a very slow processor like 72Mhz Sep 19 23:42:51 Its a Cortex M3 Sep 19 23:43:36 cortex-a processors have a full MMU and other things needed to run an OS like linux Sep 19 23:43:55 the am335x actually has I think an A8 and 3 M3s Sep 19 23:44:03 are the PRUs M3s? Sep 19 23:44:05 no Sep 19 23:44:18 than an A8, an M3, and 2 ...? Sep 19 23:44:18 there's an M3 for some power management stuff Sep 19 23:44:21 a bit secret Sep 19 23:44:30 the PRU is a PRU Sep 19 23:44:47 so its not really the same as the ones used in developement boards like the Beagle Sep 19 23:45:03 the A8 core is the same Sep 19 23:45:06 As described so succinctly in the 'Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS)' section of the TRM Sep 19 23:45:26 heh, the title of the chapter is just about as long as the chapter itself Sep 19 23:46:04 But this one from MikeROe says its 72mhz how could that be? I though they run at least 500mhz or more Sep 19 23:46:31 cortex M is closer to a microcontroller than a full on SOC processor Sep 19 23:46:41 I see Sep 19 23:46:42 it _is_ a microcontroller Sep 19 23:46:59 no mmu Sep 19 23:47:06 right sorry about that Sep 19 23:48:33 heh, WP lists the A8 and Sitara as "microcontrollers" Sep 19 23:48:55 I think they need to work on their definition of microcontroller Sep 20 00:08:44 experimental bootloaders. i learned a new term from management today... :) Sep 20 00:10:17 as opposed to theoretical bootloaders? Sep 20 00:27:42 Hmmmm Sep 20 00:29:48 gah, ds2 has lost it again Sep 20 00:30:51 lost...found... same thing Sep 20 00:31:18 are you thinking that if you operate an experimental bootloader, you are some sort of test pilot? Sep 20 00:32:01 ds2: lost is found with time reversed Sep 20 00:32:08 all a matter of perspective Sep 20 00:32:10 one would think that makes you a cobbler Sep 20 00:32:56 stupid connector foot print is reversed Sep 20 00:33:06 1 day of confusion Sep 20 00:33:07 wish they weren't so tightnosed about those CC BLE chips Sep 20 00:33:15 Crofton: that sounds fun Sep 20 00:33:24 that which should be odd, is even, and even, odd Sep 20 00:33:46 Crofton, just put the connector on the other side of the board :) Sep 20 00:33:58 just +1 it Sep 20 00:33:59 ;) Sep 20 00:42:16 SMT,so can't do that Sep 20 00:43:01 what kind of connector is it? Sep 20 00:43:03 D type? Sep 20 00:44:06 something that is small with a lot of pins ... Sep 20 00:44:44 that usually only leaves two choices, breakout board from quickturn service, or very careful deadbugging Sep 20 00:45:24 we do not have a the board that connects to the other side made yet Sep 20 00:45:47 or just reversing the other side first :) Sep 20 00:45:58 the breakout boards we bought have the wrong pin numbers, which was causing me a lot of grief until we figured this out Sep 20 00:46:21 there are multiple places things could have been messed up ..... Sep 20 00:46:22 btw, I really like this bummer of a breakout: http://jwebb-design.com/ucd_msee/thesis/measbd/docs/p389_lg.gif Sep 20 00:48:00 oh god Sep 20 00:48:12 this sounds like one of those finer pitch samtecs Sep 20 00:48:24 hope u got a good rework person or prepare for another spin Sep 20 00:48:26 the pitch just a little tiny bit off Sep 20 00:48:47 Russ: sandpaper it? :) Sep 20 00:50:01 I'm sure they just didn't think of that option http://jwebb-design.com/ucd_msee/thesis/measbd/images/p342_pcb_top_view.jpg Sep 20 01:28:18 @#$#@#%#@%$ chipcon **** ENDING LOGGING AT Thu Sep 20 02:59:57 2012