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.


Topics - lardman

Pages: 1 ... 4 5 [6] 7 8
76
Zaurus - pdaXrom / xcardinfo
« on: March 23, 2004, 05:02:17 pm »
In xcardinfo, socket 0 shows my CF card (storage or WiFi), but socket 1 shows nothing, even when I have my MMC card in. Is this normal?

PdaXrom doesn\'t seem to like my MMC card for some reason. It\'s formatted as ext2, has served me for years in my sl5500 without a single hitch, but now almost as soon as I try writing to the card I get an input/output error, which means I have to stick it in my 5500 (my 750 won\'t even recognise the /dev/mmcda device to fdisk it), which tells me it wasn\'t unmounted cleanly, run fsck.ext2 and I\'m back in business, until I try to write the card again.

Is this an issue with pdaXrom, the 750 in general, or my one in particular.

Cheers,

Si

P.S. I\'ve seen lots of people with this type of problem, but never experienced it myslef - it\'s bloody annoying :-) I\'ve got to say.

77
Zaurus - pdaXrom / Power Management
« on: March 23, 2004, 04:04:41 pm »
I note that DPMS is used for power management. This provides screen switch off and overall suspend functionality, but there\'s no easy way to alter this behaviour depending upon on the battery/external power state.

Possibilities:

Provide a daemon which alters the values which dpms uses.
Provide a power management daemon (like apm I suppose).

Surely other people must be getting annoyed that their Zs suspend when on external power?!?

Any suggestions as to which direction?


Si

P.S. I also note that the battery applet reports that the battery is fully charged as soon as one plugs in the external power, I\'ll have to download the matchbox code and see if I can work out why this is.

78
Zaurus - pdaXrom / Running (minimised) apps shown on taskbar?
« on: March 19, 2004, 10:42:50 am »
Is this possible with matchbox? I presume an applet would be required to do this, does anyone know of one?

I find it a real pain not knowing what I\'ve got minimised as I end up opening a new instance everytime I need the terminal instead of maximising an existing one.


Si

79
User Request for Applications / \'make install\' > create ipk
« on: March 18, 2004, 04:30:11 pm »
I\'m thinking that it would be nice to be able to run a command after I\'ve cross-compiled an application (for the pdaXrom for example, e.g. an application which uses configure & make) which would act like \'make install\' (and in fact read the Makefile and work out what is sipposed to happen) and create an ./ipk/ directory (or similar) with all of the files copied to the correct locations ready to be packaged.

At the moment I have to run \'make -n install\' then look at the output and do it by hand.

Now I\'ve never tried anything like this, what should I look at using? I was thinking that it could just be a shell script, but I need to read/parse the Makefile. Any suggestions as to how to do this?

Cheers,


Si

80
Zaurus - pdaXrom / Source code for the light & power applet?
« on: March 16, 2004, 09:30:00 am »
I don\'t know whether anyone has a fix for this, but I\'d like to alter the applet to make it more configurable - so I can have different delays and backlight settings, etc depending on whether external power is attached and so on (much like the Opie applet).

My question is how do I get hold of the source code? and for that matter the source for the other applets?

Cheers,


Simon

81
General Discussion / Flame Wars, Episode I
« on: March 16, 2004, 04:34:58 am »
Quote
but the few spoilt it for the many by attempting to start flame wars.

It would appear the shroud of the dark side has fallen. ;-)


Si

82
Zaurus - pdaXrom / Rebuilding toolchain
« on: March 15, 2004, 04:30:50 pm »
I had thought all of this toolchain building stuff was behind me, but alas that is not to be.....

Anyway I want to just recompile gcc3 to include f77. I\'ve done much as I did for the OZ toolchain (afaicr - it was a while back): http://www.zaurususergroup.com/index.php?n...iewtopic&t=1072

Anyway I\'m getting a load of errors and I can\'t seem to think what\'s causing them:

make[2]: Leaving directory `/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/intl\'
/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/xgcc -B/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc/ -B/opt/arm/arm-linux/bin/ -B/opt/arm/arm-linux/lib/ -isystem /opt/arm/arm-linux/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss  
  -Dinhibit_libc -c ../../gcc-3.3.2/gcc/crtstuff.c -DCRT_BEGIN
  -o crtbegin.o
/home/simon/tmp/ccA5dbKh.s: Assembler messages:
/home/simon/tmp/ccA5dbKh.s:37: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:38: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:39: Error: no such instruction: `stmfd sp!,{r4,r5,lr}\'
/home/simon/tmp/ccA5dbKh.s:40: Error: no such instruction: `ldr r5,.L10\'
/home/simon/tmp/ccA5dbKh.s:41: Error: no such instruction: `ldrb r3,[r5,\'
/home/simon/tmp/ccA5dbKh.s:42: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:43: Error: no such instruction: `ldmnefd sp!,{r4,r5,pc}\'
/home/simon/tmp/ccA5dbKh.s:44: Error: no such instruction: `ldr r4,.L10+4\'
/home/simon/tmp/ccA5dbKh.s:45: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:46: Error: no such instruction: `ldr r2,[r3,\'
/home/simon/tmp/ccA5dbKh.s:47: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:48: Error: no such instruction: `beq .L9\'
/home/simon/tmp/ccA5dbKh.s:50: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:51: Error: too many memory references for `add\'
/home/simon/tmp/ccA5dbKh.s:52: Error: invalid char \'[\' beginning operand 2 `[r4\'
/home/simon/tmp/ccA5dbKh.s:53: Error: too many memory references for `mov\'
/home/simon/tmp/ccA5dbKh.s:54: Error: too many memory references for `mov\'
/home/simon/tmp/ccA5dbKh.s:55: Error: no such instruction: `ldr r3,[r4,\'
/home/simon/tmp/ccA5dbKh.s:56: Error: no such instruction: `ldr r2,[r3,\'
/home/simon/tmp/ccA5dbKh.s:57: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:58: Error: no such instruction: `bne .L6\'
/home/simon/tmp/ccA5dbKh.s:60: Error: no such instruction: `ldr r3,.L10+8\'
/home/simon/tmp/ccA5dbKh.s:61: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:62: Error: no such instruction: `ldrne r0,.L10+12\'
/home/simon/tmp/ccA5dbKh.s:63: Error: no such instruction: `movne lr,pc\'
/home/simon/tmp/ccA5dbKh.s:64: Error: no such instruction: `movne pc,r3\'
/home/simon/tmp/ccA5dbKh.s:66: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:67: Error: invalid char \'[\' beginning operand 2 `[r5\'
/home/simon/tmp/ccA5dbKh.s:68: Error: no such instruction: `ldmfd sp!,{r4,r5,pc}\'
/home/simon/tmp/ccA5dbKh.s:79: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:80: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:81: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:83: Error: no such instruction: `bl __do_global_dtors_aux\'
/home/simon/tmp/ccA5dbKh.s:85: Error: no such instruction: `ldr pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:94: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:95: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:96: Error: no such instruction: `ldr r3,.L16\'
/home/simon/tmp/ccA5dbKh.s:97: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:98: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:99: Error: no such instruction: `ldr r0,.L16+4\'
/home/simon/tmp/ccA5dbKh.s:100: Error: no such instruction: `ldr r1,.L16+8\'
/home/simon/tmp/ccA5dbKh.s:101: Error: no such instruction: `movne lr,pc\'
/home/simon/tmp/ccA5dbKh.s:102: Error: no such instruction: `movne pc,r3\'
/home/simon/tmp/ccA5dbKh.s:104: Error: no such instruction: `ldr r0,.L16+12\'
/home/simon/tmp/ccA5dbKh.s:105: Error: no such instruction: `ldr r3,[r0,\'
/home/simon/tmp/ccA5dbKh.s:106: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:107: Error: no such instruction: `ldreq pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:108: Error: no such instruction: `ldr r3,.L16+16\'
/home/simon/tmp/ccA5dbKh.s:109: Error: expecting operand after \',\'; got nothing
/home/simon/tmp/ccA5dbKh.s:110: Error: no such instruction: `ldreq pc,[sp],\'
/home/simon/tmp/ccA5dbKh.s:111: Error: no such instruction: `ldr lr,[sp],\'
/home/simon/tmp/ccA5dbKh.s:112: Error: no such instruction: `b _Jv_RegisterClasses\'
/home/simon/tmp/ccA5dbKh.s:124: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:125: Warning: rest of line ignored; first ignored character is `@\'
/home/simon/tmp/ccA5dbKh.s:126: Error: invalid char \'[\' beginning operand 2 `[sp\'
/home/simon/tmp/ccA5dbKh.s:128: Error: no such instruction: `bl frame_dummy\'
/home/simon/tmp/ccA5dbKh.s:130: Error: no such instruction: `ldr pc,[sp],\'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/simon/Desktop/temp/gcc/gcc-build-arm5/gcc\'
make: *** [all-gcc] Error 2

Can anyone suggest anything, or even just build me a toolchain with f77 support.

Cheers,


Si

P.S. Where/how do I specify that the toolchain should generate arm5 code by default? Or is this in binutils?

83
Cxx0 General discussions / C machine questions - hardware menus, etc.
« on: March 14, 2004, 10:00:54 am »
Yep, I\'ve surprised even myself starting a topic here ;-)

Anyway I was just wondering whether there\'s a comprehensive explanation etc. of the various hardware menus on the C machines?

Blah, blah.

I\'ve looked at the HowTos but they only describe a couple of things, for example restoring from a NAND backup (BTW should I make a NAND backup when I get my c750??).

Cheers,


Si

84
Deals and Great Z Buys / Getting a C machine in US or Australia....
« on: March 06, 2004, 12:18:12 pm »
I\'m after a C machine, either a C860 or if the price makes up for the difference a C750.

The problem is that I live in England. Shirtpocket looks damn expensive to me and we have to pay import tax on all of the other stuff imports too, however I\'ve got relatives in the US and Australia and they\'ll be meeting and coming back to the UK.

So my questions are:

What\'s the cheapest place to get one from in the US (including tax - do you have to pay that, does it depend on the state? If so it\'s Florida)?

and if anyone knows whether you have to pay tax to get stuff in OZ (SA) then that would also be useful (and easier in terms of timing for me).

Thanks,


Simon

85
Qt/Qtopia / Advanced IPK scripts
« on: March 04, 2004, 05:07:34 am »
I\'m trying to create a package for the usb-storage module and scripts.

I plan to use the postinst (probably) to decide whether or not to install a certain module (for example if I\'m installing on a machine with a PXA processor it won\'t need the sa1100_bi module.

What\'s the best way to do this? Can I just not install it, or do I have to install it then delete it in the postinst script?

Along the same lines but more complicated, if I needed to replace a script on only one machine how would I do this? Create a copy in the preinst, then have ipkg overwrite it, then copy the copy back over the one ipkg has extracted using the postinst script?

There are obviously ways and means, but is this the way things are done?

Is there a web site which describes this sort of thing (prsumably for debian dpkg).

Another quick one, is there a quick and easy way to differentiate between machines. Processor is probably fairly easy (look in /proc/cpuinfo), what about ROM type, do I just have to find a file which exists on one and not another?

Cheers,


Si

86
X/Qt / Help with error which only occurs in Xqt terminals
« on: February 28, 2004, 06:25:03 pm »
I just tried to run Octave and R inside Xqt. Octave is completely terminal based, and R is mainly a terminal program which can generate graphical elements which require X11.

Anyway I can start both programs just fine from outside Xqt (in konsole), but as soon as I try to run either inside Xqt (in rxvt or xterm) I get the following error (same error for both octave and R, but obviously different paths and names):

# octave
/usr/local/bin/octave-2.1.50: relocation error: /usr/local/bin/octave-2.1.50: undefined symbol: __div0

This reminds me of some troubles I had a while back when I was compiling against one version of libncurses and then trying to use another while running, but in this case I can\'t see that that is the case. LD_LIBRARY_PATH is the same both inside and outside Xqt.

I am running OZ 3.3.6pre1 (compiled with GCC3.x, using libc2.3.x), both octave and R were compiled with GCC3.3.2 and linked against libc2.3 with the latest OZ GCC3 cross toolchain.

Does anyone know what this signifies and why it only happens inside Xqt?

Thanks,


Simon

87
Zaurus - pdaXrom / Which ARM dialect are you using?
« on: February 28, 2004, 01:22:10 pm »
I notice that all of the ipks in the feed have armv5 in the filename. Are you using the arm5 instruction set?

I tried running xblast on my 5500 and got a SIGILL which made me think this might be the case.

Cheers,


Si

88
Attached is a tarball with 3 files inside:

Stick storage_fd.o in /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/storage_fd/

Stick the two .sh files anywhere you want (either in your path or cd to their directory and run them directly).

pxastart_storage.sh will load the storage_fd.o module and should then make your 5600 behave like a mass storage device (like one of those pen things you can stick in the USB port). It currently uses the CF card for the mass storage. You can edit the script to use /dev/mmcda1 instead of /dev/hda1 to use an MMC/SD card instead. The card in question will be mounted and unmounted by the scripts. Make sure this is possible (ie test to see whether your Z will allow you to umount cleanly. If it won\'t then the test won\'t work)

pxastart_net.sh will load the net_fd module which will return your 5600 to using the USB cradle connection as an ethernet connection (standard setup).

If the worst comes to the worst you can always reboot and the storage_fd module will be unloaded. It won\'t be loaded unless you run the pxastart_storage.sh script so there\'s no need to worry about breaking anything.

Basically I\'d just like someone to try out the scripts (run pxastart_storage.sh before putting your Z in the cradle) and see whether your WinXP/2k or Linux machine recognises it as a mass storage device.

Thank you,


Simon

89
OpenZaurus/Opie/Qtopia / Altering kernel in OE
« on: February 25, 2004, 03:40:12 pm »
Just a couple of quick ones.

I see (in the .oe file I think) two setttings - mem and rd what do these do? If I want a 64-0 ROM how should I specify this?

I\'m trying to compile storage_fd for the sl5500 (what I\'ve been trying is altering the config settings, running oebuild to apply patches etc., then copy the storage_fd dir across from the c860 kernel source and alter the config.in and makefile in the devices dir, then delete the compile \'stamp\' and run oebuild again - no luck so far).

I\'ve altered defconfig-collie (and defconfig-) in linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/ to enable CONFIG_USB_STORAGE, but despite these attempts .config in the linux working directory shows that CONFIG_USB_STORAGE is not set. Now I can imagine that I\'ve not enabled enough stuff (I think I need some form of SCSI too), but surely CONFIG_USB_STORAGE would be indicated as enabled? Am I doing this the right way?

Cheers,


Si

90
If you have working mass storage (and that means C860 owners with the original ROM, and possibly others besides) would you mind posting the contents of /proc/usb-storage (while you have your Z connected as a mass storage device).

Thanks,


Simon

Pages: 1 ... 4 5 [6] 7 8