- xfce4 on debian-based rootfs running from 2Gb class-4 SD card
- Flash containing UBoot bootloader and basic recovery system (fits well in 16Mb)
Now to the kernel stuff, as you might have found out in the previous posts, there are some files available, here's the list:
- Kernel config: .config
- Patches: Available here, apply on the following kernel tree
- U-Boot patch: available here
- Copy the downloaded .config to kernel source directory, apply all patches (use git am).
- make ARCH=arm CROSS_COMPILE=arm-something- menuconfig # this is not needed in case you don't want to modify the kernel configuration
- make ARCH=arm CROSS_COMPILE=arm-something- # this will get you arch/arm/boot/zImage (suitable for Cocoboot)
- make ARCH=arm CROSS_COMPILE=arm-something- uImage # this will get you arch/arm/boot/uImage (suitable for U-Boot)
- INSTALL_MOD_PATH=/somewhere/safe make ARCH=arm CROSS_COMPILE=arm-something- modules_install # this will install modules to /somewhere/safe/lib/modules/... You really don't want to mix them with your systems' modules
- Apply all patches (again, git am is your friend)
- make CROSS_COMPILE=arm-something- clean
- make CROSS_COMPILE=arm-something- palmtc_config
- make CROSS_COMPILE=arm-something- # this will get you u-boot.bin, the bootloader binary
8 comments:
Just wanted to say how excited I am to discover your blog, your main site, and your project. I have a Tungsten C that's been mostly idle for quite some time and I've always wished I could turn it into a handheld Linux host. I've periodically Googled in search of hacks and today is the first time I've found someone actually messing around with this device (which is still a great piece of hardware).
That's good to hear. You can visit us on IRC (irc.freenode.net #hackndev). I have an installer prepared, but sadly it still has a few weaker points.
My main concern is not bricking my T|C, since I only have one...and I have to teach myself about patching kernel trees, etc., but I will figure it out and continue to follow your progress. Thanks!
The first three of the patches (0001-0003) applied successfully, but 0004 and the others will not. Here's what I got when I tried to apply 0004:
$ git am --utf8 --signoff 0004-PalmTC-aSoC-audio.patch
Applying PalmTC aSoC audio
error: patch failed: sound/soc/pxa/Kconfig:97
error: sound/soc/pxa/Kconfig: patch does not apply
error: patch failed: sound/soc/pxa/Makefile:18
error: sound/soc/pxa/Makefile: patch does not apply
Patch failed at 0001.
I'm sure I'm making some kind of newbie mistake...
Well try applying them by hand. Maybe something changed in the kernel tree already.
Hi
Do you think you could post a boot pack for the T|C like it is done for the T|X etc on hackndev?
I think what you describe here is still over my head, but I would love to have my T|C run under Linux.
This would be wonderful!
Refdoc
Not me, but I'm trying to negotiate with some people to prepare bootpacks. The problem is noone generally wants to work on userspace :-/
Haw to use on arm ?
/bin/sh: line 1: arm-something-gcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
Post a Comment