Skip to contentSkip to conversation

linux-imx (3.0.35): Add Boundary Devices changes for imx6qsabrelite

PATCH Applied Otavio Salvador 3 participants 9 messages Nov 29, 2012 – Nov 30, 2012 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-imx (3.0.35): Add Boundary Devices changes for imx6qsabrelite

We import the changes done in Bondary Devices tree and the defconfig file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b3d5e90d73a3
---
 .../linux-imx-3.0.35/imx6qsabrelite/defconfig      |  272 +
 .../imx6qsabrelite/sync-boundary-changes.patch     | 6903 ++++++++++++++++++++
 recipes-kernel/linux/linux-imx_3.0.35.bb           |    4 +-
 3 files changed, 7178 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch
recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/defconfig new file +272 -0
new file mode 100644
index 0000000..4118cba
@@ -0,0 +1,272 @@
+CONFIG_EXPERIMENTAL=y
+CONFIG_SYSVIPC=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EMBEDDED=y
+CONFIG_PERF_EVENTS=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_ARCH_MXC=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MX6=y
+CONFIG_FORCE_MAX_ZONEORDER=14
+CONFIG_MACH_MX6Q_SABRELITE=y
+CONFIG_IMX_PCIE=y
+CONFIG_USB_EHCI_ARC_H1=y
+CONFIG_MXC_PWM=y
+CONFIG_MXC_REBOOT_MFGMODE=y
+CONFIG_CLK_DEBUG=y
+CONFIG_DMA_ZONE_SIZE=184
+# CONFIG_SWP_EMULATE is not set
+CONFIG_ARM_ERRATA_743622=y
+CONFIG_ARM_ERRATA_751472=y
+CONFIG_ARM_ERRATA_754322=y
+CONFIG_ARM_ERRATA_764369=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_HIGHMEM=y
+CONFIG_COMPACTION=y
+CONFIG_KSM=y
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 ip=off"
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_IMX=y
+CONFIG_VFP=y
+CONFIG_NEON=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_SUSPEND_DEVICE_TIME_DEBUG=y
+CONFIG_PM_RUNTIME=y
+CONFIG_PM_DEBUG=y
+CONFIG_APM_EMULATION=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_INET_LRO is not set
+# CONFIG_IPV6 is not set
+CONFIG_LLC2=y
+CONFIG_CAN=y
+CONFIG_CAN_RAW=y
+CONFIG_CAN_BCM=y
+CONFIG_CAN_VCAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_BT=y
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
+CONFIG_BT_RFCOMM=y
+CONFIG_BT_RFCOMM_TTY=y
+CONFIG_BT_BNEP=y
+CONFIG_BT_BNEP_MC_FILTER=y
+CONFIG_BT_BNEP_PROTO_FILTER=y
+CONFIG_BT_HIDP=y
+CONFIG_BT_HCIUART=y
+CONFIG_BT_HCIUART_LL=y
+CONFIG_CFG80211=y
+CONFIG_MAC80211=y
+CONFIG_RFKILL=y
+CONFIG_RFKILL_INPUT=y
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_CONNECTOR=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_MISC_DEVICES=y
+CONFIG_MXS_PERFMON=m
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_ATA=y
+# CONFIG_SATA_PMP is not set
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_NETDEVICES=y
+CONFIG_TUN=y
+CONFIG_MII=y
+CONFIG_MICREL_PHY=y
+CONFIG_NET_ETHERNET=y
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+CONFIG_HOSTAP=y
+CONFIG_WL12XX_MENU=y
+CONFIG_WL12XX=y
+CONFIG_WL12XX_SDIO=m
+CONFIG_INPUT_POLLDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_INPUT_MOUSE is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_EGALAX=y
+CONFIG_TOUCHSCREEN_FT5X06=y
+CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=y
+CONFIG_TOUCHSCREEN_TSC2004=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_UINPUT=y
+CONFIG_INPUT_ISL29023=y
+CONFIG_VT_HW_CONSOLE_BINDING=y
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_FSL_OTP=y
+CONFIG_HW_RANDOM=y
+CONFIG_MXS_VIIM=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_SENSORS_MAX17135=y
+CONFIG_SENSORS_MAG3110=y
+# CONFIG_MXC_MMA8450 is not set
+CONFIG_WATCHDOG=y
+CONFIG_WATCHDOG_NOWAYOUT=y
+CONFIG_IMX2_WDT=y
+CONFIG_MFD_WM8994=y
+CONFIG_MFD_PFUZE=y
+CONFIG_MFD_MAX17135=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_PFUZE100=y
+CONFIG_REGULATOR_MAX17135=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_VIDEO_DEV=y
+# CONFIG_RC_CORE is not set
+# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
+CONFIG_VIDEO_MXC_CAMERA=m
+CONFIG_MXC_CAMERA_OV3640=m
+CONFIG_MXC_CAMERA_OV5640=m
+CONFIG_MXC_CAMERA_OV8820_MIPI=m
+CONFIG_MXC_CAMERA_OV5642=m
+CONFIG_MXC_CAMERA_OV5640_MIPI=m
+CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
+CONFIG_USB_VIDEO_CLASS=m
+# CONFIG_RADIO_ADAPTERS is not set
+CONFIG_DRM=m
+CONFIG_DRM_VIVANTE=m
+CONFIG_FB=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+# CONFIG_LCD_CLASS_DEVICE is not set
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+# CONFIG_BACKLIGHT_GENERIC is not set
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_FB_MXC_LDB=y
+CONFIG_FB_MXC_MIPI_DSI=y
+CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
+CONFIG_FB_MXC_HDMI=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FONTS=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_USB_AUDIO=y
+CONFIG_SND_SOC=y
+CONFIG_SND_IMX_SOC=y
+CONFIG_SND_SOC_IMX_SGTL5000=y
+CONFIG_SND_SOC_IMX_SPDIF=y
+CONFIG_SND_SOC_IMX_HDMI=y
+CONFIG_HIDRAW=y
+CONFIG_HID_QUANTA=y
+CONFIG_HID_SAMSUNG=m
+CONFIG_HID_SONY=m
+CONFIG_HID_SUNPLUS=m
+CONFIG_USB=y
+CONFIG_USB_DEVICEFS=y
+# CONFIG_USB_DEVICE_CLASS is not set
+CONFIG_USB_SUSPEND=y
+# CONFIG_USB_OTG_WHITELIST is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ARC=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+# CONFIG_USB_EHCI_TT_NEWSCHED is not set
+CONFIG_USB_ACM=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_SERIAL=y
+CONFIG_USB_SERIAL_QUALCOMM=y
+CONFIG_USB_SERIAL_OPTION=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_FILE_STORAGE=m
+CONFIG_USB_G_SERIAL=m
+CONFIG_MXC_OTG=y
+CONFIG_MMC=y
+CONFIG_MMC_UNSAFE_RESUME=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_GPIO=y
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_INTF_DEV_UIE_EMUL=y
+CONFIG_RTC_DRV_SNVS=y
+CONFIG_DMADEVICES=y
+CONFIG_MXC_PXP_V2=y
+CONFIG_IMX_SDMA=y
+CONFIG_MXC_IPU=y
+# CONFIG_MXC_HMP4E is not set
+# CONFIG_MXC_HWEVENT is not set
+CONFIG_MXC_ASRC=y
+CONFIG_MXC_GPU_VIV=y
+CONFIG_MXC_MIPI_CSI2=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
+CONFIG_EXT4_FS=y
+CONFIG_AUTOFS4_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_TMPFS=y
+CONFIG_JFFS2_FS=y
+CONFIG_UBIFS_FS=y
+CONFIG_CRAMFS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_ROOT_NFS=y
+CONFIG_PARTITION_ADVANCED=y
+CONFIG_EFI_PARTITION=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ASCII=m
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_UTF8=m
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_FS=y
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
+CONFIG_CRYPTO_TEST=m
+CONFIG_CRYPTO_CCM=y
+CONFIG_CRYPTO_GCM=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_CTS=y
+CONFIG_CRYPTO_LRW=y
+CONFIG_CRYPTO_PCBC=y
+CONFIG_CRYPTO_XTS=y
+CONFIG_CRYPTO_DES=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_DEV_FSL_CAAM=y
+# CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API is not set
+CONFIG_CRC_CCITT=m
recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch new file +6903 -0

2,728 lines not on this page · raw message

recipes-kernel/linux/linux-imx_3.0.35.bb +3 -1
index 60ec3b0..c183e1e 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.10.4

Part of the diff is not shown here. View the raw message.

#1 lore raw

Gary, Could you, please, test this patch with your sabre lite and your touch panel?

I believe this patch will make your touch screen to work.

Daiane

#2 lore raw
Quoted 4 lines · Daiane Angolini

Gary, Could you, please, test this patch with your sabre lite and your touch panel?

I believe this patch will make your touch screen to work.

Already working on it, please stand by.

#3 lore raw
In reply to Otavio Salvador
Quoted 5 lines · Otavio Salvador

We import the changes done in Bondary Devices tree and the defconfig file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b3d5e90d73a3

This does make my touch screen work, thanks. My camera module (OV5640 based) does not work though, but I've not researched it much yet.

A couple of comments:
* Could you put the changes under mx6q instead of imx6qsabrelite, much like the other files/changes that are present? I ask because I have a derivative platform which has a different name (just sabrelite - I got tired of mistyping imx6qsabrelite) and the patch was not applied until I moved it about.
* More changes are necessary to make this useful for the target "out of the box", in particular:
- U-Boot needs to pass additional command line parameters to make the LCD panel work properly
- I use the micro-SD slot as does the BoundaryDevices setup, but U-Boot only wants to boot from the full size SD card
- The touch screen needs some additional files/tuning for X to work correctly (the X axis is backwards, etc)
- I'll investigate the camera soon (not top on my list yet)
- The recent changes, in particular xf86-video-imxfb-vivante, do not build under Yocto/master which has moved to Xorg server version 1.13.
- Why is GCC not tuned for the Cortex-A9 (currently armv7a is used)? I rebuilt using DEFAULTTUNE = "cortexa9hf-neon"
which works fine and is more in line with other Cortex-A9 platforms, e.g. PandaBoard.

I'll see about proposing patches for all of these soon

Thanks

#4 lore raw
Quoted 13 lines · Gary Thomas
Quoted 6 lines · Otavio Salvador

We import the changes done in Bondary Devices tree and the defconfig file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b3d5e90d73a3

This does make my touch screen work, thanks. My camera module (OV5640 based) does
not work though, but I've not researched it much yet.

Quoted 8 lines

A couple of comments:
* Could you put the changes under mx6q instead of imx6qsabrelite, much like the other
files/changes that are present? I ask because I have a derivative
platform which has
a different name (just sabrelite - I got tired of mistyping
imx6qsabrelite) and the
patch was not applied until I moved it about.

I don´t think this patch must be applied for imx6qsabresd or imx6qsabreauto. I prefer to keep it under imx6qsabrelite.

I understand you have derivative platform based on imx6 sabrelite board. Let´s think a way to cover this kind of thing.

You may up-stream your derivative platform to meta-fsl-arm-extra and proper configure its kernel.

Quoted 4 lines

* More changes are necessary to make this useful for the target "out of the box", in particular:
- U-Boot needs to pass additional command line parameters to make the LCD
panel work properly

You can generate a patch to be applied to your board only.

I don´t think it´s good to change the u-boot default for other boards.

Quoted 3 lines

- I use the micro-SD slot as does the BoundaryDevices setup, but U-Boot
only wants to boot
from the full size SD card

What do you mean?
Are your internal memory properly configured?

Quoted 3 lines

- The touch screen needs some additional files/tuning for X to work
correctly (the X axis
is backwards, etc)

I already saw something like that in the past.
A calibration file is needed under udev rules (as I remember). It´s easy to include this file under meta-fsl-arm and I think it would be great for imx6qsabrelite board.

Quoted 1 line

- I'll investigate the camera soon (not top on my list yet)

Ok, when you do, please, send a different email regarding only this one.

Quoted 3 lines

- The recent changes, in particular xf86-video-imxfb-vivante, do not build
under Yocto/master
which has moved to Xorg server version 1.13.

What do you mean? Is there any log? What was the used branch?

Quoted 13 lines

- Why is GCC not tuned for the Cortex-A9 (currently armv7a is used)? I
rebuilt using
DEFAULTTUNE = "cortexa9hf-neon"
which works fine and is more in line with other Cortex-A9 platforms,
e.g. PandaBoard.

I'll see about proposing patches for all of these soon

Thanks
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#5 lore raw
In reply to Gary Thomas
Quoted 13 lines · Gary Thomas
Quoted 6 lines · Otavio Salvador

We import the changes done in Bondary Devices tree and the defconfig file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b**3d5e90d73a3

This does make my touch screen work, thanks. My camera module (OV5640 based) does
not work though, but I've not researched it much yet.

Quoted 9 lines

A couple of comments:
* Could you put the changes under mx6q instead of imx6qsabrelite, much like the other
files/changes that are present? I ask because I have a derivative
platform which has
a different name (just sabrelite - I got tired of mistyping
imx6qsabrelite) and the
patch was not applied until I moved it about.

It cannot; we need to apply it to the specific machine only and not all mx6q machines.

Quoted 5 lines

* More changes are necessary to make this useful for the target "out of the box", in particular:
- U-Boot needs to pass additional command line parameters to make the
LCD panel work properly

It is better to document it ... I am not sure if we ought to default to enable it or not for sabrelite. What do you think?

Quoted 4 lines

- I use the micro-SD slot as does the BoundaryDevices setup, but U-Boot
only wants to boot
from the full size SD card

We can change it; if you can, please send the patch for us and we apply it on U-Boot branch (
https://github.com/Freescale/u-boot-imx/tree/patches-2012.07)

Quoted 4 lines

- The touch screen needs some additional files/tuning for X to work
correctly (the X axis
is backwards, etc)

If it uses evdev, we might try the newer xinput-callibrator that Mario (a coworker) has send to meta-oe mailing list.

Quoted 2 lines

- I'll investigate the camera soon (not top on my list yet)

Good.

Quoted 4 lines

- The recent changes, in particular xf86-video-imxfb-vivante, do not
build under Yocto/master
which has moved to Xorg server version 1.13.

We're still working for danny so not yet in master; please stay in danny as this is the platform we're using for daily work for now.

Quoted 6 lines

- Why is GCC not tuned for the Cortex-A9 (currently armv7a is used)? I
rebuilt using
DEFAULTTUNE = "cortexa9hf-neon"
which works fine and is more in line with other Cortex-A9 platforms,
e.g. PandaBoard.

hardfloat can be a problem for ABI in some applications.

Quoted 2 lines

I'll see about proposing patches for all of these soon

Very good; please do.

But before looking at patches it is better for us to settle in what ought to be done for defaults...

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#6 lore raw
Quoted 17 lines · Otavio Salvador

On Fri, Nov 30, 2012 at 10:16 AM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-29 08:48, Otavio Salvador wrote:

We import the changes done in Bondary Devices tree and the defconfig file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b__3d5e90d73a3
Signed-off-by Otavio Salvador <[email protected] <mailto:[email protected]>>

This does make my touch screen work, thanks. My camera module (OV5640 based) does not work though, but I've not researched it much yet.

Quoted 8 lines

A couple of comments:
* Could you put the changes under mx6q instead of imx6qsabrelite, much like the other files/changes that are present? I ask because I have a derivative platform which has a different name (just sabrelite - I got tired of mistyping imx6qsabrelite) and the patch was not applied until I moved it about.

It cannot; we need to apply it to the specific machine only and not all mx6q machines.

I didn't see anything in the patch that would break other imx6q devices, plus the way you have it won't work if you wanted to also handle their newer nitrogen boards.

No problem - I can use OVERRIDES to accomplish the same thing. I just add this to my derivative sabrelite.conf:
OVERRIDES_append = ":imx6qsabrelite"

Quoted 6 lines

* More changes are necessary to make this useful for the target "out of the box", in particular:
- U-Boot needs to pass additional command line parameters to make the LCD panel work properly

It is better to document it ... I am not sure if we ought to default to enable it or not for sabrelite. What do you think?

I'll propose some patches once I work out the details. I'll make them target specific.

Quoted 6 lines

- I use the micro-SD slot as does the BoundaryDevices setup, but U-Boot only wants to boot from the full size SD card

We can change it; if you can, please send the patch for us and we apply it on U-Boot branch (https://github.com/Freescale/u-boot-imx/tree/patches-2012.07)

Same with this.

Quoted 6 lines

- The touch screen needs some additional files/tuning for X to work correctly (the X axis is backwards, etc)

If it uses evdev, we might try the newer xinput-callibrator that Mario (a coworker) has send to meta-oe mailing list.

It does use evdev. I have a working config file which I'll also send a patch for.

Quoted 10 lines

- I'll investigate the camera soon (not top on my list yet)

Good.

- The recent changes, in particular xf86-video-imxfb-vivante, do not build under Yocto/master which has moved to Xorg server version 1.13.

Quoted 8 lines

We're still working for danny so not yet in master; please stay in danny as this is the platform we're using for daily work for now.

- Why is GCC not tuned for the Cortex-A9 (currently armv7a is used)? I rebuilt using DEFAULTTUNE = "cortexa9hf-neon"
which works fine and is more in line with other Cortex-A9 platforms, e.g. PandaBoard.

hardfloat can be a problem for ABI in some applications.

It's what Ubuntu (and I think Linaro) are using now. Again, something I can handle in my derivative.

Quoted 7 lines

I'll see about proposing patches for all of these soon

Very good; please do.

But before looking at patches it is better for us to settle in what ought to be done for defaults...

#7 lore raw
Quoted 38 lines · Gary Thomas
Quoted 32 lines · Otavio Salvador

On Fri, Nov 30, 2012 at 10:16 AM, Gary Thomas <[email protected]<mailto:
[email protected]>**> wrote:

On 2012-11-29 08:48, Otavio Salvador wrote:

We import the changes done in Bondary Devices tree and the
defconfig
file provided by them.

Change-Id I63e2d7560735586581fd13d5df60b**__3d5e90d73a3

[email protected].**br <[email protected]>>>

This does make my touch screen work, thanks. My camera module
(OV5640 based) does
not work though, but I've not researched it much yet.

A couple of comments:
* Could you put the changes under mx6q instead of imx6qsabrelite,
much like the other
files/changes that are present? I ask because I have a derivative
platform which has
a different name (just sabrelite - I got tired of mistyping
imx6qsabrelite) and the
patch was not applied until I moved it about.

Quoted 3 lines

It cannot; we need to apply it to the specific machine only and not all mx6q machines.

Quoted 7 lines

I didn't see anything in the patch that would break other imx6q devices, plus the way you have it
won't work if you wanted to also handle their newer nitrogen boards.

No problem - I can use OVERRIDES to accomplish the same thing. I just add this to my derivative sabrelite.conf:
OVERRIDES_append = ":imx6qsabrelite"

Yes; this is the way it can be done. When Boundary Devices send the Nitrogen boards for meta-fsl-arm-extra, we may have an boudarydevices override that share it among the boards however for now, this is the only board from them supported.

Quoted 6 lines

* More changes are necessary to make this useful for the target "out

Quoted 5 lines

of the box", in particular:
- U-Boot needs to pass additional command line parameters to make
the LCD panel work properly

Quoted 6 lines
Quoted 3 lines

It is better to document it ... I am not sure if we ought to default to enable it or not for sabrelite. What do you think?

I'll propose some patches once I work out the details. I'll make them target specific.

Good, thanks.

Quoted 5 lines

- I use the micro-SD slot as does the BoundaryDevices setup, but

Quoted 4 lines

U-Boot only wants to boot
from the full size SD card

Quoted 7 lines
Quoted 5 lines

We can change it; if you can, please send the patch for us and we apply
it on U-Boot branch (https://github.com/Freescale/**
u-boot-imx/tree/patches-2012.**07<https://github.com/Freescale/u-boot-imx/tree/patches-2012.07> )

Same with this.

Good :-)

Quoted 11 lines

- The touch screen needs some additional files/tuning for X to work

Quoted 7 lines

correctly (the X axis
is backwards, etc)

If it uses evdev, we might try the newer xinput-callibrator that Mario (a coworker) has send to meta-oe mailing list.

It does use evdev. I have a working config file which I'll also send a patch for.

Good; please pick Mario's patch in meta-oe mailing list and give it a try. I think it will make calibration just work.

Quoted 20 lines

- I'll investigate the camera soon (not top on my list yet)

Quoted 19 lines

Good.

- The recent changes, in particular xf86-video-imxfb-vivante, do
not build under Yocto/master
which has moved to Xorg server version 1.13.

We're still working for danny so not yet in master; please stay in danny as this is the platform we're using for daily work for now.

- Why is GCC not tuned for the Cortex-A9 (currently armv7a is
used)? I rebuilt using
DEFAULTTUNE = "cortexa9hf-neon"
which works fine and is more in line with other Cortex-A9
platforms, e.g. PandaBoard.

Quoted 5 lines
Quoted 2 lines

hardfloat can be a problem for ABI in some applications.

It's what Ubuntu (and I think Linaro) are using now. Again, something I can handle in my derivative.

We can check it again but it is important to check about ABI of binaries so we can have them really working fine (GPU, VPU and maybe others).

Quoted 9 lines

I'll see about proposing patches for all of these soon

Quoted 6 lines

Very good; please do.

But before looking at patches it is better for us to settle in what ought to be done for defaults...

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br