ts-7000
[Top] [All Lists]

[ts-7000] Re: Making a Debian Root-fs from scratch

To:
Subject: [ts-7000] Re: Making a Debian Root-fs from scratch
From: "j.chitte" <>
Date: Wed, 18 Apr 2012 11:41:03 -0000

--- In  "allgood38" <> wrote:
>
> So the kernel is loaded directly into the SBC memory through RedBoot, and to 
> put a new file-system onto the board, you simply copy a file system over to 
> the root drive (or boot from nfs).
> 
> So how are these root file-systems made? I was looking at Debian (armel 
> binaries) and there is the debootstrap utility to make the root-file system 
> except for things like the nodes in the /dev folder.
> 
> Can anyone point me in the direction of some relevant documentation, or a 
> tutorial?
> 
> Has anyone given this a try?
> 
> Would something like the nodes in the dev folder be populated automatically 
> through udev? Or do the SBC boards not support that?
> 
> Sorry, this is a lot of information all at once, any help is welcome.
> 
> I'm using a TS-7260.
>

I looked at buildroot and it seemed so much trouble to learn I ended up 
following Linux From Scratch. 

I used CTNG project to build a cross-compiler toolchain and built the dozen or 
so packages and 2.6.32.11 kernel with Matt's patches (see files section on the 
left.

( I thought that I'd posted an ctng config in the files section here too, but I 
can't see it right now). 

This meant I could build a recent kernel and use the more efficient EABI. After 
much wasted time I concluded the Maverick Floating Point is so broken in the 
silicon that it's beyond redemption. Stick to soft-float.

Note that most of the base system functionality is done by Busybox which 
provides cut down versions of most command line tools.

I kept a log of what I did but it's far too messy to be called a howto. 

Depending upon what you do you probably don't need a full Debian. For my needs 
I just put in lighttpd web server and gnuplot with some simple hand-rolled 
stuff for the ADC, based on files also posted here. 

You will probably want mdev (small udev replacement) and IRRC, you need a 
couple of lines of rcscripts to create a couple of nodes just after the kernel 
boots. That's simple enough. 

You'll want to read up on Redboot and understand how to boot off NFS to test 
things. Again quite simple , just a bit reading. 

The basics of all that are covered in the TS documentation. 


I've found the config file for CTNG-1.9.2 , I'll upload it after.

Hope that helps.




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

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