[Yaffs] yaffs2 on kernel 4.15

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ketil Froyn
Date:  
To: yaffs
Subject: [Yaffs] yaffs2 on kernel 4.15
Hi,

I'm trying to get yaffs2 working on Ubuntu 18.04, to run some
experiments with yaffs2 and nandsim. The linux kernel bundled with
Ubuntu is 4.15.0-34-generic (as Ubuntu chooses to call it).

I tried to compile yaffs2, but I got some errors. I found the patches
for recent kernels suggested on this list by Martin Kaiser, and I
applied them, but I still have some problems. The errors I get seem to
be related to timer interface changes made in 4.15. For instance,
init_timer_on_stack() is replaced by timer_setup_on_stack(), the
timer_list struct has changed and the callback function has a
different declaration.

For all I know this may be easy to fix for someone familiar with yaffs
internals, but I'd be dabbling with things I don't understand very
well. Has anyone else done this, or should I take a stab at it myself?

Regards, Ketil