I think your problem is that you don't have a proper console set up and
/ or that you aren't connecting to the NFS properly.
You will need /dev/ttyAM0 in your rootfs
mknod /dev/ttyAM0 c major minor
Also, in your /etc/securetty add /dev/ttyAM0
add console=ttyAM0,115200 to your exec
also, use a full(er) ip= setting,
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>
append ',port=2049' to the nfsroot= part
As long as you get some output you're ok... if you have any problems
with the /etc/init stage, just try getting into the shell first with
'init=/bin/sh'
~/Chris
kmoore37918 wrote:
> I'm trying to get linux 2.6.?? (something new enough to run hal, and
> eventually, be able to talk to SD cards) running on a ts-7260.
>
> What I'd really like to do is start with a kernel and file system that
> someone else already has working. Then I could use that to bootstrap
> a custom kernel and file system that fits the needs of my application,
> using a current,native toolchain.
>
> So far I've tried two things:
>
> 1. setting up the OpenEmbedded environment and building a distribution
> using "bitbake bootstrap-image"
>
> 2. downloading
> http://ynezz.ibawizard.net/ts7250/oe/zImage-2.6.22.6-r0-ts72xx-20070906203102.bin
> and
> http://ynezz.ibawizard.net/ts7250/oe/Angstrom-minimalist-image-mtdutils-glibc-ipk-2008.1-test-20070907-ts72xx.rootfs.tar.bz2
>
> in both cases I've (a) put the kernel image file on an http server,
> (b) extracted the rootfs tarball onto an NFS server, (c) set up
> /etc/exports on the server to allow the rootfs to be mounted, (d) run
> "exportfs -a" on the NFS server, (e) on the 7260, loaded the kernel
> using
>
> load -v -r -b 0x00218000 -m http -h 192.168.0.3 /zImage-xxx.bin
>
> and (f) tried to boot the kernel using
>
> exec -c "ip=192.168.0.50 nfsroot=192.168.0.3:/path/to/rootfs"
>
> and in both cases what I get is:
>
> Using base address 0x00218000 and length 0x00165xxx (this varies)
>
> Uncompressing
> Linux.............................................................(dots
> go off the edge of the screen)
>
> ...and nothing after that. And I can't ping the CPU board, so it's
> not merely a case of the console output going to the wrong place or
> being at the wrong baud rate.
>
> One thing that puzzles me is that neither of the root file systems I
> have tried has a /dev/ttyAM0 entry. So I don't know what to tell the
> kernel to use as a console device, and I was hoping it would have a
> reasonable compiled-in default. Do these kernels support the serial
> port that's connected to the DB9 connector as a console? Has the
> device name changed since 2.4?
>
> If I have to build my own toolchain and do the patches by hand to get
> this up and going, fine, but I get the impression that at least one of
> these two kernels should work, and I'm missing something more
> fundamental here.
>
>
>
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/
|