ts-7000
[Top] [All Lists]

Re: [ts-7000] Question on Kernel Build

To:
Subject: Re: [ts-7000] Question on Kernel Build
From: Jim Jackson <>
Date: Mon, 18 Apr 2005 23:20:59 +0100 (BST)

On Mon, 18 Apr 2005, vocemanago wrote:

> Ok, I decided to attempt to pull out the crossbuild tools en force to
> try a Kernel build.
> I dropped in the Linux24 directory from the CD and ...moved into the
> directory and hit Make, then I started getting pelted with a bunch of
> questions, and it was at that point I realized I didn't really know
> the answers.
> Is there a standard build list I missed somewhere?
> Tony
>
>

Here are my notes I compiled while kernel building......


Subject: ts-7200: compiling a kernel (fwd)

uncompress and untar the latest linux24.tgz from the web site

Then edit the linux24/Makefile....

 ....
 HOSTCC          = gcc
 HOSTCFLAGS      = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 CROSS_COMPILE = 
/usr/local/opt/crosstool/arm-linux/gcc-3.3.2-glibc-2.3.2/bin/arm-linux-
 ....

 HOSTCC is what to use to compile the programs needed on the development host.

 HOSTCFLAGS are the flags to use when compiling host executables.

 CROSS_COMPILE variable is used as a prefix to the cross compiler tools
           when actually building the kernel.

Then these.......

 make ts7200_config
 make oldconfig
 make menuconfig
 make dep
 make zImage

         new kernel in    linux24/arch/arm/boot/compressed/vmlinux

 make modules
 INSTALL_MOD_PATH=`pwd`/modules make modules_install

         installs kernel into  linux24/modules


 From a new kernel build you will end up with the new kernel image, and a
new set of modules.

Copy the modules into  /lib/modules/_KERNEL_VERSION_NAME_/

Each Kernel build has a specific version name - the Technologics builds
have names like

  2.4.26-vrs1-cirrus-1-2-1-ts5

For testing copy the new kernel (e.g. vmlinux.bin) to a tftp server area

Reboot the TS-7200 and press ^C to get to the RedBoot prompt.

Check that RedBoot is configured for the your network.

  fconfig -l

and check the IP details.

Then load the new kernel from the tftpserver

RedBoot> load -r -b 0x00218000 -h 192.168.10.80 sc_vmlinux_ts5.bin
Raw file loaded 0x00218000-0x003735cb, assumed entry at 0x00218000
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
......


Test it then when ready install into onboard flash or cfdisk or whatever.



 
Yahoo! Groups Links

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

<*> 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