Jump to content

Sergey2k

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Sergey2k

  1. On X96 Air wired network works if to set "negotiation" to "manual" and "speed" to "100 mb duplex" only. On Auto don't see connected cable.
  2. I fixed device tree file for my X96Air. Now wifi and ethernet work. In file phy-mode is changed from rgii to rgmii and added some strings from other file for this mode. Network, BT work good, audio is not, and i've some error In log: Dec 16 05:48:39 rk3399 kernel: OCFS2 User DLM kernel interface loaded Dec 16 05:48:39 rk3399 kernel: EINJ: ACPI disabled. Dec 16 05:48:39 rk3399 kernel: mmc0: queuing unknown CIS tuple 0x80 (2 bytes) Dec 16 05:48:39 rk3399 kernel: mmc0: queuing unknown CIS tuple 0x80 (3 bytes) Dec 16 05:48:39 rk3399 kernel: mmc0: queuing unknown CIS tuple 0x80 (3 bytes) Dec 16 05:48:39 rk3399 kernel: mmc0: queuing unknown CIS tuple 0x80 (7 bytes) Dec 16 05:48:39 rk3399 kernel: mmc0: queuing unknown CIS tuple 0x81 (9 bytes) Dec 16 05:48:39 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found Dec 16 05:48:39 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found Dec 16 05:48:39 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet: PTP uses main clock Dec 16 05:48:39 rk3399 kernel: dwc2 ff400000.usb: ff400000.usb supply vusb_d not found, using dummy regulator Dec 16 05:48:39 rk3399 kernel: dwc2 ff400000.usb: ff400000.usb supply vusb_a not found, using dummy regulator Dec 16 05:48:39 rk3399 kernel: dwc3 ff500000.usb: Failed to get clk 'ref': -2 Dec 16 05:48:39 rk3399 kernel: gpio-keys gpio-keys: Unable to get irq number for GPIO 0, error -6 Dec 16 05:48:39 rk3399 systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument Dec 16 05:48:39 rk3399 kernel: meson-g12a-pinctrl ff634400.bus:pinctrl@40: pin GPIOZ_2 already requested by ff3f0000.ethernet; cannot claim for ff661000.audio-control Dec 16 05:48:39 rk3399 kernel: meson-g12a-pinctrl ff634400.bus:pinctrl@40: pin-2 (ff661000.audio-controller) status -22 Dec 16 05:48:39 rk3399 kernel: meson-g12a-pinctrl ff634400.bus:pinctrl@40: could not request pin 2 (GPIOZ_2) from group pdm_din0_z on device pinctrl-meson Dec 16 05:48:39 rk3399 kernel: axg-pdm ff661000.audio-controller: Error applying setting, reverse things back Dec 16 05:48:39 rk3399 kernel: axg-pdm: probe of ff661000.audio-controller failed with error -22 Dec 16 05:48:39 rk3399 systemd-udevd[505]: link_config: could not get ethtool features for eth0 Dec 16 05:48:39 rk3399 systemd-udevd[505]: Could not set offload features of eth0: Device or resource busy Dec 16 05:48:39 rk3399 kernel: debugfs: Directory 'ff800280.cec' with parent 'regmap' already present! Dec 16 05:48:40 rk3399 kernel: meson_vdec: module is from the staging directory, the quality is unknown, you have been warned. Dec 16 05:48:40 rk3399 kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 Dec 16 05:48:40 rk3399 kernel: platform regulatory.0: Falling back to sysfs fallback for: regulatory.db Dec 16 05:48:40 rk3399 kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 Dec 16 05:48:40 rk3399 kernel: brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.seirobotics,sei610.txt failed with error -2 Dec 16 05:48:40 rk3399 kernel: brcmfmac mmc0:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.seirobotics,sei610.txt Dec 16 05:48:40 rk3399 kernel: bluetooth hci1: Direct firmware load for brcm/BCM4345C0.hcd failed with error -2 Dec 16 05:48:40 rk3399 kernel: bluetooth hci1: Falling back to sysfs fallback for: brcm/BCM4345C0.hcd Dec 16 05:48:41 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW Dec 16 05:48:41 rk3399 kernel: ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff) Dec 16 05:48:42 rk3399 kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 Dec 16 05:48:43 rk3399 kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
  3. What components do work? What DTB file do you use? I can't see worked WIFI and wired ethernet simultaneously.
  4. Reset button into audio jack. You can use toothpick, for example.
  5. Is anybody know, is there datasheet on AmLogic S905X3? I can't to use wired ethernet in chip. Although it depends on the implementation in device.
  6. It isn't secret.) I've extracted dtb from android update image for my TV Box. And I'm thinking how use it) Cut from it about ethernet: ethernet@ff3f0000 { compatible = "amlogic, g12a-eth-dwmac", "snps,dwmac"; reg = <0xff3f0000 0x10000 0xff634540 0x8 0xff64c000 0xa0>; reg-names = "eth_base", "eth_cfg", "eth_pll"; interrupts = <0x0 0x8 0x1>; interrupt-names = "macirq"; status = "okay"; clocks = <0x2 0x38>; clock-names = "ethclk81"; pll_val = <0x9c0040a 0x927e0000 0xac5f49e5>; analog_val = <0x20200000 0xc000 0x23>; pinctrl-names = "internal_eth_pins"; pinctrl-0 = <0x11>; mc_val = <0x4be04>; internal_phy = <0x1>; phandle = <0x97>; }; This cut from meson-sm1-sei610.dtb and it isn't work on X96Air: ethernet@ff3f0000 { compatible = "amlogic,meson-axg-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; reg = <0x0 0xff3f0000 0x0 0x10000 0x0 0xff634540 0x0 0x8>; interrupts = <0x0 0x8 0x4>; interrupt-names = "macirq"; clocks = <0x5 0x26 0x5 0x2 0x5 0xd>; clock-names = "stmmaceth", "clkin0", "clkin1"; rx-fifo-depth = <0x1000>; tx-fifo-depth = <0x800>; status = "okay"; power-domains = <0x6 0x6>; phy-handle = <0x7>; phy-mode = "rmii"; mdio { #address-cells = <0x1>; #size-cells = <0x0>; compatible = "snps,dwmac-mdio"; phandle = <0x10>; }; };
  7. You are right. I extracted image on SD card and system booted normally (see photo below). Thank you. Next problem is wired network (wifi works good). There is log of errors: Dec 09 10:45:37 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found Dec 09 10:45:37 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found Dec 09 10:45:37 rk3399 kernel: dwc3 ff500000.usb: Failed to get clk 'ref': -2 Dec 09 10:45:37 rk3399 kernel: gpio-keys gpio-keys: Unable to get irq number for GPIO 0, error -6 Dec 09 10:45:37 rk3399 kernel: debugfs: Directory 'ff800280.cec' with parent 'regmap' already present! Dec 09 10:45:38 rk3399 kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 Dec 09 10:45:39 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet eth0: no phy at addr -1 Dec 09 10:45:39 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) Dec 09 10:45:39 rk3399 dhclient[655]: send_packet: Network is down Dec 09 10:45:39 rk3399 dhclient[655]: dhclient.c:2445: Failed to send 300 byte long packet over eth0 interface. Dec 09 10:45:39 rk3399 dhclient[655]: receive_packet failed on eth0: Network is down Dec 09 10:45:40 rk3399 kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 Dec 09 10:45:41 rk3399 kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04 Dec 09 10:45:47 rk3399 dhclient[655]: send_packet: Network is down Dec 09 10:45:47 rk3399 dhclient[655]: dhclient.c:2445: Failed to send 300 byte long packet over eth0 interface. Dec 09 10:45:49 rk3399 bluetoothd[829]: Sap driver initialization failed. Dec 09 10:45:49 rk3399 bluetoothd[829]: sap-server: Operation not permitted (1) Dec 09 10:45:50 rk3399 NetworkManager[846]: ((src/settings/nm-settings.c:899)): assertion '<dropped>' failed Dec 09 10:45:50 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet eth0: no phy at addr -1 Dec 09 10:45:50 rk3399 kernel: meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
  8. USB flash drive 16Gb SunDisk > lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0781:5591 SanDisk Corp. Ultra Flair Bus 001 Device 005: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse Bus 001 Device 004: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  9. I tried to fix u-boot with Armbian_5.99_Aml-g12_Debian_buster_dev_5.4.0-rc6_20191110.img on my X96Air. Device don't boot, green screen only. Next I tried to boot with new Armbian_19.11.3_Rk3399-tv_buster_dev_5.4.1_desktop_20191208.img withot fix u-boot. Colors on display are messed up. And I added u-boot.ext. Again device dont' boot with green screen.
  10. Thank you. I try desktop build with meson-sm1-sei610.dtb. Device is booted, wired network don't work (don't see connected cable), wifi works well. Colors on display are messed up too. Also BT and USB work.
  11. offtopic. I tried any linux images and my device started with altlinux_xfce_20190902.img, if it's interesting for anybody) Dtb file is not changed, stays as default, meason-g12b-odroid-n2. USB, keyboard, mouse, HDMI (display) work good. But network displays disconnected state and trying to connect. Bluetooth seems work, I did't check. [user0@localhost ~]$ uname -a Linux localhost.localdomain 5.3.0-rc6-aml-g12 #5.94 SMP PREEMPT Sun Sep 1 13:46:49 MSK 2019 aarch64 GNU/Linux [user0@localhost ~]$ cat /proc/cpuinfo processor : 0 model name : ARMv8 Processor rev 0 (v8l) BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd05 CPU revision : 0 processor : 1 model name : ARMv8 Processor rev 0 (v8l) BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd05 CPU revision : 0
  12. What image do you use? Where I can download it?
  13. I've tried. It's right. Probably TV box is beginning booting from USB, because android not start. But I don see anything on display, therefore this image don't work there. After removing USB storage android have booted good. How to make Armbian for new Amlogic CPU?
  14. I try to use image Armbian_19.11.3_Aml-g12_bionic_legacy_5.3.0_desktop_20191126.img for device with S905X3. TV box is called X96 Air. Unfortunately, I can't make multi boot. I've got error: -- Install /udisk/aml_autoscript.zip ... Verifying update package... E:footer is wrong Update package verification took 0.1 s (result 1). E:Signature verification failed E:error: 21 Installation aborted. How I can do it?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines