[Peeweelinux] Filesystem Issues

Ed Anuff [email protected]
Wed, 24 Jul 2002 10:59:49 -0700


I sounds like a lot of people are using Advantech systems with this.  I've
been using the Advantech PCM-5822.  In regards to the issue of Advantech
supporting Linux, although their website has minimal info regarding Linux, I
was quite surprised to find that the CD-ROM that comes with product has a
lot of Linux info including both the binary and source for the elusive
official "Durango" XFree86 driver written by National Semi which is
virtually impossible to find online.  I've had the 5822 for about a month
now and could have saved quite a bit of time for myself if I'd actually
looked on the Advantech CD-ROM first, but I'm used to vendor-supplied
drivers being useless.  Note that this is a an Xfree86 3.x driver - Xfree86
4.x users should probably stick to the standard VESA driver for best
results.

Ed

----- Original Message -----
From: "Stefan Willmert" <[email protected]>
To: <[email protected]>
Sent: Tuesday, July 23, 2002 6:00 PM
Subject: Re: [Peeweelinux] Filesystem Issues


> Thanks everyone for your wonderful input. I've been digging into PWL and
learning
> how things work. I've already managed to configure my embedded system,
loaded my
> custom application, and it runs! YEAH!!!!!! (minus a few configuration
issues)
>
> With that, and all your suggestions, I'll have this thing flying in no
time. In case
> anyone cares, for those doing research, I'm using an Advantech PCM-5820
Biscuit
> board with a CompactFlash disk. Advantech doesn't support linux, but the
hardware is
> generic, and so far everything is working great.
>
> On a side note...before discovering PWL, I attempted to create my own
distribution.
> While possible...all i can really say about the experience is
AAARRRRGGGHHHHH!!! A
> few more months and I may have had it. PWL saved me tons of time.
>
> A Big Thanks to the creators of PWL!!!!
>
> Thanks again for all your help.
>
> -stefan
>
> ---- Original Message ----
> From: Troy Engel
> Date: Tue 7/23/02 19:16
> To: [email protected]
> Subject: Re: [Peeweelinux] Filesystem Issues
>
> Stefan Willmert wrote:
> >
> > Now, for my questions:
> > 1. I would like a read-only root filesystem on one partition, and a
read-write
> > 1a. Does anyone have any suggestions on the best way to use a read-write
> partition?
>
> I solved this one by upgrading to kernel 2.4.18 (see my howto in
> previous list archives), and then using ext3 as the filesystem for the
> 3rd "leftover" partition as (mounted as /opt on boot).  Here's a small
> script I use that makes/populates /dev/sda3 after PWL rebuilds the flash
> card:
>
>    #!/bin/sh
>
>    echo "Creating filesystem..."
>    mke2fs -j -b 1024 -m0 /dev/sda3
>
>    echo "Populating filesystem..."
>    mount -t ext3 /dev/sda3 /mnt/usbdev
>    cp -a /usr/local/pwl/Embedded_Build/opt_tree/* /mnt/usbdev/
>
>    echo "Syncing and unmounting..."
>    sync
>    umount /mnt/usbdev
>
> So, of course, this requires you keep the "master" /opt tree on your
> build machine.  Couple this ext3 filesystem with a SanDisk industrial
> grade CF disk, and you're set.  I've had nothing but good luck with ext3
> recovers.
>
> > 2. Is there any documentation on how to use the custom features of
PeeWeeLinux? I
>
> Besides my /opt dealio above, I just make custom .tar files that mimic
> the PWL shipped ones, and throw them right into the mix.  They then show
> up nicely in ./pwlconfig and you can just select them.  See the 2.4.18
> howto, once again, for how I did this. Your mileage may vary. ;)
>
> > 3. In the same regard, certain config files need to be updated during
operation of
>
> Make them symlinks to the files loaded on /opt (or just copy them over
> from /opt on boot) and you're set.  Of course, make sure /opt is mounted
> before doing anything fun. ;)
>
> -te
>
> --
> Troy Engel, Systems Engineer
> "That's what the Internet is for, slandering others anonymously."
>
> _______________________________________________
> 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
>