[Yaffs] yaffs on 2.4.26

Nick Bane nick@cecomputing.co.uk
Fri, 1 Oct 2004 10:56:10 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0102_01C4A7A5.42DD2C50
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: 7bit

It might be that the mtd snapshot is upsetting the yaffs interface somehow.

I have never seen this kind of behaviour and I have done a lot of ports.

If you use the 2.4.25 in husaberg.toby-churchill.com/balloon you should be
ok.

Nick
  -----Original Message-----
  From: yaffs-admin@stoneboat.aleph1.co.uk
[mailto:yaffs-admin@stoneboat.aleph1.co.uk]On Behalf Of Dick Chen
  Sent: 29 September 2004 10:37
  To: yaffs@stoneboat.aleph1.co.uk
  Subject: [Yaffs] yaffs on 2.4.26


  Hi:
      I am trying to get yaffs working on my board.

      The Configure is:
      CPU: Samsung S3C44B0X ( ARM )
      OS: uClinux with kernel 2.4.26
      MTD: mtd-snapshot-20040912
      yaffs: downloaded from aleph1 CVS 20040928
      NAND Chip: Samsung K9K1G08U0M ( 128 MByte )

      The problem is: I can not copy large file to the yaffs( e.g about
320k ) when I config yaffs as CONFIG_YAFFS_USE_GENERIC_RW, and smaller files
is ok. However, if i don't use the CONFIG_YAFFS_USE_GENERIC_RW option, lager
file is ok, but if i launch other program when operating yaffs( e.g.
  cp test.wav /mnt/yaffs &
  ls
  ) the console shows "BINFMT_FLAT:reloc outside program
0xce20ce2(0-0x20294/0x19500), killing ls!"

      can anyone help me?

  Regards
  Dich Chen


------=_NextPart_000_0102_01C4A7A5.42DD2C50
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =
size=3D2>It=20
might be that the mtd snapshot is upsetting the yaffs interface=20
somehow.</FONT></SPAN></DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
never seen this kind of behaviour and I have done a lot of=20
ports.</FONT></SPAN></DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
use the 2.4.25 in husaberg.toby-churchill.com/balloon you should be=20
ok.</FONT></SPAN></DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D818465309-01102004><FONT face=3DArial color=3D#0000ff =

size=3D2>Nick</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  yaffs-admin@stoneboat.aleph1.co.uk=20
  [mailto:yaffs-admin@stoneboat.aleph1.co.uk]<B>On Behalf Of </B>Dick=20
  Chen<BR><B>Sent:</B> 29 September 2004 10:37<BR><B>To:</B>=20
  yaffs@stoneboat.aleph1.co.uk<BR><B>Subject:</B> [Yaffs] yaffs on=20
  2.4.26<BR><BR></FONT></DIV>
  <DIV><FONT size=3D2>Hi:</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; I am trying to get yaffs =
working on my=20
  board.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; The Configure is:</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; CPU: Samsung S3C44B0X ( ARM=20
)</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; OS: uClinux with kernel=20
  2.4.26</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; MTD: =
mtd-snapshot-20040912</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; yaffs: downloaded from aleph1 =
CVS=20
  20040928</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; NAND Chip: Samsung K9K1G08U0M ( =
128 MByte=20
  )</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; The problem is: I can not copy =
large file=20
  to the yaffs( e.g about 320k ) </FONT><FONT size=3D2>when I config =
yaffs as=20
  CONFIG_YAFFS_USE_GENERIC_RW, and smaller files is ok. However,&nbsp;if =
i don't=20
  use the CONFIG_YAFFS_USE_GENERIC_RW&nbsp;option, lager file is ok, =
but&nbsp;if=20
  i launch other program when operating yaffs( e.g. </FONT></DIV>
  <DIV><FONT size=3D2>cp test.wav /mnt/yaffs &amp;</FONT></DIV>
  <DIV><FONT size=3D2>ls</FONT></DIV>
  <DIV><FONT size=3D2>) the console shows "BINFMT_FLAT:reloc outside =
program=20
  0xce20ce2(0-0x20294/0x19500), killing ls!"</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; can anyone help =
me?</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>Regards</FONT></DIV>
  <DIV><FONT size=3D2>Dich Chen</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0102_01C4A7A5.42DD2C50--