* [Buildroot] [PATCH 1/2] mx53loco: update support
@ 2014-10-20 7:38 Eric Bénard
2014-10-20 7:38 ` [Buildroot] [PATCH 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53 Eric Bénard
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Eric Bénard @ 2014-10-20 7:38 UTC (permalink / raw)
To: buildroot
- update bootloader to 2014.07 with fslc patches
- update kernel to 2.6.35_maintain branch which contains latest fixes
- defconfig was then generated by savedefconfig which suppressed and
reordered some items which explains the number of lines changed.
Tested on an i.MX53 QSB and an i.MX53 QSB-R
Signed-off-by: Eric B?nard <eric@eukrea.com>
---
configs/mx53loco_defconfig | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig
index 8b12238..6e59e5b 100644
--- a/configs/mx53loco_defconfig
+++ b/configs/mx53loco_defconfig
@@ -1,22 +1,16 @@
-# Architecture
BR2_arm=y
BR2_cortex_a8=y
-BR2_ARM_FPU_VFPV3D16=y
-
-# System
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx53_loco"
-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
-
-# filesystem
-BR2_TARGET_ROOTFS_EXT2=y
-
-# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_2.6.35_maintain"
BR2_LINUX_KERNEL_DEFCONFIG="imx5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx53loco"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Freescale/u-boot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="patches-2014.07"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
--
2.1.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53
2014-10-20 7:38 [Buildroot] [PATCH 1/2] mx53loco: update support Eric Bénard
@ 2014-10-20 7:38 ` Eric Bénard
2014-10-20 8:03 ` [Buildroot] [PATCH 1/2] mx53loco: update support Peter Korsgaard
2014-10-20 8:41 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Eric Bénard @ 2014-10-20 7:38 UTC (permalink / raw)
To: buildroot
this script permits the generation of an sdcard that will boot on
and i.MX53 QSB with a recent bootloader (now supported by buildroot).
Tested on an i.MX53 QSB and an i.MX53 QSB-R
Signed-off-by: Eric B?nard <eric@eukrea.com>
---
board/freescale/imx53loco/create-boot-sd.sh | 1 +
board/freescale/imx6sabresd/create-boot-sd.sh | 8 +++-----
2 files changed, 4 insertions(+), 5 deletions(-)
create mode 120000 board/freescale/imx53loco/create-boot-sd.sh
diff --git a/board/freescale/imx53loco/create-boot-sd.sh b/board/freescale/imx53loco/create-boot-sd.sh
new file mode 120000
index 0000000..3083fd2
--- /dev/null
+++ b/board/freescale/imx53loco/create-boot-sd.sh
@@ -0,0 +1 @@
+../imx6sabresd/create-boot-sd.sh
\ No newline at end of file
diff --git a/board/freescale/imx6sabresd/create-boot-sd.sh b/board/freescale/imx6sabresd/create-boot-sd.sh
index 9930b1e..af45115 100755
--- a/board/freescale/imx6sabresd/create-boot-sd.sh
+++ b/board/freescale/imx6sabresd/create-boot-sd.sh
@@ -7,9 +7,7 @@ PROGNAME=$(basename $0)
usage()
{
- echo "Create an SD card that boots on an i.MX6DL SABRESD board."
- echo "It is supposed to work also for the i.MX6Q SABRESD board, but"
- echo "it this is not tested."
+ echo "Create an SD card that boots on an i.MX53/6 board."
echo
echo "Note: all data on the the card will be completely deleted!"
echo "Use with care!"
@@ -77,8 +75,8 @@ TMPDIR=$(mktemp -d)
# FAT partition: kernel and DTBs
mkfs.vfat ${PART1}
mount ${PART1} ${TMPDIR}
-cp output/images/uImage ${TMPDIR}/
-cp output/images/*.dtb ${TMPDIR}/
+cp output/images/*Image ${TMPDIR}/
+cp output/images/*.dtb ${TMPDIR}/ || true
sync
umount ${TMPDIR}
--
2.1.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] mx53loco: update support
2014-10-20 7:38 [Buildroot] [PATCH 1/2] mx53loco: update support Eric Bénard
2014-10-20 7:38 ` [Buildroot] [PATCH 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53 Eric Bénard
@ 2014-10-20 8:03 ` Peter Korsgaard
2014-10-20 8:31 ` Eric Bénard
2014-10-20 8:41 ` Thomas Petazzoni
2 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2014-10-20 8:03 UTC (permalink / raw)
To: buildroot
>>>>> "Eric" == Eric B?nard <eric@eukrea.com> writes:
> - update bootloader to 2014.07 with fslc patches
fslc? Do you mean Freescale?
> - update kernel to 2.6.35_maintain branch which contains latest fixes
> - defconfig was then generated by savedefconfig which suppressed and
> reordered some items which explains the number of lines changed.
> Tested on an i.MX53 QSB and an i.MX53 QSB-R
> Signed-off-by: Eric B?nard <eric@eukrea.com>
> ---
> configs/mx53loco_defconfig | 24 +++++++++---------------
> 1 file changed, 9 insertions(+), 15 deletions(-)
> diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig
> index 8b12238..6e59e5b 100644
> --- a/configs/mx53loco_defconfig
> +++ b/configs/mx53loco_defconfig
> @@ -1,22 +1,16 @@
> -# Architecture
> BR2_arm=y
> BR2_cortex_a8=y
> -BR2_ARM_FPU_VFPV3D16=y
> -
> -# System
> BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
> -BR2_TARGET_UBOOT=y
> -BR2_TARGET_UBOOT_BOARDNAME="mx53_loco"
> -BR2_TARGET_UBOOT_CUSTOM_GIT=y
> -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
> -
> -# filesystem
> -BR2_TARGET_ROOTFS_EXT2=y
> -
> -# Kernel
I prefer to keep the section comments, but OK.
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_2.6.35_maintain"
_VERSION has to uniquely specify a revision, so it must be a tag or a
sha1 - And not a branch.
So use b3912bb8a4caf3ec50909135e88af959982c43ca instead.
> BR2_LINUX_KERNEL_DEFCONFIG="imx5"
> +BR2_LINUX_KERNEL_ZIMAGE=y
> +BR2_TARGET_ROOTFS_EXT2=y
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARDNAME="mx53loco"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Freescale/u-boot-imx.git"
The github page seems to redirect this to u-boot-fslc - So perhaps use
that instead?
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="patches-2014.07"
Same comment as for the kernel.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] mx53loco: update support
2014-10-20 8:03 ` [Buildroot] [PATCH 1/2] mx53loco: update support Peter Korsgaard
@ 2014-10-20 8:31 ` Eric Bénard
2014-10-20 10:58 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Eric Bénard @ 2014-10-20 8:31 UTC (permalink / raw)
To: buildroot
Hi Peter,
Le Mon, 20 Oct 2014 10:03:00 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :
>
> >>>>> "Eric" == Eric B?nard <eric@eukrea.com> writes:
>
> > - update bootloader to 2014.07 with fslc patches
>
> fslc? Do you mean Freescale?
>
fscl means "Freescale Community" :
http://freescale.github.io/
https://community.freescale.com/welcome
so the suffix -fslc is added to u-boot & linux git trees :
https://github.com/Freescale/u-boot-fslc
https://github.com/Freescale/linux-fslc
> > - update kernel to 2.6.35_maintain branch which contains latest
> > fixes
> > - defconfig was then generated by savedefconfig which suppressed
> > and reordered some items which explains the number of lines
> > changed.
>
> > Tested on an i.MX53 QSB and an i.MX53 QSB-R
>
> > Signed-off-by: Eric B?nard <eric@eukrea.com>
> > ---
> > configs/mx53loco_defconfig | 24 +++++++++---------------
> > 1 file changed, 9 insertions(+), 15 deletions(-)
>
> > diff --git a/configs/mx53loco_defconfig
> > b/configs/mx53loco_defconfig index 8b12238..6e59e5b 100644
> > --- a/configs/mx53loco_defconfig
> > +++ b/configs/mx53loco_defconfig
> > @@ -1,22 +1,16 @@
> > -# Architecture
> > BR2_arm=y
> > BR2_cortex_a8=y
> > -BR2_ARM_FPU_VFPV3D16=y
> > -
> > -# System
> > BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
> > -BR2_TARGET_UBOOT=y
> > -BR2_TARGET_UBOOT_BOARDNAME="mx53_loco"
> > -BR2_TARGET_UBOOT_CUSTOM_GIT=y
> > -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
> > -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
> > -
> > -# filesystem
> > -BR2_TARGET_ROOTFS_EXT2=y
> > -
> > -# Kernel
>
> I prefer to keep the section comments, but OK.
>
make savedefconfig automagically removed the comments.
I you prefer I can manually reintroduce them.
> > BR2_LINUX_KERNEL=y
> > BR2_LINUX_KERNEL_CUSTOM_GIT=y
> > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
> > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
> > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_2.6.35_maintain"
>
> _VERSION has to uniquely specify a revision, so it must be a tag or a
> sha1 - And not a branch.
>
then the help is misleading as it says (for
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION and for
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION) :
"Revision to use in the typical format used by Git/Mercurial
E.G. a sha id, a tag, _branch_ , .. "
> So use b3912bb8a4caf3ec50909135e88af959982c43ca instead.
>
OK will do in v2.
> > BR2_LINUX_KERNEL_DEFCONFIG="imx5"
> > +BR2_LINUX_KERNEL_ZIMAGE=y
> > +BR2_TARGET_ROOTFS_EXT2=y
> > +BR2_TARGET_UBOOT=y
> > +BR2_TARGET_UBOOT_BOARDNAME="mx53loco"
> > +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> > +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Freescale/u-boot-imx.git"
>
> The github page seems to redirect this to u-boot-fslc - So perhaps use
> that instead?
>
OK
> > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="patches-2014.07"
>
> Same comment as for the kernel.
>
OK
Thanks,
Eric
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] mx53loco: update support
2014-10-20 7:38 [Buildroot] [PATCH 1/2] mx53loco: update support Eric Bénard
2014-10-20 7:38 ` [Buildroot] [PATCH 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53 Eric Bénard
2014-10-20 8:03 ` [Buildroot] [PATCH 1/2] mx53loco: update support Peter Korsgaard
@ 2014-10-20 8:41 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-10-20 8:41 UTC (permalink / raw)
To: buildroot
Dear Eric B?nard,
On Mon, 20 Oct 2014 09:38:12 +0200, Eric B?nard wrote:
> -# Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_2.6.35_maintain"
Since we're using 2.6.35, the kernel headers of the toolchain should
also be fixed to 2.6.35, otherwise we're using 3.17 by default which
may cause some issues.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] mx53loco: update support
2014-10-20 8:31 ` Eric Bénard
@ 2014-10-20 10:58 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2014-10-20 10:58 UTC (permalink / raw)
To: buildroot
>>>>> "Eric" == Eric B?nard <eric@eukrea.com> writes:
Hi,
>> fslc? Do you mean Freescale?
>>
> fscl means "Freescale Community" :
fslc ;)
> http://freescale.github.io/
> https://community.freescale.com/welcome
> so the suffix -fslc is added to u-boot & linux git trees :
> https://github.com/Freescale/u-boot-fslc
> https://github.com/Freescale/linux-fslc
Ok, thanks.
>> I prefer to keep the section comments, but OK.
>>
> make savedefconfig automagically removed the comments.
> I you prefer I can manually reintroduce them.
I think it is nicer for consistency, but I can add them as well when
committing.
>> > BR2_LINUX_KERNEL=y
>> > BR2_LINUX_KERNEL_CUSTOM_GIT=y
>> > BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
>> > -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_2.6.35_11.09.01"
>> > +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_2.6.35_maintain"
>>
>> _VERSION has to uniquely specify a revision, so it must be a tag or a
>> sha1 - And not a branch.
>>
> then the help is misleading as it says (for
> BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION and for
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION) :
> "Revision to use in the typical format used by Git/Mercurial
> E.G. a sha id, a tag, _branch_ , .. "
Ahh yes, I'll fix that. The problem about using a branch is that the
downloading infrastructure thinks the branch name uniquely identifies
the code, so it will only download it once even if more commits are
pushed to the branch later.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-20 10:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 7:38 [Buildroot] [PATCH 1/2] mx53loco: update support Eric Bénard
2014-10-20 7:38 ` [Buildroot] [PATCH 2/2] imx6sabresd/create-boot-sd.sh: allow usage for i.MX53 Eric Bénard
2014-10-20 8:03 ` [Buildroot] [PATCH 1/2] mx53loco: update support Peter Korsgaard
2014-10-20 8:31 ` Eric Bénard
2014-10-20 10:58 ` Peter Korsgaard
2014-10-20 8:41 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox