USB stopped working after removing m4 files

Discussion in 'UDOO NEO' started by graugans, Jan 23, 2016.

  1. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    When I do the following USB host port is not powered anymore.

    1.) execute the following on the UDOO Neo
    udooer@udooneo:~$ sudo rm /boot/m4*
    [sudo] password for udooer:
    udooer@udooneo:~$ sudo halt


    2.) Unplug power
    3.) wait 30 seconds
    4.) replug power
    5.) -> USB not working anymore


    I discovered this during my Yocto tests where I do not have a m4 fw yet. USB was working without m4 fw before.

    Is this intended or not?

    I've tested this on UDOObuntu v2.0rc1
     
    Last edited: Jan 24, 2016
  2. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    If you want to disable the M4 core, you must do it in a "clean" way (modifying the /boot/uEnv.txt or via the udoom4ctl utility), not by deleting files.
     
  3. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Deleting files was the test. :)

    In my Yocto build they had been missing because I was not aware of the dependency. Is there a link to uEnv.txt options?

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  4. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Are those variables the right ones?

    https://github.com/graugans/meta-ud...-bsp/u-boot/u-boot-udooboard/udooneo/uEnv.txt

    Code:
    # Environment script for the UDOO Neo board
    # save this file with unix-like newlines! (\n, 0x0A)
    
    # Enable or Disable the Cortex M4 CPU
    # m4_enabled=true|false
    # any other value (or if the variable is not specified) will default to "true"
    #m4_enabled=false
    
    # Set the screen connected to the board
    # video_output=hdmi|lvds7|lvds15|disabled
    # any other value (or if the variable is not specified) will default to "hdmi"
    #video_output=hdmi
    
    # Select weather to use custom device tree or not
    # Put the custom device tree file in the folder "dts-overlay" in your boot partition
    # use_custom_dtb=true|false
    # any other value (or if the variable is not specified) will default to "false"
    #use_custom_dtb=true
     
  5. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Yes.
     
    graugans likes this.

Share This Page