|
|
Re: RE: want to flash something
|
|
07/16/2008 1:14 PM
post10615
|
Re: RE: want to flash something
Oh fantastic David. Thank You so much.
Jeevan
> Jeevan,
>
> Someboot.bin has to be smaller than 19712-256 = 19456K, otherwise the
> tail end will be overwritten by someefs.efs. Also, an IFS can go
> anywhere (just remember that the erase you do to prepare the flash is
> aligned to a sector boundary (use flashctl -p /dev/fs0 -i to see the
> value), an EFS however MUST be written on a sector boundary in order for
> the flash driver to detect it.
>
> If the file someboot.bin was small, for example 3MB, devf will not tell
> you that, as the first EFS starts at the 19MB offset, so /dev/fs0p0 will
> be 19MB in size,regardless of how big someboot.bin actually is.
>
> David
>
> > -----Original Message-----
> > From: Jeevan Mathew [mailto:jmathew@t-online.de]
> > Sent: July 15, 2008 3:19 PM
> > To: general-filesystems
> > Subject: want to flash something
> >
> > :-) David,
> >
> > How can I find out the correct seek and bs values for dd so
> > that I can flash a bootable ifs and (directly ? )after that a
> > non bootable efs ?
> >
> > And if You see this:
> >
> > slay devf-generic
> > devf-generic -s0x20000000,128M
> > waitfor /dev/fs0
> > flashctl -p /dev/fs0 -o 256k -l 49M -e -vvv dd
> > if=someboot.bin of=/dev/fs0 seek=256 bs=1024 dd
> > if=/exec/someefs.efs of=/dev/fs0 seek=19712 bs=1024 dd
> > if=/exec/someotherraw.efs of=/dev/fs0 seek=48384 bs=1024
> >
> > Can You calculate the size in bytes of someboot.bin ?
> >
> > Is someboot.bin = 19.00 MB ?
> >
> > Or can it be <= 19.00 MB ?
> >
> > TIA,
> > Jeevan
> >
> >
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post10562
> >
> >
|
|
|
|
|