doudootiana a écrit 28 commentaires

  • # Résolu

    Posté par  . En réponse au message hostapd et les conf 5ghz et 6ghz. Évalué à 2.

    Hello.
    J'ai trouvé la solution après des nuits blanches.
    C'était le firmware de la carte Médiatek.
    J'ai testé plusieurs versions avant de trouver une qui fonctionne 'comme il faut avec ma configuration'.

  • [^] # Re: Supporté par le driver ?

    Posté par  . En réponse au message commande ethtool. Évalué à 1.

    Hello.
    Désolé de ne répondre que maintenant.
    Je te remercie pour ton réponse.

    Je vis jeter un coup d'œil.
    Quine tente rien, n'a rien :)

  • [^] # Re: DTB ?

    Posté par  . En réponse au message Port ethernet up mais aucun flux. Évalué à 1.

    Ici le log quand j'active les interfaces eth1 et eth2 :
    ```
    ifup eth1
    [ 108.988416] mvpp2 f2000000.ethernet eth1: PHY [f212a200.mdio-mii:01] driver Marvell 88E1510
    [ 108.999168] mvpp2 f2000000.ethernet eth1: configuring for inband/sgmii link mode
    udhcpc: started, v1.35.0
    udhcpc: broadcasting discover
    [ 112.059960] mvpp2 f2000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    [ 112.068004] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    udhcpc: broadcasting discover
    udhcpc: broadcasting select for 192.168.4.63, server 192.168.4.254
    udhcpc: lease of 192.168.4.63 obtained from 192.168.4.254, lease time 86400
    deleting routers
    adding dns 192.168.4.254

    ifup eth2

    [ 73.348678] mvpp2 f2000000.ethernet eth2: PHY [f212a200.mdio-mii:00] driver Marvell 88E1510
    [ 73.358352] mvpp2 f2000000.ethernet eth2: configuring for phy/rgmii-id link mode
    udhcpc: started, v1.35.0
    udhcpc: broadcasting discover
    [ 76.444184] mvpp2 f2000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
    [ 76.452227] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
    udhcpc: broadcasting discover
    udhcpc: broadcasting discover
    udhcpc: no lease, forking to background
    ```

  • [^] # Re: DTB ?

    Posté par  . En réponse au message Port ethernet up mais aucun flux. Évalué à 1.

    RE :)

    Tu as raison, le dmesg que j'ai mis était avec la version kernel 5.15.
    J'ai testé avec la 5.15 et la 6.2.
    Mais ayant le même résultat, je préfère conserver la version 6.2

    Les patches se trouvent ici : Texte du lien

    Et ici tu as le datasheets et block diagram : Texte du lien

    Merci encore pour ton aide.

  • [^] # Re: DTB ?

    Posté par  . En réponse au message Port ethernet up mais aucun flux. Évalué à 1. Dernière modification le 22 avril 2023 à 23:07.

    Sommaire

    Hello
    Je te remercie pour ta réponse.

    Ton avis est très intéressant, je vais travailler dessus.

    Je possède une clearfog base cn9130.
    J'utilise le kernel 6.2
    Le dts n'est pas natif dans le kernel, je l'ai édité à l'aide des patchs du constructeur :
    ```
    // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    /*
    * Copyright SolidRun Ltd.
    *
    * Device tree for the CN9130 based SOM.
    */

    include "cn9130.dtsi"

    include

    include

    / {
    model = "SolidRun CN9130 based SOM Clearfog Base";

    chosen {
        stdout-path = "serial0:115200n8";
    };
    
    aliases {
        gpio1 = &cp0_gpio1;
        gpio2 = &cp0_gpio2;
        i2c0 = &cp0_i2c0;
        ethernet0 = &cp0_eth0;
        ethernet1 = &cp0_eth1;
        ethernet2 = &cp0_eth2;
        spi1 = &cp0_spi0;
        spi2 = &cp0_spi1;
    };
    
    memory@00000000 {
        device_type = "memory";
        reg = <0x0 0x0 0x0 0x80000000>;
    };
    v_3_3: regulator-3-3v {
        compatible = "regulator-fixed";
        regulator-name = "v_3_3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;
        status = "okay";
    };
    ap0_reg_sd_vccq: ap0_sd_vccq@0 {
        compatible = "regulator-gpio";
        regulator-name = "ap0_sd_vccq";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        states = <1800000 0x1 3300000 0x0>;
    };
    
    cp0_reg_usb3_vbus0: cp0_usb3_vbus@0 {
        compatible = "regulator-fixed";
        regulator-name = "cp0-xhci0-vbus";
        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;
        enable-active-high;
    };
    
    cp0_usb3_0_phy0: cp0_usb3_phy@0 {
        compatible = "usb-nop-xceiv";
        vcc-supply = <&cp0_reg_usb3_vbus0>;
    };
    
    cp0_reg_usb3_vbus1: cp0_usb3_vbus@1 {
        compatible = "regulator-fixed";
        regulator-name = "cp0-xhci1-vbus";
        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;
        enable-active-high;
    };
    
    cp0_usb3_0_phy1: cp0_usb3_phy@1 {
        compatible = "usb-nop-xceiv";
        vcc-supply = <&cp0_reg_usb3_vbus1>;
    };
    
    cp0_reg_sd_vccq: cp0_sd_vccq@0 {
        compatible = "regulator-gpio";
        regulator-name = "cp0_sd_vccq";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3300000>;
        states = <1800000 0x1
            3300000 0x0>;
    };
    
    cp0_reg_sd_vcc: cp0_sd_vcc@0 {
        compatible = "regulator-fixed";
        regulator-name = "cp0_sd_vcc";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        enable-active-high;
        regulator-always-on;
    };
    
    cp0_sfp_eth0: sfp-eth@0 {
        compatible = "sff,sfp";
        i2c-bus = <&cp0_i2c1>;
        los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
        mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
        tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
        tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
        maximum-power-milliwatt = <2000>;
    };
    
    keys {
                compatible = "gpio-keys";
                pinctrl-0 = <&cp0_button_pin>;
                pinctrl-names = "default";
    
        button0{
            /* SW3 button */
            label = "SW3";
            gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
            linux,can-disable;
            linux,code = <BTN_0>;
        };
    };
    

    };

    &uart0 {
    status = "okay";
    };

    /* on-board eMMC */
    &ap_sdhci0 {
    pinctrl-names = "default";
    bus-width = ;
    vqmmc-supply = <&ap0_reg_sd_vccq>;
    status = "okay";
    };

    &cp0_crypto {
    status = "disabled";
    };

    &cp0_ethernet {
    status = "okay";
    };

    &cp0_gpio1 {
    status = "okay";
    };

    &cp0_gpio2 {
    status = "okay";
    };

    /* EEPROM */
    &cp0_i2c0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c0_pins>;
    clock-frequency = ;

    /*
     * PCA9655 GPIO expander, up to 1MHz clock.
     *  0-CON3 CLKREQ#
     *  1-CON3 PERST#
     *  2-M2 FUL_CARD_POWER_OFF
     *  3-CON3 W_DISABLE
     *  4-CON2 CLKREQ#
     *  5-USB3 overcurrent
     *  6-USB3 power
     *  7-CON2 W_DISABLE
     *  8-M2 W_DISABLE
     *  9-JP4 P4
     * 10-M2 RESET
     * 11-m.2 DEVSLP
     * 12-SFP_LOS
     * 13-SFP_TX_FAULT
     * 14-SFP_TX_DISABLE
     * 15-SFP_MOD_DEF0
     */
    expander0: gpio-expander@20 {
        /*
         * This is how it should be:
         * compatible = "onnn,pca9655", "nxp,pca9555";
         * but you can't do this because of the way I2C works.
         */
        compatible = "nxp,pca9555";
        gpio-controller;
        #gpio-cells = <2>;
        reg = <0x20>;
    
        pcie1_0_clkreq {
            gpio-hog;
            gpios = <0 GPIO_ACTIVE_LOW>;
            input;
            line-name = "pcie1.0-clkreq";
        };
        m2_ful_card_power_off {
            gpio-hog;
            gpios = <2 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "m2-ful-card-power-off";
        };
        pcie1_0_w_disable {
            gpio-hog;
            gpios = <3 GPIO_ACTIVE_LOW>;
            output-low;
            line-name = "pcie1.0-w-disable";
        };
        usb3_ilimit {
            gpio-hog;
            gpios = <5 GPIO_ACTIVE_LOW>;
            input;
            line-name = "usb3-current-limit";
        };
        usb3_power {
            gpio-hog;
            gpios = <6 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "usb3-power";
        };
        m2_w_disable {
            gpio-hog;
            gpios = <8 GPIO_ACTIVE_LOW>;
            output-low;
            line-name = "m2-w-disable";
        };
        m2_reset {
            gpio-hog;
            gpios = <10 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "m2-reset";
        };
        m2_devslp {
            gpio-hog;
            gpios = <11 GPIO_ACTIVE_HIGH>;
            output-low;
            line-name = "m.2 devslp";
        };
    };
    
    /* The MCP3021 supports standard and fast modes */
    mikrobus_adc: mcp3021@4c {
        compatible = "microchip,mcp3021";
        reg = <0x4c>;
    };
    
    /*EEPROM on the SOM */
    eeprom@53 {
        compatible = "atmel,24c02";
        reg = <0x53>;
        pagesize = <16>;
    };
    

    };

    /* I2C Master */
    &cp0_i2c1 {
    status = "okay";
    clock-frequency = ;
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c1_pins>;
    };

    &cp0_gpio1 {
    phy_reset { /* Release switch reset */
    gpio-hog;
    gpios = ;
    output-high;
    };
    };

    &cp0_mdio {
    status = "okay";
    phy0: ethernet-phy@0 {
    /* Green led blinks on activity, Orange LED on link /
    marvell,reg-init = ;
    reg = ;
    };
    phy1: ethernet-phy@1 {
    /
    Green led blinks on activity, Orange LED on link */
    marvell,reg-init = ;
    reg = ;
    };
    };

    /* SRDS #0 - SATA on M.2 connector */
    &cp0_sata0 {
    status = "okay";
    };

    /* SRDS #1 - USB 3.0 host */
    &cp0_usb3_0 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy0>;
    phy-names = "usb";
    };

    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    };

    /* SRDS #2 - SFP+ 10GE */
    &cp0_eth0 {
    status = "okay";
    phy-mode = "10gbase-r";
    local-mac-address = [64 69 61 67 62 03];
    phys = <&cp0_comphy2 0>;
    managed = "in-band-status";
    sfp = <&cp0_sfp_eth0>;
    };

    /* SRDS #3 - SGMII 1GE on carrier board */
    &cp0_eth1 {
    status = "okay";
    local-mac-address = [64 69 61 67 62 01];
    phys = <&cp0_comphy3 1>;
    phy = <&phy1>;
    managed = "in-band-status";
    phy-mode = "sgmii";
    };

    /* SRDS #4 - USB 3.0 host on M.2 connector */
    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    phy-names = "usb";
    };

    /* SRDS #5 - mini PCIe slot */
    &cp0_pcie2 {
    status = "okay";
    phys = <&cp0_comphy5 2>;
    num-lanes = ;
    reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
    };

    /* GE PHY RGMII /
    &cp0// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    /

    * Copyright SolidRun Ltd.
    *
    * Device tree for the CN9130 based SOM.
    */

    include "cn9130.dtsi"

    include

    include

    / {
    model = "SolidRun CN9130 based SOM Clearfog Base";

    chosen {
        stdout-path = "serial0:115200n8";
    };
    
    aliases {
        gpio1 = &cp0_gpio1;
        gpio2 = &cp0_gpio2;
        i2c0 = &cp0_i2c0;
        ethern// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    

    /*
    * Copyright SolidRun Ltd.
    *
    * Device tree for the CN9130 based SOM.
    */

    include "cn9130.dtsi"

    include

    include

    / {
    model = "SolidRun CN9130 based SOM Clearfog Base";

    chosen {
        stdout-path = "serial0:115200n8";
    };
    
    aliases {
        gpio1 = &cp0_gpio1;
        gpio2 = &cp0_gpio2;
        i2c0 = &cp0_i2c0;
        ethernet0 = &cp0_eth0;
        ethernet1 = &cp0_eth1;
        ethernet2 = &cp0_eth2;
        spi1 = &cp0_spi0;
        spi2 = &cp0_spi1;
    };
    
    memory@00000000 {
        device_type = "memory";
        reg = <0x0 0x0 0x0 0x80000000>;
    };
    v_3_3: regulator-3-3v {
        compatible = "regulator-fixed";
        regulator-name = "v_3_3";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-always-on;
        status = "okay";
    };
    ap0_reg_sd_vccq: ap0_sd_vccq@0 {
        compatible = "regulator-gpio";
        regulator-name = "ap0_sd_vccq";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        states = <1800000 0x1 3300000 0x0>;
    };
    
    cp0_reg_usb3_vbus0: cp0_usb3_vbus@0 {
        compatible = "regulator-fixed";
        regulator-name = "cp0-xhci0-vbus";
        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;
        enable-active-high;
    };
    
    cp0_usb3_0_phy0: cp0_usb3_phy@0 {
        compatible = "usb-nop-xceiv";
        vcc-supply = <&cp0_reg_usb3_vbus0>;
    };
    
    cp0_reg_usb3_vbus1: cp0_usb3_vbus@1 {
        compatible = "regulator-fixed";
        regulator-name = "cp0-xhci1-vbus";
        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;
        enable-active-high;
    };
    
    cp0_usb3_0_phy1: cp0_usb3_phy@1 {
        compatible = "usb-nop-xceiv";
        vcc-supply = <&cp0_reg_usb3_vbus1>;
    };
    
    cp0_reg_sd_vccq: cp0_sd_vccq@0 {
        compatible = "regulator-gpio";
        regulator-name = "cp0_sd_vccq";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <3300000>;
        states = <1800000 0x1
            3300000 0x0>;
    };
    
    cp0_reg_sd_vcc: cp0_sd_vcc@0 {
        compatible = "regulator-fixed";
        regulator-name = "cp0_sd_vcc";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        enable-active-high;
        regulator-always-on;
    };
    
    cp0_sfp_eth0: sfp-eth@0 {
        compatible = "sff,sfp";
        i2c-bus = <&cp0_i2c1>;
        los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
        mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
        tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
        tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
        maximum-power-milliwatt = <2000>;
    };
    
    keys {
                compatible = "gpio-keys";
                pinctrl-0 = <&cp0_button_pin>;
                pinctrl-names = "default";
    
        button0{
            /* SW3 button */
            label = "SW3";
            gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
            linux,can-disable;
            linux,code = <BTN_0>;
        };
    };
    

    };

    &uart0 {
    status = "okay";
    };

    /* on-board eMMC */
    &ap_sdhci0 {
    pinctrl-names = "default";
    bus-width = ;
    vqmmc-supply = <&ap0_reg_sd_vccq>;
    status = "okay";
    };

    &cp0_crypto {
    status = "disabled";
    };

    &cp0_ethernet {
    status = "okay";
    };

    &cp0_gpio1 {
    status = "okay";
    };

    &cp0_gpio2 {
    status = "okay";
    };

    /* EEPROM */
    &cp0_i2c0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c0_pins>;
    clock-frequency = ;

    /*
     * PCA9655 GPIO expander, up to 1MHz clock.
     *  0-CON3 CLKREQ#
     *  1-CON3 PERST#
     *  2-M2 FUL_CARD_POWER_OFF
     *  3-CON3 W_DISABLE
     *  4-CON2 CLKREQ#
     *  5-USB3 overcurrent
     *  6-USB3 power
     *  7-CON2 W_DISABLE
     *  8-M2 W_DISABLE
     *  9-JP4 P4
     * 10-M2 RESET
     * 11-m.2 DEVSLP
     * 12-SFP_LOS
     * 13-SFP_TX_FAULT
     * 14-SFP_TX_DISABLE
     * 15-SFP_MOD_DEF0
     */
    expander0: gpio-expander@20 {
        /*
         * This is how it should be:
         * compatible = "onnn,pca9655", "nxp,pca9555";
         * but you can't do this because of the way I2C works.
         */
        compatible = "nxp,pca9555";
        gpio-controller;
        #gpio-cells = <2>;
        reg = <0x20>;
    
        pcie1_0_clkreq {
            gpio-hog;
            gpios = <0 GPIO_ACTIVE_LOW>;
            input;
            line-name = "pcie1.0-clkreq";
        };
        m2_ful_card_power_off {
            gpio-hog;
            gpios = <2 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "m2-ful-card-power-off";
        };
        pcie1_0_w_disable {
            gpio-hog;
            gpios = <3 GPIO_ACTIVE_LOW>;
            output-low;
            line-name = "pcie1.0-w-disable";
        };
        usb3_ilimit {
            gpio-hog;
            gpios = <5 GPIO_ACTIVE_LOW>;
            input;
            line-name = "usb3-current-limit";
        };
        usb3_power {
            gpio-hog;
            gpios = <6 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "usb3-power";
        };
        m2_w_disable {
            gpio-hog;
            gpios = <8 GPIO_ACTIVE_LOW>;
            output-low;
            line-name = "m2-w-disable";
        };
        m2_reset {
            gpio-hog;
            gpios = <10 GPIO_ACTIVE_HIGH>;
            output-high;
            line-name = "m2-reset";
        };
        m2_devslp {
            gpio-hog;
            gpios = <11 GPIO_ACTIVE_HIGH>;
            output-low;
            line-name = "m.2 devslp";
        };
    };
    
    /* The MCP3021 supports standard and fast modes */
    mikrobus_adc: mcp3021@4c {
        compatible = "microchip,mcp3021";
        reg = <0x4c>;
    };
    
    /*EEPROM on the SOM */
    eeprom@53 {
        compatible = "atmel,24c02";
        reg = <0x53>;
        pagesize = <16>;
    };
    

    };

    /* I2C Master */
    &cp0_i2c1 {
    status = "okay";
    clock-frequency = ;
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c1_pins>;
    };

    &cp0_gpio1 {
    phy_reset { /* Release switch reset */
    gpio-hog;
    gpios = ;
    output-high;
    };
    };

    &cp0_mdio {
    status = "okay";
    phy0: ethernet-phy@0 {
    /* Green led blinks on activity, Orange LED on link /
    marvell,reg-init = ;
    reg = ;
    };
    phy1: ethernet-phy@1 {
    /
    Green led blinks on activity, Orange LED on link */
    marvell,reg-init = ;
    reg = ;
    };
    };

    /* SRDS #0 - SATA on M.2 connector */
    &cp0_sata0 {
    status = "okay";
    };

    /* SRDS #1 - USB 3.0 host */
    &cp0_usb3_0 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy0>;
    phy-names = "usb";
    };

    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    };

    /* SRDS #2 - SFP+ 10GE */
    &cp0_eth0 {
    status = "okay";
    phy-mode = "10gbase-r";
    local-mac-address = [64 69 61 67 62 03];
    phys = <&cp0_comphy2 0>;
    managed = "in-band-status";
    sfp = <&cp0_sfp_eth0>;
    };

    /* SRDS #3 - SGMII 1GE on carrier board */
    &cp0_eth1 {
    status = "okay";
    local-mac-address = [64 69 61 67 62 01];
    phys = <&cp0_comphy3 1>;
    phy = <&phy1>;
    managed = "in-band-status";
    phy-mode = "sgmii";
    };

    /* SRDS #4 - USB 3.0 host on M.2 connector */
    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    phy-names = "usb";
    };

    /* SRDS #5 - mini PCIe slot */
    &cp0_pcie2 {
    status = "okay";
    phys = <&cp0_comphy5 2>;
    num-lanes = ;
    reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
    };

    /* GE PHY RGMII */
    &cp0_eth2 {
    status = "okay";
    local-mac-address = [64 69 61 67 62 02];
    phy = <&phy0>;
    phy-mode = "rgmii-id";
    pinctrl-0 = <&cp0_ge2_rgmii_pins>;
    };

    &cp0_sdhci0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_sdhci_pins
    &cp0_sdhci_cd_pins>;
    bus-width = ;
    cd-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
    no-1-8-v;
    vqmmc-supply = <&v_3_3>;
    vmmc-supply = <&v_3_3>;
    };

    &cp0_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_spi1_pins>;
    reg = ;
    spi-flash@0 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    spi-max-frequency = ;
    };
    spi-flash@1 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    /* On carrier MUX does not allow higher frequencies */
    spi-max-frequency = ;
    };
    };

    &cp0_syscon0 {
    cp0_pinctrl: pinctrl {
    compatible = "marvell,cp115-standalone-pinctrl";
    cp0_i2c0_pins: cp0-i2c-pins-0 {
    marvell,pins = "mpp37", "mpp38";
    marvell,function = "i2c0";
    };
    cp0_i2c1_pins: cp0-i2c-pins-1 {
    marvell,pins = "mpp35", "mpp36";
    marvell,function = "i2c1";
    };
    cp0_ge2_rgmii_pins: cp0-ge-rgmii-pins-0 {
    marvell,pins = "mpp44", "mpp45", "mpp46",
    "mpp47", "mpp48", "mpp49",
    "mpp50", "mpp51", "mpp52",
    "mpp53", "mpp54", "mpp55";
    marvell,function = "ge1";
    };
    cp0_sdhci_cd_pins: cp0-sdhci-cd-pins-0 {
    marvell,pins = "mpp43";
    marvell,function = "sdio";
    };
    cp0_sdhci_pins: cp0-sdhi-pins-0 {
    marvell,pins = "mpp56", "mpp57", "mpp58",
    "mpp59", "mpp60", "mpp61";
    marvell,function = "sdio";
    };
    cp0_spi1_pins: cp0-spi-pins-1 {
    marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16";
    marvell,function = "spi1";
    };
    /* cp0_rcvr_clk_pins: cp0-rcvr-clk-pins {
    marvell, pins = "mpp40";
    marvell,function = "synce1";
    };*/
    cp0_button_pin: cp0-button-pin {
    marvell,pins = "mpp32";
    marvell,function = "gpio";
    };
    };
    };
    et0 = &cp0_eth0;
    ethernet1 = &cp0_eth1;
    ethernet2 = &cp0_eth2;
    spi1 = &cp0_spi0;
    spi2 = &cp0_spi1;
    };
    memory@00000000 {
    device_type = "memory";
    reg = <0x0 0x0 0x0 0x80000000>;
    };
    v_3_3: regulator-3-3v {
    compatible = "regulator-fixed";
    regulator-name = "v_3_3";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
    status = "okay";
    };
    ap0_reg_sd_vccq: ap0_sd_vccq@0 {
    compatible = "regulator-gpio";
    regulator-name = "ap0_sd_vccq";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    states = <1800000 0x1 3300000 0x0>;
    };

    cp0_reg_usb3_vbus0: cp0_usb3_vbus@0 {
    compatible = "regulator-fixed";
    regulator-name = "cp0-xhci0-vbus";
    regulator-min-microvolt = ;
    regulator-max-microvolt = ;
    enable-active-high;
    };
    cp0_usb3_0_phy0: cp0_usb3_phy@0 {
    compatible = "usb-nop-xceiv";
    vcc-supply = <&cp0_reg_usb3_vbus0>;
    };

    cp0_reg_usb3_vbus1: cp0_usb3_vbus@1 {
    compatible = "regulator-fixed";
    regulator-name = "cp0-xhci1-vbus";
    regulator-min-microvolt = ;
    regulator-max-microvolt = ;
    enable-active-high;
    };
    cp0_usb3_0_phy1: cp0_usb3_phy@1 {
    compatible = "usb-nop-xceiv";
    vcc-supply = <&cp0_reg_usb3_vbus1>;
    };

    cp0_reg_sd_vccq: cp0_sd_vccq@0 {
    compatible = "regulator-gpio";
    regulator-name = "cp0_sd_vccq";
    regulator-min-microvolt = ;
    regulator-max-microvolt = ;
    states = ;
    };
    cp0_reg_sd_vcc: cp0_sd_vcc@0 {
    compatible = "regulator-fixed";
    regulator-name = "cp0_sd_vcc";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    enable-active-high;
    regulator-always-on;
    };

    cp0_sfp_eth0: sfp-eth@0 {
    compatible = "sff,sfp";
    i2c-bus = <&cp0_i2c1>;
    los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
    mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
    tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
    tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
    maximum-power-milliwatt = ;
    };
    ``` keys {
    compatible = "gpio-keys";
    pinctrl-0 = <&cp0_button_pin>;
    pinctrl-names = "default";

        button0{
            /* SW3 button */
            label = "SW3";
            gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
            linux,can-disable;
            linux,code = <BTN_0>;
        };
    };
    

    };

    &uart0 {
    status = "okay";
    };

    /* on-board eMMC */
    &ap_sdhci0 {
    pinctrl-names = "default";
    bus-width = ;
    vqmmc-supply = <&ap0_reg_sd_vccq>;
    status = "okay";
    };

    &cp0_crypto {
    status = "disabled";
    };

    &cp0_ethernet {
    status = "okay";
    };

    &cp0_gpio1 {
    status = "okay";
    };

    &cp0_gpio2 {
    status = "okay";
    };

    /* EEPROM /
    &cp0_i2c0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c0_pins>;
    clock-frequency = ;
    ```
    /

    * PCA9655 GPIO expander, up to 1MHz clock.
    * 0-CON3 CLKREQ#
    * 1-CON3 PERST#
    * 2-M2 FUL_CARD_POWER_OFF
    * 3-CON3 W_DISABLE
    * 4-CON2 CLKREQ#
    * 5-USB3 overcurrent
    * 6-USB3 power
    * 7-CON2 W_DISABLE
    * 8-M2 W_DISABLE
    * 9-JP4 P4
    * 10-M2 RESET
    * 11-m.2 DEVSLP
    * 12-SFP_LOS
    * 13-SFP_TX_FAULT
    * 14-SFP_TX_DISABLE
    * 15-SFP_MOD_DEF0
    /
    expander0: gpio-expander@20 {
    /

    * This is how it should be:
    * compatible = "onnn,pca9655", "nxp,pca9555";
    * but you can't do this because of the way I2C works.
    /
    compatible = "nxp,pca9555";
    gpio-controller;
    #gpio-cells = ;
    reg = ;
    pcie1_0_clkreq {
    gpio-hog;
    gpios = <0 GPIO_ACTIVE_LOW>;
    input;
    line-name = "pcie1.0-clkreq";
    };
    m2_ful_card_power_off {
    gpio-hog;
    gpios = <2 GPIO_ACTIVE_HIGH>;
    output-high;
    line-name = "m2-ful-card-power-off";
    };
    pcie1_0_w_disable {
    gpio-hog;
    gpios = <3 GPIO_ACTIVE_LOW>;
    output-low;
    line-name = "pcie1.0-w-disable";
    };
    usb3_ilimit {
    gpio-hog;
    gpios = <5 GPIO_ACTIVE_LOW>;
    input;
    line-name = "usb3-current-limit";
    };
    usb3_power {
    gpio-hog;
    gpios = <6 GPIO_ACTIVE_HIGH>;
    output-high;
    line-name = "usb3-power";
    };
    m2_w_disable {
    gpio-hog;
    gpios = <8 GPIO_ACTIVE_LOW>;
    output-low;
    line-name = "m2-w-disable";
    };
    m2_reset {
    gpio-hog;
    gpios = <10 GPIO_ACTIVE_HIGH>;
    output-high;
    line-name = "m2-reset";
    };
    m2_devslp {
    gpio-hog;
    gpios = <11 GPIO_ACTIVE_HIGH>;
    output-low;
    line-name = "m.2 devslp";
    };
    };

    /
    The MCP3021 supports standard and fast modes */
    mikrobus_adc: mcp3021@4c {
    compatible = "microchip,mcp3021";
    reg = ;
    };
    ``` /*EEPROM on the SOM */
    eeprom@53 {
    compatible = "atmel,24c02";
    reg = ;
    pagesize = ;
    };
    };

    /* I2C Master */
    &cp0_i2c1 {
    status = "okay";
    clock-frequency = ;
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_i2c1_pins>;
    };

    &cp0_gpio1 {
    phy_reset { /* Release switch reset */
    gpio-hog;
    gpios = ;
    output-high;
    };
    };

    &cp0_mdio {
    status = "okay";
    phy0: ethernet-phy@0 {
    /* Green led blinks on activity, Orange LED on link /
    marvell,reg-init = ;
    reg = ;
    };
    phy1: ethernet-phy@1 {
    /
    Green led blinks on activity, Orange LED on link */
    marvell,reg-init = ;
    reg = ;
    };
    };

    /* SRDS #0 - SATA on M.2 connector */
    &cp0_sata0 {
    status = "okay";
    };

    /* SRDS #1 - USB 3.0 host */
    &cp0_usb3_0 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy0>;
    phy-names = "usb";
    };

    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    };

    /* SRDS #2 - SFP+ 10GE */
    &cp0_eth0 {
    status = "okay";
    phy-mode = "10gbase-r";
    local-mac-address = [64 69 61 67 62 03];
    phys = <&cp0_comphy2 0>;
    managed = "in-band-status";
    sfp = <&cp0_sfp_eth0>;
    };

    /* SRDS #3 - SGMII 1GE on carrier board */
    &cp0_eth1 {
    status = "okay";
    local-mac-address = [64 69 61 67 62 01];
    phys = <&cp0_comphy3 1>;
    phy = <&phy1>;
    managed = "in-band-status";
    phy-mode = "sgmii";
    };

    /* SRDS #4 - USB 3.0 host on M.2 connector */
    &cp0_usb3_1 {
    status = "okay";
    usb-phy = <&cp0_usb3_0_phy1>;
    phy-names = "usb";
    };

    /* SRDS #5 - mini PCIe slot */
    &cp0_pcie2 {
    status = "okay";
    phys = <&cp0_comphy5 2>;
    num-lanes = ;
    reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
    };

    /* GE PHY RGMII */
    &cp0_eth2 {
    status = "okay";
    local-mac-address = [64 69 61 67 62 02];
    phy = <&phy0>;
    phy-mode = "rgmii-id";
    pinctrl-0 = <&cp0_ge2_rgmii_pins>;
    };

    &cp0_sdhci0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_sdhci_pins
    &cp0_sdhci_cd_pins>;
    bus-width = ;
    cd-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
    no-1-8-v;
    vqmmc-supply = <&v_3_3>;
    vmmc-supply = <&v_3_3>;
    };

    &cp0_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_spi1_pins>;
    reg = ;
    spi-flash@0 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    spi-max-frequency = ;
    };
    spi-flash@1 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    /* On carrier MUX does not allow higher frequencies */
    spi-max-frequency = ;
    };
    };

    &cp0_syscon0 {
    cp0_pinctrl: pinctrl {
    compatible = "marvell,cp115-standalone-pinctrl";
    cp0_i2c0_pins: cp0-i2c-pins-0 {
    marvell,pins = "mpp37", "mpp38";
    marvell,function = "i2c0";
    };
    cp0_i2c1_pins: cp0-i2c-pins-1 {
    marvell,pins = "mpp35", "mpp36";
    marvell,function = "i2c1";
    };
    cp0_ge2_rgmii_pins: cp0-ge-rgmii-pins-0 {
    marvell,pins = "mpp44", "mpp45", "mpp46",
    "mpp47", "mpp48", "mpp49",
    "mpp50", "mpp51", "mpp52",
    "mpp53", "mpp54", "mpp55";
    marvell,function = "ge1";
    };
    cp0_sdhci_cd_pins: cp0-sdhci-cd-pins-0 {
    marvell,pins = "mpp43";
    marvell,function = "sdio";
    };
    cp0_sdhci_pins: cp0-sdhi-pins-0 {
    marvell,pins = "mpp56", "mpp57", "mpp58",
    "mpp59", "mpp60", "mpp61";
    marvell,function = "sdio";
    };
    cp0_spi1_pins: cp0-spi-pins-1 {
    marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16";
    marvell,function = "spi1";
    };
    /* cp0_rcvr_clk_pins: cp0-rcvr-clk-pins {
    marvell, pins = "mpp40";
    marvell,function = "synce1";
    };*/
    cp0_button_pin: cp0-button-pin {
    marvell,pins = "mpp32";
    marvell,function = "gpio";
    };
    };
    };
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_sdhci_pins
    &cp0_sdhci_cd_pins>;
    bus-width = ;
    cd-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
    no-1-8-v;
    vqmmc-supply = <&v_3_3>;
    vmmc-supply = <&v_3_3>;
    };

    &cp0_spi1 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&cp0_spi1_pins>;
    reg = ;
    spi-flash@0 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    spi-max-frequency = ;
    };
    spi-flash@1 {
    #address-cells = ;
    #size-cells = ;
    compatible = "jedec,spi-nor";
    reg = ;
    /* On carrier MUX does not allow higher frequencies */
    spi-max-frequency = ;
    };
    };

    &cp0_syscon0 {
    cp0_pinctrl: pinctrl {
    compatible = "marvell,cp115-standalone-pinctrl";
    cp0_i2c0_pins: cp0-i2c-pins-0 {
    marvell,pins = "mpp37", "mpp38";
    marvell,function = "i2c0";
    };
    cp0_i2c1_pins: cp0-i2c-pins-1 {
    marvell,pins = "mpp35", "mpp36";
    marvell,function = "i2c1";
    };
    cp0_ge2_rgmii_pins: cp0-ge-rgmii-pins-0 {
    marvell,pins = "mpp44", "mpp45", "mpp46",
    "mpp47", "mpp48", "mpp49",
    "mpp50", "mpp51", "mpp52",
    "mpp53", "mpp54", "mpp55";
    marvell,function = "ge1";
    };
    cp0_sdhci_cd_pins: cp0-sdhci-cd-pins-0 {
    marvell,pins = "mpp43";
    marvell,function = "sdio";
    };
    cp0_sdhci_pins: cp0-sdhi-pins-0 {
    marvell,pins = "mpp56", "mpp57", "mpp58",
    "mpp59", "mpp60", "mpp61";
    marvell,function = "sdio";
    };
    cp0_spi1_pins: cp0-spi-pins-1 {
    marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16";
    marvell,function = "spi1";
    };
    /* cp0_rcvr_clk_pins: cp0-rcvr-clk-pins {
    marvell, pins = "mpp40";
    marvell,function = "synce1";
    };*/
    cp0_button_pin: cp0-button-pin {
    marvell,pins = "mpp32";
    marvell,function = "gpio";
    };
    };
    };

  • [^] # Re: ethtool et vérification câble

    Posté par  . En réponse au message Port ethernet up mais aucun flux. Évalué à 1.

    Hello.
    Merci pour ta réponse.

    La commande ethtool -S sort tout à zéro.

    et pour la commande ethtool -t

    # ethtool -t eth2
    Cannot test: Operation not supported
    

    Côté hardware :
    j'ai testé le câble sur les autres ports.
    J'ai également essayé avec un autre câble rj45. :(

  • [^] # Re: Adresse ?

    Posté par  . En réponse au message Port ethernet up mais aucun flux. Évalué à 1.

    Hello.
    tout d'abord, merci pour ta réponse :)

    J'ai oublié de dire que je n'arrive pas à avoir d'adresse IP pour l'interface eth2 en dhcp.

    J'ai également essayé en ip statique.
    Impossible de pinguer la passerelle.

    J'ai testé le câble sur les autres ports, et j'ai quand même essayé avec un autre cable rj45.
    Ca n'a rien changé:(

  • [^] # Re: ramdisk compressé

    Posté par  . En réponse au message uboot : inclure initrd dans le fichier fit. Évalué à 1.

    Hello :)

    Merci de m'avoir répondu.

    J'ai testé ta suggestion mais toujours le même problème :'(

    Compression none pour le ramdisk dans le fit et rd_gzip dans le kernel.

  • # Touvé :)

    Posté par  . En réponse au message exécuter un script bash local sur une machine distante via le ssh. Évalué à 1.

    Hello,
    Tout d'abord, je vous remercie pour votre aide et vos réponses.
    En utilisant vos méthodes, je me retrouvais avec les mêmes messages d'erreurs :(

    Mais j'ai trouvé ceci , si ça peut aider :

    sudo sshpass -p 'XXXXXX' ssh -y ONTUSER@192.168.1.10 "ash --login -c '/opt/lantiq/bin/sfp_i2c -i11 -s \"$slid\"; reboot; exit'"

  • [^] # Re: probleme de qui gere quoi ?

    Posté par  . En réponse au message exécuter un script bash local sur une machine distante via le ssh. Évalué à 1.

    Hello.
    Je te remercie pour ta réponse.
    Je testerai ce soir.
    Merci encore :)

  • [^] # Re: mise en page foireuse

    Posté par  . En réponse au message exécuter un script bash local sur une machine distante via le ssh. Évalué à 1.

    Hello.
    Je te remercie :)

  • # solution

    Posté par  . En réponse au message Phylink et sfp. Évalué à 1.

    Hello,
    J'ai trouvé la solution :

    Dans le fichier /etc/network/interfaces :

    auto eth2
    iface eth2 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.10 =====> IP accès SSH/telnet du module sfp
    post-up /sbin/ip l s up dev $IFACE

  • [^] # Re: parce que ta carte clearfog te cache le module SFP

    Posté par  . En réponse au message Phylink et sfp. Évalué à 1.

    Désolé, je pensais que tu voulais que je confirme :) .

    Ma question, en effet, est comment parler au sfp depuis le sbc?

    En espérant que ce soit possible.

  • [^] # Re: parce que ta carte clearfog te cache le module SFP

    Posté par  . En réponse au message Phylink et sfp. Évalué à 1. Dernière modification le 15 octobre 2021 à 15:55.

    Hello,
    Tout d'abord, je te remercie pour ta réponse.
    Ce que j'aimerais faire, doit se faire depuis le shell de la sbc.

  • [^] # Re: J'ai des questions

    Posté par  . En réponse au message kernel / driver / firmware ath10k. Évalué à 1.

    Re.

    Je te dirai ça en rentrant ce soir. ^

    Je debute dans Buildroot et les Kernel custom, il y a de fortes chances que j'ai mal configuré ce genre de détails .

  • [^] # Re: J'ai des questions

    Posté par  . En réponse au message kernel / driver / firmware ath10k. Évalué à 1.

    Hello,
    Tout d'abord, je te remercie pour ta réponse :).

    pour répondre à tes questions :

    Quels sont les droits du fichier de firmware quand ça marche pas ?
    ```

    ls -l

    total 483
    -rwxrwxrwx 1 root root 2116 Jan 9 18:28 board.bin
    -rwxrwxrwx 1 root root 241892 May 11 13:48 firmware-4.bin
    -rwxrwxrwx 1 root root 249044 May 11 13:48 firmware-5.bin
    ```
    Est-ce que si tu charges le module ath à la main (avec modprobe) sans faire le chmod, la carte fonctionne ?

    Est-ce que si tu charges le module ath à la main, mais en faisant le chmod avant, la carte fonctionne ?

    Je ne lance pas le module à la main, j'ai "intégrer le driver" dans le kernel, qui se lance automatiquement au boot.

    Est-ce que si fais seulement le chmod puis que tu montes l'interface (genre ifconfig wlan0 up) ça fonctionne ?

    J'ai essayé ce conseil mais l'interface ne remonte pas :
    ```

    chmod 777 -R /lib/firmware/ath10k/

    ifconfig wlan up

    ifconfig: SIOCGIFFLAGS: No such device

    ifup wlan0

    Cannot find device "wlan0"
    Cannot find device "wlan0"
    ```

    Es-tu certain que ton script init se lance au boot (lui faire créer un petit fichier dans /tmp pour vérifier, genre date > /tmp/chmodtest) ?

    Yes,j'en suis sûr, j'ai testé avec des echo et je les vois bien au boot

    Si le système d'init de ta distrib est du type SysV (ce que suggère la présence de /etc/init.d/), tu peux essayer de faire un script qui s'exécute à l'extinction aussi (dans /etc/rc0.d et /etc/rc6.d) ?

    J'y avais pensé.
    Mais le fait de faire un chmod puis de débrancher la prise électrique et de rallumer après, le firmware ne se lance pas.
    Il se lance seulement après un soft reboot, précédé du chmod 777.

    Le répertoire /lib/firmware est-il sur un système de fichier avec un overlay par dessus ?

    Dans buildroot, j'utilise en effet un overlay

    merci encore pour ton aide

  • # résolu

    Posté par  . En réponse au message Problème wifi et reboot. Évalué à 1.

    Résolu en utilisant un kernel net-next ^

  • [^] # Re: whoa, débrancher du PCI-e ?

    Posté par  . En réponse au message Problème wifi et reboot. Évalué à 1.

    Hello :)
    Merci pour ta réponse.
    Non ça bloqué, elle ne s'éteint ni se rallume si je ne force pas avec -f

  • [^] # Re: whoa, débrancher du PCI-e ?

    Posté par  . En réponse au message Problème wifi et reboot. Évalué à 1.

    hello again :)

    Je pense avoir trouvé le coupable.

    Quand j'éteins en ligne de commande (poweroff) ou reboot sans forcer j'ai ceci qui bloque tout :

    [ 668.365849] kvm: exiting hardware virtualization.

    J'ai essayé de faire un lsmod | grep kvm, mais je ne trouve rien ;(

  • [^] # Re: sync

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 1.

    je pense en effet que c'etait du au petit -f ^
    du coups en forçant le sync, je garde mes infos.

  • [^] # Re: sync

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 2.

    Excellent. Ca a résolu mon problème.
    Merci beaucoup :) ^

  • [^] # Re: fsck ?

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 2.

    je pense que tes conseils me mènent sur la bonne piste :)

    comme dis un peu avant, je suis sur un système embarqué.

    J'ai créé un script pour rebooter la carte (commande reboot -f).
    Et quand je veux l'éteindre électriquement, je débranche l'alimentation électrique.

    En voulant l'éteindre "proprement" avec la commande poweroff j'ai eu ce retour :
    ```
    [ 59.280164] kvm: exiting hardware virtualization

    PANIC at PC : 0x0000000004023248
    ```
    Dans mon script, j'utilise reboot -f car la carte bloquait avec ce message, [ 59.280164] kvm: exiting hardware virtualization,
    et je voulais forcer la carte a redémarrer.

    Donc je pense que dans un premier temps, il faut que j'arrive a éliminer mes deux erreurs citées au dessus et ensuite forcer l'extinction de la carte via la commande poweroff.

    As tu une idée pour mes erreurs :)?

    Merci encore pour ta reflexion

  • [^] # Re: fsck ?

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 1.

    merci :)

    je suis sur un système embarqué.
    Je provoque des soft reboot en ligne de commande.
    J'éteins et rallume ma petite carte directement avec son alimentation.

    Je ne comprends pas comment le fichier peut se corrompre alors qu'avant de redémarrer, il est intact. :(

  • [^] # Re: Ça ne répond pas à la question...

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 2.

    re ^

    apres un umount et mount,
    les fichiers sont toujours intacts.

  • [^] # Re: Ça ne répond pas à la question...

    Posté par  . En réponse au message fichiers qui s'effacent tout seul au reboot. Évalué à 1. Dernière modification le 21 janvier 2021 à 19:47.

    hello
    merci pour ta reponse.
    Je donnais un poids au hasard pour l'exemple ^
    mais chaque document que je créée et avec un poids, se retrouve avec un poids a zero au reboot

    Pour la commande mount:

        # mount
        /dev/root on / type ext4 (rw,relatime)
        devtmpfs on /dev type devtmpfs (rw,relatime,size=481120k,nr_inodes=120280,mode=755)
        proc on /proc type proc (rw,relatime)
        devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
        tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
        tmpfs on /tmp type tmpfs (rw,relatime)
        tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
        sysfs on /sys type sysfs (rw,relatime)
        /dev/mmcblk1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
        /dev/mmcblk1p4 on /data type ext4 (rw,relatime,errors=remount-ro)