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 / MSN Companion
build kit question

New Messagebuild kit question (modified 0 times) RatBastard
Profile
I'm having a weird problem with the build kit (wildwildwes') that I can't figure out.

I put some files in midori_3/root/usr/bin/X11 in the build kit, backed out to midori_3, did a ./build, and voila, I've got a midori.img.

If I take that image, burn it to my ia1, boot it, and do "cd /usr/bin/X11" the file isn't there. Neither are most of the files that appear in the buildkit.

It's clearly not the same directory.

There's also a root.work in my midori_3. It seems more likely that ./build is making its /usr partition from that.

Obviously, I am misunderstanding something fundamental about the build kit.

Can someone explain which "root" is really the image source, or explain to me what I'm missing? Thanks!

04-16-2002 18:36:53

New MessageRE:build kit question (modified 0 times) dc2xt
Profile
I put a Midori image on the internal flash. Worked, great...
Then I built my own and set the root device in the kernel to /dev/hdc1
so that I would boot from a 16 Meg external flash card. Worked.
Then I added drivers to the root, but could never find 'em after boot.

Long story short: I booted the kernel from CF, but then everything else
was mounted from hda (the old stuff). I copied the image to hda and changed
the root back to hda1 and now I can get my files.

I never found out how to make the build kit boot from CF.
Any ideas?

04-29-2002 14:47:11

New MessageRE:build kit question (modified 0 times) wildwildwes
Profile
The root.work is created from root when you build the image. I think your problem is that the X11 folder points to /usr/X11R6/bin (which on your computer is on your hard drive), and you are copying the files to your own computer instead of the directory in the kit.

For the external flash card, there are several scripts in /sbin that specifically mention hda. You need to change them to hdc in addition to the changes you've already made in the kernel. Try grepping hda in /sbin to see what files you need to edit.

05-01-2002 21:21:30

New MessageRE:build kit question (modified 0 times) dc2xt
Profile
I did grep through everything in the usual places, I made the changes to init, thaw, and freeze. No dice. The string "/dev/hda" also occured in a helper binary in ./target. I binary edited that too, and again: no dice. I concluded the only way to do it is to get the complete midori and spend some time with it. I currently do not have the time, so I resigned to using hda.

If anybody knows a shortcut to booting off of the CF as hdc, I would appreciate it.

05-03-2002 16:17:19

New MessageRE:build kit question (modified 0 times) neptune
Profile
dc2xt,

Take a look at the 4th post in http://www.linux-hacker.net/cgi-bin/UltraBoard/UltraBoard.pl?Action=ShowPost&Board=MSNCompanion&Post=475
where I documented how to get Midori to boot off of hdc.

Note ignore step 6: I found that if you set the boot order to be A: first, C: second and D: Third, it will boot off of the CF if it is inserted and the internal Sandisk flash if there is no CF in the slot. Not sure why, but it works - YMMV.

05-03-2002 17:19:33

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