Hello!
This appears to be exactly what I need to fix my boards not have eth0 come up sometimes! That issue has been driving me nuts for quite a while.
Questions:
Does this still not work with the 4.x kernels?
I am using an old, stripped down, console image that has a 4.9.105-ti-r114 kernel. Everything is working great except for the occasional ethernet not working. I really don't want to mess with changing my image. Getting Qt and a touchscreen working was really a bugger...
Systemd install:
I assume the' install-systemd' script should be used instead of the 'install' script if systemd is used. Is there anything else peculiar about using this with systemd?
Comments:
The 'phyreg' program needs root privilege in order to open /dev/mem. Shouldn't it really be installed in /usr/sbin?
Also, maybe the makefiles should be modified to install the programs somewhere other than /usr/sbin (and /usr/bin)?
Personally I like to keep all non-distro programs in /usr/local/sbin (and /usr/local/bin). That makes it easier to remember that they are something that was added manually rather than by using apt. I use a custom systemd script to do remote updates on my boards. The script uses rsync to update the /user/local/... stuff without modifying any of the distro stuff. Just makes it easier.
Thanks again! Glad I finally ran across this!
Hello!
This appears to be exactly what I need to fix my boards not have eth0 come up sometimes! That issue has been driving me nuts for quite a while.
Questions:
Does this still not work with the 4.x kernels?
I am using an old, stripped down, console image that has a 4.9.105-ti-r114 kernel. Everything is working great except for the occasional ethernet not working. I really don't want to mess with changing my image. Getting Qt and a touchscreen working was really a bugger...
Systemd install:
I assume the' install-systemd' script should be used instead of the 'install' script if systemd is used. Is there anything else peculiar about using this with systemd?
Comments:
The 'phyreg' program needs root privilege in order to open /dev/mem. Shouldn't it really be installed in /usr/sbin?
Also, maybe the makefiles should be modified to install the programs somewhere other than /usr/sbin (and /usr/bin)?
Personally I like to keep all non-distro programs in /usr/local/sbin (and /usr/local/bin). That makes it easier to remember that they are something that was added manually rather than by using apt. I use a custom systemd script to do remote updates on my boards. The script uses rsync to update the /user/local/... stuff without modifying any of the distro stuff. Just makes it easier.
Thanks again! Glad I finally ran across this!