From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] YAFFS2 support for buildroot
Date: Thu, 9 Dec 2010 20:33:02 +0100 [thread overview]
Message-ID: <20101209203302.60ee10ac@surf> (raw)
In-Reply-To: <201012082347.55945.robert.szentmihalyi@helvetica-it.com>
Hello Robert,
On Wed, 8 Dec 2010 23:47:55 +0100
Robert Szentmihalyi <robert.szentmihalyi@helvetica-it.com> wrote:
> I have solved that with the attached script for now, which generates
> a patch against a given kernel which contains the yaffs2 code taken
> from the git repository plus a defconfig for our board. I place the
> generated patch in the buildroot directory and set
> BR2_LINUX_KERNEL_PATCH and BR2_LINUX_KERNEL_DEFCONFIG to make use of
> it. This works at least until I have time to think up something
> better :-)
Ok. I haven't either thought on how to integrate well-known kernel
patches. This is probably a topic on which we will work on later.
> Is there a way to pull the sources from the yaffs git repository, or
> will I have to create a pseudo package and place it in the dl
> directory? As I said, my goal is not just to make it work somehow,
> but to create a patch which can be submitted later, so that others
> can benefit from it.
Yes, the GENTARGETS and AUTOTARGETS infrastructure can both pull
sources from a git repository. Something like :
YAFFSTOOLS_SITE = git://foobar.org
YAFFSTOOLS_VERSION = somegitcommitid
See http://buildroot.org/downloads/buildroot.html#generic-reference for
more details
> I did that and I added
> source "fs/yaffs2/Config.in"
> to
> fs/Config.in,
> but the option does not appear under "target filesystem options".
Could you post what you have done exactly ? Because from this
description, it should just work.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2010-12-09 19:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 16:44 [Buildroot] YAFFS2 support for buildroot Robert Szentmihalyi
2010-12-08 19:34 ` Thomas Petazzoni
2010-12-08 22:47 ` Robert Szentmihalyi
2010-12-09 19:33 ` Thomas Petazzoni [this message]
2010-12-10 23:28 ` Robert Szentmihalyi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101209203302.60ee10ac@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox