--- In "Robert P. J. Day" <> wrote:
>
> On Thu, 7 May 2009, j.montornes wrote:
>
> > Thanks a lot for your help. It has been great to discover that the
> > problem was a lack on the kernel that I was using, so I've decided
> > that it was good time to learn how compile a kernel for ARM :-)
> >
> > I've succeed to compile a 2.6.27.4 kernel (with matt patch available
> > in Files section) and boot in using NFS root filesystem. Next step
> > will be try to boot from flash...
>
> would you be able to document the process you went through, step by
> step, so others can reproduce it?
Not sure what process Mr. Montornes used, but this general process works for me
(big picture, not keystroke-by-keystroke):
* Download appropriate 'matt' patch (from files section of the yahoo group, or
http://mcrapet.free.fr/)
* Download appropriate kernel source (kernel.org)
* Unpack kernel
* Apply some or all the patches from matt's patchset
* Copy matt's ts7200_defconfig to linux-2.6.x.y/arch/arm/configs
* Edit makefile to select CROSS, point to your ARM toolchain, and
* make ts7200_defconfig
* make menuconfig
* make
* install kernel & modules into your nfsroot. In my case, kernel goes to
/home/ccm/public_html/zImage-2.6.x.y, and modules go to
/home/armel-rootfs/lib/modules/2.6.x.y/
I load development kernels via http:
load -v -r -b 0x218000 -h 192.168.2.1 -m http /~ccm/zImage-2.6.29-rc6
And I use nfsroot:
exec -c "root=/dev/nfs nfsroot=192.168.2.1:/home/armel-root-fs
console=ttyAM0,115200 ip=192.168.2.30"
Here 192.168.2.1 is the nfs server and http server; and 192.168.2.30 is the
TS-7250 board. Be sure your boot scripts in your root-fs don't reconfigure
eth0 to a different ip, or you'll lose your nfs connection and wonder why the
boot stops.
It's been a while since I put a kernel in flash, so I'll let someone else chime
in here about that.
regards, .......... Charlie
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day Waterloo, Ontario, CANADA
>
> Linux Consulting, Training and Annoying Kernel Pedantry.
>
> Web page: http://crashcourse.ca
> Linked In: http://www.linkedin.com/in/rpjday
> Twitter: http://twitter.com/rpjday
> ========================================================================
>
------------------------------------
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/
|