From: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
To: mjs <mjstork@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] Add new dvb-t board ":Zolid Hybrid Tv Stick"
Date: Wed, 25 Apr 2018 11:45:05 -0300 [thread overview]
Message-ID: <20180425114505.5f34ca05@vento.lan> (raw)
In-Reply-To: <5ae0736a.46a7500a.f10d6.eeaf@mx.google.com>
Em Wed, 25 Apr 2018 14:24:09 +0200
mjs <mjstork@gmail.com> escreveu:
> Op Wed, 25 Apr 2018 08:18:55 -0300
> Mauro Carvalho Chehab <mchehab+samsung@kernel.org> schreef:
>
> > Em Wed, 25 Apr 2018 12:11:10 +0200
> > mjs <mjstork@gmail.com> escreveu:
> >
> > > Op Wed, 25 Apr 2018 06:16:20 -0300
> > > Mauro Carvalho Chehab <mchehab+samsung@kernel.org> schreef:
> > >
> > > > Em Wed, 25 Apr 2018 11:09:50 +0200
> > > > mjs <mjstork@gmail.com> escreveu:
> > > >
> > > > > From 0a3355b47dc465c6372d30fa4a36d1c5db6c0fe2 Mon Sep 17 00:00:00 2001
> > > > > From: Marcel Stork <mjstork@gmail.com>
> > > > > Date: Wed, 25 Apr 2018 10:53:34 +0200
> > > > > Subject: [PATCH] Add new dvb-t board ":Zolid Hybrid Tv Stick".
> > > > >
> > > > > Extra code to be able to use this stick, only digital, not analog nor remote-control.
> > > > >
> > > > > Changes to be committed:
> > > > > modified: em28xx-cards.c
> > > > > modified: em28xx-dvb.c
> > > > > modified: em28xx.h
> > > >
> > > > You forgot to add your Signed-off-by. That's mandatory for patches to
> > > > be acepted.
> > >
> > > Ok, still learning
> > >
> > > >
> > > > >
> > > > > ---
> > > > > em28xx-cards.c | 30 +++++++++++++++++++++++++++++-
> > > > > em28xx-dvb.c | 1 +
> > > > > em28xx.h | 1 +
> > > > > 3 files changed, 31 insertions(+), 1 deletion(-)
> > > >
> > > >
> > > > use git diff against upstream tree. This should be using
> > > > a different paths there, e.g. drivers/media/usb/em28xx/...
> > >
> > > This is actually against the upstream tree, in line with your advice in a previous mail.
> > > After git clone... and ./build, I did not do "make install" but copy-paste out of the /media_build/linux/drivers/media/usb/em28xx
> > > Reason, I do not have an experimental pc and some parts are experimental.
> > > I did not want to take the risk to crash my working pc at this moment in time.
> > >
> > > I will try to work around this problem.
> >
> > Upstream is actually this tree:
> >
> > https://git.linuxtv.org/media_tree.git/
> >
> > The media_build tree is what we call a "backport tree" :-)
>
> I started with "https://linuxtv.org/wiki/index.php/Development:_How_to_submit_patches" in line with your advice in a previous mail.
The first line there at "Patch preparation" says:
"For Kernel media patches, they should be created against the Linux Kernel master linux_media git tree[1]"
[1] With links to: http://git.linuxtv.org/media_tree.git
> Followed the text to "https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device Drivers" basic approach.
I see... here, information were indeed incomplete.
I just updated it.
> Also to "https://git.linuxtv.org/media_build.git/about/"
> I have used "git clone --depth=1 git://linuxtv.org/media_build.git" followed by ./build and copy/paste files mentioned above.
> This is not the required upstream tree ?
There's a similar instruction at media_tree.git/about, with is the one you
would be using instead.
>
> Work around:
> Added the path to all files manually.
> This is acceptable ?
An acceptable workaround would be to create another tree at the place
it untars the driver's tarball (under linux dir), and do the
diffs there.
The ./build script actually does something similar to that, if used
with the --main-git option, but, if you're willing to use it, be
careful to do on a separate clone, as otherwise it may destroy your
work, as it will setup a different environment, and you'll lose
any changes you've made inside that media_build cloned tree.
Thanks,
Mauro
next prev parent reply other threads:[~2018-04-25 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 9:09 [PATCH] Add new dvb-t board ":Zolid Hybrid Tv Stick" mjs
2018-04-25 9:16 ` Mauro Carvalho Chehab
2018-04-25 10:11 ` mjs
2018-04-25 11:18 ` Mauro Carvalho Chehab
2018-04-25 12:24 ` mjs
2018-04-25 14:45 ` Mauro Carvalho Chehab [this message]
2018-04-25 15:26 ` mjs
2018-04-26 19:43 ` [PATCH] [superseded] Add new dvb-t board \":Zolid Hybrid Tv Stick\" mjs
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=20180425114505.5f34ca05@vento.lan \
--to=mchehab+samsung@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mjstork@gmail.com \
/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