**** BEGIN LOGGING AT Sun Jan 10 02:59:56 2010 Jan 10 12:36:36 hi Jan 10 12:42:39 hi Jan 10 12:42:52 hi roee Jan 10 12:43:15 if I have a question regarding angstrom compilation, is this the right place ? Jan 10 12:44:03 yes Jan 10 12:44:24 you can use irc or mailing list (the second is the best) Jan 10 12:44:25 ask Jan 10 12:44:32 great :) Jan 10 12:44:48 just a sec :) Jan 10 12:45:51 ok so here goes. The background is that I have experience in windows driver development, and wanted to get some hands on experienece with linux for embedded devices. Jan 10 12:46:14 so I decided to buy an archos5 , since archos published sde that lets you load your kernel image for the device Jan 10 12:46:40 Me plan was to compile a custom image with printk in places I want to understand better Jan 10 12:47:01 for example in the touch screen driver (ads7846) Jan 10 12:47:14 so I setup environment Jan 10 12:47:25 and built (as a sanity check for myself ) Jan 10 12:47:27 an image Jan 10 12:47:48 for the archos5 (which is based on the angstrom + some modification applied by a patch from archos) Jan 10 12:47:55 yes Jan 10 12:47:57 So that went well Jan 10 12:48:04 but now, I want to modify the kernel Jan 10 12:48:08 and add my printk's Jan 10 12:48:11 but the thing is Jan 10 12:48:22 as I understand, the bitbake Jan 10 12:48:35 takes the sources from a remote svn server Jan 10 12:48:43 and applies patches according to the bb files Jan 10 12:48:49 and then compiles it Jan 10 12:48:58 takes the source from original program wesite Jan 10 12:49:04 if this is correct, than I need to somehow download the source file Jan 10 12:49:05 modify it Jan 10 12:49:12 it can be a not subversion websirte Jan 10 12:49:18 ok Jan 10 12:49:20 but Jan 10 12:49:29 i need to have my modification Jan 10 12:49:38 only after the patches modification (archos patch) Jan 10 12:49:50 you can download original code and patch it Jan 10 12:49:52 otherwise my modifications might break the patch, right? Jan 10 12:50:16 your patch should be the last Jan 10 12:50:28 so let me see if i got it till now Jan 10 12:50:35 i want my patch to run last Jan 10 12:50:39 and in order to generate may patch Jan 10 12:50:46 i want to have the source files on my comp Jan 10 12:50:54 run the patches in the same way the bitbake does Jan 10 12:51:02 and create a patch for that version Jan 10 12:51:11 than modify bitbake to take my patch in the process Jan 10 12:51:11 you can edit program recipie Jan 10 12:51:45 can you elaborate ? Jan 10 12:52:57 What I can't understand is Jan 10 12:53:28 yes? Jan 10 12:53:47 a recipie is set of instruction for bitbake to build something right? Jan 10 12:53:59 true Jan 10 12:54:07 it's similar to gentoo build Jan 10 12:54:22 and in the process of image creation bitbake runs over all the needed recipes and do it Jan 10 12:54:31 so Jan 10 12:54:46 yes, you have image A needs recipie B and C Jan 10 12:55:05 if I want to modify the kernel, i need to modify the recipe for the kernel building and add my patch to it requirements ? Jan 10 12:56:16 I think so Jan 10 12:56:58 If the archos patch is also patching the same files I want to patch, and since I want my patch run last, I need to manually download the sources, apply all the patches in the recipe and than create my own patch, than add this page to the recipe and bitbake it from the beginig? Jan 10 12:57:18 this page == this patch Jan 10 12:58:09 roee: you can test it with a small patch Jan 10 12:58:21 test if it works, and use your archos patch later Jan 10 12:58:56 but I cannot actually build and load it without the archos patch to the device .... you mean just to make sure I know how to modify the recipe ? Jan 10 12:59:39 yes Jan 10 13:00:28 ah ok Jan 10 13:02:04 when I look in the archos patch (to see how they did it, since I am trying to do a patch myself ... ) I find that they use "diff --git a/conf/checksums.ini b/conf/checksums.ini" for example Jan 10 13:02:20 and it like this all the way Jan 10 13:02:31 but it looks like Jan 10 13:02:37 the source files should be on the hdd Jan 10 13:02:40 for the patching to work Jan 10 13:02:43 how can they do it ? Jan 10 13:03:02 they download original source and the patch Jan 10 13:03:05 then aply it Jan 10 13:03:10 yes Jan 10 13:03:27 but it seems Jan 10 13:04:13 like the patch assumes that the files are already on disk when it shouldnt be ... ah i get it, this patch is just the patch for the recipes which are on disk, the patches in the recpipes are actually done when the sources were downloaded... Jan 10 13:05:20 roee: they don't patch files on the net Jan 10 13:05:31 files are fetched first Jan 10 13:07:35 is there an easy way to know which patches were applied so I can redo the process to get the final state of the source file to create my patch? can I ask bitbake to keep the source and not to delete it ? Jan 10 13:10:07 you can read recipies are used Jan 10 13:11:26 yah i guessed that, but tried to avoid tracing inside recipes... Jan 10 13:34:46 hi all Jan 10 13:34:58 hi cazze Jan 10 13:35:06 can someone help me with a h2200 device? Jan 10 13:35:35 i have LAB on it but can't boot from cf nor sd Jan 10 13:36:12 do you use altbook o kexec? Jan 10 13:36:41 euhhhh, i use a decompressed file from narcissus Jan 10 13:37:13 lab scans but doesn't find my rootfs i think Jan 10 13:37:36 lab scan is similar to altboot / kexec (from zaurus)? Jan 10 13:38:10 dan't know Jan 10 13:38:15 don't* Jan 10 13:38:38 it is the second stage loader Jan 10 13:39:26 do you use ext2 partition on your cf/sd? Jan 10 13:39:33 yes Jan 10 13:40:25 check you have configuration file on boot directoyry (for cf/sd) Jan 10 13:40:44 i made a labrun file in /boot Jan 10 13:51:42 the lab scan ends with cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes. No bootable filesystem found Jan 10 14:10:50 re Jan 10 14:11:37 re Jan 10 14:42:20 mimecar : to your earlier question about 2007 akita, I have not tested it yet but narcissus is looking promising Jan 10 14:42:41 it looks promising if image can boot Jan 10 14:43:13 mimecar : yep :) Jan 10 23:32:58 ericm__: ping **** ENDING LOGGING AT Mon Jan 11 02:59:57 2010