**** BEGIN LOGGING AT Sat Feb 25 02:59:59 2012 Feb 25 07:19:25 what's going on with the angstrom website? Feb 25 07:59:34 is there a good book on angstrom? Feb 25 09:32:53 Hi. Anybody knows what's happening to angstrom website? Feb 25 12:41:12 linuxtopgo server is having issues Feb 25 12:44:26 angstrom-distribution too Feb 25 15:50:43 Is there an SDK I can use to develop apps and device drivers for the Beaglebone Angstrom distro? Feb 25 18:45:53 OrlandoT: are you looking or anything in specific? Feb 25 19:55:11 I am looking for one for the standard package/kernel that comes with the Beaglebone Feb 25 19:55:45 so that I could develop a kernel device driver for the Beaglebone that everybody could use Feb 25 20:19:33 OrlandoT: i think we're both trying to do the same thing Feb 25 20:26:57 JViz: too bad that nobody seems to be answering. I think the answer is no there is no SDK Feb 25 20:27:39 there was some stuff on openembedded, but since angstrom was the only distro still semi active there I'm not even sure how applicable it is Feb 25 20:27:41 JViz: what exactly are you doing? Feb 25 20:28:13 the rootfs building stuff does include a gcc and such to work with Feb 25 20:28:20 but other than that I know nothing Feb 25 20:49:49 I am trying to get the libs and headers to cross compile my program Feb 25 20:50:36 I thought that if i do an angstrom build, that i would be able to get all the libs and headers Feb 25 20:51:21 now i'm trying to figure out how to add extra angstrom packages to my angstrom build environment Feb 25 20:57:08 JViz: Ok I did the same, I got me an angstrom build Feb 25 20:57:44 sadly my board usb is acting up and I still haven't been able to connect to the console Feb 25 20:58:28 the instructions at http://beagleboard.org/static/beaglebone/a3/README.htm say to type screen /dev/beaglebone-serial 115200 Feb 25 20:58:53 but my distro (ubuntu 11.10) does not have any dev called beaglebone-serial Feb 25 20:59:01 and the instructions do not say anything about creating it Feb 25 21:00:08 i did "screen /dev/ttyUSB0 115200" and even "screen /dev/ttyUSB1 115200" and i cannot get any console Feb 25 21:05:12 OrlandoT: i had the same problem, i ended up hooking it up to the network and SSHing into it Feb 25 21:05:20 er Feb 25 21:05:24 similiar problem Feb 25 21:05:53 that is sad to hear Feb 25 21:06:06 I was hoping this was more stable Feb 25 21:06:33 it's just the usb serial chip they decided to go with Feb 25 21:06:36 the drivers are buggy Feb 25 21:06:37 it would be created by a udev rule Feb 25 21:07:00 the /dev/beaglebone-serial that is Feb 25 21:07:39 oh Feb 25 21:07:47 i was doing it from windows Feb 25 21:07:56 i couldn't get a serial connection Feb 25 21:08:06 i think it was because my computer wouldn't properly identify the driverse Feb 25 21:08:22 Jonimus: to quote the documentation Feb 25 21:08:26 "To make a pre-A5 BeagleBone show up upon every reboot, add a udev rule. Here is an example /etc/udev/rules.d/73-beaglebone.rules: " Feb 25 21:08:44 mine is not a pre-A5 board so I skipped the step Feb 25 21:09:03 You'd still need a udev rule to get that dev entry Feb 25 21:09:11 also quoting from the doc "For A5 boards, no drivers should need to be installed. For older boards, you'll need invoke the driver by specifying the vendor and product ID: " Feb 25 21:09:34 No drivers should be needed correct Feb 25 21:09:50 as seen by the creation of /dev/ttyUSB# Feb 25 21:10:05 ok Feb 25 21:10:10 the udev rule would just make the link to /dev/beaglebone-serial Feb 25 21:10:11 then should I add the rule? Feb 25 21:10:32 or can i simply use ttyUSB0 or ttyUSB1? Feb 25 21:10:50 it would most likely need adjustment as I'd assume the example is for some specific revision and the id's may have changed Feb 25 21:11:39 but I don't own any of the beagle boards so I can't help much there Feb 25 21:12:22 Jonimus: How do I add packages to an Feb 25 21:12:29 Angstrom build? Feb 25 21:13:20 how are you getting the build? Feb 25 21:13:40 git clone Feb 25 21:14:02 and then oebb.sh Feb 25 21:14:40 well you should be able to edit the recipe or make a custom one with the things you want Feb 25 21:14:58 which file has the recipe? Feb 25 21:17:29 heh I haven't dug into the files in a while, but grep may be able to find it :P Feb 25 21:17:46 i don't know what i would be grepping for though Feb 25 21:20:25 beaglebone perhaps :P Feb 25 21:21:37 nah, because that's the just sent to bitbake as a cmdline var Feb 25 21:24:03 it tells bitbake what recipe to use I'd bet :P Feb 25 21:24:45 well yeah Feb 25 21:24:58 but what does it do with that? where does it store the recipe? Feb 25 21:25:02 in the git tree Feb 25 21:25:17 I don't recall where and I don't have a system with that git clone handy Feb 25 21:27:49 :( oh well Feb 25 21:27:56 i'll find it eventually Feb 25 21:28:49 i think it's in setup-scripts/sources/openembedded-core/meta Feb 25 21:29:04 but there are a lot of recipes in there Feb 25 21:36:01 bbl Feb 25 21:40:08 hm Feb 25 21:40:23 wouldn't it have to tell git what to get and what *not* to get? Feb 25 21:41:22 er, no Feb 25 21:41:35 oebb must have it's own download mechanism Feb 25 21:42:16 I'm pretty sure it just grabs everything Feb 25 21:42:29 the package recipes grab the source Feb 25 21:43:15 all of build targets for angstrom share all of the same sources? Feb 25 21:43:44 the stuff in the git tree is just the build scripts and such Feb 25 21:43:53 known as recipes Feb 25 21:44:26 wouldn't you need different versions of the source files for different machines though? Feb 25 21:45:00 and there are machine specific recipes to handle that Feb 25 21:45:44 is that what the layers are for? Feb 25 21:46:32 Note, I'm no expert on this and I haven't actually touched angstrom in over a year Feb 25 21:46:37 I just kinda lurk :P Feb 25 21:46:42 ah Feb 25 21:47:19 but I had built some custom images for my iPaq h2200's Feb 25 21:47:28 hence me digging into the custom recipe stuff Feb 25 21:47:53 you should also be able to build extra packages with bitbake Feb 25 21:48:07 but I don't know if you have access to the bone's fs to manually install them Feb 25 21:48:26 bone's file system Feb 25 21:48:26 ? Feb 25 21:48:47 i have access to my beaglebone's fs Feb 25 21:48:47 the fs on the beaglebone that the image installs to Feb 25 21:48:56 yes that is what I was asking Feb 25 21:49:16 then you can just bitbake package iirc and throw it on there and install with opkg Feb 25 21:50:02 there ar already packages for it available Feb 25 21:50:11 i just need to get them in my build env Feb 25 21:50:54 i want to add them to the machine recipe Feb 25 21:51:03 like, the top level recipe? Feb 25 21:51:07 but i can't find it Feb 25 21:51:55 well what is the bitbake command run? Feb 25 21:53:29 MACHINE=${MACHINE} bitbake $* Feb 25 21:53:32 or Feb 25 21:53:46 bitbake $* Feb 25 21:53:52 i'm not the best at reading shell scripts Feb 25 21:55:44 is this in a function or what? Feb 25 21:55:48 does anybody know how I can compile a Angstrom kernel module outside the kernel source tree? normally I would do something like make -C ~/kernel-x.x M='pwd' modules with a Makefile like obj-m := hello.o Feb 25 21:56:07 but that is natively not cross compiled Feb 25 21:56:31 set CROSS_COMPILE= ? Feb 25 21:56:33 OrlandoT: you can make bitbake compile the kernel for you Feb 25 21:57:06 JViz: I do not wish to compile the kernel though Feb 25 21:57:22 i just want to compile my module (kernel driver module) Feb 25 21:57:36 and I want to do it outside the kernel tree Feb 25 21:57:53 OrlandoT: the CROSS_COMPILE arg may do what you need as Crofton|work said Feb 25 21:57:57 or try google :/ Feb 25 21:58:38 bbl Feb 25 21:58:57 I suppose that I already have a cross compiler since Angstrom was built with bitbake oob Feb 25 21:59:21 indeed Feb 25 21:59:41 I just don't know where to find the cross compiler tools inside the directories that angstrom build system has Feb 25 22:02:12 setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi Feb 25 22:02:14 look in tmp/sysroots and you should find the compiler Feb 25 22:12:35 I would have never looked in x86_64-linux directory for a cross compiler Feb 25 22:13:30 well, that is the arch it runs on Feb 25 22:15:01 ok found it Feb 25 22:15:04 thanks JViz Feb 25 22:36:30 ok I get me the command right this time Feb 25 22:36:32 make -C ~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel M=`pwd` modules Feb 25 22:36:59 that SHOULD be able to build my module but it gets a bunch of errors related to the kernel header files Feb 25 22:37:13 can anybody compile a kernel module like this? Feb 25 22:41:03 oops I meant Feb 25 22:41:06 CROSS_COMPILE=arm-angstrom-linux-gnueabi make -C ~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel M=`pwd` modules Feb 25 22:41:13 same results though Feb 25 22:42:46 ok typing error again lol Feb 25 22:42:50 command is Feb 25 22:43:11 CROSS_COMPILE=arm-angstrom-linux-gnueabi- make -C ~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel M=`pwd` modules Feb 25 22:43:35 I get cc1: error: unrecognized command line option "-m64" Feb 25 22:43:53 cc1: error: unrecognized command line option "-mno-red-zone" Feb 25 22:44:05 c1: error: unrecognized command line option "-mcmodel=kernel" Feb 25 22:51:06 ok I finally got a .o but no .ko by using this command Feb 25 22:51:11 make CROSS_COMPILE=arm-angstrom-linux-gnueabi- ARCH=arm -C ~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/kernel M=`pwd` modules Feb 25 22:52:01 got this error "/bin/sh: scripts/basic/fixdep: No such file or directory" **** ENDING LOGGING AT Sun Feb 26 02:59:58 2012