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