|
Edited by MiXaiLL76 at 2018-5-18 21:31
The firmware was successful.
But I can not find the GPIO ports on the device. (like this https://www.youtube.com/watch?v=pV25gWwxSrM)
- k37mv1_bsp:/sys/class # ls -l
- total 0
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 BOOT
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 MTK_SMI
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 MT_pmic_adc_cali
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 SysramDrv
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 Vcodec
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 accdet
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 actuatordrv_main_af
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 android_usb
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 bdi
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 block
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 btif
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 camera-pipemgr
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ccci_md_sta
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ccci_node
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 devmap
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 emmcrpmb
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 firmware
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 flashlightdrv
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 fm
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 graphics
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 hidg
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 hidraw
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 i2c-adapter
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ieee80211
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 input
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ir_receiver
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ispdrv
- drwxr-xr-x 2 root root 0 2010-01-01 03:01 leds
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 lt8912b
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 main_flashlight
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mem
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 misc
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mmc_host
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mtd
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mtk-adc-cali
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mtk_cmdq
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 mtk_disp_mgr
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 net
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 pmic_ftm
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 pmic_isink_test
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 pmsg
- drwxr-xr-x 2 root root 0 2010-01-01 03:01 power_supply
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 ppp
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 regulator
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 rtc
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 scheddrv
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 scsi_device
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 scsi_disk
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 scsi_host
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 sec
- drwxr-xr-x 2 root root 0 2018-05-18 10:00 sensor
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 sensordrv
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 sensordrv2
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 sound
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 spi_master
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 spm
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 stpbt
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 stpgps
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 stpwmt
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 sub_flashlight
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 switch
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 thermal
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 timed_output
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 tty
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 udc
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 wmtWifi
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 wmtdetect
- drwxr-xr-x 2 root root 0 2018-05-18 10:07 xt_idletimer
Copy code
On my Orange Pi Plus2 it works, but I can not even see the folders.
I tried searching
- k37mv1_bsp:/sys/class # find . -name "*gpio*"
- ./misc/mtgpio
- k37mv1_bsp:/sys/class #
Copy code But he did not give results
- k37mv1_bsp:/sys/class # cd misc/mtgpio/
- k37mv1_bsp:/sys/class/misc/mtgpio # ls
- dev pin power subsystem uevent
- k37mv1_bsp:/sys/class/misc/mtgpio #
Copy code It is not something with which to work.
Maybe I'm doing something wrong?
I tried to find all this through the adb shell.
I'll write here, if I find something and wait for your answers
lsmod
- k37mv1_bsp:/dev # lsmod
- Module Size Used by
- wlan_drv_gen2 1622578 0
- wmt_chrdev_wifi 10880 1 wlan_drv_gen2
- gps_drv 21050 0
- fmradio_drv 304655 0
- bt_drv 20902 0
- wmt_drv 1123073 7 wlan_drv_gen2,wmt_chrdev_wifi,gps_drv,fmradio_drv,bt_drv
Copy code
|
|