Hi all!
I'm using ubuntu 18.04.1 on a laptop with Intel® Core ™ i3 processor CPU M 370 @ 2.40GHz × 4!
- I added manually to "rockchip_defconfig"
C
ONFIG_HID_MULTITOUCH = m
CONFIG_CAN = y
CONFIG_CAN_DEV = y
CONFIG_CAN_MCP251X = y
- I added manually in "hid-core.c"
under the
"bool hid_ignore (struct hid_device * hdev)"
this
"
case USB_VENDOR_ID_DWAV: * /
/ * These are handled by usbtouchscreen. hdev-> type is probably
* HID_TYPE_USBNONE, but we say! HID_TYPE_USBMOUSE to match
* usbtouchscreen. * /
/ * if ((hdev-> product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER ||
hdev-> product == USB_DEVICE_ID_DWAV_TOUCHCONTROLLER) &&
hdev-> type! = HID_TYPE_USBMOUSE)
return true;
break; * / "
- I added manually this file
"mcp2515-can0-overlay.dts" to the kernel / arch / arm / boot / dts folder
I have installed build environment
I followed all the steps described and found:
- work just if "repo init -u
https://bitbucket.org/TinkerBoard_Android/manifest.git -b /sbc/tinkerboard/asus/Android-6.0.1"
and
curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
not working at me with git@bitbucket
- yoza@yoza-eME732:~/kernel/drivers/hid$ make hid-core.c
make: Nothing to be done for 'hid-core.c'.
#### make completed successfully ####
- yoza@yoza-eME732:~$ cd kernel
yoza@yoza-eME732:~/kernel$ make ARCH=arm rockchip_defconfig
arch/arm/configs/rockchip_defconfig:305:warning: override: RTL8723BS changes choice state
#
# configuration written to .config
#
#### make completed successfully (12 seconds) ####
yoza@yoza-eME732:~/kernel$ make ARCH=arm rk3288-miniarm.img j4
scripts/kconfig/conf --silentoldconfig Kconfig
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/hid/hid-core.o
drivers/hid/hid-core.c: In function 'hid_ignore':
drivers/hid/hid-core.c:2307:27: error: expected expression before '/' token
scripts/Makefile.build:308: recipe for target 'drivers/hid/hid-core.o' failed
make[2]: *** [drivers/hid/hid-core.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/hid' failed
make[1]: *** [drivers/hid] Error 2
Makefile:829: recipe for target 'drivers' failed
make: *** [drivers] Error 2
#### make failed to build some targets (44 seconds) ####
- yoza@yoza-eME732:~/u-boot$ make rk3288_defconfig
#### make completed successfully (6 seconds) ####
yoza@yoza-eME732:~/u-boot$ make -j4
#### make completed successfully (22 seconds) ####
What can I do !!
Thank you!