mosen
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by mosen
-
-
Hello,
I want to use the OTG-Port of my cubietruck in normal host mode. According this conversation (link) I've changed script.bin. After that I've rebooted
[usbc0] usb_used = 1 usb_port_type = 1 usb_detect_type = 0 usb_id_gpio = port:PH19<0><1><default><default> usb_det_vbus_gpio = port:PH22<1><0><default><0> usb_drv_vbus_gpio = port:PH17<1><0><default><0> usb_restrict_gpio = port:PH00<1><0><default><0> usb_host_init_state = 1 usb_restric_flag = 0 usb_restric_voltage = 3550000 usb_restric_capacity = 5
Unfortunately my cubietruck does not detect a USB-Device (e.g. USB-Stick).
Neither dmesg nor lsusb. The USB-Stick works fine in the regular USB-Ports.
I've installed the armbian image (Xenial Server - Vanilla 4.7.3-sunxi)
Do I have to apply more changes to get my stick working on the OTG-Port?
Thank you in advance!
-
Hi Igor,
thank you for your super quick response!
Everything works fine now with my PCTV 520e DVB-C/T-USB-Stick.
Thanks again!
-
Hi guys,
I have a cubietruck and I've tried to compile a new kernel (4.x - wheezy, jessie, or trusty) according to this how-to.
Unfortunately the kernel-compilation fails for me. (It works with 3.4.x but not with 4.x)
I need a 4.x Kernel due to the I2C MUX which Azrael mentioned above. In addition to that I need EM28xxx-driver for my PCTV 520e-USB-Stick.
I hope you can help me. Thank you!
Here is my output-log of the kernel-compilation:
root@ubuntu:/home/m# ./compile.sh Already up-to-date. [ o.k. ] Dependencies check [ @host ] [ o.k. ] Building [ Armbian 4.70 Cubietruck Debian jessie next ] [ o.k. ] Synching clock [ host ] [ o.k. ] source downloading [ @host ] [ o.k. ] ... updating [ u-boot ] remote: Counting objects: 508, done. remote: Compressing objects: 100% (52/52), done. remote: Total 418 (delta 360), reused 418 (delta 360) Receiving objects: 100% (418/418), 46.60 KiB | 0 bytes/s, done. Resolving deltas: 100% (360/360), completed with 83 local objects. From git://git.denx.de/u-boot f84c2b66..7868031 master -> origin/master [ o.k. ] ... updating [ linux-mainline ] [ o.k. ] ... updating [ sunxi-tools ] [ o.k. ] ... updating [ rt8192cu ] [ o.k. ] ... updating [ fbtft-drivers ] [ o.k. ] ... updating [ sunxi-display-changer ] [ o.k. ] Compiling sunxi tools [ @host & target ] [ o.k. ] Cleaning [ /home/m/sources/u-boot ] [ o.k. ] Removing [ /home/m/output/debs/linux-u-boot-next-cubietruck_4.70_armhf. deb ] [ o.k. ] Cleaning [ /home/m/sources/linux-mainline ] error: pathspec 'v4.3.3 (EOL)' did not match any file(s) known to git. [ o.k. ] Patching [ kernel 4.4.0rc6 ] [ o.k. ] ... compiler bug [ reverting patch ] [ kernel ] [ o.k. ] ... sun4i: spi: Allow transfers larger than FIFO size [ kernel ] [ o.k. ] ... fix BRCMFMAC AP mode Banana & CT [ kernel ] [ o.k. ] ... deb packaging fix [ kernel ] [ o.k. ] ... Banana M2 support, LEDs [ kernel ] [ o.k. ] ... Cubieboard2 double SD version [ kernel ] [ warn ] ... Allwinner A10/A20 CAN Controller support already applied [ kernel ] [ o.k. ] ... adding Lamobo R1 [ kernel ] [ o.k. ] ... adding Bananapi M2 A31s [ kernel ] [ o.k. ] ... adding Bananapi M1 Plus [ kernel ] [ o.k. ] ... adding Bananapi R1 [ kernel ] [ o.k. ] Patching [ u-boot v2015.10 ] [ o.k. ] ... Add Lamobo R1 [ u-boot ] [ o.k. ] ... Add AW SOM [ u-boot ] [ o.k. ] ... Add Armbian boot splash [ u-boot ] [ o.k. ] Patching [ other sources ] [ o.k. ] Compiling uboot. Please wait. [ 2015.10 ] [ o.k. ] Target directory [ /home/m/output/debs/ ] [ o.k. ] Building deb [ linux-u-boot-next-cubietruck_4.70_armhf.deb ] [ o.k. ] Compiling kernel [ @host ] HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTLD scripts/kconfig/mconf scripts/kconfig/mconf Kconfig configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. HOSTCC scripts/kconfig/conf.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # Armbian building script, http://www.armbian.com | Author: Igor Pecovnik qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Compiling DTB ccache ... x xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx x DTC arch/arm/boot/dts/sun5i-a10s-mk802.dtb x x DTC arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dtb x x DTC arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dtb x x DTC arch/arm/boot/dts/sun5i-a10s-wobo-i5.dtb x x DTC arch/arm/boot/dts/sun5i-a13-hsg-h702.dtb x x DTC arch/arm/boot/dts/sun5i-a13-inet-98v-rev2.dtb x x DTC arch/arm/boot/dts/sun5i-a13-olinuxino.dtb x x DTC arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dtb x x DTC arch/arm/boot/dts/sun5i-a13-q8-tablet.dtb x x DTC arch/arm/boot/dts/sun5i-a13-utoo-p66.dtb x x DTC arch/arm/boot/dts/sun5i-r8-chip.dtb x x DTC arch/arm/boot/dts/sun6i-a31-app4-evb1.dtb x x ERROR (duplicate_node_names): Duplicate node name /soc@01c00000/pinctrl@01c2 x x ERROR: Input tree has errors, aborting (use -f to force output) x x make[1]: *** [arch/arm/boot/dts/sun6i-a31-app4-evb1.dtb] Error 2 x x make: *** [dtbs] Error 2 x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj [ error ] DTBs was not build [ @host ] root@ubuntu:/home/m#
Cubietruck - USB OTG normal mode
in Advanced users - Development
Posted
OMG!
Guys, thank you so much for your help!