Posts by heing

    If you don't care about patches from F&S, you can use a vanilla Buildroot. Just use the F&S kernel. We use Buildroot version 2017.11.2 without any problems. I have also booted Debian 9 from sd card without much trouble, but I haven't had a chance to test it. Btw, official Debian 9 support would be cool and would enable us to run things like Azure IoT Edge on the board.

    Another question:


    The GPS sends the 1PPS signal on pin 42 (LED_WWAN) and pin 46 (LED_WPAN) on the Mini PCIe connector. Is any of these pins connected to the CPU so I can read it using GPIO?


    Kind regards,
    Hein Gustavsen
    Miros AS

    Thank you! I knew about the USB interface, but I was so caught up in the PCI error message that I did not think about trying USB. I had to enable USB_ACM in the kernel (USB Modem (CDC ACM) support) and then I got the /dev/ttyACM0 device as expected.


    Thank you for helping me resolve this issue!


    Kind regards,
    Hein Gustavsen
    Miros AS

    Is the 1.5V voltage used by the module?


    Thank you for this tip. The GPS receiver does not use 1.5V as far as I can see.


    Our armStoneA9r2 does not provide 1.5V on the PCIe socket, but I guess that this is not the problem here. I will wait for you to test the PCIe interface and provide me with the correct kernel and device tree configuration.


    Kind regards,
    Hein Gustavsen
    Miros AS

    Jonas, did you manage to get the PCIe running?


    F+S: What is the current status for PCIe on armStoneA9r2? Do you have any patches or do you plan to include support in the upcoming release?


    I plan to use a PCIe GPS receiver (USB).


    Kind regards,
    Hein Gustavsen
    Miros AS

    I am trying to use I2C on the armstone A9r2 (Quad) but I cannot determine which pins on the feature connector is used for I2C. The docs says that I2C is on pin 16 and 17, which is the same as SPI, but I cannot measure any activity on those pins. The device tree file has a comment that says Feature Connector (SKIT) on I2C_A and the pins are MX6QDL_PAD_GPIO_3__I2C3_SCL and MX6QDL_PAD_GPIO_16__I2C3_SDA, but I can't determine which pins this is on the feature connector. Do I need to set up another I2C bus for my device and in that case, which pins can I use?


    Kind regards,
    Hein Gustavsen
    Miros AS

    I created this patch based on linux device tree values and this forum post:
    details of u-boot reading support for efusA9 emmc



    I can now read the eMMC, but I don't know the meaning of the ccgr6 value. Could you please explain?


    Kind regards,
    Hein Gustavsen
    Miros AS

    Thank you for your reply. In my case, reading the eMMC would be sufficient since the writing is only done from Linux.


    With R2, the NAND is actually big enough for a recovery partition. I will investigate that.


    Kind regards,
    Hein Gustavsen
    Miros AS

    Do you plan to include support for the eMMC on armStoneA9r2 in u-boot?


    There is a post containing some information on how to do this with the efusA9 board:
    details of u-boot reading support for efusA9 emmc


    I need to use eMMC for temporary storage when upgrading the root file system using the u-boot update command. I use the SD card for this today, but I would like to get rid of that dependency.


    Kind regards,
    Hein Gustavsen
    Miros AS

    Hi. I think you misunderstand how Windows Subsystem for Linux works. This is an Ubuntu 14.04 installation with a modified kernel that runs on top of Windows. It uses the Ubuntu 14.04 64-bit binaries (bash, etc.) but cannot run 32-bit ELF binary, which your compiler is. The file system is separate from Windows' own filesystem. It uses slashes (/) and is case sensitive. The windows drives are available in /mnt/c, /mnt/d, etc.


    If you have a Windows 10 computer available, you should try yourself. Check out this information:
    https://msdn.microsoft.com/en-us/commandline/wsl/about


    I primary use Linux for cross compiling, but I also use Windows for development and could be handy to be able to cross compile on Windows Subsystem for Linux too.


    Kind regards
    Hein Gustavsen
    Miros AS

    The Windows Subsystem for Linux (WSL) included in Windows 10 does run native 64-bit ELF binaries, but not 32-bit. I think a 64-bit version of your toolchain will run fine on Windows 10.

    How can I rebuild your toolchain for 64-bit? I would like to cross-compile on Windows 10 Ubuntu/bash and AFAIK, it cannot run 32-bit binaries.


    Kind regards,
    Hein Gustavsen
    Miros AS

    I cannot get GPIO to work using the examples in section 7.15 in the Linux First Steps document version 3.0. I have verified that the examples work on V2.1. When I set the value and read it back, it has not changed. Can you verify that you have GPIO working using sysfs on V3.0?


    Kind regards,
    Hein Gustavsen
    Miros AS