I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / Gateway/AOL Connected Touch Pad
Newbie with questions

New MessageNewbie with questions (modified 0 times) gssincla
Profile
Hello All...

ok, i'm a newbie with these boxes, so i could use a bit of help please.

I installed the Midori linux .20 beta for gwaol by codeman just to see how all of this works.. and i must say, works like a champ!!!! thank you codeman! But i was wondering how can i do something like that? I've seen people talking about installed different distos of linux on these cards, but how? maybe i'm missing like 50 posts that spell it out clearly (really, that wouldnt surprise me at all!), but i dont quite get it.

dont get me wrong, i'm not a linux newbie.. but i've never done embedded before.. i usually just do the complete systems and servers... so i'm feeling really lost.

second question concerns the image i just installed on the card. how can i go in and modify files on that image? i put the card back in my reader (I have one of those SanDisk reader/writers for usb... neat little toy) and i cant seem to mount it. i was using mount /dev/sda1 /mnt/cf (where /mnt/cf is my mount point i made). but it tells me it cant find a filesystem type. ive seen mention of this cramfs but dont know anything about it... so pointers would be great please :)

ok, i've bugged you guys enough for one post. thank you all for your help with this.

greg.

10-20-2001 09:58:29

New MessageRE:Newbie with questions (modified 0 times) Ricko73
Profile | Email
Hi--

I'm far from an expert (I haven't gotten Midori to compile correctly), but I do know the theory behind it. This is all explained better on the midori website. http://midori.transmeta.com so I would suggest going there (which you will have to if you want to play.

Basically, the Midori system is designed for small devices but is very powerful. The CF has 4 partitions(though you can put more on if you desire). part1 and 2 are identical (incase one gets corrupted, it will still boot). They are stored using the packcramfs which allows them to be pulled out of memory as needed and expanded into the physical memory (ramfs) for use. No one to my knowledge has extracted the first two partitions, but you can build your own system using Midori. AS long as you have a RH system, preferrably running 6.2 or 7.1 (With a bunch of patches).

I gave up with Midori until I get more help bc I have Slack 8 installed and running great on two machines that both failed with RH 7.1 or the new Roswell versions.

If you are familiar with compiling and compilation errors, I do have one for you to look over that may explain what I am doing wrong with Slack 8....or what may need to be changed in the makefile.

Thanks,


Ricko
10-20-2001 20:39:35

New MessageRE:Newbie with questions (modified 0 times) gssincla
Profile
Thanx for the advice... i downloaded the beta 3 from the midori site... nice interface... like that whole web configuration thing.

but for some reason after i did my compile and install, the gateway box boots up with all of these "needs to be mounted" warnings/errors/somethings after a lot of the init.d scripts and then it goes into a midori test suite of some sort. after you tell it to exit, it tells you to reboot. and i cant seem to reboot (my ctrl-alt-del on my keyboard doesnt seem to do it right).. so i never got it to go to X. oh well.. but hey, at least i'm getting there.. thank you!!!! :)


as for what you are experiencing Ricko, sure, post the errors and i'll see if i can be of any help. i only use RH.. just because thats what i started on and have been to lazy to change (hey, at least i'm honest, right?)... but i'll see if i can point out anything.

thanx again!

greg.

10-21-2001 06:33:28

New MessageRE:Newbie with questions (modified 0 times) Ricko73
Profile | Email
Greg-

There are options in the webconfig that allow you to turn the test suite on and off. Turn it off. The other thing you can do is after you have the machine up and running (you get X with an xterm up), pop in ifconfig (to get the IP address) then go to another machine and use a web browser to see what you can all affect :) You can change network settings etc. All you do is xxx.xxx.xxx.xxx:80 (put the IP address of the machine, at port 80) into the web browser and go crazy. you can turn on passwords etc in the webconfig file.

For my purposes I'd prefer to have the machine setup with a login...What I'm working on is getting the GCTP up as an Xterm, then have writeable space and all applications on a central server. What I really need to do this is the contents of the first partition on the flash. With those libraries and the Xserver file, I should be able to do what I want to do.

Here is the end of the output file. I have a script file that is 1mb in length that contains everything from the beginning of compiling.

make: Leaving directory `/storage/midori-1.0.0-beta3/cache/build/packcramfsconfig-0.1/src'
cd $ROOT ; find . -newer $BUILD/$PACKAGE/.now -ls
date
date
/storage/midori-1.0.0-beta3/cache/scripts/mlz /storage/midori-1.0.0-beta3/apps/packcramfsupgrade-0.2_ML1.0.0-beta3-8.mlz
make: Entering directory `/storage/midori-1.0.0-beta3/cache/build/mlinstall-0.2/src'
gcc -o write_partition write_partition.c
gcc -Wall -W -o elfcat elfcat.c -lbfd -liberty
/usr/lib/libbfd.so: undefined reference to `htab_find_slot_with_hash'
/usr/lib/libbfd.so: undefined reference to `htab_create'
/usr/lib/libbfd.so: undefined reference to `htab_delete'
collect2: ld returned 1 exit status
make: *** [elfcat] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/storage/midori-1.0.0-beta3/cache/build/mlinstall-0.2/src'
make: *** [/storage/midori-1.0.0-beta3/apps/packcramfsupgrade-0.2_ML1.0.0-beta3-8.done] Error 2


Ricko
10-21-2001 08:04:01

New MessageRE:Newbie with questions (modified 0 times) Ricko73
Profile | Email
I found some more stuff in the script file output from my "make". Looks like I may have a problem with gcc.

checking build system type... i686-pc-linux-gnu
checking for i686-ml-linux-ar... i686-ml-linux-ar
checking for i686-ml-linux-ranlib... i686-ml-linux-ranlib
checking for gcc... /storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/xgcc -B/storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/
checking whether we are using GNU C... yes
checking whether /storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/xgcc -B/storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/ginstall -c
Appending /storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66/libiberty/config/../../config/mh-x86pic to xhost-mkfrag
checking how to run the C preprocessor... /lib/cpp
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking whether the C compiler (/storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/xgcc -B/storage/midori-1.0.0-beta3/cache/build/gcc-2.91.66/gcc-2.91.66.obj/gcc/ -O -Dinhibit_libc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1

make: Leaving directory `/storage/midori-1.0.0-beta3/cache/build/packcramfsconfig-0.1/src'
cd $ROOT ; find . -newer $BUILD/$PACKAGE/.now -ls
date
date
/storage/midori-1.0.0-beta3/cache/scripts/mlz /storage/midori-1.0.0-beta3/apps/packcramfsupgrade-0.2_ML1.0.0-beta3-8.mlz
make: Entering directory `/storage/midori-1.0.0-beta3/cache/build/mlinstall-0.2/src'
gcc -o write_partition write_partition.c
gcc -Wall -W -o elfcat elfcat.c -lbfd -liberty
/usr/lib/libbfd.so: undefined reference to `htab_find_slot_with_hash'
/usr/lib/libbfd.so: undefined reference to `htab_create'
/usr/lib/libbfd.so: undefined reference to `htab_delete'
collect2: ld returned 1 exit status
make: *** [elfcat] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/storage/midori-1.0.0-beta3/cache/build/mlinstall-0.2/src'
make: *** [/storage/midori-1.0.0-beta3/apps/packcramfsupgrade-0.2_ML1.0.0-beta3-8.done]


Ricko
10-21-2001 08:22:20

New MessageRE:Newbie with questions (modified 0 times) gssincla
Profile
yeah looks like your compiler or linker isnt happy about something... my suggestion is to first try...

make distclean

and let it recompile the dev. kit. See if that clears up your compiler's "cant create executables" issue.

i've tried to rebuild my beta 3 distro without the test suite and for some reason, it keeps installing it.. grrr.. so i'm trying beta 2.. which i cant get to compile.. again, grrr... i'm having it do the make distclean because i think i screwed up something (this would not suprise me). hope to have it up and running shortly.

i think i have one of those silly HPNA cards in my box :( i'll have to wait for pay day to try out your remote admin idea.... i cant wait to get this thing on my internal network. i have a home automation system i've built from X10 components and a rather nifty network of computers and appliances.. i plan to make this my "control center." so the sooner i can get this online, the better.

let me know how that make distclean works... if that doesnt work out, we'll try something new :)

greg.

10-21-2001 20:00:30

New MessageRE:Newbie with questions (modified 0 times) Ricko73
Profile | Email
Greg--

Tried that. Which I thought I had before, but still no luck. I actually tried making just the elfcat.c file alone and got the same output.

I'm pretty much throwing in the towel on Midori for now. I don't ahve the time to repartition just to install some version of RH that Midori likes. Just not worth my time. I'll go back to what I was planning on doing, using bootp and booting over the network. I may have more success that way. All I'm planning on doing is using this as an X terminal anyway.

Good luck,


Ricko
10-22-2001 20:16:04

New MessageRE:Newbie with questions (modified 0 times) chaezewhiz
Profile | Email
Ricko,
Midori does seem to be pretty picky about the build environment. I could build beta2 on a rh6.2 just fine. Then beta 3
came out with the bonus that it could compile on rh7.1....err no. It would not compile. I went back to rh6.2 and it works
fine again. If you have a 1gig partition laying around, just install rh6.2. The only effort after that is maybe getting
your cf drive to work. My sandisk sddr31 worked fine though.

Good luck,

Now, where is wireless....he kinda dropped off the BBS

-chaeze


Miracle in a Can
10-24-2001 22:58:25

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3