Ok ! perfect !
Thanks a lot !
It is working now.
Ok ! perfect !
Thanks a lot !
It is working now.
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.
Ok ! Thnak you very much for explanation !
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 !!
but as I cited afterwards, that was not the solution. It has to do something with dhcp scripts at booting.
Thanks for the explanation !
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
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.
Thanks 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.
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:
iface eth0 inet static
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 ?
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.
/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??
This is output folder with every file inside and the link. Thanks
Well, as I could not find a solution, I got started a new virtual machine.
The problem disappeared.
after rebooting U-boot there are no changes.
Keys are not generated and sshd_config is empty
I can add one more thing.
I have an older compilation where I got four files:
In this compilation, SSH works fine.
In my other compilations, instead of those files y get these:
*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 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.
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?
By the way,
which options are needed in buildroot configuration in order to ssh work?
I mean when executing "make menuconfig" from buildroot folder.
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
*moduli --> empty
I have never had any "ssh_host_*" file.
Thanks again !
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?
I am using Fedora Virtual Machine from F&S.
I just call "install_source" script, and launch "make fsimx6_std_defconfig" and "make"
[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.