Jump to content

Marcio Mello

Validating
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Marcio Mello reacted to bartek666666 in Allwiner A10 tablet USB not working [SOLVED]   
    Okay, I'm a noob but finally it works. .dts for anyone that is curious. now i just need to enable LCD in u-boot
     
    /dts-v1/; #include "sun4i-a10.dtsi" #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/pwm/pwm.h> / { model = "Cubietech Cubieboard"; compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10"; aliases { serial0 = &uart0; }; chosen { stdout-path = "serial0:115200n8"; }; hdmi-connector { compatible = "hdmi-connector"; type = "a"; port { hdmi_con_in: endpoint { remote-endpoint = <&hdmi_out_con>; }; }; }; }; &ahci { target-supply = <&reg_ahci_5v>; status = "okay"; }; &codec { status = "okay"; }; &cpu0 { cpu-supply = <&reg_dcdc2>; }; &de { status = "okay"; }; &ehci0 { status = "okay"; }; &ehci1 { status = "okay"; }; &emac { phy-handle = <&phy1>; status = "okay"; }; &emac_sram { status = "okay"; }; &hdmi { status = "okay"; }; &hdmi_out { hdmi_out_con: endpoint { remote-endpoint = <&hdmi_con_in>; }; }; &i2c0 { status = "okay"; axp209: pmic@34 { reg = <0x34>; interrupts = <0>; }; }; &i2c1 { status = "okay"; }; &ir0 { pinctrl-names = "default"; pinctrl-0 = <&ir0_rx_pins>; status = "okay"; }; &mdio { status = "okay"; phy1: ethernet-phy@1 { reg = <1>; }; }; &mmc0 { vmmc-supply = <&reg_vcc3v3>; bus-width = <4>; cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; }; &ohci0 { status = "okay"; }; &ohci1 { status = "okay"; }; &otg_sram { status = "okay"; }; &pio { usb0_id_detect_pin: usb0-id-detect-pin { pins = "PH4"; function = "gpio_in"; bias-pull-up; }; usb0_vbus_detect_pin: usb0-vbus-detect-pin { pins = "PH5"; function = "gpio_in"; bias-pull-down; }; }; &reg_ahci_5v { status = "okay"; }; #include "axp209.dtsi" &ac_power_supply { status = "okay"; }; &reg_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1400000>; regulator-name = "vdd-cpu"; }; &reg_dcdc3 { regulator-always-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1250000>; regulator-name = "vdd-int-dll"; }; &reg_ldo1 { regulator-name = "vdd-rtc"; }; &reg_ldo2 { regulator-always-on; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; regulator-name = "avcc"; }; &reg_usb0_vbus { status = "okay"; }; &reg_usb1_vbus { status = "okay"; }; &reg_usb2_vbus { status = "okay"; }; &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi0_pi_pins>, <&spi0_cs0_pi_pin>; status = "okay"; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pb_pins>; status = "okay"; }; &usb_otg { dr_mode = "host"; status = "okay"; }; &usbphy { pinctrl-names = "default"; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>; usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ usb0_vbus_det-gpio = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */ usb0_vbus-supply = <&reg_usb0_vbus>; usb1_vbus-supply = <&reg_usb1_vbus>; usb2_vbus-supply = <&reg_usb2_vbus>; status = "okay"; };  
  2. Like
    Marcio Mello reacted to sciram in Firefly Station P2 (rk3568), no NVM on linux kernel 5.X, 6.X   
    Hello!
     
    I have Firefly Station P2 (I use this images - https://users.armbian.com/balbes150/rk3568/)
    And everything is OK except for one problem:
    I can't see NVM disk when booting kernel 5.X, 6.X. Yet on kernel 4.X I can see nvm.
    Please help, what should I do to use nvm with 5.X kernel?
     
    Some output:
    root@station-p2:~# uname -r
    6.0.0-rc4-media

    root@station-p2:~# lsblk
    NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
    mmcblk0      179:0    0 14.8G  0 disk
     mmcblk0p1  179:1    0 14.7G  0 part /var/log.hdd
                                          /
    mmcblk1      179:32   0 29.1G  0 disk
     mmcblk1p1  179:33   0 28.8G  0 part
    mmcblk1boot0 179:64   0    4M  1 disk
    mmcblk1boot1 179:96   0    4M  1 disk
    zram0        252:0    0  1.9G  0 disk [SWAP]
    zram1        252:1    0   50M  0 disk /var/log
    zram2        252:2    0    0B  0 disk

    root@station-p2:~# lspci
    root@station-p2:~#

    ---
    root@station-p2:~# uname -r
    5.19.7-station-p2

    root@station-p2:~# lsblk
    NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
    mmcblk0      179:0    0 14.8G  0 disk
     mmcblk0p1  179:1    0 14.7G  0 part /var/log.hdd
                                          /
    mmcblk1      179:32   0 29.1G  0 disk
     mmcblk1p1  179:33   0 28.8G  0 part
    mmcblk1boot0 179:64   0    4M  1 disk
    mmcblk1boot1 179:96   0    4M  1 disk
    zram0        252:0    0  1.9G  0 disk [SWAP]
    zram1        252:1    0   50M  0 disk /var/log
    zram2        252:2    0    0B  0 disk

    root@station-p2:~# lspci
    root@station-p2:~#

    ---
    root@station-p2:~# uname -r
    4.19.219-station-p2

    root@station-p2:~# lsblk
    NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
    mtdblock0     31:0    0    32M  0 disk
    mmcblk0      179:0    0  29.1G  0 disk
     mmcblk0p1  179:1    0  28.8G  0 part
    mmcblk0boot0 179:32   0     4M  1 disk
    mmcblk0boot1 179:64   0     4M  1 disk
    mmcblk1      179:96   0  14.8G  0 disk
     mmcblk1p1  179:97   0  14.7G  0 part /var/log.hdd
                                           /
    zram0        254:0    0     0B  0 disk
    nvme0n1      259:0    0 238.5G  0 disk
     nvme0n1p1  259:1    0     4M  0 part
     nvme0n1p2  259:2    0     4M  0 part
     nvme0n1p3  259:3    0    64M  0 part
     nvme0n1p4  259:4    0    64M  0 part
     nvme0n1p5  259:5    0    32M  0 part
     nvme0n1p6  259:6    0   2.7G  0 part
     nvme0n1p7  259:7    0 235.6G  0 part

    root@station-p2:~# lspci
    0002:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
    0002:21:00.0 Non-Volatile memory controller: Sandisk Corp PC SN520 NVMe SSD (rev 01)
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines