From: Andrei Gherzan <andrei@gherzan.ro>
To: Herve Jourdain <herve.jourdain@neuf.fr>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH v4 4/5] linux-raspberrypi_4.4.inc: support for .dtbo files for dtb overlays
Date: Wed, 15 Jun 2016 01:09:43 +0100 [thread overview]
Message-ID: <20160615000943.GE22479@resin> (raw)
In-Reply-To: <1464641195-88380-5-git-send-email-herve.jourdain@neuf.fr>
[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]
On Tue, May 31, 2016 at 04:46:34AM +0800, Herve Jourdain wrote:
> Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb.
> Patch the kernel, which has faulty rules to generate .dtbo the way yocto does
>
You need an Upstream status here:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
I think this would be interesting to send upstream too.
> Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
> ---
> .../0001-fix-dtbo-rules.patch | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch b/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
> new file mode 100644
> index 0000000..ef04a72
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
> @@ -0,0 +1,27 @@
> +diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> +index a2e7cf7..673c1cb 100644
> +--- a/arch/arm/Makefile
> ++++ b/arch/arm/Makefile
> +@@ -333,6 +333,8 @@ $(INSTALL_TARGETS):
> +
> + %.dtb: | scripts
> + $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
> ++%.dtbo: | scripts
x> ++ $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
> +
> + PHONY += dtbs dtbs_install
> +
> +diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> +index 3079c4f..6cc3766 100644
> +--- a/scripts/Makefile.lib
> ++++ b/scripts/Makefile.lib
> +@@ -293,7 +293,8 @@ $(obj)/%.dtb: $(src)/%.dts FORCE
> + $(call if_changed_dep,dtc)
> +
> + quiet_cmd_dtco = DTCO $@
> +-cmd_dtco = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
> ++cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
> ++ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
> + $(objtree)/scripts/dtc/dtc -@ -H epapr -O dtb -o $@ -b 0 \
> + -i $(dir $<) $(DTC_FLAGS) \
> + -d $(depfile).dtc.tmp $(dtc-tmp) ; \
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Andrei Gherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2016-06-15 0:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 20:46 [meta-raspberrypi][PATCH v4 0/5] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 1/5] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 2/5] sdcard_image-rpi.bbclass: " Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 3/5] rpi-base.inc: " Herve Jourdain
2016-06-15 0:12 ` Andrei Gherzan
2016-06-17 7:50 ` Herve Jourdain
2016-06-17 8:56 ` Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 4/5] linux-raspberrypi_4.4.inc: " Herve Jourdain
2016-06-15 0:09 ` Andrei Gherzan [this message]
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 5/5] " Herve Jourdain
2016-06-14 23:55 ` Andrei Gherzan
2016-06-15 8:05 ` Herve Jourdain
2016-06-14 23:54 ` [meta-raspberrypi][PATCH v4 0/5] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Andrei Gherzan
2016-06-15 5:37 ` Herve Jourdain
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=20160615000943.GE22479@resin \
--to=andrei@gherzan.ro \
--cc=herve.jourdain@neuf.fr \
--cc=yocto@yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.