From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] configs: mx53loco: Update bootloader and kernel versions
Date: Thu, 26 May 2016 06:25:40 +0300 [thread overview]
Message-ID: <20160526032540.GM2178@tarshish> (raw)
In-Reply-To: <1464207368-22532-1-git-send-email-festevam@gmail.com>
Hi Fabio,
On Wed, May 25, 2016 at 05:16:06PM -0300, Fabio Estevam wrote:
> Update U-boot to the 2016.05 version and the kernel to 4.6.
>
> U-boot 2016.05 needs a patch for fixing an IPU build error.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> ...1-U-Boot-video-ipu_common-fix-build-error.patch | 41 ++++++++++++++++++++++
> configs/mx53loco_defconfig | 20 ++++++-----
> 2 files changed, 53 insertions(+), 8 deletions(-)
> create mode 100644 board/freescale/imx53loco/patches/uboot/0001-U-Boot-video-ipu_common-fix-build-error.patch
>
> diff --git a/board/freescale/imx53loco/patches/uboot/0001-U-Boot-video-ipu_common-fix-build-error.patch b/board/freescale/imx53loco/patches/uboot/0001-U-Boot-video-ipu_common-fix-build-error.patch
> new file mode 100644
> index 0000000..1d39f4e
> --- /dev/null
> +++ b/board/freescale/imx53loco/patches/uboot/0001-U-Boot-video-ipu_common-fix-build-error.patch
> @@ -0,0 +1,41 @@
> +commit c510f2e436008e55a50b063f2180cb1e63984224
> +Author: Peng Fan <van.freenix@gmail.com>
> +Date: Thu Apr 28 10:07:53 2016 +0800
> +
> +video: ipu_common: fix build error
> +
> +Some toolchains fail to build
> +"clk->rate = (u64)(clk->parent->rate * 16) / div;"
> +And the cast usage is wrong.
> +
> +Use the following code to fix the issue,
> +"
> + do_div(parent_rate, div);
> + clk->rate = parent_rate;
> +"
> +
> +Reported-by: Peter Robinson <pbrobinson@gmail.com>
> +Signed-off-by: Peng Fan <van.freenix@gmail.com>
> +Cc: Stefano Babic <sbabic@denx.de>
> +Cc: Fabio Estevam <fabio.estevam@nxp.com>
> +Cc: Tom Rini <trini@konsulko.com>
> +Cc: Anatolij Gustschin <agust@denx.de>
> +Cc: Peter Robinson <pbrobinson@gmail.com>
> +Reviewed-by: Tom Rini <trini@konsulko.com>
> +Tested-by: Peter Robinson <pbrobinson@gmail.com>
Please add your SoB here. And since this patch is upstream, please mention
that in the patch description.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
prev parent reply other threads:[~2016-05-26 3:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-25 20:16 [Buildroot] [PATCH 1/3] configs: mx53loco: Update bootloader and kernel versions Fabio Estevam
2016-05-25 20:16 ` [Buildroot] [PATCH 2/3] configs: mx53loco: Extend to ext4 type Fabio Estevam
2016-05-25 20:16 ` [Buildroot] [PATCH 3/3] imx53loco: Use common script for generating sdcard image Fabio Estevam
2016-05-26 3:25 ` Baruch Siach [this message]
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=20160526032540.GM2178@tarshish \
--to=baruch@tkos.co.il \
--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