[Peeweelinux] newbie questions
Ricardo Trindade
[email protected]
Sun, 2 Jun 2002 12:30:48 +0100
yes, I include the jdk directory in the custom files of peeweelinux.
I'm going to explore the possibility of including it as a RPM, but I didn't
test that yet.
One issue is that on version 1.3.x the script that launches the JVM depends
on head, cut and other unix tools (they are included in peewee).
If you use version 1.4, those issues don't happen (I'm using 1.3.1_03).
Another issue is libnsl. This is necessary to run java, and isn't included
in peewee, so you have to add it as a custom file. the library version of
recent distributions (GBLIC2_2) is different from peewee (GBLIC2_1), so you
probably won't be able to copy it from your desktop, but at least in RH7.2
there's a directory with compatibility libs and you can just copy it from
there.
In terms of speed, I haven't run many tests yet, but I don't think it will
be very slow. Running from ramdisk would be a good choice, but with JDK at
+50M, that would leave little ram for your programs...
One issue I'm pursuing is that I want to mount the filesystem readonly,
would that interest you ?
Another thing I'm trying to do is to use ext3, but for that I'm going to
have to use another kernel. (if the above option works, I'm not going to
follow this one, of course).
Hope you keep in touch, as I haven't found a lot of people interested in
embedded java...
bye
Ricardo
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Troy Engel
Sent: sexta-feira, 31 de Maio de 2002 16:54
To: [email protected]
Subject: Re: [Peeweelinux] newbie questions
Hi Ricardo,
Cool! Our device is booting (yay!), now it's on to even more fun stuff.
Do you have a methodology for installing the jvm, and where do you put
your code?
I was thinking of formatting and mounting sda3 (rest of CF card) as
/opt, and putting the JVM and our code over there. See any downsides to
that? Is it too slow to run right off CF, and should I be installing it
with PeeWee, and having it load into ramdisk?
thx,
-te
Ricardo Trindade wrote:
> Hi,
>
> I'm using peewee on a 128Mb CF and sun's jre 1.3 fits in there. takes
> almost half the card, but at least it's a full jvm
>
> ricardo
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Troy Engel
> Sent: quinta-feira, 30 de Maio de 2002 22:02
> To: peeweelinux
> Subject: [Peeweelinux] newbie questions
>
>
> Hiya folks, I have a few minor questions re: PWL if someone has a few
> minutes. We're building the prototype hardware right now, and I've got
> a custom kernel (need >4 serial ports, shared IRQ) built and the PWL
> filesystem onto my CF. yay!
>
> I'm new to embedded/flash stuff, so sorry if this is basic.
>
> 1) /dev/sda1 contains the boot files, sda2 contains the OS. there's a
> sda3 partition on the rest of the CF card (128meg card), which I want to
> utilize as my own personal scratch space (this device reads from serial
> ports and stores logfiles for later upload). Can i just make ext2 on
> /dev/sda3, and mount it in sda3/etc/fstab as hda3? is it that simple?
>
> sda2/etc/fstab looks like:
>
> /dev/ram0 / ext2 defaults
> /dev/hda2 /mnt/flash ext2 ro,noauto,defaults
> none /proc proc defaults
>
> 2) anyone have some quick primers on setting up the dhcpd/pump and ppp
> with this distro? I'm sure I could noodle around and figure out what to
> put where, but it'd help if someone else had an example. ;)
>
> 3) java vm -- anyone gone through the pain and found a good one? (we're
> looking at Waba, I think)
>
> Any other wonderful words of advice would be great, so far I'm cruising
> along with only a few hurdles. I'm just beginning to get the hang of
> how things work in the embedded space....
>
> oh! with CF media, can I just use dd to dump the entire card to a file,
> so I can duplicate it onto other cards? (ala a normal harddrive, block
> device, etc)
>
> thanks!
> -te
>
> --
> Troy Engel, Systems Engineer
> Hockey. Kinda like Figure Skating in a War Zone.
>
> _______________________________________________
> Peeweelinux mailing list
> [email protected]
> http://mail.adis.on.ca/lists/listinfo/peeweelinux
>
> _______________________________________________
> Peeweelinux mailing list
> [email protected]
> http://mail.adis.on.ca/lists/listinfo/peeweelinux
--
Troy Engel, Systems Engineer
Hockey. Kinda like Figure Skating in a War Zone.
_______________________________________________
Peeweelinux mailing list
[email protected]
http://mail.adis.on.ca/lists/listinfo/peeweelinux