Date
1 - 19 of 19
[meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP
Otavio Salvador
Hello,
We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them. The only missing part is the GStreamer codec support that are still being finished and we'll make it available as soon as it is working properly. Adrian Alonso (2): xf86-dri-vivante: Add Vivant DRI driver for Xorg xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs Otavio Salvador (8): firmware-imx: Add 12.09.01 version imx-base.inc: Add iMX6 firmware information imx-lib: Add 12.09.01 version imx-test: Add 12.09.01 version gpu-viv-bin-mx6q: Add Vivant GPU libraries mesa-dri: Change provided set of libraries when building for iMX6 imx-base: Use xf86-video-imxfb-vivant for iMX6 targets xserver-xf86-config: Use Vivant accelerated driver for iMX6 conf/machine/include/imx-base.inc | 3 + recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb | 8 ++ recipes-bsp/imx-test/imx-test.inc | 1 + recipes-bsp/imx-test/imx-test_12.09.01.bb | 8 ++ .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 125 ++++++++++++++++++++ .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb | 9 ++ recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 4 +- recipes-graphics/mesa/mesa-dri_git.bbappend | 4 +- .../xorg-driver/xf86-dri-vivante_12.09.01.bb | 31 +++++ .../Makefile.am-remove-prefixed-include-path.patch | 29 +++++ .../xf86-video-imxfb-vivante_12.09.01.bb | 27 +++++ .../xorg-xserver/xserver-xf86-config/mx6/xorg.conf | 8 +- .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 +- recipes-multimedia/imx-lib/imx-lib.inc | 1 + recipes-multimedia/imx-lib/imx-lib_12.09.01.bb | 8 ++ 15 files changed, 262 insertions(+), 6 deletions(-) create mode 100644 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb create mode 100644 recipes-bsp/imx-test/imx-test_12.09.01.bb create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb create mode 100644 recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb create mode 100644 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb -- 1.7.10.4
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-20 08:11, Otavio Salvador wrote:
Hello,I'll be glad to test this :-) Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it. Thanks
|
|
Otavio Salvador
On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <samoht.yrag@...> wrote:
I am looking at a build failure when building fsl-image-gui (as it depends on mesa-demos) so I'd say for you to use core-image-x11 for now.  Otavio Salvador               O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854        http://projetos.ossystems.com.br
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-20 08:23, Otavio Salvador wrote:
On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <samoht.yrag@... <mailto:samoht.yrag@...>> wrote:Where do I get a recipe for xserver-xorg-module-exa?
|
|
Otavio Salvador
On Tue, Nov 20, 2012 at 7:29 PM, Gary Thomas <samoht.yrag@...> wrote:
On 2012-11-20 08:23, Otavio Salvador wrote:Something is wrong here. Why you needed it?On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <samoht.yrag@... -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-21 03:46, Otavio Salvador wrote:
On Tue, Nov 20, 2012 at 7:29 PM, Gary Thomas <samoht.yrag@...> wrote:The X server failed to start:On 2012-11-20 08:23, Otavio Salvador wrote:Something is wrong here. Why you needed it?On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <samoht.yrag@... # /etc/init.d/xserver-nodm restart Stopping XServer Starting Xserver X.Org X Server 1.11.4 Release Date: 2012-01-27 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.34.9-69.fc13.i686.PAE i686 Current Operating System: Linux sabrelite 3.0.35-12.09.01+yocto+geaaf30e #2 SMP PREEMPT Thu Nov 8 08:19:03 MST 2012 armv7l Kernel command line: console=ttymxc1,115200 root=/dev/ram0 rootfstype=ext3 ramdisk_size=65536 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M Build Date: 20 November 2012 11:23:40AM Current version of pixman: 0.27.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:08:35 2012 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Failed to load module "extmod" (module does not exist, 0) (EE) Failed to load module "dbe" (module does not exist, 0) (EE) Failed to load module "glx" (module does not exist, 0) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) (EE) VIVANTE: Failed to load module "exa" (module does not exist, 0) xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error root@sabrelite:~# Warning: Permanently added '192.168.1.182' (RSA) to the list of known hosts. root@sabrelite:~# opkg list-installed 'xf86*' xf86-input-evdev - 2:2.7.3-r19.0 xf86-video-fbdev - 2:0.4.3-r19.0 xf86-video-imxfb-vivante - 2:12.09.01-r0 Full log attached. What am I missing?
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 9:34 AM, Gary Thomas <samoht.yrag@...> wrote:
On 2012-11-21 03:46, Otavio Salvador wrote:I fixed it locally.The X server failed to start: I am attaching the patch for you to apply locally. It will be fixed in a v2 of the patchset. -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-21 04:45, Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 9:34 AM, Gary Thomas <samoht.yrag@...> wrote:That helped, but then it dies:On 2012-11-21 03:46, Otavio Salvador wrote:I fixed it locally.The X server failed to start: [579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000 FB Base = 0x2b0f9000 FB Offset = (nil) [579761.865] (II) VIVANTE(0): test Initializing EXA [579761.865] Backtrace: [579761.865] Segmentation fault at address 0xc [579761.865] Fatal server error: [579761.865] Caught signal 11 (Segmentation fault). Server aborting [579761.865] [579761.865]
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <samoht.yrag@...> wrote:
... That helped, but then it dies:Good; now we need to fix this. I will take a look on this and I let you know if any news. -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-21 05:21, Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <samoht.yrag@...> wrote:Here's a GDB backtrace: Program received signal SIGSEGV, Segmentation fault. 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so (gdb) bt #0 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so #1 0x2afeca78 in gcoHAL_MapUserMemory () from /usr/lib/libGAL.so #2 0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so #3 0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so Backtrace stopped: previous frame identical to this frame (corrupt stack?) Maybe I'm missing some piece, e.g. loading the video acceleration firmware? n.b. I don't know much about this platform, so I'm a bit in the dark.
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 10:34 AM, Gary Thomas <samoht.yrag@...> wrote:
On 2012-11-21 05:21, Otavio Salvador wrote:It seems to be all done; I am pondering if it might be a problem withHere's a GDB backtrace: our U-Boot; you might try to use Freescale U-Boot and give it a try. -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Gary Thomas <samoht.yrag@...>
On 2012-11-21 05:38, Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 10:34 AM, Gary Thomas <samoht.yrag@...> wrote:I'm using the U-Boot that came with the board.On 2012-11-21 05:21, Otavio Salvador wrote:It seems to be all done; I am pondering if it might be a problem withHere's a GDB backtrace: Should I try the one just built? If so, how (is there a temporary way to try it)?
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 10:53 AM, Gary Thomas <samoht.yrag@...> wrote:
On 2012-11-21 05:38, Otavio Salvador wrote:You can use the .sdcard file generated. It has all set. -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk
<thomas.senyk@...> wrote: I've done a build test as well.It seems you're using fsl-community-bsp. Please do a 'repo sync' so it uses danny branch of Poky. I am not using master at this moment so we finish this step for danny before moving to OE-Core master development (the 1.4 base work). -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Thomas Senyk <thomas.senyk@...>
I've done a build test as well.
toggle quoted messageShow quoted text
compile errors in xf86-video-imxfb-vivante Seems like a version and/or configuration problem. poky, openembedded and fsl-arm are all on master from today. My machine: 64bit ArchLinux
On Tue, November 20, 2012 01:11:02 PM Otavio Salvador wrote:
Hello,
|
|
Thomas Senyk <thomas.senyk@...>
On Wed, November 21, 2012 02:24:00 PM Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 1:18 PM, Thomas SenykDo you mean denzil or danny? I did a fresh 'repo init' using denzil (danny is not an option): repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b denzil All checkouts will be the current HEAD of each denzil branch. For meta-fsl-arm one needs to checkout master, to be able to apply the patches. (e.g. is mesa-dri_8.0.4.bbappend missing on denzil) With that I get errors regarding intending (see log1.log) To be on the safe side, I tried to checkout poky#danny, then another intending error occurs (log2.log) ;) This is actually the reason I switches everything to master ... as I hoped this will bring the 3 repos in line ;) The whole setup with different checkouts and repos and most importantly branches/branch-names is rather confusing to me ;) Greets Thomas
|
|
Otavio Salvador
On Wed, Nov 21, 2012 at 3:03 PM, Thomas Senyk
<thomas.senyk@...> wrote: On Wed, November 21, 2012 02:24:00 PM Otavio Salvador wrote:Danny.On Wed, Nov 21, 2012 at 1:18 PM, Thomas SenykDo you mean denzil or danny? The fsl-community-bsp (branch master) is using danny now and will do it until we release 1.3. I did a fresh 'repo init' using denzil (danny is not an option):poky needs to be in 1.3 (danny) and others will still be master as they're not branched yet. For meta-fsl-arm one needs to checkout master, to be able to apply theRight but use fsl-community-bsp at master (which sets it all right). With that I get errors regarding intending (see log1.log)Ok, let me try to summary it ... (it is confusing indeed): * fsl-community-bsp: * denzil - release 1.2 * master - upcoming 1.3 (based on danny) When we release 1.3, then we'll move to 1.4 (which is being poky's master currently). -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|
Fabio Estevam
On Wed, Nov 21, 2012 at 10:38 AM, Otavio Salvador
<otavio@...> wrote: It seems to be all done; I am pondering if it might be a problem withWhat makes you suspect of a bootloader related issue? Gary, Can you please paste the full kernel log of the system? Regards, Fabio Estevam
|
|
Otavio Salvador
On Thu, Nov 22, 2012 at 10:56 AM, Fabio Estevam <festevam@...> wrote:
On Wed, Nov 21, 2012 at 10:38 AM, Otavio SalvadorIt try to find a base address and it might be have been placed somewhere during SoC initialization however Daiane has tested it with mainline and FSL U-Boot and both has same result. -- Otavio Salvador O.S. Systems E-mail: otavio@... http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
|
|