Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - imi

Pages: [1]
1
Quote
If you use CF cards that use serial communication, please post
here if they work or if you have problems.

I use a SL-C3100 with Billington serial GPS receiver card and it works not very stable.

As soon as the card is removed once it may not work again. Reinserting the card some times help.

If I insert the card and the blue led start blinking, it won't work. In this case, the dmesg will output a single line of "<<<< Init_Module PASS >>>". This seems to never hapen after a clean reboot.

If I insert it and it does not blink, it will work. In this case, the dmesg log has two new lines:

ttyS03 at port 0xf60003f8 (irq = 135) is a 16550A
pxa_pcmcia_suspend(0)


To detemine whether "the card works", I use "gpsd -s 4800 -p /dev/ttyS3 -D 99" and start qpegps afterwards.

I use the translated NAND-sharp-rom from trisoft (for C3100, of course ;). Kernel is still 2.4.20 with, I assume, the Sharp-patched serial module (But better ask trisoft about this ;).

after removing the card, it states: "pxa_pcmcia_init(0)". If the card worked before, an additional "ttyS03 unloaded" follows.

If the card is in "does not work" - state, suspending/resuming the whole Zaurus will not help. In fact, anything beside reinserting or rebooting will help.


Dunno, whether it is only a SL-C3100 Problem, since I only own this device.

If you want me to try anything out to help you, please say so. :-) I will install and try your debug-code, debug-kernel etc. ;-)


Ciao, Imi.

2
Sharp ROMs / Sharp Development Kit Disappeared
« on: August 03, 2005, 11:59:04 am »
Quote
See
Qtopia.net

Does the SDK from Trolltech work with the (assumable modified) QTopia - Version "1.5.4" that is installed in the Zaurus? There does not seem to exist a Trolltech Version 1.5.4 (only 1.5, 1.6.1 and 1.7)

And what version of QT-Embedded do I need?

bummer, the howto from Sharp is missing too: http://docs.zaurus.com/index.php?id=linux_...ler_setup_howto


Ciao, Imi.

3
Sharp ROMs / Sharp Development Kit Disappeared
« on: August 02, 2005, 11:21:16 am »
Hi,

it seems that the location of the development kit from Sharp for their Roms is no longer available out there? http://www.zaurus.com/dev links to a boring product page under www.sharpusa.com without the kit in 5-klick range (at least the links I tried ;).

Does anyone have the development kit? Is it also usable for the Zaurus C3100? How do you develop things for the original Sharp ROM on Zaurus?


Ciao, Imi.

4
OpenZaurus/Opie/Qtopia / Stack Exploit In Busybox Rmmod?
« on: July 29, 2005, 08:45:12 pm »
Hi,

while I am waiting for my OpenEmbedded to finish compiling, I just looked over some patches in the packages directory:

From packages/busybox/busybox-1.00/rmmod.patch

@@ -109,7 +120,10 @@
                for (n = optind; n < argc; n++) {
 #ifdef CONFIG_FEATURE_2_6_MODULES
                        char module_name[strlen(argv[n]) + 1];
-                       filename2modname(module_name, argv[n]);
+                       if (k_version != 4)
+                               filename2modname(module_name, argv[n]);
+                       else
+                               strcpy(module_name, argv[n]);
 #else
 #define module_name            argv[n]
 #endif


I am not sure whether the char declaration itself is exploitable using very large command line arguments, but with the strcpy it get worse since now you can inject code if the line argument exceeds the stack size. If busybox run suid... (well, this only gets interesting if the root-password isn't just empty ;-)


Ciao, Imi.

Pages: [1]