Bugzilla – Bug 48
Treo650 - vfat/dos filesystem, touchscreen not in palmt650_defconfig
Last modified: 2007-09-30 16:10:16
You need to log in before you can comment on or make changes to this bug.
Hi While compiling the kernel for palm t650, using make palmt650_defconfig, the VFAT/DOS file system support is compiled as module and not as built in. I had to make it built in and then the kernel was able to read the rootfs. After the kernel boots and the "Welcome to Opie" screen comes up it asks the user to tap on the screen to continue. That does not work either ( http://cmh.hackndev.com/pastebin/25/). I tried compiling the touchscreen as built in but it does not let me do that. So after loading linux and booting, the whole Opie freezes. -Sakiv
Created an attachment (id=14) [details] patch for the VFAT/DOS filesystem fix in palmt650_defconfig Attaching a patch for the VFAT/DOS filesystem fix.
Alex, pleas could you look into this?
Committed. The reason why they were modules is because I've been using OE for generating initramfs (set in local.conf: ANGSTROM_MODE="uclibc"; IMAGE_FSTYPES="cpio.gz" then: bitbake initramfs-image). To fix your compile error just disable "WM97xx PXA accelerated touch". Note that the touchscreen driver will not function without the ALSA AC97 audio driver (it won't error, it just won't do anything). So you'll need to either modprobe it or compile it in as well. You may also find the updated machine and OE defconfig in bug #49 useful.
By the way you can use USB ethernet to debug these kind of issues. Just add to one of the startup scripts (eg /etc/init.d/dropbear) something like: ifconfig usb0 up 192.168.0.2 Then go into cocoboot and select USB console from the menubar (because you need to open the USB port in palmos to enable the pullups, I haven't found the right register in the ASIC to do this). Then boot linux. Plug USB cable into your PC and if you have the the CONFIG_USB_CDCETHER, CONFIG_USB_ARMLINUX etc in your PC's kernel you should be able to do on the pc: ifconfig usb0 up 192.168.0.1 ssh root@192.168.0.2 It's a bit flakey, if the USB ether stops working, replug the cable and do the PC's config again (I have udev do it automatically when the cable's plugged in).
Finally, another way of debugging them is to disable the automatic starting of OPIE and just login from the console using the treo's keyboard. To do this just delete the symbolic link /etc/init.d/rc5.d/S99opie. The command ts_print will test whether the touchscreen driver is working. If it returns immediately with an error either wm97xx-ts or the sound driver is probably not loaded (check lsmod). Otherwise it should print out coordinates when you tap the screen.
Created an attachment (id=18) [details] EABI/OABI feature missing from palmt650_defconfig. Causes frustration if missing.
Committed. Thanks for noticing that.
No feedback
Hi Sergey/Alex, Yes this bug was fixed, and Linux boots fine on my treo 650. This bug can be closed. Thanks Vikas (In reply to comment #8) > No feedback >