1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
|
5 |
|
6 |
> I'm trying to setup a linux box on an Advantech PCM-3350, which is an |
7 |
> PC/104 board. |
8 |
> |
9 |
> Follow link for details: |
10 |
> http://www.advantech.com/products/Model_Detail.asp?model_id=1-D6LUW&bu |
11 |
|
12 |
yep used something similar. |
13 |
|
14 |
> I plan to boot everything from the CompactFlash card (128MB). I also |
15 |
> installed 256MB RAM. I will use an I/O and a multiport RS232 card. |
16 |
|
17 |
|
18 |
> I already tried some installations(basically started with slackware, |
19 |
> but also tried others) but always failed. It boots ok into DOS but fails |
20 |
> booting with LiLo(it returned LI 04 - which shall be "sector not |
21 |
> found"). It runs ok if I boot from a rescue floppy and the chroot to |
22 |
> CF's /. |
23 |
|
24 |
Be very careful with your lilo options. Make sure the specify what the boot |
25 |
device is at bootup (not /dev/sda1 when its attached to you card read/ |
26 |
writer). I remeber I did something with the bios=0x84(?) options in lilo to |
27 |
make it work (I had a harddrive and a compact flash to that may of been |
28 |
related). I'll email my former collegue to attempt to obtain the lilo |
29 |
configuration. I do remember facing a similar problem. lba related maybe but |
30 |
I can't remember exactly. |
31 |
|
32 |
Have you tried grub as an alternative? |
33 |
|
34 |
> Then I found on the net someone with similar problems. He(can't find |
35 |
> the link right now) claims that this CPU does not run as i686, but you |
36 |
> have to compile it as i585. And presumely this is the reason of my |
37 |
> problems. |
38 |
|
39 |
I haven't tried processor optimisations. |
40 |
|
41 |
> Now, I have a Gentoo 1.4 running working machine (freshly installed |
42 |
> last week) with a USB card reader which connects the CF card as |
43 |
> /dev/sda1 and I (presumely) don't have problems with that. |
44 |
> I need some help how to prepare a system for basic linux functionality |
45 |
> on the PC/104 platform. When this gets over, I would like to have |
46 |
> compiling tools and RHIDE on the box for easier debugging. I presume |
47 |
> i'll have to compile the kernel for i585 and ripped of any non required |
48 |
> functionality. Would it be better to run it entirely from RAM instead of |
49 |
> running it from CF? |
50 |
|
51 |
Depends on your application. Have you enough spare ram to do this and is the |
52 |
access speed realy critical. By default a lot of ram gets used as a disk |
53 |
buffer anyway- and better still it gets freed if application need it. Measure |
54 |
the performance for your application. There are some fast access compact |
55 |
flash cards around more designed for the photography market. |
56 |
|
57 |
> I would mount the CF for writing settings and some |
58 |
> info. |
59 |
> At the end I would like to have the major work done on the PC/desktop |
60 |
> and only finalize/debug on the PC/104 box. |
61 |
> Don't need fancy things, just working environment. It won't have a |
62 |
> standard display/keyboard on runtime, anyway. |
63 |
|
64 |
Look at the serial conole options for the kernel and lilo if you havent' |
65 |
already. |
66 |
|
67 |
> |
68 |
> How would "crossdev-0.2", "base-layout lite", "uclibc buildroot/ |
69 |
> toolchain", ... help in this process? How to get them? |
70 |
|
71 |
crossdev = emerge crossdev |
72 |
uclibc buildroot = still being worked on although there is an exampe in bug |
73 |
29312 (http://bugs.gentoo.org/show_bug.cgi?id=29312) |
74 |
base-layout lite = still in design phases. |
75 |
|
76 |
If your arch is the same on both machines. Compile binary packages with the |
77 |
correct optimisations and to a binary install onto the compact flash. Use the |
78 |
"env ROOT=(CF mount point)" to install them. Always do a pretend first as I |
79 |
have seen some occasion pecularities where it doesn;t want ot install to |
80 |
$ROOT (ref http://bugs.gentoo.org/show_bug.cgi?id=34887) |
81 |
|
82 |
To save disk space do a bind mount (or symlink) on the CF /usr/share/doc some |
83 |
other documentation directories (/usr/share/info /usr/share/man) to local |
84 |
disk space. |
85 |
|
86 |
|
87 |
> Thanks, |
88 |
> Goran |
89 |
|
90 |
Welcome. Sorry for the delay. |
91 |
|
92 |
- -- |
93 |
|
94 |
Daniel Black |
95 |
- -- |
96 |
Proudly a Gentoo Linux User. |
97 |
GnuPG/PGP signed and encrypted email preferred |
98 |
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8 |
99 |
-----BEGIN PGP SIGNATURE----- |
100 |
Version: GnuPG v1.2.3 (GNU/Linux) |
101 |
|
102 |
iD8DBQE/2QlzTDSbtjKmTcgRAkTVAKCXI6KzaNXOLVPKmAkvPutZsEFqHQCeJwyh |
103 |
9MkNjXv+9Al7gWWKYg1yAA0= |
104 |
=XH2H |
105 |
-----END PGP SIGNATURE----- |
106 |
|
107 |
|
108 |
-- |
109 |
gentoo-embedded@g.o mailing list |