**** BEGIN LOGGING AT Mon Jun 21 02:59:57 2010 Jun 21 10:00:55 what do i need to do on my pc so i can type into the cocoboot usb console? Jun 21 10:02:12 idul: I believe it's detected as usb tty Jun 21 10:02:21 or usb-to-serial converter Jun 21 10:03:08 dmesg shows it as ttyusb0 and 1 Jun 21 10:03:20 idul: tell then attach eg. minicom to it Jun 21 10:03:27 115200 8N1 I think Jun 21 10:03:50 is minicom part on gnu utils or do i need to getch from my repo? Jun 21 10:03:55 fetch* Jun 21 10:04:52 also i just wanna say thanks for all the work you guys have done hacking on this Jun 21 10:06:38 you're welcome Jun 21 10:06:58 idul: minicom is GPLed, though you'll probably have to install it from your repo Jun 21 10:07:22 yeah i just figured that out Jun 21 10:07:52 how smart of you :b Jun 21 10:09:39 idul: j/w what device do you use ? Jun 21 10:10:29 i have a palm tx that i scored from a friend for $20 Jun 21 10:10:53 if only i could get the cocoboot conf setup right to boot the fs Jun 21 10:11:52 idul: if you're willing to hack on this (aka. spend some hours on this), you can use the mainline kernel (aka. something that's not years old) Jun 21 10:12:03 and tweak it for your needs Jun 21 10:12:29 idul: what rootfs do you use? Jun 21 10:12:42 i just started using gnu/linux not to long ago so im not all that familiar on wht it would take to do such a thing (ie: compilation etc etc) Jun 21 10:13:19 i am willing to spend a few hours... i have done that already without hacking :) Jun 21 10:13:47 idul: I didn't know that before I started kernel plumbing either ... but that was many years ago :) Jun 21 10:14:15 idul: it's a good way to learn about the system if you are willing to kill a lot of your time ... anyway, what distro do you use ? Jun 21 10:15:01 opie-rootfs-expo-20080505-ext2 is the root-fs i have, but i formatted the card so im putting it all back on now Jun 21 10:16:34 Marex: i use a few, mainly slackware and sidux/debian Jun 21 10:17:17 ill boot and run anything from redhat to something a couple of guys hacked out after smoking a sack of weed Jun 21 10:18:15 idul: debian's a good choice for kernel hacking on arm ... you can debootstrap a ready-to-run rootfs for your device with ease (multistrap) ... you also have all the tools necessary to crosscompile the kernel (emdebian) Jun 21 10:52:21 Marex: ill give the arm port a second look... right after i get minicom working Jun 21 10:53:04 Marex: how do i obtain the mainline kernel? Jun 21 10:53:08 idul: why do you need to get the console working ? Jun 21 10:53:21 idul: RTFM (read the topic, there's file called RTFM.txt ;-) ) Jun 21 10:53:31 there's a link for that one Jun 21 10:53:47 Marex: because nothing else seems to.. even after i rtfm ;_; Jun 21 10:54:44 idul: you just need to pass "root=/dev/mmcblk0pX" where X is the partition you want to boot from to the kernel Jun 21 10:55:06 (and maybe rootdelay=5 so the kernel waits for the MMC card to appear) Jun 21 10:55:17 you write that to the textbox in cocoboot ... Jun 21 10:55:53 idul: I think you should start with: http://atrey.karlin.mff.cuni.cz/~miska/ play around with it, then try testing, for wifi read this: http://hackndev.com/node/315 and then start doing your kernels and rootfs Jun 21 10:57:13 SiNGLer: that's the problem ... miska's kernels are ancient Jun 21 10:57:53 I know, for start it is good enought, idul can't even start linux on his palm Jun 21 10:58:21 after he manage to start linux, he can start using something more custom/newer Jun 21 10:58:38 at least it is my opinion :) Jun 21 10:59:02 i believe that is a valid opinion Jun 21 10:59:47 Marex: what rootfs would you recommend to use? Jun 21 11:00:09 one that boots? ^_^ Jun 21 11:01:34 I'd prefer something newer :P and I was unsuccessful to boot my compiled OE opie (it fails on battery initialization), did got into it currently, I think I'll be tinkering with kernel first Jun 21 11:03:38 SiNGLer: well for testing, I have some multistraped debian ... though you won't want that as Palm hardware is too old for running anything decent on top of it Jun 21 11:03:45 SiNGLer: maybe play some more with OE Jun 21 11:05:22 ok then, so for now I'll stick with miska's testing opie-large and play around with kernel, and then will start with OE Jun 21 16:21:10 i got minicom setup and it detects cocoboot and i can talk to it, but after i try and boot the linux kernel im not getting any commands to show up on the screen... any ideas what im doing folks? Jun 21 16:31:18 doing wrong** Jun 21 16:33:21 what are we talking about? :) Jun 21 16:33:40 ill just copy paste Jun 21 16:33:57 i got minicom setup and it detects cocoboot and i can talk to it, but after i try and boot the linux kernel im not getting any commands to show up on the screen... any ideas what im doing wrong folks? Jun 21 16:36:05 hm, never used minicom with cocoboot, so I won't help you here. I guess, you need to add kernel command to output to virtual com port (as in real computers) Jun 21 16:36:36 im never gonna get this running ;_; Jun 21 16:37:46 try looking at this: http://wiki.sangoma.com/wanpipe-linux-system-debugging where are instructions for seting up of console output, else is irrelevent Jun 21 16:38:01 but why do you need minicom? your kernel does not boot? Jun 21 16:38:32 i dont think i need., in fact i am certain... Jun 21 16:39:01 but i could never get the rootfs to boot. the kernel either panics or i get a seq fault Jun 21 16:39:14 you certain that you need, or you certain that you don't? :) Jun 21 16:39:24 certain i dont. Jun 21 16:39:32 i see others booting it up just fine Jun 21 16:40:36 ok, let's start from scratch then, take this: http://atrey.karlin.mff.cuni.cz/~miska/testing/ download kernel and opie-large rootfs Jun 21 16:40:47 extract them into the card Jun 21 16:41:38 but keep directory structure as is in archives, cocoboot.conf should be in cards root, rootfs sould be in linux subfolder and etc Jun 21 16:50:04 i took a minute to move them on the card Jun 21 16:50:06 but done Jun 21 16:53:04 start cocoboot, there you should see some config lines, kernel and initrd should be present Jun 21 16:53:40 ok let me unmount the palm Jun 21 16:54:51 i have cocoboot 3 should i use a newer version? Jun 21 16:55:25 youe version should suit Jun 21 16:56:04 i see buffer.... Jun 21 16:56:18 i see opie Jun 21 16:56:27 I SEE OPIE!!! Jun 21 16:57:03 :) Jun 21 16:57:34 i guess marex was right. my packages were too old maybe Jun 21 16:57:48 maybe Jun 21 16:58:06 or maybe something was missing or misconfigured Jun 21 16:59:11 i can run any windows manager on this version of opie? Jun 21 16:59:22 i dont like that little K at the bottom Jun 21 17:01:26 I'm not sure, I didn't hack into it so deeply :) btw it is not regular X server as in desktops, but something smaller Jun 21 17:02:05 you can try other rootfs in that folder, gpe is based on gtk Jun 21 17:07:48 don't forget the device has 32 megs of RAM ... Jun 21 17:10:01 i was thinking about using lxde, 32MB should be plenty Jun 21 17:14:53 did the kernel i downloaded come with marex's wifi driver? Jun 21 17:15:21 no Jun 21 17:15:33 son of a... Jun 21 17:15:56 read this: http://hackndev.com/node/315 Jun 21 17:16:20 i was looking at node/276 Jun 21 17:17:43 and initrd you using mounts modules at the time of boot, so you'll need to pack modules so initrd could mount it, or do some other modifications, so modules would be accessible for kernel Jun 21 17:18:44 SiNGLer: don't forget you need the modules to match the kernel ... Jun 21 17:18:55 SiNGLer: and the wifi patch hit mainline somewhere around .30 Jun 21 17:18:59 yes Jun 21 17:19:11 I compiled .31 and linked in that thread Jun 21 17:19:26 .31 is ancient Jun 21 17:19:33 use .34 or .32-rc Jun 21 17:19:57 > .32 segfaults for me Jun 21 17:20:02 >= Jun 21 17:20:12 SiNGLer: segfaults ... with what ? Jun 21 17:20:52 maybe not exactly segfaults, kernel fails to load driver, outputting some trace Jun 21 17:21:12 SiNGLer: did you report it ? Jun 21 17:22:42 no, at that time I thought that PalmTX kernel develepment was abandoned, so I didn't bother. I can do it tonight, or tomorrow Jun 21 17:23:24 SiNGLer: palmtx kernel is in maintainance Jun 21 17:23:54 SiNGLer: aka. no new code is added and only non-breaking changes done Jun 21 17:24:36 oh, I see. Should I do add some sort of additional debug for reporting or trace will be enought? Jun 21 17:54:35 SiNGLer: the trace would be enough Jun 21 18:41:28 http://marex-hnd.blogspot.com/ news :) Jun 21 18:44:08 congrats :) Jun 21 18:45:31 btw "Opie II" link in sidebar seems to be broken Jun 21 19:08:18 the project is dead Jun 21 19:08:22 they probably removed it Jun 21 19:08:24 thanks Jun 21 19:08:45 np **** ENDING LOGGING AT Tue Jun 22 02:59:56 2010