Skip to contentSkip to conversation

Initial support for I.MX6 SabreAuto board

PATCH New Abdul Hussain 2 participants 2 messages Oct 25, 2013 – Oct 28, 2013 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Initial support for I.MX6 SabreAuto board

---
 configs/imx6qsabreauto_defconfig |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 configs/imx6qsabreauto_defconfig
configs/imx6qsabreauto_defconfig new file +16 -0
new file mode 100644
index 0000000..1a3647a
@@ -0,0 +1,16 @@
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
+BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="imx_3.0.35_4.1.0"
+BR2_LINUX_KERNEL_DEFCONFIG="imx6"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6qsabreauto"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.denx.de/u-boot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="77b0e2239a13fa83a745ea9b03994bf780a9738a"
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 Initial support for I.MX6 SabreAuto board

Hi Abdul,

Thank you for your contribution. Even on this very small defconfig I
have a few comments :-)

Quoted 12 lines · Abdul Hussain
---
  configs/imx6qsabreauto_defconfig |   16 ++++++++++++++++
  1 file changed, 16 insertions(+)

create mode 100644 configs/imx6qsabreauto_defconfig

configs/imx6qsabreauto_defconfig new file +0 -0
new file mode 100644
index 0000000..1a3647a

configs/imx6qsabreauto_defconfig line 4

Quoted 4 lines
configs/imx6qsabreauto_defconfig new file +4 -0
@@ -0,0 +1,16 @@
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109=y

We prefer to use the internal toolchain for minimal defconfigs.

I do realize that that means you won't be able to use this defconfig as
a basis for adding the codec and GPU libraries. As a solution, we have decided to also accept 'demo' defconfigs in the future that create a more extensive configuration that shows more of a board's capabilities.

configs/imx6qsabreauto_defconfig line 5

Quoted 1 line
configs/imx6qsabreauto_defconfig new file +1 -0
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y

Why udev and not the default devtmpfs? udev adds a lot of bloat...

configs/imx6qsabreauto_defconfig line 6

Quoted 1 line
configs/imx6qsabreauto_defconfig new file +1 -0
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"

Minor nit: the /dev/ttymxc count patch should come first in the series.

configs/imx6qsabreauto_defconfig line 10

Quoted 4 lines
configs/imx6qsabreauto_defconfig new file +4 -0
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
+BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="imx_3.0.35_4.1.0"

Better to download a tarball from

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/snapshot/imx_3.0.35_4.1.0.tar.bz2

That goes about 10 times faster.

configs/imx6qsabreauto_defconfig line 16

Quoted 6 lines
configs/imx6qsabreauto_defconfig new file +6 -0
+BR2_LINUX_KERNEL_DEFCONFIG="imx6"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6qsabreauto"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="git://git.denx.de/u-boot-imx.git"
+BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="77b0e2239a13fa83a745ea9b03994bf780a9738a"

Why a custom git? AFAICS there are no relevant differences between this
version and the released uboot-2013.10?

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F