ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: How can I compile and ultimately load a needed kernel

To:
Subject: Re: [ts-7000] Re: How can I compile and ultimately load a needed kernel module for my TS-7300?
From: "Alvaro Aguirre" <>
Date: Mon, 2 Oct 2006 23:33:22 -0400
If you try to build a not so big project in the ts7300 will take 10 minutes, and in the x86 2 minutes... compile the whole kernel? good luck.
If the cross compiling stuff is your problem try scratchbox ( http://www.scratchbox.org/) it's a more natively approach... it generates a sandbox with a cross compiler, but it makes it transparent for you, it's like be in a ARM machine and also you can run your ARM programs inside it.

But one of your questions has not been answered... once you have the kernel binary, how you put it on the ts7300? (for thew people that doesn't know it the ts7300 doesn't boot with redboot so you don't have access to the "fis load vmlinux")... Can be the kernel image put inside the sd card? if i want to boot a rootstrap outside the arm machine with nfs and without redboot, can it be done?

On 10/2/06, dustinharriman <> wrote:

--- In ts-7000%40yahoogroups.com, Curtis Monroe <> wrote:
>
> This site has a script that downloads, compiles and install a
cross-compiler
> for you:
>
> http://kegel.com/crosstool
>
> TS uses this one.

Thank you Curtis!

OK, stupid followup question I can't resist asking:

Instead of getting into the complications of learning to
cross-compile, why wouldn't I instead just natively compile the kernel
in the TS-7300 itself, using the gcc, glibc, etc. that TS included in
their pre-installed debian image? Of course, the ARM CPU is much
slower than my PC's, but I can get decent disk IO if I compile in an
NFS share from my linux PC. So hopefully it will only take like half
a day. ;)

In other words, is the cross-compiler stuff below somehow necessary,
or just an alternative route to compiling natively that yields faster
compile times (thereby making it preferred)?

Cheers,
Dustin

My Blog: http://ca.blog.360.yahoo.com/dustinharriman
RSS Feed:
http://ca.blog.360.yahoo.com/rss-RkGSoVA1brWtXrVH9Gr5CzgVujwwGg--?cq=1

"Freedom is not the capacity to do whatever we please; freedom is the
capacity to make intelligent choices" -Francis Moore Lappe


__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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