Jump to content

arimak

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by arimak

  1. 2 hours ago, Titot said:

    My MXV comes with wifi inside . With your posted dtb file I cant only use 3 of the usb , the OTG not active. You use Ubuntu Mate ... with what dtb file?

    For now with this my experimental, but still not working USB hub (and its 3 USBs + wifi).

    I'm trying use the GPIOAO_5, but still without success :/

    mxqPR011.dts

    mxqPR011.dtb

  2. 4 hours ago, Titot said:

    I use your dts compiled to dtb and my box and  boot,  but off course no wifi and only 3of  the 4 usb working. One thing I use the kernel 3.10.61 . I dont know is that could make the difference??

     

    Your MXV doesn't have wifi inside? As we know, S805 have 2 USBs on-chip (OTG and HOST), OTG is mainly for flashing and usually works always, on some boxes is marked as USB-1, next 3 USBs (USB-2,..,USB-4) are connected to internal USB hub.

    Differences among kernels can be important reasons, why some things works or not. As I wrote I'm now with Ubuntu Mate with 3.10.108 kernel, and don't want go to older versions.

     

     

  3. 23 hours ago, Titot said:

    My box use the gpioao_5 usb bus and I use the attached dtb and all the usb works.  Remove .txt and test it!

     

     

    meson8b_mxv-u-j.dtb.txt

    Thanks, but this dtb doesn't work too. Still can't see the hub and other devices hanged on it.

    Could you link me pics of your box inside, with little description? How many USBs, what chip for internal USB hub,...

    There's a lot of versions of these S805 boxes, MXV, MXQ - I've seen about 5 versions of MXQs :o with different PCBs, USB hubs, wifi chips,...

     

    For inspiration I'm attaching the .dts which worked for me in an old android (but is not working for Armbian at all, can't boot ).

     

    meson8mediamanv2.dts

  4. 35 minutes ago, balbes150 said:

    I put together a version Libreelec KODI-18 for S805 and Linux images with the main kernel, but I have only one "half-dead" device s805, at which the run system to panics (perhaps because of hardware faults). I am interested in the process of running these systems (with full logs from the start of u-boot) on other Board options.

    To enable USB, try to decompile (in dts format) with utilite DTC, your dtb, where USB works and compare it with the decompiled dtb version from the latest image. If there is a difference, try to make the necessary changes to the new file and build the dtb from it.

     

    That older Android 4.4.2 (kernel 3.10.33) had in its device tree:

     

    	usb_con {
    		lm-compatible = "logicmodule-bus";
    
    		usb_b {
    			lm-compatible = "amlogic,usb";
    			lm-periph-id = <0x1>;
    			clock-src = "usb1";
    			port-id = <0x1>;
    			port-type = <0x1>;
    			port-speed = <0x0>;
    			port-config = <0x0>;
    			port-dma = <0x0>;
    			port-id-mode = <0x1>;
    			status = "okay";
    		};
    
    		usb_a {
    			lm-compatible = "amlogic,usb";
    			lm-periph-id = <0x0>;
    			clock-src = "usb0";
    			port-id = <0x0>;
    			port-type = <0x1>;
    			port-speed = <0x0>;
    			port-config = <0x0>;
    			port-dma = <0x0>;
    			port-id-mode = <0x0>;
    			gpio-vbus-power = "GPIOAO_5";
    			gpio-work-mask = <0x1>;
    			status = "okay";
    		};
    	};

    So through usb_a which is seen in system as lm0 is driven gpio-vbus-power = "GPIOAO_5"

    Question is, how can I drive that gpio-vbus-power in newer kernels?

    My MXQ box is (I think) very inspired by Odroid C1, they use only GPIOAO_4 (instead of GPIOAO_5) for driving internal USB hubs RESET signal.

     

  5. well, for now I'm with new Armbian_5.44_S805_Ubuntu_bionic_3.10.108_mate_20180523.img version. 

    The problem with internal USB hub GL850G is still there. Can't see it in lsusb -t

    root@vegas805:~# lsusb -t
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M

    Two devices hanged on Bus02:Dev1 (USB OTG) is Genius Keyboard+Mouse set.

    USB hub should be seen hanged on Bus01:Dev1 (USB Host) and seen as something like:

    05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB

    plus on this hub should be seen hanged internal WiFi module Realtek 8188, and 3 external USB ports. (capacity of the GL850G is 4 ports).

     

     

     

     

  6. On 5/29/2018 at 2:43 PM, balbes150 said:

    Question. Does anyone have a s805-based TV box with a connected UART console ?

    Yes, I have an UART, tell me which new version I should test.

    I'm here after a few months, so my last version was from january 2018. 

    I hope you can help me then with 3 USB ports + WiFi hanged on internal USB hub GL850G (they didn't work in version from january 2018).

    What I know (or I guess) the hub's RESET signal is probably connected to GPIOAO_5 .  And I'm sure (I measured it) the RESET of hub is still in L, so the hub can't start to work.

    (In device tree of working old android 4.4.2 version is:  gpio-vbus-power = "GPIOAO_5"; )

     

     

     

     

     

    MXQarimak.JPG

  7. On 1/12/2018 at 2:33 PM, balbes150 said:

    Image update S805 20180112.

    Updated kernel to version 3.10.99. Added screen mode 1080p. This mode is enabled by default. To switch to 720p you need to edit first line of script /boot/hdmi.sh. For smooth playback of test video I recommend to reduce the window size of the reproduced video to the size that would have enough system resources for smooth video playback.

    Where can I get linux-headers for this 3.10.99 version?

    My reason is, that I will probably need aml_i2c.ko driver, which is not unfortunately in modules...

    So I hope I will be able build the driver alone.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines