1. check kernel have ACM support
# USB Device Class drivers
CONFIG_USB_ACM=y
vim mediatek/config/mt6577/autoconfig/kconfig/platform
add CONFIG_USB_ACM=y
./makeMTK xxx r k
2. copy u-blox file to /hardware
./makeMTK xxx mm /hardware/<u-blox release>/supl/asn1c_header
./makeMTK xxx mm /hardware/<u-blox release>
3. check file in /system
3.1 check gps.default.so at /system/lib/hw
3.2 check gps.conf at /system/etc
3.3 check u-blox.conf at /system/etc
4. rebuld bootimage
vim out/...../root/ueventd.rc
add /dev/ttyACM0 0666 gps gps
./makeMTK xxx r bootimage
參考
http://clayder.pixnet.net/blog/post/38595705-add-ublox-gps-in-ti-omap-platform
文章標籤
全站熱搜