**** BEGIN LOGGING AT Sat Jul 23 02:59:57 2011 Jul 23 08:34:35 Marex: With just the generic linux arm port? Jul 23 08:36:15 As long as the kernel supports framebuffer and bluetooth (hw thatis) I'm happy :) Jul 23 08:36:24 Might give it a shot Jul 23 11:15:05 Compiling 2.6.39 via OE/bitbake now Jul 23 14:47:04 ntr: yes ... support for the CPU is mainline and so is for pxafb Jul 23 14:47:27 ntr: you can derive it off some palm board that's already mainline + use your sense to tweak it Jul 23 14:49:44 ntr: no no ... compile mainline Jul 23 14:50:10 http://git.kernel.org/?p=linux/kernel/git/ycmiao/pxa-linux-2.6.git;a=shortlog;h=refs/heads/devel Jul 23 14:50:28 (this one, devel branch) Jul 23 15:21:57 Ok Jul 23 15:22:32 Is there any way to make that play nice with openembedded? Jul 23 15:35:12 ntr: what for ? you can use the crosscompiler from OE Jul 23 18:06:26 Marex: That's what I meant, using the crosscompiler Jul 23 18:07:03 I'll rtfm a bit more :) Jul 23 18:49:57 ntr: you can always ask Jul 23 18:50:35 I don't mind helping a bit, but I'm quite busy with work and other projects, so my response might be slow Jul 23 18:51:03 ntr: j/w where are you from so I can adjust my timezone tracker? Jul 23 18:54:28 No worries, I'm currently at my summer house rebuilding the kitchen.. so no stress on my side Jul 23 18:54:39 I'm in sweden Jul 23 18:55:27 Btw, are you Marek Vasut or is your nick just a coincidence? Jul 23 18:57:19 I'm not that actor Jul 23 18:58:32 ntr: what nice thing did you find, my unix courses? Jul 23 18:59:07 No, just looking through the commit logs at the pxa-linux git repo Jul 23 18:59:27 Noticed something about "Original patch by Marek ...." Jul 23 19:00:22 http://git.kernel.org/?p=linux/kernel/git/ycmiao/pxa-linux-2.6.git;a=commit;h=067455aa53a55404ded85227e87436478c2acc63 to be specific Jul 23 19:01:03 oh this ... that's from old times Jul 23 19:01:13 Indeed Jul 23 19:01:30 I just searched for pxa26x to see what was in the repo Jul 23 19:01:32 well yes, that's me Jul 23 19:01:58 same me as linux kernel class lecturer, u-boot-pxa maintainer etc etc Jul 23 19:02:48 Ah Jul 23 19:04:27 Thought you had a stalker for a while, eh? :) Jul 23 19:04:59 Anyway, very nice of you to offer your assistance Jul 23 19:05:21 ntr: naw ... there's a czech actor with the exactly same name Jul 23 19:05:31 Ah Jul 23 19:05:41 people keep asking me whether I'm his relative Jul 23 19:05:53 so no ... I'm fucking not! Jul 23 19:05:58 Haha Jul 23 19:06:15 I don't see a lot och czech films Jul 23 19:06:38 I did however just enjoy a staropramen Jul 23 19:08:39 the beer? it's drinkable Jul 23 19:08:57 I quite like the granĂ¡t Jul 23 19:09:09 * Marex is just on his way back fromtesco, with four Master/18 beers :b Jul 23 19:09:14 yep Jul 23 19:10:56 So how much of the pxa-linux-dev is merged with the main kernel? Jul 23 19:11:16 Are they to different beasts altogether? Jul 23 19:11:23 two* Jul 23 19:12:07 the hnd tree is abandoned Jul 23 19:12:20 all the development happens in mainline Jul 23 19:13:16 Mainline as in pxa-linux? Jul 23 19:13:21 T3 was dropped and isn't in mainline, since the hardware sucked and slapin said he'll deliver better patch and to wait ... but he never did Jul 23 19:13:25 yes Jul 23 19:13:37 Haha Jul 23 19:14:21 But if T3 is not in pxa-linux, wouldn't I have to run the old linux-hnd stuff? Jul 23 19:15:41 Cause I already got it to boot the 2.6.21-hnd.. and initrd, rootfs, etc are stuff I know how to deal with Jul 23 19:16:23 But as you said.. 2.6.21 is old old Jul 23 19:25:15 forward porting pxa devices is not *too* hard, just time consuming Jul 23 19:29:38 let me clarify, I mean the board files not everything (drivers, etc.) Jul 23 19:33:22 I've just started to understand the basics of crosscompiling.. So I think forward porting is still a bit out of my league Jul 23 19:33:38 I'm mostly a userland guy Jul 23 19:57:48 mostly look at another board-*.c that's already ported to the kernel you want, then take the 2.6.21 version and update it to match Jul 23 19:58:00 it's all c, but you don't have to write much new code Jul 23 20:02:31 ntr: I was thrown into deep water when I was 17 ... that's where my kernel hacking started, with zero skills at the begining Jul 23 20:06:40 su Jul 23 20:06:43 uh Jul 23 20:06:46 oopsie Jul 23 20:06:48 ;-) Jul 23 22:02:35 tmzt: Sounds like a good start Jul 23 22:03:22 Marex: have you seen this? http://www.ing.unibs.it/~openfwwf/index.php Jul 23 22:04:32 Marex: The closest I've gotten to proper kernel hacking is building a bootable linux floppy with a custom kernel Jul 23 22:04:55 Which I guess amounts to creating a distro rather than tweaking the kernel Jul 23 22:08:08 just dig in, I and and others in here and #htc-linux can help you if you have questions Jul 23 22:09:28 Will do Jul 23 22:24:20 tmzt: broadcrap open firmware ? well ... if they feel like wasting time Jul 23 22:24:53 really opens some possibilities though, but the cpu in them is less powerful than I thought Jul 23 22:37:36 The Kconfig of arch/arm in the pxa-linux just states "Support for Intel/Marvell's PXA2xx/PXA3xx processor line." Jul 23 22:38:08 But the PXA261 isn't supported? Jul 23 22:38:44 Or is it other hw issues that stops it from running on a T3? Jul 23 22:48:04 it is supported Jul 23 22:48:19 2xx covers the 261 -) Jul 23 22:48:21 ;-) Jul 23 22:48:42 That's what I mean Jul 23 22:49:07 Then why the need to forward port? :) Jul 23 22:50:21 Is it the fb drivers or something like that that are no longer there? Jul 23 22:56:05 I think the only missing part is winbond SD driver Jul 23 22:56:27 all you need to write (forward-port) is the board definition file to "stitch the drivers together" Jul 23 23:00:14 Where are those files located? Jul 23 23:00:23 arch/arm/mach-pxa Jul 23 23:00:50 Ah Jul 23 23:01:41 Great, thanks! Jul 23 23:09:34 So, if I understand correctly, I should be able to figure out a board definition compatible with the pxa-linux kernel by looking at the old palmtt3.c from linux-hnd and updating it here and there? Jul 23 23:11:16 Or would I need to do a complete rewrite? Jul 23 23:15:35 complete rewrite, but it's not hard Jul 23 23:15:38 it depends, if structures changed you'll need to rewrite them Jul 23 23:15:48 but you can use a printed copy of the hnd file as a reference Jul 23 23:16:02 what kernel version are you targetting Jul 23 23:16:12 Marex: it will be more fun if/when they switch to devicetree Jul 23 23:16:58 tmzt: pxa-linux-2.6-dev Jul 23 23:17:27 no, linux kernel version (look at the top of the top-level Makefile) Jul 23 23:17:45 Ah Jul 23 23:20:32 Says version=3, patchlevel=0, sublevel=0, extraversion=rc6 Jul 23 23:20:46 Whatever that means in terms of 2.6.x I don't know :) Jul 23 23:22:40 3.0.0 Jul 23 23:22:41 :) Jul 23 23:22:49 3.0.0-rc6 Jul 23 23:24:44 Ah Jul 23 23:24:54 Haha, just remembered Jul 23 23:25:12 Times are a'changin Jul 23 23:26:12 Why, of course I need my T3 to run 3.0.0-rc6.. Don't want to miss out on all the new exciting features :) Jul 23 23:32:02 ntr: always hack on top of the newest codes ... you get the bugfixes Jul 23 23:32:44 btrfs on the t3 Jul 23 23:36:47 you also need some good music for hacking http://www.youtube.com/watch?v=ZPRt6Tt6RyM >:-) Jul 23 23:39:44 Heh Jul 23 23:40:20 For some reason sweden has a lot of death metal bands Jul 23 23:40:54 Norway beats us though :( Jul 23 23:46:41 ntr: you're into metal too ? :) Jul 23 23:47:32 http://www.metal-archives.com/bands/Bathory/184 :'-) this one is one of my favourites Jul 23 23:49:19 Not much anymore, at least not the death/black stuff Jul 23 23:50:30 But I still listen to in flames, immortal, at the gates and sometimes (though it makes me feel a bit dirty) dimmu borgir Jul 23 23:50:57 But I don't follow the scene anymore so to say Jul 23 23:51:54 My gf does though, so I catch the occasional glimpse of new stuff Jul 23 23:55:53 unfair :-B Jul 23 23:56:03 my ex was into some zouk shyte Jul 23 23:58:56 http://www.youtube.com/watch?v=7IJovmgDJPY Jul 23 23:59:00 There you go Jul 23 23:59:04 Made in norway Jul 23 23:59:09 :) Jul 24 00:10:49 ntr: quite nice, but slightly too ooomph and slow **** ENDING LOGGING AT Sun Jul 24 02:59:56 2011