ts-7000
[Top] [All Lists]

[ts-7000] Re: Recompiling kernel for TS-7260

To:
Subject: [ts-7000] Re: Recompiling kernel for TS-7260
From: "charliem_1216" <>
Date: Fri, 26 Sep 2008 13:17:51 -0000
Hi Sean  --

--- In  sean <> wrote:
>
> I repeated the kernel recompilation steps as listed in my original
message,
> but
> used the "zImage" target instead of "bzImage".  Findings are inline
below:
> I used the kernel src. from
>
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/tskernel-2.4.26-ts11-src.tar.gz
> The cross compiler I'm using is
>
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc.
> I was advised by Technologic that that's the one they use to compile
their
> 2.4 kernels.
> 
> On Wed, Sep 24, 2008 at 9:35 PM, charliem_1216 <>wrote:
> 
> >   Hi Sean --
> >
> >
> > --- In  <ts-7000%40yahoogroups.com>, sean
machin
> > <smachin1000@> wrote:
> > >
> > > Hi All,
> > >
> > > Has anyone successfully recompiled the 2.4.26-ts11 kernel for the
> > > TS-7260? The kernels I compile crash out when booted.
> >
> > What is crash out? Better description may get better suggestions.
> >
> 
> 
> 
> This is what I get on the serial console after installing the newly
built
> kernel:
> 
> >> TS-SDBOOT - built Jan 26 2007
> >> Copyright (c) 2007, Technologic Systems
> It will display these chars for about 20 seconds, then reboot and
repeat the
> process

OK, looks like you have converted to the fastboot method as described
here, right?
http://www.embeddedarm.com/software/arm-linux-fastboot-ts7300.php

Standard TS-7260 boards use RedBoot AFAIK, but you are trying to boot
from the SD.  There are no kernel messages displayed, so it seems to
be a problem even finding or reading the new kernel image.  Did you
first write the TS fastboot SD image to the card?
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/binaries/ts-images/sdimage.dd.bz2

Also, is this a standard SD card (less than 2G) or a SDHC card?  I
don't believe the TS-SDBOOT ROM code can read SDHC cards.

> .
> .
> > 
> > > Following section 6.1 in Technologic's Linux for ARM user's guide,
> > these
> > > are the steps I used:

Look over the fastboot page linked to above.  There seems to be lots
of 7260 info that would apply to your case.  For example, looks like
you have to have different kernel versions depending on flash size of
your 7260 (ie, nand-2k or not).

> > >
> > > #using the unzipped kernel from
> > >
> >
> >
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/tskernel-2.4.26-ts11-src.tar.gz
> >
> 
> 
> > #edit the Makefile to set CROSS_COMPILE correctly
> > > make ts7260_config
> > > make oldconfig
> > > make dep
> > > make bzImage # can't make vmlinux target as it ends up too big
> > for
> >
> > Try just 'make zImage' here. Then the boot image is in
> > arch/arm/boot/zImage.
> >
> 
> 
> OK, made the zImage target this time, didn't seem to make any
differences.
>
> 
> >
> >
> > Regards, .... Charlie
> >
> > > partition 1
> > > make modules_install INSTALL_MOD_PATH=/home/sean/modules/
> > > make modules INSTALL_MOD_PATH=/home/sean/modules/
> > > cd /media/disk-1/lib/modules/
> > > sudo cp -a /home/sean/modules/lib/modules/2.4.26-ts11/ .
> > > sudo dd if=linux24/arch/arm/boot/zImage of=/dev/sdc1 # the SD
> > card
> > > is /dev/sdc on my host machine
> > >
> >
> 
> >

Regards, ........ Charlie


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

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