|
Re: LAB - which jffs2 is working ?: msg#00063linux.ports.h2200
On 3/15/06, Philipp H. Mohr <phm4-eQnPN5D1UZ61Qrn1Bg8BZw@xxxxxxxxxxxxxxxx> wrote: > > Hello, > > On Tue, 14 Mar 2006, Matt Reimer wrote: > > > This image should work: > > > > http://sermons.desiringgod.org/oe/images/gpe-image-v0.8.3-h2200.rootfs.jffs2 > > > > Note that you'll need to put an appropriate /boot/labrun on the jffs2 > > fs after you install it, or use a serial cable to get LAB to boot from > > it by hand. When I get a chance, I'll put the /boot/labrun file in the > > jffs2 image. > > > > See the "Step 2" section of > > http://www.handhelds.org/moin/moin.cgi/HpIpaqH2200LAB for an example > > of what should be in the /boot/labrun file. > > thank you for your help Matt --- great work. > > The flashing as described in the wiki seemed to have worked, at least it > said it wrote some thing ;-) But when I try to mount mtdblock3 I get the > error below. > > root@h2200:~# mount -t jffs2 /dev/mtdblock3 /mnt/test > mount: Mounting /dev/mtdblock3 on /mnt/test failed: No such device > > btw: /mnt/test exists That sounds like the kernel doesn't have the right MTD modules built-in. What kernel were you running when this happened? Did /dev/mtdblock3 exist? > I also tried to boot into it through LAB, when I take the SD card out I > get the following, which is expected: > > > > >> Booting now. > >> Looking for filesystems... > >> Trying "/dev/mmc/blk0/part1"... failed > >> Trying "/dev/mtdblock/3"... ok, but no zImage. > >> No bootable filesystems found! > boot> So at this point you had already written the jffs2 image to flash? Which method did you use (LAB or flash_eraseall/nandwrite)? > If I try to copy the zImage accross manually I get the following: > > > > boot> copy fs:/mnt/boot/zImage fs:/zImage > Copying [fs:/mnt/boot/zImage] to [fs:/zImage] ... > fs: getcheck: Sorry, /mnt/boot/zImage seems to be missing - or at > least, not stat'able. > Source [fs] rejected filename "/mnt/boot/zImage". > boot> > > > Wasn't sure if mtdblock3 was mounted at that point, so I tried to mount it > manually: > > boot> mount /dev/mtdblock3 /mnt > lab: mount -t jffs2 /dev/mtdblock3 /mnt failed with errno -2 > > same for: > > boot> mount /dev/mtdblock/3 /mnt > lab: mount -t jffs2 /dev/mtdblock/3 /mnt failed with errno -2 > boot> These -2 errors mean "No such file or directory." Strange--that sounds like it's not detecting your flash memory. I wonder if you have different flash chips in your h2200, and they aren't being seen? Would you send me full dmesg output from boot? That will help me to see if the flash is being detected. > No luck with the mounting. Do I have to format the mtdblock3 first before > i can copy GPE accross !? The "flash_eraseall" or "erasemtd" does the erasing/formatting. > Thank you very much. You're welcome! Matt |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: LAB - which jffs2 is working ?: 00063, Philipp H. Mohr |
|---|---|
| Next by Date: | Re: LAB - which jffs2 is working ?: 00063, Philipp H. Mohr |
| Previous by Thread: | Re: LAB - which jffs2 is working ?i: 00063, Philipp H. Mohr |
| Next by Thread: | Re: LAB - which jffs2 is working ?: 00063, Philipp H. Mohr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |