on a 416 it will not fit if you use 2.6 :-) try using 2.4
Quoting og13270 <[EMAIL PROTECTED]>: > Hi, > My question was "is anyone succeed to put all i need in the flash > memory ?". but after compiling php (2.2Mo), i guess it was not. > Indeed, i have no choice but use external memory to put php. > thanks fo your advice. > > --- In [EMAIL PROTECTED], "gazoox22" <[EMAIL PROTECTED]> wrote: >> >> I have the same (small) board and used the following method to >> implement some more (compiled) files in the system. In this way, I >> compiled and use samba, phyton and php for now. >> >> 1) Enable php (samba, phyton) in the acme configuration. Chose your >> normal board flash size (LX4*16). >> 2) Make sure the compiler made everything right. Your Message should >> go till the creation of the fimage, which says in the end, that the >> image is much too large. But don't care. >> 3) The fimage is created from the target directory >> /target/acme_blabla/ . Not all directorys are saved in the fimage. You >> could compare it with the directory structure on your board to find >> out, which directorys are used in the final image. >> 4) You must find out yourself which files and directorys are necessary >> for php (samba, phyton). Just copy it to an attached memory stick: >> - files in /etc/.. can you copy directly to your running foxboard >> - large files go to the memory stick in a separate directory >> - the directory on the memory stick (which includes the binary and >> perhaps some additional directories) can you mount after booting, >> using the "-o bind" option: >> >> mount -t vfat /dev/sda1 /mnt/1 >> mount /mnt/1/usr /usr -o bind >> >> The mount point (directory) must exist when you mount. Depending on >> location and the php calling from scripts, you must decide, if you >> want to have it in usr/bin or some other non PATH directory (/root/php >> or so) If you want to have it in /usr/bin you must copy all available >> files from this foxboard directory to your memory stick, else they >> aren't available after the mounting. I read a little bit in the man >> pages on my desktop linux. Here it is possible to bind single files to >> an existing directory, but busybox does not support this method :-( . >> So the "overmount" is the only possible solution. If you find a better >> way, plz let me know!!! >> >> The foxboard "boa" httpd webserver doesn't understand <?php ...> tags. >> But I think it could work in combination with cgi shell-scripts. >> >> >> If you find out, how to compile and integrate sqlLite, please let me >> know, too :-) >> >> Greetings >> gazoox >> >> >> --- In [EMAIL PROTECTED], "og13270" <olivier.guillotin@> wrote: >> > >> > Hi, >> > I would like to make a fimage (4M max) with kernel 2.6, PHP and > SQLite. >> > Is ther anyone who does this kind of production ? >> > Thanks. >> > >> > > >
