boot-scripts
boot-scripts copied to clipboard
./update_kernel.sh not working
Hi RCN!
When i first installed Ubuntu on the BeagleBoneBlack, I also reverted back to the 3.8.13-bone68 kernel via your script. All was well but recently I noticed two things that changed in the system after a while:
- When I first installed the 3.8.13-bone68 kernel, the eqep driver and device where visible in /dev and and /sys but now for some reason they are not.
- For the issue in 1., I thought maybe using the update_kernel.sh script again to re-install the kernel may fix the problem, but this has the following problem. When I run:
$ sudo ./update_kernel.sh --kernel 3.8.13-bone68 syncing local clock to pool.ntp.org
Nothing happens. Only the ntpdate related message is shown, but nothing else happens.
Any help would be much appreciated.
Best regards,
Vassilis
Ok I just saw now (via git fetch && the file's git history) that the NTP issue was resolved. Nice...
The first issue still remains though...
Have you tried loading those modules?
I cant even find the .ko modules to load. I search by doing:
$ sudo updatedb $ locate qep $ locate tiqep
I've searched all throughout the /lib/modules/3.8.13-bone69/kernel and /lib/modules/3.8.13-bone68/kernel directories and I have not been able to locate them. They where there when I first installed but have disappeared. How can I recover them if they are not even in the file system?
Update:
I realize that probably only your 5-14-2014 Debian image included teknoman117's tieqep driver, but did that include it as a kernel driver or a driver module? If it is a kernel patch then it should not be a module at all. Having said this, I searched again using:
$ cd / $ find | grep eqep
This finds the eqep driver in /sys/bus/platform/drivers/eqep, but then how do I enable the driver? All I have done is install your trusty image from 29-10-2014 and then reverted back to the 3.8.13-bone68 kernel via your update_kernel.sh. I cannot find the /sys/devices/ocp.2/48302000.epwmss/48302180.eqep or any other sysfs entry for eqep. Is this done via the dt overlays?