--- In .com, "Razvan Ionut
Stoian" <razvan_ionut_ .> wrote:
>
> --- In .com, "j.chitte" <j.chitte@> wrote:
> >
> > --- In .com, "Razvan Ionut
> > Stoian" <razvan_ionut_ stoian@> wrote:
> > >
> > > --- In .com, "j.chitte" <j.chitte@> wrote:
> > > >
> > > > --- In .com, "Razvan Ionut
> > > > Stoian" <razvan_ionut_ stoian@> wrote:
> > > > >
> > > > > --- In .com, Jim Jackson <jj@> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > TS manual states:
> > > > > > >
> > > > > > >
> > > > > > > The root file system used by the Linux OS can be any
of the
> > > > following:
> > > > > > > ✔ 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)
> > > > > > > ✔ 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
> > > > > >
> > > > > > > ✔ 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.