<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックVivante and opengl broken on imx6 board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223178#M15252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a prototype board, when ever I try to run an graphical program using vivante drivers the system segfaults. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We suspect, after switching from ddr3 to lpddr2 which caused a memory address change, that the vivante drivers might need to be updated for the change. A basic driver with a linux FB works fine but the accelerated graphics is busted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might this be the cause? Any hints on how to fix? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Nov 2013 00:51:29 GMT</pubDate>
    <dc:creator>kevin_chaves</dc:creator>
    <dc:date>2013-11-23T00:51:29Z</dc:date>
    <item>
      <title>Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223178#M15252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a prototype board, when ever I try to run an graphical program using vivante drivers the system segfaults. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We suspect, after switching from ddr3 to lpddr2 which caused a memory address change, that the vivante drivers might need to be updated for the change. A basic driver with a linux FB works fine but the accelerated graphics is busted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might this be the cause? Any hints on how to fix? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 00:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223178#M15252</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-11-23T00:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223179#M15253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of memory address change did you do? If memory space changed from starting from 0x00000000 to 0x80000000, you'll need to adjust .phys_base addr in platform-viv_gpu.c file for imx6_gpu_data structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 13:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223179#M15253</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2013-11-26T13:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223180#M15254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what we had to change to get the lpddr working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- a/arch/arm/plat-mxc/include/mach/memory.h&lt;/P&gt;&lt;P&gt;+++ b/arch/arm/plat-mxc/include/mach/memory.h&lt;/P&gt;&lt;P&gt;@@ -22,7 +22,7 @@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-#define MX6_PHYS_OFFSET UL(0x10000000)&lt;/P&gt;&lt;P&gt;+#define MX6_PHYS_OFFSET UL(0x80000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm updating the file to be like the IMX6SL define&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.phys_baseaddr = MX6SL_MMDC0_ARB_BASE_ADDR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll let you know if this works, it'll be a Christmas miracle for us!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 00:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223180#M15254</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-11-27T00:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223181#M15255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't quite work, still getting a seg fault with opengl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any logs that might help me figure out why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 19:13:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223181#M15255</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-11-27T19:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223182#M15256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which BSP release are you using ? are you using x11 ? did you tried the unit_test provided in our BSP ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 20:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223182#M15256</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2013-11-28T20:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223183#M15257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll see if i have one, right now we are using something that timesys gave us. We outsourced our board bring up to them. So I'm taking it and integrating in with all our stuff. Right now the video is really choppy only going through the IPU with a framebuffer, I assume since the IPU works the GPU should work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 21:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223183#M15257</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-11-28T21:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223184#M15258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here are the unit tests&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./galRunTest2 ./libgal2DAlphaBlending001.so -c ./galTestCommon.cfg&lt;/P&gt;&lt;P&gt;*ERROR* Failed to construct OS object (status = -27)&lt;/P&gt;&lt;P&gt;Initialize test failed&lt;/P&gt;&lt;P&gt;*snip*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 19:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223184#M15258</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-11-30T19:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223185#M15259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you installing the gpu driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modprobe galcore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 18:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223185#M15259</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2013-12-04T18:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223186#M15260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, I just realized that a few minutes ago, I thought it was included in the vivante package but apparnetly you have to add the module part of it to the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said, it doesn't work at all, the boot process now stops on this "Uncompressing Linux... done, booting the kernel." line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think maybe its failing on this section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return; // adding this to see if the below is a problem.&lt;BR /&gt;#if defined(CONFIG_MXC_GPU_VIV) || defined(CONFIG_MXC_GPU_VIV_MODULE)&lt;BR /&gt; phys_addr_t phys;&lt;/P&gt;&lt;P&gt;if (imx6q_gpu_pdata.reserved_mem_size) {&lt;BR /&gt;&amp;nbsp; phys = memblock_alloc_base(imx6q_gpu_pdata.reserved_mem_size,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SZ_4K, SZ_512M);&lt;BR /&gt;&amp;nbsp; memblock_remove(phys, imx6q_gpu_pdata.reserved_mem_size);&lt;BR /&gt;&amp;nbsp; imx6q_gpu_pdata.reserved_mem_base = phys;&lt;BR /&gt; }&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured since i built a module it should still be able start the kernel but those ifdefs seem ot possibly cause problems during boot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 19:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223186#M15260</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-12-04T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223187#M15261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;The return I added skips that section, seems to work, up until I reach this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.769373] Galcore version 4.6.9.6622&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I locks up again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 19:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223187#M15261</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-12-04T19:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223188#M15262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i edit the memory space, arch/arm/plat-mxc/include/mach/memory.h is the correct file to make that modification?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like i went from 0x10000000 to 0x80000000&lt;/P&gt;&lt;P&gt;-#define MX6_PHYS_OFFSET UL(0x10000000)&lt;/P&gt;&lt;P&gt;+#define MX6_PHYS_OFFSET UL(0x80000000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could be looking at the wrong thing though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 19:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223188#M15262</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-12-04T19:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223189#M15263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does your u-boot config file look like (include/configs/...)? Are you building galcore as built-in driver or as a kernel module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 07:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223189#M15263</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2013-12-05T07:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223190#M15264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building the GALCORE as a module, here is our config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifndef __CONFIG_H&lt;BR /&gt;#define __CONFIG_H&lt;/P&gt;&lt;P&gt;#define CONFIG_MX6&lt;BR /&gt;#define CONFIG_MX6Q&lt;/P&gt;&lt;P&gt;#include "mx6_common.h"&lt;/P&gt;&lt;P&gt;#define CONFIG_DISPLAY_CPUINFO&lt;BR /&gt;#define CONFIG_DISPLAY_BOARDINFO&lt;/P&gt;&lt;P&gt;#define CONFIG_MACH_TYPE 4546&lt;/P&gt;&lt;P&gt;#include &amp;lt;asm/arch/imx-regs.h&amp;gt;&lt;BR /&gt;#include &amp;lt;asm/imx-common/gpio.h&amp;gt;&lt;/P&gt;&lt;P&gt;#define CONFIG_CMDLINE_TAG&lt;BR /&gt;#define CONFIG_SETUP_MEMORY_TAGS&lt;BR /&gt;#define CONFIG_INITRD_TAG&lt;/P&gt;&lt;P&gt;/* Size of malloc() pool */&lt;BR /&gt;#define CONFIG_SYS_MALLOC_LEN&amp;nbsp; (CONFIG_ENV_SIZE + 2 * 1024 * 1024)&lt;/P&gt;&lt;P&gt;#define CONFIG_BOARD_EARLY_INIT_F&lt;BR /&gt;#define CONFIG_MXC_GPIO&lt;/P&gt;&lt;P&gt;#define CONFIG_MXC_UART&lt;BR /&gt;#define CONFIG_MXC_UART_BASE&amp;nbsp; UART2_BASE&lt;/P&gt;&lt;P&gt;/* SPI Flash */&lt;BR /&gt;#define CONFIG_IMX_ECSPI&lt;BR /&gt;#define CONFIG_CMD_SF&lt;BR /&gt;#define CONFIG_SPI_FLASH&lt;BR /&gt;#define CONFIG_SPI_FLASH_SPANSION&lt;BR /&gt;#define CONFIG_MXC_SPI&lt;BR /&gt;#define CONFIG_SF_DEFAULT_BUS 0&lt;BR /&gt;#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(2, 30)&amp;lt;&amp;lt;8))&lt;BR /&gt;#define CONFIG_SF_DEFAULT_SPEED 25000000&lt;BR /&gt;#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)&lt;BR /&gt;#undef MAX_SPI_BYTES&lt;BR /&gt;#define MAX_SPI_BYTES&amp;nbsp; (64 * 4)&lt;BR /&gt;#define CONFIG_SPI_FLASH_BAR&lt;/P&gt;&lt;P&gt;/* MMC Configs */&lt;BR /&gt;#define CONFIG_FSL_ESDHC&lt;BR /&gt;#define CONFIG_FSL_USDHC&lt;BR /&gt;#define CONFIG_SYS_FSL_ESDHC_ADDR 0&lt;BR /&gt;#define CONFIG_SYS_FSL_USDHC_NUM 2&lt;/P&gt;&lt;P&gt;#define CONFIG_MMC&lt;BR /&gt;#define CONFIG_CMD_MMC&lt;BR /&gt;#define CONFIG_GENERIC_MMC&lt;BR /&gt;#define CONFIG_BOUNCE_BUFFER&lt;BR /&gt;#define CONFIG_CMD_FAT&lt;BR /&gt;#define CONFIG_CMD_EXT2&lt;BR /&gt;#define CONFIG_DOS_PARTITION&lt;/P&gt;&lt;P&gt;#define CONFIG_CMD_PING&lt;BR /&gt;#define CONFIG_CMD_DHCP&lt;BR /&gt;#define CONFIG_CMD_MII&lt;BR /&gt;#define CONFIG_CMD_NET&lt;BR /&gt;#define CONFIG_FEC_MXC&lt;BR /&gt;#define CONFIG_MII&lt;BR /&gt;#define IMX_FEC_BASE&amp;nbsp;&amp;nbsp; ENET_BASE_ADDR&lt;BR /&gt;#define CONFIG_FEC_XCV_TYPE&amp;nbsp; RMII&lt;BR /&gt;#define CONFIG_FEC_MXC_PHYADDR&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;/* allow to overwrite serial and ethaddr */&lt;BR /&gt;#define CONFIG_ENV_OVERWRITE&lt;BR /&gt;#define CONFIG_CONS_INDEX&amp;nbsp; 2&lt;BR /&gt;#define CONFIG_BAUDRATE&amp;nbsp;&amp;nbsp; 115200&lt;/P&gt;&lt;P&gt;/* Command definition */&lt;BR /&gt;#include &amp;lt;config_cmd_default.h&amp;gt;&lt;/P&gt;&lt;P&gt;#undef CONFIG_CMD_IMLS&lt;/P&gt;&lt;P&gt;#define CONFIG_BOOTDELAY&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;#define CONFIG_LOADADDR&amp;nbsp;&amp;nbsp; 0x80800000&lt;BR /&gt;#define CONFIG_SYS_TEXT_BASE&amp;nbsp; 0x87800000&lt;/P&gt;&lt;P&gt;#define CONFIG_EXTRA_ENV_SETTINGS \&lt;BR /&gt; "script=boot.scr\0" \&lt;BR /&gt; "uimage=uImage\0" \&lt;BR /&gt; "console=ttymxc1\0" \&lt;BR /&gt; "fdt_high=0xffffffff\0" \&lt;BR /&gt; "initrd_high=0xffffffff\0" \&lt;BR /&gt; "mmcdev=0\0" \&lt;BR /&gt; "mmcpart=1\0" \&lt;BR /&gt; "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \&lt;BR /&gt; "mmcargs=setenv bootargs console=${console},${baudrate} " \&lt;BR /&gt;&amp;nbsp; "root=${mmcroot}\0" \&lt;BR /&gt; "loadbootscript=" \&lt;BR /&gt;&amp;nbsp; "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \&lt;BR /&gt; "bootscript=echo Running bootscript from mmc ...; " \&lt;BR /&gt;&amp;nbsp; "source\0" \&lt;BR /&gt; "loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \&lt;BR /&gt; "mmcboot=echo Booting from mmc ...; " \&lt;BR /&gt;&amp;nbsp; "run mmcargs; " \&lt;BR /&gt;&amp;nbsp; "bootm\0" \&lt;BR /&gt; "netargs=setenv bootargs console=${console},${baudrate} " \&lt;BR /&gt;&amp;nbsp; "root=/dev/nfs " \&lt;BR /&gt;&amp;nbsp; "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \&lt;BR /&gt; "netboot=echo Booting from net ...; " \&lt;BR /&gt;&amp;nbsp; "run netargs; " \&lt;BR /&gt;&amp;nbsp; "dhcp ${uimage}; bootm\0" \&lt;BR /&gt; "load_uboot=echo loading U-Boot to ${loadaddr} from mmc...; " \&lt;BR /&gt;&amp;nbsp; "mmc rescan; " \&lt;BR /&gt;&amp;nbsp; "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} u-boot.imx\0" \&lt;BR /&gt; "flash_uboot=echo flashing U-Boot from ${loadaddr}...; " \&lt;BR /&gt;&amp;nbsp; "sf probe; " \&lt;BR /&gt;&amp;nbsp; "sf erase 0 0x40000; " \&lt;BR /&gt;&amp;nbsp; "sf write ${loadaddr} 0x400 0x40000\0" \&lt;BR /&gt; "upgrade_uboot=run load_uboot flash_uboot\0" \&lt;/P&gt;&lt;P&gt;#define CONFIG_BOOTCOMMAND \&lt;BR /&gt; "mmc dev ${mmcdev};" \&lt;BR /&gt; "mmc dev ${mmcdev}; if mmc rescan; then " \&lt;BR /&gt;&amp;nbsp; "if run loadbootscript; then " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "run bootscript; " \&lt;BR /&gt;&amp;nbsp; "else " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "if run loaduimage; then " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "run mmcboot; " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "else run netboot; " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "fi; " \&lt;BR /&gt;&amp;nbsp; "fi; " \&lt;BR /&gt; "else run netboot; fi"&lt;/P&gt;&lt;P&gt;#define CONFIG_ARP_TIMEOUT 200UL&lt;/P&gt;&lt;P&gt;/* Miscellaneous configurable options */&lt;BR /&gt;#define CONFIG_SYS_LONGHELP&lt;BR /&gt;#define CONFIG_SYS_HUSH_PARSER&lt;BR /&gt;#define CONFIG_SYS_PROMPT&amp;nbsp; "MX6Q CAMARO U-Boot &amp;gt; "&lt;BR /&gt;#define CONFIG_AUTO_COMPLETE&lt;BR /&gt;#define CONFIG_SYS_CBSIZE&amp;nbsp; 256&lt;/P&gt;&lt;P&gt;/* Print Buffer Size */&lt;BR /&gt;#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)&lt;BR /&gt;#define CONFIG_SYS_MAXARGS&amp;nbsp; 16&lt;BR /&gt;#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_MEMTEST_START 0x80000000&lt;BR /&gt;#define CONFIG_SYS_MEMTEST_END&amp;nbsp; 0x80010000&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_LOAD_ADDR&amp;nbsp; CONFIG_LOADADDR&lt;BR /&gt;#define CONFIG_SYS_HZ&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P&gt;#define CONFIG_CMDLINE_EDITING&lt;/P&gt;&lt;P&gt;/* Physical Memory Map */&lt;BR /&gt;#define CONFIG_NR_DRAM_BANKS&amp;nbsp; 1&lt;BR /&gt;#define PHYS_SDRAM&amp;nbsp;&amp;nbsp; MMDC1_ARB_BASE_ADDR&lt;BR /&gt;#define PHYS_SDRAM_SIZE&amp;nbsp;&amp;nbsp; (1u * 1024 * 1024 * 1024)&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_SDRAM_BASE&amp;nbsp; PHYS_SDRAM&lt;BR /&gt;#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR&lt;BR /&gt;#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_INIT_SP_OFFSET \&lt;BR /&gt; (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)&lt;BR /&gt;#define CONFIG_SYS_INIT_SP_ADDR \&lt;BR /&gt; (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_NO_FLASH&lt;/P&gt;&lt;P&gt;#define CONFIG_ENV_IS_IN_SPI_FLASH&lt;BR /&gt;#define CONFIG_ENV_SECT_SIZE&amp;nbsp; (256 * 1024)&lt;BR /&gt;#define CONFIG_ENV_SIZE&amp;nbsp;&amp;nbsp; CONFIG_ENV_SECT_SIZE&lt;BR /&gt;#define CONFIG_ENV_OFFSET&amp;nbsp; (1024 * 1024)&lt;BR /&gt;#define CONFIG_ENV_SPI_BUS&amp;nbsp; CONFIG_SF_DEFAULT_BUS&lt;BR /&gt;#define CONFIG_ENV_SPI_CS&amp;nbsp; CONFIG_SF_DEFAULT_CS&lt;BR /&gt;#define CONFIG_ENV_SPI_MODE&amp;nbsp; CONFIG_SF_DEFAULT_MODE&lt;BR /&gt;#define CONFIG_ENV_SPI_MAX_HZ&amp;nbsp; CONFIG_SF_DEFAULT_SPEED&lt;/P&gt;&lt;P&gt;#define CONFIG_OF_LIBFDT&lt;BR /&gt;#define CONFIG_CMD_BOOTZ&lt;/P&gt;&lt;P&gt;#endif&amp;nbsp;&amp;nbsp;&amp;nbsp; /* __CONFIG_H */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 15:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223190#M15264</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2013-12-05T15:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223191#M15265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you gotten a chance to look at the uboot config? Do you need any more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about the exact issue now but I think i have an issue with reserving memory for the gpu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This particular block of code seems to cause the system to stop booting. I'm still trying to understand what this is for. DMA? What could cause this to fail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;phys_addr_t phys;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if (imx6q_gpu_pdata.reserved_mem_size) {&lt;BR /&gt;&amp;nbsp; phys = memblock_alloc_base(imx6q_gpu_pdata.reserved_mem_size,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SZ_4K, SZ_512M);&lt;BR /&gt;&amp;nbsp; memblock_remove(phys, imx6q_gpu_pdata.reserved_mem_size);&lt;BR /&gt;&amp;nbsp; imx6q_gpu_pdata.reserved_mem_base = phys;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 14:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223191#M15265</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2014-01-13T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223192#M15266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm having a similar problem with a customer's board.&amp;nbsp; It's a modified SABRE reference design, one of the key changes being:&amp;nbsp; LPDDR2!&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have the system booting successfully with 3.0.35 kernel in a "non-GPU" setup that works fine on 2 different displays (a 4.3" and a 2.7").&amp;nbsp; However, toggling on the GPU causes the same hang you see @ Boot time. &lt;/P&gt;&lt;P&gt;&amp;nbsp; I too suspect the code referenced in the thread that does this memory allocation.&amp;nbsp; The customer's "board file" did not have this code initially present and was missing some key data structures.&amp;nbsp; Adding this all back (referenced from the SABRE SD board file), it's still a no-go. &lt;/P&gt;&lt;P&gt;&amp;nbsp; I already changed the MX6_PHYS_OFFSET - per another thread (and patch).&amp;nbsp; This gets the kernel to run/boot OK (which means u-boot setup is "in-sync" as well).&amp;nbsp; With the GPU enabled, there's no booting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Agreed that this code seems to be suspect in some way, though not sure why.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Which kernel version are you using for setup?&lt;/P&gt;&lt;P&gt;Can anyone @ FSL address this?&amp;nbsp; CPU is a imx6D.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stephen Beckwith&lt;/P&gt;&lt;P&gt;Embedded Linux Engineer&lt;/P&gt;&lt;P&gt;Timesys Corp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 19:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223192#M15266</guid>
      <dc:creator>stephenbeckwith</dc:creator>
      <dc:date>2014-01-13T19:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223193#M15267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, this has now be &lt;STRONG&gt;FIXED&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;Here's the scoop:&amp;nbsp; Yes, it's a memory problem.&amp;nbsp; Since the board is using LPDDR2, this shifts the Memory Map for the device up by 2G (0x80000000).&amp;nbsp; Even though one needs to make the changes in 2 places:&lt;/P&gt;&lt;P&gt; - /arch/arm/plat-mxc/include/mach/memory.h&amp;nbsp;&amp;nbsp;&amp;nbsp; change MX6_PHYS_OFFSET to be 0x80000000&lt;/P&gt;&lt;P&gt; - /arch/arm/plat-mxc/devcies/platform-viv_gpu.c&amp;nbsp;&amp;nbsp;&amp;nbsp; change the .phys_baseaddr in the imx_viv_gpu_data structure to also be 0x80000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently the memory manager &lt;EM style="text-decoration: underline;"&gt;still&lt;/EM&gt; needs to be told that memory to be used is &amp;gt; 2G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the board file, this line in the&amp;nbsp; _reserve() function:&lt;/P&gt;&lt;P&gt;phys = memblock_alloc_base(imx6q_gpu_pdata.reserved_mem_size,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SZ_4K, SZ_512M);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Needs to be modified to:&lt;/P&gt;&lt;P&gt;phys = memblock_alloc_base(imx6q_gpu_pdata.reserved_mem_size,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SZ_4K,&lt;STRONG&gt; (SZ_2G + SZ_1G)&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;This 3rd parameter, per the function definition, is the "max size of memory".&amp;nbsp; Since this board has 1GB (which I was using previously as the parameter&amp;nbsp; and still getting a kernel crash), I simply added in the +2GB offset caused by the use of the LPDDR2 and the shift it causes in the memory mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And VOILA!!!&amp;nbsp; We have liftoff - the kernel now boots and loads the GPU up and I am now getting some Graphical output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stephen Beckwith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 21:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223193#M15267</guid>
      <dc:creator>stephenbeckwith</dc:creator>
      <dc:date>2014-01-16T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante and opengl broken on imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223194#M15268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quake arena here I come&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 21:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-and-opengl-broken-on-imx6-board/m-p/223194#M15268</guid>
      <dc:creator>kevin_chaves</dc:creator>
      <dc:date>2014-01-16T21:11:07Z</dc:date>
    </item>
  </channel>
</rss>

