ts-7000
[Top] [All Lists]

[ts-7000] Re: Cannot boot from CF

To:
Subject: [ts-7000] Re: Cannot boot from CF
From: "j.chitte" <>
Date: Sun, 01 Jun 2008 17:34:15 -0000
--- In  "Razvan Ionut 
Stoian" <> wrote:
>
> --- In  "j.chitte" <j.chitte@> wrote:
> >
> > --- In  "Razvan Ionut 
> > Stoian" <razvan_ionut_stoian@> wrote:
> > >
> > > --- In  "j.chitte" <j.chitte@> wrote:
> > > >
> > > > --- In  "Razvan Ionut 
> > > > Stoian" <razvan_ionut_stoian@> wrote:
> > > > >
> > > > > --- In  Jim Jackson <jj@> wrote:
> > > > > >
> > > > > > 
> > > > > > 
> > > > > > > TS manual states:
> > > > > > >
> > > > > > >
> > > > > > > The root file system used by the Linux OS can be any 
of the 
> > > > following:
> > > > > > > &#10004; JFFS/YAFFS file system image in the on-board 
Flash 
> > > > (if using
> > > > > > > RedBoot, it should
> > > > > > > include the option root=/dev/mtdblock1 to instruct the 
> > kernel 
> > > > to boot
> > > > > > > here)
> > > > > > > &#10004; EXT2 file system image in the Compact Flash 
card 
> > (if 
> > > > using
> > > > > > > RedBoot, it should include
> > > > > > > the option root=/dev/hda)
> > > > > >                      ------^
> > > > > > 
> > > > > > There would normally be a number there, e.g. /dev/hda1
> > > > > > 
> > > > > > > &#10004; NFS root, via Ethernet port (if using 
RedBoot, it 
> > > > should
> > > > > include
> > > > > > > the option root=/dev/nfs
> > > > > > > nfsroot=<IP>:<DIRECTORY> ip=dhcp)
> > > > > > >
> > > > > > > HTH
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > 
> > > > > I tried both options root=/dev/hda and root=/dev/hda1 and 
I 
> > still 
> > > > get
> > > > > kernel panic. 
> > > > > 
> > > > > R
> > > > >
> > > > 
> > > > Well you said you did not have nfs server but that really 
would 
> > help 
> > > > you narrow things down. If you can boot to the root fs via 
nfs 
> > you 
> > > > know it's consistant and that your problem lies with you CF 
> > driver or 
> > > > fs.
> > > > 
> > > > If you dont have nfs I guess that means you are working from 
> > windows. 
> > > > Probably not the best dev platform for a linux target.
> > > > 
> > > > I suggest you get a liveCD of some sort , linux from scratch 
or 
> > > > partedmagic would do. I'm fairly sure both of those will let 
you 
> > boot 
> > > > directly to a system having nfs. Mount your rootfs where 
ever it 
> > sits 
> > > > and export it as nfs. Just a couple of commands really.
> > > > 
> > > > It seems you currently have too many unknowns.
> > > >
> > > 
> > > No, I am not working from Windoze ... Actually I haven't seen a
> > > winbloze machine in a looooong time.
> > > ... and if there is a problem with the CF card driver how 
could it 
> > be
> > > solved? I used the ts2.6 kernel sources for compiling the 
kernel.
> > > 
> > > R
> > >
> > 
> > So if you are on linux why don't you have a nfs server? Set one 
up. 
> > Then you can test your kernel and root-fs. If it works you know 
to 
> > look to the CF driver having eliminated other problems.
> > 
> > At the moment it seems you have an untested kernel, root-fs and 
have 
> > not verified the flash image. All you know is that it does not 
boot.
> > 
> > You need to break the problem down. Just posting "what am I 
missing" 
> > is not likely to get it fixed.
> >
> 
> I got it fixed. The problem was the lack of IDE support in ts'
> sources. I compiled a new kernel (http://jandmworks.com/) and
> everything runs just fine now.
>

Glad you found the problem.

Nice clear guide BTW, unfortunately many of your own links 404 (eg 
your scripts) and a couple of the TS files you link have moved since 
you wrote the guide. Still it's a good starting point. 

thanks.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU