ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7500 install new kernel to SD card

To:
Subject: [ts-7000] Re: ts-7500 install new kernel to SD card
From: "alexeyvdovin" <>
Date: Wed, 30 Jun 2010 07:03:51 -0000
--- In  "Derek" <> wrote:
>
> 
> 
> --- In  "alexeyvdovin" <av.nnov@> wrote:
> >
> > Hi all!
> > 
> > Is it possible to write new kernel directly to SD card partition /dev/nbd2 ?
> > 
> > For exapmle using 
> > dd if=newkernel of=/dev/nbd2
> > 
> > ---
> > BR
> > Alexey
> >
> 
> Short answer:
> Yes.
> 
> Long answer:
> Yes, as long as you are booted to fastboot/initrd.  See ts7500.subr for 
> examples.
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7500-linux/binaries/ts-scripts/ts-scripts-jun012010/ts7500.subr
> 
> Best Regards,
> Derek Hildreth
> Embedded Systems Engineer
> Technologic Systems
>

In short it works.

Details of story:
On the linux PC I've build new kernel zImage for ts-7500 SBC. This PC is far 
away from me and from SBC, so I can't insert mSD to USB reader and copy files. 
I looking for some way how to copy new zImage to SD card without using 
additional linux PC.

My steps now:
(SBC booted to Debian)
1. build zImage and modules on linux PC
2. install modules on linux PC
3. tar installed modules
4. ftp zImage and modules to SBC
5. untar modules on SBC into /lib/modules
6. copy zImage to nbd2 using dd if=zImage of=/dev/nbd2
7. reboot SBC

New kernel loaded.

Is there any pros and cons ?

---
BR
Alexey



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

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