Sergey2k

Members
  • Content Count

    13
  • Joined

  • Last visited

  1. What components do work? What DTB file do you use? I can't see worked WIFI and wired ethernet simultaneously.
  2. Reset button into audio jack. You can use toothpick, for example.
  3. 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.
  4. 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>; }; };
  5. 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)
  6. 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
  7. 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.
  8. 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.
  9. 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
  10. What image do you use? Where I can download it?
  11. 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?
  12. 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?