imx6

Build U-Boot SPL for custom board

谁都会走 提交于 2020-01-05 05:01:08
问题 I have built a custom board with a iMX6 Processor. Unfortunately i have not stripped out the Bootloader Config pins. They are still unconnected BGA-Balls. I do have access to UART1-3, JTAG and SD-Card interface and also to the BOOT0 and BOOT1 pins. No i would like to start a U-Boot. Therefore i have ported or added my own board to the configs. I can build U-Boot successfull (not tested on the board yet). Then i thought, i could download u-boot into the internal RAM of the i.MX6. unfortunately

Can I get debug information on USB?

做~自己de王妃 提交于 2019-12-24 10:35:56
问题 Currently I am working on yocto OS for my project. My question regarding debug. In normal practice the debug information is entertained through serial. I aware about ssh debug. I have two question.... Why normally every device support debug on serial port? Is there any possible way to get debug through USB PORT(with out using serial to USB converter) in Yocto? 回答1: Because serial driver can be simple and implementing without interrupts (how Linux kernel console actually does). This is a

How to strip down my Yocto Linux?

江枫思渺然 提交于 2019-12-23 03:42:34
问题 I would like to strip down my Yocto Linux before put in it to flash. Unneeded software, man pages, POCO sample codes and other documentation just waste resource, especially on the i.MX28 EVK with only 128MB flash. My local.conf file looks following: $ gedit conf/local.conf & ... IMAGE_INSTALL_append = " poco nginx canutils vsftpd curl fcgi spawn-fcgi net-snmp util-linux ubiattach-klibc ubimkvol-klibc ubiformat-klibc minicom net-tools zeroconf avahi-autoipd mtd-utils u-boot-fw-utils ethtool" .

“EGL Error : could not create the EGL surface: error 0x300b” on i.MX6 when running Qt5 application with -platform eglfs

雨燕双飞 提交于 2019-12-20 04:53:05
问题 I am trying to run the hellogl_es2 Qt example without X Server by specifying the eglfs platform: ./hellogl_es2 -platform eglfs EGL Error : Could not create the egl surface: error = 0x300b Aborted (core dumped) CPU is Freescale i.MX6. Linux kernel is 3.10.17. Distribution is Ubuntu 14.04.4 LTS (trusty). Qt version is 5.2.1, installed from http://packages.ubuntu.com, armhf architecture, packages qtbase5-dev, qtbase5-examples, qtbase5-examples-dbg. The core dump is: GNU gdb (Ubuntu 7.7.1

Use vivante GPU on IMX6 with 4.14 kernel

帅比萌擦擦* 提交于 2019-12-18 18:32:19
问题 I am working on IMX6QP with yocto rocko / Linux 4.14.24 and I am trying to use the GPU. My yocto configuration file : MACHINE ??= 'imx6qp-tx6-emmc' DL_DIR ?= "${BSPDIR}/downloads" SSTATE_DIR ?= "${BSPDIR}/sstate-cache" DISTRO ?= 'karo-minimal' PACKAGE_CLASSES ?= "package_deb" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" VIRTUAL-RUNTIME_init_manager = "sysvinit" USER_CLASSES ?= "buildstats image-mklibs image-prelink" PATCHRESOLVE = "noop" BB_DISKMON_DIRS ??= "\ STOPTASKS,${TMPDIR},1G,100K \

Use vivante GPU on IMX6 with 4.14 kernel

走远了吗. 提交于 2019-12-18 18:32:03
问题 I am working on IMX6QP with yocto rocko / Linux 4.14.24 and I am trying to use the GPU. My yocto configuration file : MACHINE ??= 'imx6qp-tx6-emmc' DL_DIR ?= "${BSPDIR}/downloads" SSTATE_DIR ?= "${BSPDIR}/sstate-cache" DISTRO ?= 'karo-minimal' PACKAGE_CLASSES ?= "package_deb" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" VIRTUAL-RUNTIME_init_manager = "sysvinit" USER_CLASSES ?= "buildstats image-mklibs image-prelink" PATCHRESOLVE = "noop" BB_DISKMON_DIRS ??= "\ STOPTASKS,${TMPDIR},1G,100K \

Device Tree for changing UART Mode and enabling GPIOs for iMX6ULL System-on-module

廉价感情. 提交于 2019-12-11 12:13:14
问题 I am using iMX6ULL system-on-module on my custom board. I am struggling with UART, GPIOs of my custom board. I have solved the SPI issue on my board but later I got to know about another issue with my board and that's why I thought to ask a new question. I am able to activate desired UART port and SPI port for my board. But I got to know that my peripheral sensors which are soldered on my custom board have TX and RX lines swapped. I was trying to swap tx rx pins of UART5 of the imx6ull soc

DTS File to disable LCD and use it's GPIO in iMX6ULL

二次信任 提交于 2019-12-11 08:47:48
问题 I am using the Toradex system-on-module colibri imx6ULL with a custom board. I am trying to disable the LCD and use it's GPIOs for my sensors. I have followed the answer in this link. I got stuck with one of the suggestion in the answer. In addition to assigning these pings to an iomuxc pinctrl group, you'll also need to assign the pinctrl group to an enabled node for them to get initialized. You can create a new node specifically for this purpose if you'd like. What does that line mean? Do I

Qemu Freescale i.MX6 DualLite SABRE : root filesystem does not mount

喜夏-厌秋 提交于 2019-12-05 00:36:54
问题 Goal: emulate the "sabrelite : Freescale i.MX6 Quad SABRE Lite Board (Cortex A9)" that Qemu specifically supports (doing 'qemu-system-arm -M ?' it shows up). Qemu ver: 2.10.1 (host: fedora-27). I have successfully cross-compiled and built a 4.1.46 Linux kernel (used the imx_v6_v7_defconfig config file) as well as a simple "skeleton" root filesystem (busybox-based). (FYI, I have a similar working setup for the ARM Cortex-A9 Versatile Express platform - I do this using my own home-spun embedded

Post-install script on Yocto-built linux

久未见 提交于 2019-12-04 14:07:03
问题 I need to run a script on a target OS built by Yocto. This script needs to be ran as part of the install and thus must be ran only once (either after the entire OS install or on the first boot). It cannot be ran on the host system, as it depends on the hardware IO which exists only on the target. An additional, minor, constraint is that the rootfs is mounted as read only, but I guess that can be avoided by having the script re-mount as rw and again remount as r after the execution or