Posts by siteco.desarrollo

    Hi everyone,


    I need to connect a RFID reader, which protocol is Wiegand. I have connected two wires from reader to my input GPIO 6 and7.

    The thing is that I cannot control changes from high level to low, I suppose, due to its speed.


    I think that the best way could be defining these GPIO as IRQ. ¿Is it possible? ¿How can I do that? ¿Is there any documentation?


    Thank you very much.

    Hello,


    I have a doubt: I need to connect a USB printer to my board (fsimx6V3.1), do I have to change my device tree?
    Each time I connect the printer to my board, I cannot see any folder like "/dev/ttyUB0". It is not recognised.
    For example, connecting USB storage, shows two folders: sda and sda1, which I can mount. The same as with my SD card,
    that shows two folders: mmcblk2 and mmcblk2p1. I need to send some commands to the USB port.


    Thank you !!

    Hi RSchubert,


    thank you very much for your response.


    Even if you are right, it has to be a dot-separated number, I have changed and it does not work.After some tests, I have realised that the problem is DNS resolution. It only works when I change /etc/resolv.conf file with the following content:


    #resolv.conf content manually written
    nameserver 80.58.61.250
    nameserver 8.8.8.8
    nameserver 8.8.4.4


    But after rebooting, it disappears. Something is overwriting this file when the system is rebooted.I need static IP on my board, and I configure that way in /etc/network/interfaces file. I write this explanation because I am not using DHCP client, but I suspect that some script related to this service is clearing my file.


    Any suggestion?


    Thanks again !!

    Hello again,


    I have made a built again, and this time it worked. I do not why but the thing is that now I have python, SSH, git, flask, and every thing i need till today.


    Thanks for your support.


    FYI: In the built working, rootfs.ext4 is a link too. It does not seem to be relevant.

    Hi,
    I am trying to retrieve some information from the internet using git or wget, but both applications say that they cannot resolve address.
    My /etc/network/interfaces file has the following content:



    auto eth0
    iface eth0 inet static
    address 192,168,1,33
    netmask 255,255,255,0
    gateway 192,168,1,1
    dns-nameservers 192,168,1,100 8,8,8,8


    I am inside a LAN with a router. Fedora VM accesses internet withput problems, but my board, does not.


    What configuration do I ha need ?


    Thanks !

    Apart from LVDS and SSH, I need git, python and flask.
    What I do in order to compile this way is launch "make menuconfig" and change settings.
    After that, just "make".
    So far this is what I need, but I think that I will have to include more packages such as Mysql soon.

    More details:


    /etc/init.d/S50sshd script points to /usr/bin/sshd script that does not exist.
    In that folder (/usr/bin/) i can find among others:
    -rwxr-xr-x 1 root root 0 May 28 19:10 ssh*
    -rwxr-xr-x 1 root root 0 May 28 19:10 ssh-add*
    -rwxr-xr-x 1 root root 0 May 28 19:10 ssh-agent*
    -rwxr-xr-x 1 root root 0 May 28 19:10 ssh-keygen*
    -rwxr-xr-x 1 root root 0 May 28 19:10 ssh-keyscan*


    but not sshd script.


    Each time I execute /etc/init.d/S50sshd I can see that inside /var/lock a new file named sshd is created, and the final message of the process is "Starting sshd: OK" , just as the script has to do... but keys are not generated because sshd script in /usr/bin does not exist.


    This is the problem...but...how can I solve it??

    I can add one more thing.


    I have an older compilation where I got four files:
    *uImage
    * rootfs.ubifs
    * rootfs.ext4
    * armstonea9.dtb
    In this compilation, SSH works fine.


    In my other compilations, instead of those files y get these:
    *uImage
    * rootfs.ubifs
    * rootfs.ext2
    * armstonea9.dtb
    *Link to rootfs.ext4 that points to nothing


    Could this be relevant ??


    I am not using the first built because It does not have LVDS output, and I need it.


    Thanks !!

    Thanks again but in my case, it does not work. Furthermore, I do not have any ssh_host_* file and after rebuilding builroot+kernel and carrying out same steps, unfortunately the same out come.


    Thanks.


    One more detail I can add is that in my folder /var/run there is not a sshd.pid file with the process ID, meaning it is not running, is not it?

    Hi,
    thanks a lot for your response. irisangel.


    After applying your solution nothing happens.
    The content of my ssh folder is the following:
    * ssh_config --> empty
    *sshd_config--> empty
    *moduli --> empty


    I have never had any "ssh_host_*" file.


    Thanks again !

    Hi,


    I have my sshd_config file totally empty.
    When booting the board I get the message " Starting sshd: OK" but it does not generate keys.
    I have mounted the file system as "rw" and restart sshd executing "S50sshd restart" in "int.d" folder. Nothing happens.


    How can I check if sshd server is up and running?
    Do I have to activate any option when compiling buildroot for ssh to work?


    Thanks.

    Hi,


    I am using Fedora Virtual Machine from F&S.
    I just call "install_source" script, and launch "make fsimx6_std_defconfig" and "make"


    GCC version:


    [developer@localhost arm]$ gcc --version
    gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.