Wester_Minsk

  • Posts

    16
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Applications

Posts posted by Wester_Minsk

  1. 14 hours up time on eMMC, with  Doker +HA + Pihole load. 

    At the beginning there was one freeze, after which I removed the parameter "rk3318-box-emmc-hc200"  from the armbian-config. 

    Then it works stably. 

    This is already much better than it was, the changes are obvious. 

    I will pick up a good sdcard, and start from it to eliminate the eMMC problem and continue testing. 

  2. 37 минут назад, fabiobassa сказал:

    @Wester_Minsk

    ch340 should be ok. Remember the speed of rockchip is NON STANDARD at 1500000, yes 1 million 500000 !
    It will be interesting :
    full bootlog of android
    full bootlog  with sd inserted but android still present in eemc

    full bootlog of armbian in emmc

    full bootlog of armbian in emmc plus sd inserted

    In few words the most case we have, the better understanding of things !


     

    I'll try to figure it out.

    Give me a hint, how to read these logs?

    Maybe there is a manual or a link to the topic with such works?

  3. 2 часа назад, fabiobassa сказал:

    @Wester_Minsk
    Your contribute is highly appreciated, don't worry ! If you like to continue experiment is ok !
     

    I'm not worried, I just didn't want to bother you, unless absolutely necessary.

    I will continue working with pleasure.

    I am interested in this topic.

     

     

    2 часа назад, fabiobassa сказал:

    @Wester_Minsk
    Let me ask you : have you electronic skills ? Would you be able to connect a uart /ttl converter to those wonderfull uart pads I see int he photos ?

     

    I have a modest experience, but I can handle it.

    I'm friends with a soldering iron.

    I have:

    ch340 usb ttl,

    RS485 to UART,

    TTL to RS485,

    USB to RS485.

     

  4. 2fabiobassa

     

    With android, box does not start with SD cards, the "toothpick" method does not work.  I tried - multitool -> armbian in emmc -> didn't start with emnc -> start with sdcard armbian.  Box started up, passed apt aupdate, then froze. I get cpu metod - perfomance 1000. two hours later on the screen:

    Скрытый текст

    9f167ad75b03a837b972247606c6d09c.jpeg

     

    I do not plan on tuning my RK anymore.  But if necessary for this topic, I can continue.

     

     p.s

    sorry for my English, my native language is Russian.

  5. I'm asking for help.
    I continue to test my box RK3318, there is a problem :(. which I can't handle. I don't have the necessary knowledge in linux.
    Box constantly freezes, and several times it did not start, I had to restore it from multitool.

    I am using the image of Arabian 21.08-Debian Buster minimal-mainline kernel 5.10.4 installed in eMMC.
    All updates are installed.
    Doker and homeassistance are installed.

     

    what I tried:
    in arm bin-config:
    Scaling governor: performance, conservative, ondemand
    cpu 1000 1300 1400
    *rk3318-box-emmc-hc200
    *rk3318-box-led-conf1

    lastest Update:
    arm bin-config linux-deb-current-rockchip 64 linux-image-current-rockchip 64 linux-libc-dev

    only Lan
    only wifi

    cpu temperature 40-60 

    all these changes do not affect the freezes in any way.

    I put: Armbian 21.05-Debian Buster minimal-legacy kernel 4.4.213 - on this image is even worse, freezes  on the start setting..

     

    Now I'm starting to study logs:

    sudo ls /var/log
    alternatives.log              bootstrap.log  dpkg.log        lost+found             rpimonitor.log
    apparmor                      btmp           faillog         messages               syslog
    apt                           chrony         fontconfig.log  nand-sata-install.log  sysstat
    armbian-hardware-monitor.log  daemon.log     kern.log        openvpn                user.log
    auth.log                      debug          lastlog         private                wtmp

     

    sudo less /var/log/armbian-hardware-monitor.log

    Скрытый текст

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression


    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    Mon 06 Sep 2021 07:17:35 PM UTC | RK3318 Box | 21.08.0-trunk | arm64 | aarch64 | 5.10.41-rockchip64

    ### dmesg:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.41-rockchip64 (root@armbianbuild) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Sun May 30 16:09:59 UTC 2021
    [    0.000000] Machine model: Rockchip RK3318 BOX
    [    0.000000] efi: UEFI not found.
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0x7fbba100-0x7fbbbfff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] On node 0 totalpages: 523776
    [    0.000000]   DMA zone: 8184 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 523776 pages, LIFO batch:63
    [    0.000000] cma: Reserved 128 MiB at 0x0000000075000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] percpu: Embedded 32 pages/cpu s94040 r8192 d28840 u131072
    [    0.000000] pcpu-alloc: s94040 r8192 d28840 u131072 alloc=32*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
    [    0.000000] Policy zone: DMA
    [    0.000000] Kernel command line: root=UUID=7fca5a67-cb2b-4b23-983b-6637e9a1e0a7 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=135cc133-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
    [    0.000000] Memory: 1882896K/2095104K available (14848K kernel code, 2632K rwdata, 5976K rodata, 4352K init, 580K bss, 81136K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Rude variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000951] Console: colour dummy device 80x25
    [    0.001008] printk: console [tty1] enabled
    [    0.001173] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
    [    0.001198] pid_max: default: 32768 minimum: 301
    [    0.001388] LSM: Security Framework initializing
    [    0.001450] Yama: becoming mindful.
    [    0.001624] AppArmor: AppArmor initialized
    [    0.001729] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.001759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.005445] rcu: Hierarchical SRCU implementation.
    [    0.008784] EFI services will not be available.
    [    0.009510] smp: Bringing up secondary CPUs ...
    [    0.010637] Detected VIPT I-cache on CPU1
    [    0.010747] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.012082] Detected VIPT I-cache on CPU2
    [    0.012175] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.013645] Detected VIPT I-cache on CPU3
    [    0.013740] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.013980] smp: Brought up 1 node, 4 CPUs
    [    0.013999] SMP: Total of 4 processors activated.
    [    0.014013] CPU features: detected: 32-bit EL0 Support
    [    0.014027] CPU features: detected: CRC32 instructions
    [    0.014041] CPU features: detected: 32-bit EL1 Support
    [    0.034808] CPU: All CPU(s) started at EL2
    [    0.034880] alternatives: patching kernel code
    [    0.037920] devtmpfs: initialized
    [    0.060393] Registered cp15_barrier emulation handler
    [    0.060424] Registered setend emulation handler
    [    0.060936] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.060993] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.067787] pinctrl core: initialized pinctrl subsystem
    [    0.069084] DMI not present or invalid.
    [    0.070100] NET: Registered protocol family 16
    [    0.074044] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.075003] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.076781] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.076986] audit: initializing netlink subsys (disabled)
    [    0.077503] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
    [    0.079188] thermal_sys: Registered thermal governor 'fair_share'
    [    0.079202] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.079211] thermal_sys: Registered thermal governor 'step_wise'
    [    0.079223] thermal_sys: Registered thermal governor 'user_space'
    [    0.079741] cpuidle: using governor menu
    [    0.080356] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.080559] ASID allocator initialised with 65536 entries
    [    0.082710] Serial: AMBA PL011 UART driver
    [    0.157296] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.157316] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.157328] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.157339] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.164545] cryptd: max_cpu_qlen set to 1000
    [    0.245695] raid6: neonx8   gen()  1053 MB/s
    [    0.313830] raid6: neonx8   xor()   780 MB/s
    [    0.381994] raid6: neonx4   gen()  1075 MB/s
    [    0.450145] raid6: neonx4   xor()   774 MB/s
    [    0.518289] raid6: neonx2   gen()  1013 MB/s
    [    0.586435] raid6: neonx2   xor()   710 MB/s
    [    0.654616] raid6: neonx1   gen()   885 MB/s
    [    0.722763] raid6: neonx1   xor()   610 MB/s
    [    0.790897] raid6: int64x8  gen()   754 MB/s
    [    0.859098] raid6: int64x8  xor()   392 MB/s
    [    0.927277] raid6: int64x4  gen()   828 MB/s
    [    0.995439] raid6: int64x4  xor()   424 MB/s
    [    1.063651] raid6: int64x2  gen()   707 MB/s
    [    1.131807] raid6: int64x2  xor()   369 MB/s
    [    1.200028] raid6: int64x1  gen()   526 MB/s
    [    1.268213] raid6: int64x1  xor()   274 MB/s
    [    1.268227] raid6: using algorithm neonx4 gen() 1075 MB/s
    [    1.268236] raid6: .... xor() 774 MB/s, rmw enabled
    [    1.268247] raid6: using neon recovery algorithm
    [    1.272122] vcc_sd: supplied by vccio_3v3
    [    1.273215] vcc_host_vbus: supplied by vcc_sys
    [    1.274246] vcc_otg_vbus: supplied by vcc_sys
    [    1.275093] iommu: Default domain type: Translated
    [    1.278896] vgaarb: loaded
    [    1.279854] SCSI subsystem initialized
    [    1.280249] libata version 3.00 loaded.
    [    1.280878] usbcore: registered new interface driver usbfs
    [    1.280957] usbcore: registered new interface driver hub
    [    1.281036] usbcore: registered new device driver usb
    [    1.281950] pps_core: LinuxPPS API ver. 1 registered
    [    1.281959] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.281990] PTP clock support registered
    [    1.282365] EDAC MC: Ver: 3.0.0
    [    1.284749] NetLabel: Initializing
    [    1.284766] NetLabel:  domain hash size = 128
    [    1.284773] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    1.284940] NetLabel:  unlabeled traffic allowed by default
    [    1.285885] clocksource: Switched to clocksource arch_sys_counter
    [    1.524365] VFS: Disk quotas dquot_6.6.0
    [    1.524499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    1.526280] AppArmor: AppArmor Filesystem Enabled
    [    1.541098] NET: Registered protocol family 2
    [    1.541408] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    1.544452] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    1.544583] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    1.545015] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    1.545399] TCP: Hash tables configured (established 16384 bind 16384)
    [    1.545716] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.545822] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.546341] NET: Registered protocol family 1
    [    1.546395] NET: Registered protocol family 44
    [    1.546419] PCI: CLS 0 bytes, default 64
    [    1.546839] Trying to unpack rootfs image as initramfs...
    [    2.782032] Freeing initrd memory: 11776K
    [    2.784015] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    2.784991] kvm [1]: IPA Size Limit: 40 bits
    [    2.787566] kvm [1]: vgic interrupt IRQ9
    [    2.787821] kvm [1]: Hyp mode initialized successfully
    [    2.801637] Initialise system trusted keyrings
    [    2.801717] Key type blacklist registered
    [    2.802206] workingset: timestamp_bits=44 max_order=19 bucket_order=0
    [    2.814297] zbud: loaded
    [    2.817499] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.819046] fuse: init (API version 7.32)
    [    2.821513] integrity: Platform Keyring initialized
    [    2.893681] xor: measuring software checksum speed
    [    2.901819]    8regs           :  1220 MB/sec
    [    2.908875]    32regs          :  1402 MB/sec
    [    2.917919]    arm64_neon      :  1088 MB/sec
    [    2.917933] xor: using function: 32regs (1402 MB/sec)
    [    2.917955] Key type asymmetric registered
    [    2.917965] Asymmetric key parser 'x509' registered
    [    2.918069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    2.918388] io scheduler mq-deadline registered
    [    2.918402] io scheduler kyber registered
    [    2.918688] io scheduler bfq registered
    [    2.927145] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
    [    2.929996] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
    [    2.950458] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
    [    2.950482] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    2.958784] vdd_arm: supplied by regulator-dummy
    [    2.959774] vdd_log: supplied by regulator-dummy
    [    2.961830] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
    [    2.967578] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 23, base_baud = 1500000) is a 16550A
    [    2.969649] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 24, base_baud = 1500000) is a 16550A
    [    2.970029] printk: console [ttyS2] enabled
    [    2.972081] Serial: AMBA driver
    [    2.996578] loop: module loaded
    [    3.004389] libphy: Fixed MDIO Bus: probed
    [    3.005488] tun: Universal TUN/TAP device driver, 1.6
    [    3.007197] thunder_xcv, ver 1.0
    [    3.007302] thunder_bgx, ver 1.0
    [    3.007386] nicpf, ver 1.0
    [    3.008677] e1000e: Intel(R) PRO/1000 Network Driver
    [    3.008686] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    3.008776] igb: Intel(R) Gigabit Ethernet Network Driver
    [    3.008786] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    3.008853] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    3.008863] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    3.009243] sky2: driver version 1.30
    [    3.010363] VFIO - User Level meta-driver version: 0.3
    [    3.015874] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
    [    3.016170] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
    [    3.029257] dwc2 ff580000.usb: DWC OTG Controller
    [    3.029308] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
    [    3.029379] dwc2 ff580000.usb: irq 49, io mem 0xff580000
    [    3.029761] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    3.029778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.029792] usb usb1: Product: DWC OTG Controller
    [    3.029805] usb usb1: Manufacturer: Linux 5.10.41-rockchip64 dwc2_hsotg
    [    3.029819] usb usb1: SerialNumber: ff580000.usb
    [    3.030910] hub 1-0:1.0: USB hub found
    [    3.030973] hub 1-0:1.0: 1 port detected
    [    3.033231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.033286] ehci-pci: EHCI PCI platform driver
    [    3.033367] ehci-platform: EHCI generic platform driver
    [    3.036333] ehci-platform ff5c0000.usb: EHCI Host Controller
    [    3.036380] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
    [    3.036661] ehci-platform ff5c0000.usb: irq 50, io mem 0xff5c0000
    [    3.049895] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
    [    3.050392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    3.050410] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.050426] usb usb2: Product: EHCI Host Controller
    [    3.050436] usb usb2: Manufacturer: Linux 5.10.41-rockchip64 ehci_hcd
    [    3.050451] usb usb2: SerialNumber: ff5c0000.usb
    [    3.051417] hub 2-0:1.0: USB hub found
    [    3.051485] hub 2-0:1.0: 1 port detected
    [    3.052467] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    3.052516] ohci-pci: OHCI PCI platform driver
    [    3.052619] ohci-platform: OHCI generic platform driver
    [    3.053462] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
    [    3.053501] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
    [    3.053763] ohci-platform ff5d0000.usb: irq 51, io mem 0xff5d0000
    [    3.114281] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
    [    3.114301] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.114315] usb usb3: Product: Generic Platform OHCI controller
    [    3.114327] usb usb3: Manufacturer: Linux 5.10.41-rockchip64 ohci_hcd
    [    3.114342] usb usb3: SerialNumber: ff5d0000.usb
    [    3.115359] hub 3-0:1.0: USB hub found
    [    3.115444] hub 3-0:1.0: 1 port detected
    [    3.117710] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

    sudo less /var/log/bootstrap.log

    Скрытый текст

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression


    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    ### Activated 1 lzo-rle zram swap devices with 991 MB each

    ### Activated Armbian ramlog partition with zstd compression

    Mon 06 Sep 2021 07:17:35 PM UTC | RK3318 Box | 21.08.0-trunk | arm64 | aarch64 | 5.10.41-rockchip64

    ### dmesg:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.41-rockchip64 (root@armbianbuild) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Sun May 30 16:09:59 UTC 2021
    [    0.000000] Machine model: Rockchip RK3318 BOX
    [    0.000000] efi: UEFI not found.
    [    0.000000] NUMA: No NUMA configuration found
    [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] NUMA: NODE_DATA [mem 0x7fbba100-0x7fbbbfff]
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] On node 0 totalpages: 523776
    [    0.000000]   DMA zone: 8184 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 523776 pages, LIFO batch:63
    [    0.000000] cma: Reserved 128 MiB at 0x0000000075000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] percpu: Embedded 32 pages/cpu s94040 r8192 d28840 u131072
    [    0.000000] pcpu-alloc: s94040 r8192 d28840 u131072 alloc=32*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
    [    0.000000] Policy zone: DMA
    [    0.000000] Kernel command line: root=UUID=7fca5a67-cb2b-4b23-983b-6637e9a1e0a7 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=135cc133-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
    [    0.000000] Memory: 1882896K/2095104K available (14848K kernel code, 2632K rwdata, 5976K rodata, 4352K init, 580K bss, 81136K reserved, 131072K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Rude variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000951] Console: colour dummy device 80x25
    [    0.001008] printk: console [tty1] enabled
    [    0.001173] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
    [    0.001198] pid_max: default: 32768 minimum: 301
    [    0.001388] LSM: Security Framework initializing
    [    0.001450] Yama: becoming mindful.
    [    0.001624] AppArmor: AppArmor initialized
    [    0.001729] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.001759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.005445] rcu: Hierarchical SRCU implementation.
    [    0.008784] EFI services will not be available.
    [    0.009510] smp: Bringing up secondary CPUs ...
    [    0.010637] Detected VIPT I-cache on CPU1
    [    0.010747] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.012082] Detected VIPT I-cache on CPU2
    [    0.012175] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.013645] Detected VIPT I-cache on CPU3
    [    0.013740] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.013980] smp: Brought up 1 node, 4 CPUs
    [    0.013999] SMP: Total of 4 processors activated.
    [    0.014013] CPU features: detected: 32-bit EL0 Support
    [    0.014027] CPU features: detected: CRC32 instructions
    [    0.014041] CPU features: detected: 32-bit EL1 Support
    [    0.034808] CPU: All CPU(s) started at EL2
    [    0.034880] alternatives: patching kernel code
    [    0.037920] devtmpfs: initialized
    [    0.060393] Registered cp15_barrier emulation handler
    [    0.060424] Registered setend emulation handler
    [    0.060936] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.060993] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.067787] pinctrl core: initialized pinctrl subsystem
    [    0.069084] DMI not present or invalid.
    [    0.070100] NET: Registered protocol family 16
    [    0.074044] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.075003] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.076781] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.076986] audit: initializing netlink subsys (disabled)
    [    0.077503] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
    [    0.079188] thermal_sys: Registered thermal governor 'fair_share'
    [    0.079202] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.079211] thermal_sys: Registered thermal governor 'step_wise'
    [    0.079223] thermal_sys: Registered thermal governor 'user_space'
    [    0.079741] cpuidle: using governor menu
    [    0.080356] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.080559] ASID allocator initialised with 65536 entries
    [    0.082710] Serial: AMBA PL011 UART driver
    [    0.157296] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.157316] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.157328] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.157339] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.164545] cryptd: max_cpu_qlen set to 1000
    [    0.245695] raid6: neonx8   gen()  1053 MB/s
    [    0.313830] raid6: neonx8   xor()   780 MB/s
    [    0.381994] raid6: neonx4   gen()  1075 MB/s
    [    0.450145] raid6: neonx4   xor()   774 MB/s
    [    0.518289] raid6: neonx2   gen()  1013 MB/s
    [    0.586435] raid6: neonx2   xor()   710 MB/s
    [    0.654616] raid6: neonx1   gen()   885 MB/s
    [    0.722763] raid6: neonx1   xor()   610 MB/s
    [    0.790897] raid6: int64x8  gen()   754 MB/s
    [    0.859098] raid6: int64x8  xor()   392 MB/s
    [    0.927277] raid6: int64x4  gen()   828 MB/s
    [    0.995439] raid6: int64x4  xor()   424 MB/s
    [    1.063651] raid6: int64x2  gen()   707 MB/s
    [    1.131807] raid6: int64x2  xor()   369 MB/s
    [    1.200028] raid6: int64x1  gen()   526 MB/s
    [    1.268213] raid6: int64x1  xor()   274 MB/s
    [    1.268227] raid6: using algorithm neonx4 gen() 1075 MB/s
    [    1.268236] raid6: .... xor() 774 MB/s, rmw enabled
    [    1.268247] raid6: using neon recovery algorithm
    [    1.272122] vcc_sd: supplied by vccio_3v3
    [    1.273215] vcc_host_vbus: supplied by vcc_sys
    [    1.274246] vcc_otg_vbus: supplied by vcc_sys
    [    1.275093] iommu: Default domain type: Translated
    [    1.278896] vgaarb: loaded
    [    1.279854] SCSI subsystem initialized
    [    1.280249] libata version 3.00 loaded.
    [    1.280878] usbcore: registered new interface driver usbfs
    [    1.280957] usbcore: registered new interface driver hub
    [    1.281036] usbcore: registered new device driver usb
    [    1.281950] pps_core: LinuxPPS API ver. 1 registered
    [    1.281959] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.281990] PTP clock support registered
    [    1.282365] EDAC MC: Ver: 3.0.0
    [    1.284749] NetLabel: Initializing
    [    1.284766] NetLabel:  domain hash size = 128
    [    1.284773] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    1.284940] NetLabel:  unlabeled traffic allowed by default
    [    1.285885] clocksource: Switched to clocksource arch_sys_counter
    [    1.524365] VFS: Disk quotas dquot_6.6.0
    [    1.524499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    1.526280] AppArmor: AppArmor Filesystem Enabled
    [    1.541098] NET: Registered protocol family 2
    [    1.541408] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    1.544452] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    1.544583] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    1.545015] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    1.545399] TCP: Hash tables configured (established 16384 bind 16384)
    [    1.545716] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.545822] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.546341] NET: Registered protocol family 1
    [    1.546395] NET: Registered protocol family 44
    [    1.546419] PCI: CLS 0 bytes, default 64
    [    1.546839] Trying to unpack rootfs image as initramfs...
    [    2.782032] Freeing initrd memory: 11776K
    [    2.784015] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    2.784991] kvm [1]: IPA Size Limit: 40 bits
    [    2.787566] kvm [1]: vgic interrupt IRQ9
    [    2.787821] kvm [1]: Hyp mode initialized successfully
    [    2.801637] Initialise system trusted keyrings
    [    2.801717] Key type blacklist registered
    [    2.802206] workingset: timestamp_bits=44 max_order=19 bucket_order=0
    [    2.814297] zbud: loaded
    [    2.817499] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.819046] fuse: init (API version 7.32)
    [    2.821513] integrity: Platform Keyring initialized
    [    2.893681] xor: measuring software checksum speed
    [    2.901819]    8regs           :  1220 MB/sec
    [    2.908875]    32regs          :  1402 MB/sec
    [    2.917919]    arm64_neon      :  1088 MB/sec
    [    2.917933] xor: using function: 32regs (1402 MB/sec)
    [    2.917955] Key type asymmetric registered
    [    2.917965] Asymmetric key parser 'x509' registered
    [    2.918069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    2.918388] io scheduler mq-deadline registered
    [    2.918402] io scheduler kyber registered
    [    2.918688] io scheduler bfq registered
    [    2.927145] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
    [    2.929996] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
    [    2.950458] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
    [    2.950482] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    2.958784] vdd_arm: supplied by regulator-dummy
    [    2.959774] vdd_log: supplied by regulator-dummy
    [    2.961830] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
    [    2.967578] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 23, base_baud = 1500000) is a 16550A
    [    2.969649] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 24, base_baud = 1500000) is a 16550A
    [    2.970029] printk: console [ttyS2] enabled
    [    2.972081] Serial: AMBA driver
    [    2.996578] loop: module loaded
    [    3.004389] libphy: Fixed MDIO Bus: probed
    [    3.005488] tun: Universal TUN/TAP device driver, 1.6
    [    3.007197] thunder_xcv, ver 1.0
    [    3.007302] thunder_bgx, ver 1.0
    [    3.007386] nicpf, ver 1.0
    [    3.008677] e1000e: Intel(R) PRO/1000 Network Driver
    [    3.008686] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    3.008776] igb: Intel(R) Gigabit Ethernet Network Driver
    [    3.008786] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    3.008853] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    3.008863] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    3.009243] sky2: driver version 1.30
    [    3.010363] VFIO - User Level meta-driver version: 0.3
    [    3.015874] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
    [    3.016170] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
    [    3.029257] dwc2 ff580000.usb: DWC OTG Controller
    [    3.029308] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
    [    3.029379] dwc2 ff580000.usb: irq 49, io mem 0xff580000
    [    3.029761] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    3.029778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.029792] usb usb1: Product: DWC OTG Controller
    [    3.029805] usb usb1: Manufacturer: Linux 5.10.41-rockchip64 dwc2_hsotg
    [    3.029819] usb usb1: SerialNumber: ff580000.usb
    [    3.030910] hub 1-0:1.0: USB hub found
    [    3.030973] hub 1-0:1.0: 1 port detected
    [    3.033231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.033286] ehci-pci: EHCI PCI platform driver
    [    3.033367] ehci-platform: EHCI generic platform driver
    [    3.036333] ehci-platform ff5c0000.usb: EHCI Host Controller
    [    3.036380] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
    [    3.036661] ehci-platform ff5c0000.usb: irq 50, io mem 0xff5c0000
    [    3.049895] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
    [    3.050392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    3.050410] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.050426] usb usb2: Product: EHCI Host Controller
    [    3.050436] usb usb2: Manufacturer: Linux 5.10.41-rockchip64 ehci_hcd
    [    3.050451] usb usb2: SerialNumber: ff5c0000.usb
    [    3.051417] hub 2-0:1.0: USB hub found
    [    3.051485] hub 2-0:1.0: 1 port detected
    [    3.052467] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    3.052516] ohci-pci: OHCI PCI platform driver
    [    3.052619] ohci-platform: OHCI generic platform driver
    [    3.053462] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
    [    3.053501] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
    [    3.053763] ohci-platform ff5d0000.usb: irq 51, io mem 0xff5d0000
    [    3.114281] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
    [    3.114301] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.114315] usb usb3: Product: Generic Platform OHCI controller
    [    3.114327] usb usb3: Manufacturer: Linux 5.10.41-rockchip64 ohci_hcd
    [    3.114342] usb usb3: SerialNumber: ff5d0000.usb
    [    3.115359] hub 3-0:1.0: USB hub found
    [    3.115444] hub 3-0:1.0: 1 port detected
    [    3.117710] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    3.117750] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
    [    3.118141] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002

    ...skipping...
    [    3.118141] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002

    ...skipping...
     

    what can I do?

  6. 3 часа назад, jock сказал:

    @Wester_Minskno, you misread the datasheet.

    Each chip is 2gbit, you have 8, then it's 16gbit / 8 = 2 gbyte, no way out. The specs given by the manufacturer are fake.

    I understand.

    For my server Home assistant, 2GB  is good.  

    I did some tests https://pibenchmarks.com

    Rk3318 got 3900 score.

    For comparison my raspberry pi4 4gb + ssd got 7500 score.

    Скрытый текст

    RK3318 test:

    1.4 GHZ *rk3318-box-emmc-hc200 *rk3328-opp-1,4 ghz      

    Category                  Test                      Result
    HDParm                    Disk Read                  110.55 MB/s
    HDParm                    Cached Disk Read     105.40 MB/s
    DD                           Disk Write                     61.5 MB/s
    FIO                          4k random read            3957 IOPS (15829 KB/s)
    FIO                          4k random write           5055 IOPS (20222 KB/s)
    IOZone                    4k read                         26984 KB/s
    IOZone                    4k write                        16903 KB/s
    IOZone                    4k random read            13028 KB/s
    IOZone                    4k random write           16851 KB/s

                              Score: 3938

     

     

  7. 2 часа назад, jock сказал:

    Are you sure it is 4gb? If it detects 2Gb probably it is 2gb, and 4gb is a faking spec from the vendor.

    It's hard to tell how much memory you have, you have look into the datasheet for the memory chip and multiply for the number of chips.

    maybe, but

    I have 8 x h5tq2g43bfr-h9c chips,    datasheet  say 512M.

    Скрытый текст

    691e815f576d2262715de7310057f84d.jpeg

     

    d196ca04cbcd7f1dd37267b09e451f46.jpeg