Hi, the attached patch adds kernel support for 4.9.x to 4.19.x to the multi version. It is well tested for the 4.14 series and I have it running on 4.19.1. The solution for 4.17+ I added is not the best one, it works, but there may be side effects. This patch is made on top of the git master branch commit 3439fa4e. greetings, Akiko On 2018-09-13 20:48, Ketil Froyn wrote: > 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