ts-7000
[Top] [All Lists]

Re: [ts-7000] ts7800 mounting and rootfs - and then upgrading it all

To:
Subject: Re: [ts-7000] ts7800 mounting and rootfs - and then upgrading it all
From: Heinrich du Toit <>
Date: Thu, 28 Feb 2008 09:09:03 +0200
Ok so I figured out that mounting mtdblock1 is BAD idea
And that is corrupts the kernel and makes my flash unbootable :(


Luckily I have the bootable SD card and could fix this by doing:

cd /devkit/binaries/ts-kernels
dd if=Image-7800-initrdroot of=/dev/mtdblock1 bs=4096

Not sure if this is 100% correct.
Also not sure where in the manuals I missed the "DO NOT MOUNT MTDBLOCK1" 
part?

I see the date on my sd card for the kernels is Oct 5 2007
While the date on the ftp site is 18 Jan 2008
Is there a big difference? different kernel? ABI?

I still don't understand this ABI stuff really... guess I will have to 
learn the hard way


Heinrich du Toit wrote:
>
> Hi
>
> I recently got my ts-7800 board.
> I'm new to all this and a bit confused...
>
> So I'm gonna ask some stupid questions.
>
> If I type "mount" on the ts7800
> I get the following:
>
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw,default)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
>
> Where is the root fs?
> how does that part work?
>
> Then I've tried to mount /dev/mtdblock1-3
> 1 and 2 works.
> 2 seems ok.
> In 1 there is nothing?? Shouldn't there be an kernel image?(according to
> ts-7800-gs-sheet.pdf)
> 3 can't mount - so I guess it's the rootfs or something?
>
> I actually got the nfs thing working :)
> Just it seems my usernames/permissions doesn't synchronize very well
> between the ts7800 and my host PC. but I can live with that.
>
> Then there is the whole crappy eabi and oabi thing. :(
>
> In short what is the downside of cross-compiling with the oldabi compiler?
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/cross-toolchains/ts7800-crosstool-linux-oldabi-0.28rc39.tar.bz2
>  
> <ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/cross-toolchains/ts7800-crosstool-linux-oldabi-0.28rc39.tar.bz2>
>
> Then on the SD disk I got (2GB - devkit) there is
> debian-etch-eabi-armel-512MB-oct042007.tar.gz
>
> I figured this is the upgrade system so that I can compile dynamically
> with eabi compiler ?
> What I find weird is that there is no kernel image in that file?
> Also no where is there any instructions on how I would go about on
> "upgrading" my ts7800 to this armel thing.. I don't really want to nuke
> the board by doing something wrong here.
>
> Any reason why I should not upgrade to armel?
> It still have bugs?
>
> Then in the cross-toolchains directory there are 3 different compilers I
> can choose from.
> Any clues on which to use?
> Will the 2007q1 version work? (I see it has gcc 4.1.x)
> I probably need armel for that also or need to link statically?
>
> Then lastly about cross-compiling... I guess this is another stupid
> question.
>
> Say I've now figured out all this previous stuff.
> Now I want to compile a program that needs to link to a certain library.
> libreadline5 for example.
> How do I get all this right to get the cross-compiler on my host PC to
> link to an ARM version of this library? static or dynamically...
>
> one last question: uptime gives the wrong amount of days
>
> Thanks
> -Heinrich
>
>  



 
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