**** BEGIN LOGGING AT Fri Apr 06 03:00:00 2012 Apr 06 13:04:53 hey guys Apr 06 13:05:04 i still want to get linux running on my palm pilot Apr 06 13:05:39 i ran into trouble cause i couldn't figure out the actual compliation command Apr 06 13:05:49 then i need to learn to boot it Apr 06 14:18:30 gnarface: pilot ? you mean the m68k ? Apr 06 14:18:48 there was project about that on sourceforce, trying to run ucLinux on that one ... since it's a NOMMU device Apr 06 14:19:02 you might be able to run it, but it's gonna need a lot of research Apr 06 14:19:28 otherwise, if you have some of the newer series -- starting with TT/Z71, that's MMU-based and all the code for that is in mainline linux Apr 06 14:19:37 you'd need to roll your own userland Apr 06 14:19:55 anyway, I'm off now, I'll be back in 5 hours or so ... and probably tomorrow Apr 06 14:31:02 Marex: no it was the palm pilot Apr 06 14:31:11 xscale something-or-another Apr 06 14:32:19 just need cross-compilation command lines Apr 06 14:32:34 ARCH="armel" ? Apr 06 14:32:40 there is more to it than that right? Apr 06 14:32:49 compared to compiling for your own arch? Apr 06 14:34:33 Marex palm pilot tungsten t5 Apr 06 16:26:57 gnarface: that;s actually not called pilot anymore Apr 06 16:27:20 yes, for kernel, .... make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- Apr 06 16:52:43 ok Apr 06 16:52:56 no pci bus, right? Apr 06 17:40:15 gnarface: what for ? Apr 06 17:40:22 try make palmt5_config Apr 06 17:40:24 or defconfig Apr 06 17:40:28 dunno, one of them, should work Apr 06 17:59:01 interesting Apr 06 17:59:15 i can't recall if i did that Apr 06 17:59:20 i know the processor type shows up Apr 06 17:59:30 i have the right processor type selected in my currently in-progress config Apr 06 17:59:37 you told me which to select Apr 06 18:00:26 its a question of disabling everything else Apr 06 18:00:33 just to get it out of the way for compilation Apr 06 18:00:37 save some time Apr 06 18:00:59 maybe ram too Apr 06 18:01:08 also i gotta compile network and bluetooth and stuff in right? Apr 06 18:01:31 i tought i remember reading initrd won't work Apr 06 20:17:45 start with arch/arm/configs/palmz72_defconfig Apr 06 20:17:59 (make ARCH=... CROSS_COMPILE=... palmz72_defconfig) Apr 06 20:18:18 then run make menuconfig, select also palmt5, disable V4L (drivers->media) and you should be set Apr 06 21:41:34 from any particular version of the vanilla source or source for my distro? Apr 06 21:48:41 and after that run make bzImage? Apr 06 21:48:57 what about the initrd? Apr 06 21:49:02 i mean initrd? Apr 06 21:52:22 wait i'm doing something wrong Apr 06 21:52:33 make defconfig first? Apr 06 21:53:08 make palmz72_defconfig maybe Apr 06 21:53:18 or palmz72_config ... I never remember which on it is Apr 06 21:53:20 *one Apr 06 21:53:27 gnarface: you can use linus's tree Apr 06 21:53:41 after that, run make .... zImage Apr 06 21:53:54 initrd well, roll it yourself or use initramfs Apr 06 21:53:59 *** Can't find default configuration "arch/arm/configs/arch/arm/configs/palmz72_defconfig"! Apr 06 21:54:03 says that Apr 06 21:54:15 but its there Apr 06 21:54:24 ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make arch/arm/configs/palmz72_defconfig ? Apr 06 21:54:31 the file is there Apr 06 21:54:51 i broke it... Apr 06 21:54:53 heh ... looks like a bug in the kernel buildsystem Apr 06 21:54:57 no Apr 06 21:55:14 really just run make ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" palmz72_config Apr 06 21:55:17 that was 3.1.5 Apr 06 21:55:17 without the full path Apr 06 21:55:55 ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make palmz72_defconfig Apr 06 21:55:56 ? Apr 06 21:56:02 # configuration written to .config Apr 06 21:56:05 seemed to work! Apr 06 21:56:19 now make menuconfig? Apr 06 21:56:30 yep Apr 06 21:56:33 or ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make menuconfig? Apr 06 21:56:39 ^ this Apr 06 21:57:01 ok Apr 06 21:57:03 now what Apr 06 21:57:05 cpu type? Apr 06 21:57:14 if you run make menuconfig just like that ... kbuild would assume you run with ARCH=(default) which is $(uname -m) Apr 06 21:57:27 that should all be set already by the defconfig Apr 06 21:57:52 just toggle on palmtt5 support and disable devicedrivers -> media (v4l) stuff Apr 06 21:58:10 hmm Apr 06 21:58:26 where to toggle palm tt5 support? Apr 06 21:59:43 third entry from the top in main manu Apr 06 21:59:50 then ... system type I think Apr 06 22:00:25 and why disable v4l? Apr 06 22:00:39 broken? Apr 06 22:02:00 system type Apr 06 22:02:16 arm system type, pxa2xx/pxa3xx-based? Apr 06 22:04:10 aaj Apr 06 22:04:14 aah, Intel PXA2xx/PXA3xx Implementations ? Apr 06 22:04:52 i see [*] PXA based Palm PDAs,[*] Palm Tungsten|E2, [*] Palm Tungsten|C, │ │ [*] Palm Tungsten|T5 │ │ Apr 06 22:04:56 etc Apr 06 22:05:00 should i uncheck all but mine? Apr 06 22:06:51 and bluetooth? Apr 06 22:07:02 is there a way to get that working? i see its off by default Apr 06 22:10:28 so when i'm done doing the menuconfig, then i compile it like this? ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make -j4 zImage Apr 06 22:10:56 woops it exploded Apr 06 22:11:06 without -j4 as well Apr 06 22:11:09 :( Apr 06 22:12:51 pastebin the error Apr 06 22:12:58 yes ... you can uncheck all but yours Apr 06 22:13:10 v4l isn't needed on your device -- z72 has builtin camera Apr 06 22:13:27 bluetooth -- enable bluetooth uart in networking->bluetooth->somewhere there Apr 06 22:14:28 hmm. v4l appears to be off already... Apr 06 22:14:45 under device drivers->multimedia support-> right? Apr 06 22:15:22 compile everything in because i can't load an initrd.img? Apr 06 22:15:34 what do you mean ? Apr 06 22:15:39 or can i? Apr 06 22:15:41 i thought i couldn't Apr 06 22:15:43 WHAT ? Apr 06 22:16:00 I ain't following ... Apr 06 22:16:12 you can load initRD via cocoboot, sure Apr 06 22:16:14 also: HCI SDIO driver , HCI UART driver (NEW) , HCI VHCI (Virtual HCI device) driver (NEW), Marvell Bluetooth driver support (NEW) which one? Apr 06 22:16:23 oh, cool Apr 06 22:16:39 HCI UART Apr 06 22:17:16 UART (H4) protocol support (NEW) , BCSP protocol support (NEW), Atheros AR300x serial support (NEW), HCILL protocol support (NEW) ? Apr 06 22:18:04 how about infra-red? Apr 06 22:18:29 pxa-ir works I guess Apr 06 22:19:35 so, ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make bzImage ? Apr 06 22:19:36 ? Apr 06 22:20:15 s/bzImage/zImage Apr 06 22:20:40 it barfed Apr 06 22:21:30 http://paste.debian.net/162369/ Apr 06 22:23:02 gnarface: well ... guess what's the problem Apr 06 22:26:10 http://paste.debian.net/162370/ Apr 06 22:26:12 fresh source Apr 06 22:26:16 new version too Apr 06 22:26:51 thats after running ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make palmz72_defconfig and ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi" make menuconfig Apr 06 22:27:08 i'm missing something, aren't i? Apr 06 22:27:12 something important? Apr 06 22:32:05 well ... look at the compiler string it's missing Apr 06 22:32:15 I think it'll give you the necessary hint Apr 06 22:37:15 gnarface: gnueabi- <--- you're missing the damn '-' sign there Apr 06 22:38:00 woops Apr 06 22:45:36 ARCH="arm" CROSS_COMPILE="arm-linux-gnueabi-" make zImage Apr 06 22:45:39 i do it all over Apr 06 22:45:45 but i still get make: arm-linux-gnueabi-gcc: Command not found Apr 06 22:45:50 and then a bunch of barf Apr 06 22:53:07 you ... do have a cross compiler, right ? Apr 06 22:53:33 I ain't no trying to make you an idiot ... but ... **** ENDING LOGGING AT Sat Apr 07 02:59:58 2012