Hi Ruben,
Am 09.06.2010 um 18:57 schrieb Ruben Viets:
Hi Nikolaus,
Looks like broken yaffs2 when newer ingenic patches are used.
Ah, I see.
May be issue related to v33 patch compatibility issue, as the v33
patch orginates from linux-2.6.24.3-jz-20080530.patch
So this opens up a different strategy: find out what has changed
between the two patches and did break yaffs2.
To do this completely: can you explain the specific symptoms of broken
yaffs2?
BTW: I think we should develop a new minifs and install as yaffs2 (the
Skytone minifs is IMHO a jffs2). For that I have started to work on a
branch of the lenny-400 rootfs.
best regards,
Nikolaus
Grt Ruben.
From: h...@computer.org
To: r_vi...@hotmail.com; mipsbook-devel@linuxtogo.org
Subject: Re: [Mipsbook-devel] yaffs2
Date: Wed, 9 Jun 2010 12:20:29 +0200
Hi Ruben,
I think I have applied linux-2.6.24.3-jz-20100304.patch to my
initial kernel. At least according to the commit log [1]. So my
kernel should already include the most recent yaffs2 - or has
someone broken yaffs2 since linux-2.6.24.3-jz-20080530.patch ?
BR,
Nikolaus
PS: please can you reply to the list?
[1]:
http://projects.goldelico.com/p/letux-400/source/commit/489144439005026584dedd8a4980fac8f45063c4/
Am 08.06.2010 um 21:30 schrieb Ruben Viets:
Hi Nikolaus,
Just two methods to get there.
1) Remove/copy original yaffs2 source
This is more difficult and need debug/modifications as we have
different versions of sources which do not belong to eachother.
To follow this approach we need to know which files are for the
yaffs2 drivers/mtd/nand, fs/yaffs2, include/linux, and more -->
reverse engineering ;-)
The qi-hardware sources also worked 1st time, but after full
recompiling I could not get it working anymore, copied to many
files.....
2) The yaffs2 from linux-2.6.24.3-jz-20080530.patch seems to be ok
and do not need additional patches to get it to work.
Grt Ruben.
CC: r_vi...@hotmail.com
From: h...@goldelico.com
To: mipsbook-devel@linuxtogo.org
Subject: Re: [Mipsbook-devel] Boot process analysed (please comment)
Date: Tue, 8 Jun 2010 20:52:28 +0200
Hi,
that is great!
I think I must now add this all to http://projects.goldelico.com/p/letux-400/source
so that you don't need to do/undo patches :)
Maybe, I can devote some time tomorrow.
BTW: I found that patching the bootargs can be done MIPS-specific
(and not in do_mounts.c). There appears to be a hook called char
arcs_cmdline[CL_SIZE]
BR,
Nikolaus
Am 08.06.2010 um 19:05 schrieb Ruben Viets:
Hi,
Update quickly posted here:
http://projects.kwaak.net/twiki/bin/view/Epc700/KernelPort26Compiling
There is a more easy way to get yaffs working. Start from scratch
and remove patches yaffs2 from v33.
Is there a difference in the results you get or are this just two
different methods to get there?
1)
ftp://ftp.ingenic.cn/3sw/01linux/02kernel/linux-2.6.24/linux-2.6.24.3.tar.bz2
2)
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/linux-2.6.24.3-jz-20080530.patch
3)
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/kernel26cutminibook33_withoutyaffs2.patch
Make manual changes or use commit scripts for below improvements
4) shutdown
http://projects.goldelico.com/p/letux-400/source/commit/74581b4b47c43c181ede4451a0c92798857731b0/
5) touchpad mouse buttons
http://projects.goldelico.com/p/letux-400/source/commit/6b9252d42c8342d3b98da6f46e3f833184af6007/
6) For sound copy below files to sound/oss
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/ak4642en.c
http://projects.kwaak.net/twiki/pub/Epc700/KernelPort26Compiling/jz_i2s.c
Still looking for a workaround of DMA/IRQ from MMC and AIC to get a
stable kernel start from /dev/mmcblk0p2.
Any idea's ?
Grt Ruben.
From: r_vi...@hotmail.com
To: mipsbook-devel@linuxtogo.org
Subject: RE: [Mipsbook-devel] Boot process analysed (please comment)
Date: Sat, 22 May 2010 21:17:29 +0000
Hi Nikolaus,
Yaffs2 give big issues as ard mentioned in the kernel sources we
have patched so far based v33/34 from linuxtogo.org
Our current kernel will mess-up our nands.. oeps.
The yaffs2 stuff from qi-hardware is already patched to work in a
better way.
qi hardware sources (trunk v809)
svn co
http://projects.qi-hardware.com/svn/ingenic-linux-02os-linux-2-6-24-3/trunk
- copying the /include/linux/ and /fs/yaffs2 stuff to our sources.
(I did not copy mtd.h otherwise I had some compiling errors)
- Needed to add some things to the yaffs2 setup in xconfig. Or just
make oldconfig did add them by default.
- Afterwards yaffs2 and yaffs from nand works.
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel