Single Armbian image for RK + AML + AW (aarch64 ARMv8)


Recommended Posts

Donate and support the project!

46 minutes ago, hexdump said:

@t23 - you may try this image here (it supports the allwinner h6 too) with the allwinner u-boot (see first post of this thread)

Which one do you suggest - 20191222 from the Allwinner folder or 20191228 from the RK_AML_AW folder? Also, should i grab a dtb or anything else from the box before starting, and if so, how do i do that?

Link to post
Share on other sites

@t23 - just try the 20191228 rk-aml-aw one with the included tanix-tx6 dtb and the allwinner u-boot written to it ... please keep in mind, that not all h6 tv boxes are supported by the u-boot yet (most probably still some strange memory timinig setup issues), so it might simply not work ... connecting a serial console to the box should help to find out if this is the problem maybe in case it does not work

Link to post
Share on other sites
33 minutes ago, hexdump said:

connecting a serial console to the box should help to find out if this is the problem maybe in case it does not work

 

Uh, let's hope it doesn't come to that.

 

While preparing, i took the box apart, and here is what i can find:

 

RAM is 8x512MB Micron D9PQL (same as half the Eachlink H6 Mini <1.2 boards use)

Ethernet is Pulse H1102NL

Wifi is SM6335

Something called THGBMHT looks like the 128GB flash memory, most likely made by Kioxia

 

(A while later)

 

USB media is prepared, but obviously the box won't just boot it by itself, and aml_autoscript won't install through the updater. Any ideas how i get past this step?

 

Link to post
Share on other sites

@hexdump - figured about the script, it was just the only thing i hadn't tried. I did indeed dd u-boot-allwinner-h6-tx6.img to the stick (there was no separate image for USB boot like there is for Amlogic) and tried both USB ports - no luck with either. The 128GB model has no SD slot, so i cannot try that.

 

Anything i can try from a prompt, or should i just write it off as worst buy of 2019?

Link to post
Share on other sites

@t23 - in my experience nearly everything h96 is not really good for running armbian: from h96 max rk3328 which does not boot from sd card properly over h96 max rk3318 with an unsupported soc maybe towards your h96 mini without even an sd card slot ...

Link to post
Share on other sites

Hi.

 

Sorry, I'm new to amlogic devices.

 

I want to try armbian on a khadas vim2.

 

I downloaded this image Armbian_19.11.5_Aml-g12_buster_dev_5.5.0-rc4_20191228.img.xz and burned it on a sdcard.

 

I can't boot my khadas.

 

Is there any configuration before booting ?

Link to post
Share on other sites
5 hours ago, nm2042 said:

Hi.

 

Sorry, I'm new to amlogic devices.

 

I want to try armbian on a khadas vim2.

 

I downloaded this image Armbian_19.11.5_Aml-g12_buster_dev_5.5.0-rc4_20191228.img.xz and burned it on a sdcard.

 

I can't boot my khadas.

 

Is there any configuration before booting ?

You have adjust the uEnv.ini file and the EXTLinux file(in the same named folder).
First go look into the dtb folder and find the correct dtb file for the vim2. Copy the name, and location of that file to those 2 files and you should be ready to boot. 

Link to post
Share on other sites

I tried two images with the A5X Max (RK3328; 4GB Ram, 32GB Rom) to boot from sdcard:
- Armbian_19.11.4_Arm-64_buster_current_5.4.1_desktop_20191228.img
- Armbian_19.11.4_Arm-64_buster_dev_5.5.0-rc2_desktop_20191228.img

Both are not working for me (monitor stays black, nothing happens)
I used the dtb file which works for the old 4.4.154 kernel images and set it in extlinux.conf.
I wrote the u-boot for RK3328 according balbes (with "dd"... command)

 

Does anybody have an idea what could be the problem or succesfully used the new kernel 5 images on A5X Max?

 

The "Armbian_19.11.3_Rk3328-tv_buster_legacy_4.4.154_desktop_20191126.img" works good

Link to post
Share on other sites

Having issues with the NVMe drive with this unified boot process (the FriendlyDesktop image for the NanoPC T4 is able to see the drive, so it is not a hardware issue). I wrote the u-boot-rk3399-tv.img to the SD card, but I am getting:

jerryg@arm:~$ dmesg | grep pcie
[   20.489985] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[   26.398329] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[   26.925369] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[   26.926462] rockchip-pcie: probe of f8000000.pcie failed with error -110

Googling for similar issues seem to indicate that the PCIe bus needs to be powered-on by u-boot in order for the device to be ready when the kernel inits the rockchip-pcie component. What can I do?

Link to post
Share on other sites
5 hours ago, NicoD said:

You have adjust the uEnv.ini file and the EXTLinux file(in the same named folder).
First go look into the dtb folder and find the correct dtb file for the vim2. Copy the name, and location of that file to those 2 files and you should be ready to boot. 

 

Thank you very much, it's ok now.

Link to post
Share on other sites

I tried successfully amrbian on my khadas vim2 booting from micro sdcard.

 

Image used: Armbian_19.11.5_Aml-g12_buster_dev_5.5.0-rc4_20191228.img.xz

 

Only used as headless server.

 

I have poor I/O access probably because of sdcard.

 

I tried burning OS on EMMC with the install-aml.sh script.

 

It does install os on EMMC, I only got an error at the end about deleting install-aml.sh

 

But SBC couldn't boot any more after this install.

 

I had to reinstall ubuntu official image from khadas on EMMC.

 

it's a good start to have such image I hope I'll be able to put it on emmc when it's ready.

Link to post
Share on other sites
On 1/4/2020 at 8:59 PM, slaven said:

I used the dtb file which works for the old 4.4.154 kernel images and set it in extlinux.conf.

You must use DTB strictly from the image composition.

 

On 1/5/2020 at 2:14 AM, jerryg said:

Googling for similar issues seem to indicate that the PCIe bus needs to be powered-on by u-boot in order for the device to be ready when the kernel inits the rockchip-pcie component. What can I do?

Use u-boot from a system where PCIe is running.

 

On 1/6/2020 at 5:07 PM, nm2042 said:

But SBC couldn't boot any more after this install.

You violated the instructions, installation in eMMC only when using a regular Android and exact execution of the remaining steps.

Link to post
Share on other sites

@balbes150 Thank you for your unique great work! I think also it's a great idea to unify the images and just to replace in uEnv.ini the dtb filename to the correct ones!

 

I used the file Armbian_19.11.5_Aml-g12_bionic_dev_5.5.0-rc4_20191228.img.xz for using it on my CSA93 S912 Amlogic device with 3GB DDR3 and 32GB ROM. The Chipset for Ethernet works! I used aml_autoscript in Android-Update-Firmware-Manually then it just started till the Tiger S912 Logo and hung. After replacing in uEnv.ini the FIRST line to: "dtb_name=/dtb/amlogic/meson-gxm-q200.dtb" then it booted! It seems like meson-gxm-q200.dtb works for S912 devices with 1000 Mbit/s interfaces.

 

Here is my dmesg:


 

Booting Linux on physical CPU 0x0000000000 [0x410fd034] [    0.000000] Linux version 5.5.0-rc4-aml-g12 (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #19.11.5 SMP PREEMPT Mon Dec 30 15:43:33 MSK 2019 [    0.000000] Machine model: Amlogic Meson GXM (S912) Q200 Development Board [    0.000000] efi: Getting EFI parameters from FDT: [    0.000000] efi: UEFI not found. [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3400000, size 256 MiB [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [    0.000000] On node 0 totalpages: 748288 [    0.000000]   DMA zone: 4032 pages used for memmap [    0.000000]   DMA zone: 0 pages reserved [    0.000000]   DMA zone: 256768 pages, LIFO batch:63 [    0.000000]   DMA32 zone: 7680 pages used for memmap [    0.000000]   DMA32 zone: 491520 pages, LIFO batch:63 [    0.000000] psci: probing for conduit method from DT. [    0.000000] psci: PSCIv0.2 detected in firmware. [    0.000000] psci: Using standard PSCI v0.2 function IDs [    0.000000] psci: Trusted OS migration not required [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112 [    0.000000] pcpu-alloc: s50392 r8192 d31528 u90112 alloc=22*4096 [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7  [    0.000000] Detected VIPT I-cache on CPU0 [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 736576 [    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=78:c2:c0:95:ad:64 [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB) [    0.000000] Memory: 2568860K/2993152K available (14268K kernel code, 1424K rwdata, 5820K rodata, 960K init, 927K bss, 162148K reserved, 262144K cma-reserved) [    0.000000] random: get_random_u64 called from cache_random_seq_create+0x7c/0x150 with crng_init=0 [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [    0.000000] rcu: Preemptible hierarchical RCU implementation. [    0.000000]     Tasks RCU enabled. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [    0.000000] GIC: Using split EOI/Deactivate mode [    0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized [    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.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [    0.000370] Console: colour dummy device 80x25 [    0.000657] printk: console [tty0] enabled [    0.000698] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [    0.000718] pid_max: default: 32768 minimum: 301 [    0.000860] LSM: Security Framework initializing [    0.000911] SELinux:  Initializing. [    0.000988] *** VALIDATE SELinux *** [    0.001051] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [    0.001079] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [    0.001146] *** VALIDATE tmpfs *** [    0.001577] *** VALIDATE proc *** [    0.001798] *** VALIDATE cgroup1 *** [    0.001813] *** VALIDATE cgroup2 *** [    0.024018] ASID allocator initialised with 32768 entries [    0.031998] rcu: Hierarchical SRCU implementation. [    0.042112] EFI services will not be available. [    0.048055] smp: Bringing up secondary CPUs ... [    0.080291] Detected VIPT I-cache on CPU1 [    0.080345] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [    0.112334] Detected VIPT I-cache on CPU2 [    0.112380] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [    0.144381] Detected VIPT I-cache on CPU3 [    0.144426] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [    0.176453] Detected VIPT I-cache on CPU4 [    0.176510] CPU4: Booted secondary processor 0x0000000100 [0x410fd034] [    0.208474] Detected VIPT I-cache on CPU5 [    0.208502] CPU5: Booted secondary processor 0x0000000101 [0x410fd034] [    0.240521] Detected VIPT I-cache on CPU6 [    0.240547] CPU6: Booted secondary processor 0x0000000102 [0x410fd034] [    0.272571] Detected VIPT I-cache on CPU7 [    0.272598] CPU7: Booted secondary processor 0x0000000103 [0x410fd034] [    0.272689] smp: Brought up 1 node, 8 CPUs [    0.272813] SMP: Total of 8 processors activated. [    0.272825] CPU features: detected: 32-bit EL0 Support [    0.272837] CPU features: detected: CRC32 instructions [    0.273289] CPU: All CPU(s) started at EL2 [    0.273331] alternatives: patching kernel code [    0.274792] devtmpfs: initialized [    0.279861] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [    0.279898] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [    0.286653] xor: measuring software checksum speed [    0.324523]    8regs     :  2375.000 MB/sec [    0.364556]    32regs    :  2724.000 MB/sec [    0.404594]    arm64_neon:  2406.000 MB/sec [    0.404605] xor: using function: 32regs (2724.000 MB/sec) [    0.404662] pinctrl core: initialized pinctrl subsystem [    0.405315] thermal_sys: Registered thermal governor 'step_wise' [    0.405481] DMI not present or invalid. [    0.405854] NET: Registered protocol family 16 [    0.413600] DMA: preallocated 256 KiB pool for atomic allocations [    0.413654] audit: initializing netlink subsys (disabled) [    0.413867] audit: type=2000 audit(0.412:1): state=initialized audit_enabled=0 res=1 [    0.416715] cpuidle: using governor ladder [    0.416761] cpuidle: using governor menu [    0.417185] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [    0.418007] Serial: AMBA PL011 UART driver [    0.431697] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [    0.431721] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [    0.431733] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [    0.431746] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [    0.435901] cryptd: max_cpu_qlen set to 1000 [    0.512822] raid6: neonx8   gen()  1627 MB/s [    0.580877] raid6: neonx8   xor()  1505 MB/s [    0.648967] raid6: neonx4   gen()  1564 MB/s [    0.717002] raid6: neonx4   xor()  1467 MB/s [    0.785098] raid6: neonx2   gen()  1206 MB/s [    0.853150] raid6: neonx2   xor()  1212 MB/s [    0.921238] raid6: neonx1   gen()   791 MB/s [    0.989260] raid6: neonx1   xor()   913 MB/s [    1.057319] raid6: int64x8  gen()  1194 MB/s [    1.125390] raid6: int64x8  xor()   768 MB/s [    1.193435] raid6: int64x4  gen()  1029 MB/s [    1.261495] raid6: int64x4  xor()   750 MB/s [    1.329594] raid6: int64x2  gen()   730 MB/s [    1.397597] raid6: int64x2  xor()   612 MB/s [    1.465708] raid6: int64x1  gen()   490 MB/s [    1.533697] raid6: int64x1  xor()   463 MB/s [    1.533708] raid6: using algorithm neonx8 gen() 1627 MB/s [    1.533718] raid6: .... xor() 1505 MB/s, rmw enabled [    1.533728] raid6: using neon recovery algorithm [    1.534011] ACPI: Interpreter disabled. [    1.535196] iommu: Default domain type: Translated  [    1.535441] vgaarb: loaded [    1.536043] SCSI subsystem initialized [    1.536242] libata version 3.00 loaded. [    1.536452] usbcore: registered new interface driver usbfs [    1.536497] usbcore: registered new interface driver hub [    1.536586] usbcore: registered new device driver usb [    1.536993] pps_core: LinuxPPS API ver. 1 registered [    1.537005] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [    1.537029] PTP clock support registered [    1.537055] EDAC MC: Ver: 3.0.0 [    1.537693] FPGA manager framework [    1.537794] Advanced Linux Sound Architecture Driver Initialized. [    1.538254] NetLabel: Initializing [    1.538266] NetLabel:  domain hash size = 128 [    1.538275] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO [    1.538335] NetLabel:  unlabeled traffic allowed by default [    1.538847] clocksource: Switched to clocksource arch_sys_counter [    1.538872] *** VALIDATE bpf *** [    1.539132] VFS: Disk quotas dquot_6.6.0 [    1.539196] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [    1.539311] FS-Cache: Loaded [    1.539322] *** VALIDATE ramfs *** [    1.539344] *** VALIDATE hugetlbfs *** [    1.539707] pnp: PnP ACPI: disabled [    1.544753] NET: Registered protocol family 2 [    1.545248] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [    1.545315] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [    1.545533] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [    1.545936] TCP: Hash tables configured (established 32768 bind 32768) [    1.546128] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [    1.546219] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [    1.546511] NET: Registered protocol family 1 [    1.547024] RPC: Registered named UNIX socket transport module. [    1.547044] RPC: Registered udp transport module. [    1.547054] RPC: Registered tcp transport module. [    1.547063] RPC: Registered tcp NFSv4.1 backchannel transport module. [    1.547079] NET: Registered protocol family 44 [    1.547100] PCI: CLS 0 bytes, default 64 [    1.547284] Trying to unpack rootfs image as initramfs... [    2.015216] Freeing initrd memory: 10684K [    2.016273] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [    2.108609] Initialise system trusted keyrings [    2.108827] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [    2.113985] zbud: loaded [    2.115264] squashfs: version 4.0 (2009/01/31) Phillip Lougher [    2.115555] FS-Cache: Netfs 'nfs' registered for caching [    2.116065] NFS: Registering the id_resolver key type [    2.116099] Key type id_resolver registered [    2.116108] Key type id_legacy registered [    2.116124] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [    2.116137] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [    2.117307] FS-Cache: Netfs 'cifs' registered for caching [    2.117631] Key type cifs.spnego registered [    2.117652] Key type cifs.idmap registered [    2.117674] ntfs: driver 2.1.32 [Flags: R/W]. [    2.118226] JFS: nTxBlock = 8192, nTxLock = 65536 [    2.122954] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled [    2.124384] *** VALIDATE xfs *** [    2.124664] ocfs2: Registered cluster interface o2cb [    2.124874] OCFS2 User DLM kernel interface loaded [    2.126264] *** VALIDATE gfs2 *** [    2.126556] gfs2: GFS2 installed [    2.144004] Key type asymmetric registered [    2.144028] Asymmetric key parser 'x509' registered [    2.144038] Asymmetric key parser 'pkcs8' registered [    2.144103] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [    2.144278] io scheduler mq-deadline registered [    2.144292] io scheduler kyber registered [    2.144487] io scheduler bfq registered [    2.157126] soc soc0: Amlogic Meson GXM (S912) Revision 22:a (82:2) Detected [    2.160630] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled [    2.162297] Serial: AMBA driver [    2.162605] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 12, base_baud = 1500000) is a meson_uart [    3.149202] printk: console [ttyAML0] enabled [    3.165726] brd: module loaded [    3.175262] loop: module loaded [    3.177524] libphy: Fixed MDIO Bus: probed [    3.178525] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found [    3.183433] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found [    3.189635] meson8b-dwmac c9410000.ethernet: PTP uses main clock [    3.195491] meson8b-dwmac c9410000.ethernet: no reset control found [    3.202180] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [    3.208788] meson8b-dwmac c9410000.ethernet:     DWMAC1000 [    3.213960] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported [    3.221362] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported [    3.228778] meson8b-dwmac c9410000.ethernet: COE Type 2 [    3.233951] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported [    3.240937] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported [    3.247350] meson8b-dwmac c9410000.ethernet: Normal descriptors [    3.253187] meson8b-dwmac c9410000.ethernet: Ring mode enabled [    3.258966] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer [    3.267077] libphy: stmmac: probed [    3.271553] VFIO - User Level meta-driver version: 0.3 [    3.276891] dwc3 c9000000.dwc3: Failed to get clk 'ref': -2 [    3.281740] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [    3.287372] ehci-pci: EHCI PCI platform driver [    3.291801] ehci-platform: EHCI generic platform driver [    3.297110] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [    3.303055] ohci-pci: OHCI PCI platform driver [    3.307489] ohci-platform: OHCI generic platform driver [    3.313236] usbcore: registered new interface driver usb-storage [    3.318768] mousedev: PS/2 mouse device common for all mice [    3.324730] i2c /dev entries driver [    3.330320] sdhci: Secure Digital Host Controller Interface driver [    3.333675] sdhci: Copyright(c) Pierre Ossman [    3.337994] Synopsys Designware Multimedia Card Interface Driver [    3.345269] meson-gx-mmc d0072000.mmc: Got CD GPIO [    3.376150] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq [    3.403310] sdhci-pltfm: SDHCI platform and OF driver helper [    3.404097] ledtrig-cpu: registered to indicate activity on CPUs [    3.409896] meson-sm: secure-monitor enabled [    3.414072] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [    3.421449] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [    3.434152] mmc0: new high speed SDHC card at address e624 [    3.435294] mmcblk0: mmc0:e624 SU32G 29.7 GiB  [    3.435742] hid: raw HID events driver (C) Jiri Kosina [    3.444221] usbcore: registered new interface driver usbhid [    3.449493] usbhid: USB HID core driver [    3.450035]  mmcblk0: p1 p2 [    3.453666] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered [    3.468851] NET: Registered protocol family 17 [    3.469328] Key type dns_resolver registered [    3.473832] registered taskstats version 1 [    3.477366] Loading compiled-in X.509 certificates [    3.482263] zswap: loaded using pool lzo/zbud [    3.486608] Key type ._fscrypt registered [    3.490378] Key type .fscrypt registered [    3.495386] Btrfs loaded, crc32c=crc32c-generic [    3.508348] Key type encrypted registered [    3.528170] meson-drm d0100000.vpu: Queued 3 outputs on vpu [    3.528550] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [    3.534704] [drm] No driver support for vblank timestamp query. [    3.566913] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [    3.570068] mmc1: new HS200 MMC card at address 0001 [    3.571590] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver [    3.580729] mmcblk1: mmc1:0001 032G74 29.1 GiB  [    3.584594] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops) [    3.588550] mmcblk1boot0: mmc1:0001 032G74 partition 1 4.00 MiB [    3.596325] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0 [    3.601925] mmcblk1boot1: mmc1:0001 032G74 partition 2 4.00 MiB [    3.614794] mmcblk1rpmb: mmc1:0001 032G74 partition 3 4.00 MiB, chardev (243:0) [    3.634655]  mmcblk1: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 > [    3.669307] random: fast init done [    3.718718] [drm] kms: can't enable cloning when we probably wanted to. [    3.933711] Console: switching to colour frame buffer device 240x67 [    3.966393] meson-drm d0100000.vpu: fb0: mesondrmfb frame buffer device [    3.973727] libphy: mdio_mux: probed [    3.980427] libphy: mdio_mux: probed [    4.028721] phy phy-d0078080.phy.3: unsupported PHY mode 5 [    4.032030] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [    4.034168] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [    4.041893] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010 [    4.051116] xhci-hcd xhci-hcd.0.auto: irq 31, io mem 0xc9000000 [    4.057257] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05 [    4.065126] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [    4.072280] usb usb1: Product: xHCI Host Controller [    4.077113] usb usb1: Manufacturer: Linux 5.5.0-rc4-aml-g12 xhci-hcd [    4.083406] usb usb1: SerialNumber: xhci-hcd.0.auto [    4.088713] hub 1-0:1.0: USB hub found [    4.091973] hub 1-0:1.0: 3 ports detected [    4.096282] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [    4.101360] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [    4.108950] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [    4.115449] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [    4.123520] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.05 [    4.131631] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [    4.138778] usb usb2: Product: xHCI Host Controller [    4.143612] usb usb2: Manufacturer: Linux 5.5.0-rc4-aml-g12 xhci-hcd [    4.149904] usb usb2: SerialNumber: xhci-hcd.0.auto [    4.155156] hub 2-0:1.0: USB hub found [    4.158456] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [    4.167516] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq [    4.198798] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware [    4.214140] printk: console [netcon0] enabled [    4.215601] netconsole: network logging started [    4.218480] hctosys: unable to open rtc device (rtc0) [    4.226361] ALSA device list: [    4.227687]   No soundcards found. [    4.231358] Freeing unused kernel memory: 960K [    4.234353] Run /init as init process [    4.238806] mmc2: queuing unknown CIS tuple 0x01 (3 bytes) [    4.253485] mmc2: queuing unknown CIS tuple 0x1a (5 bytes) [    4.269522] mmc2: queuing unknown CIS tuple 0x1b (8 bytes) [    4.270394] mmc2: queuing unknown CIS tuple 0x14 (0 bytes) [    4.272988] mmc2: queuing unknown CIS tuple 0x80 (1 bytes) [    4.273043] mmc2: queuing unknown CIS tuple 0x81 (1 bytes) [    4.273097] mmc2: queuing unknown CIS tuple 0x82 (1 bytes) [    4.273131] mmc2: new high speed SDIO card at address 0001 [    4.430897] usb 1-1: new full-speed USB device number 2 using xhci-hcd [    4.586655] usb 1-1: New USB device found, idVendor=24ae, idProduct=2010, bcdDevice= 1.10 [    4.599352] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [    4.610155] usb 1-1: Product: Rapoo 2.4G Wireless Device [    4.619468] usb 1-1: Manufacturer: RAPOO [    4.668249] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:24AE:2010.0001/input/input0 [    4.692592] hid-generic 0003:24AE:2010.0001: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.0.auto-1/input0 [    4.711420] input: RAPOO Rapoo 2.4G Wireless Device System Control as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.1/0003:24AE:2010.0002/input/input2 [    4.793826] input: RAPOO Rapoo 2.4G Wireless Device Consumer Control as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.1/0003:24AE:2010.0002/input/input3 [    4.821789] hid-generic 0003:24AE:2010.0002: input,hiddev0,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.0.auto-1/input1 [    4.842281] input: RAPOO Rapoo 2.4G Wireless Device as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.2/0003:24AE:2010.0003/input/input4 [    4.920522] hid-generic 0003:24AE:2010.0003: input,hidraw2: USB HID v1.10 Keyboard [RAPOO Rapoo 2.4G Wireless Device] on usb-xhci-hcd.0.auto-1/input2 [    6.268320] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback [    7.195700] systemd[1]: System time before build time, advancing clock. [    7.380739] NET: Registered protocol family 10 [    7.460529] Segment Routing with IPv6 [    7.541540] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [    7.575981] systemd[1]: Detected architecture arm64. [    7.643896] systemd[1]: Set hostname to <csa93>. [    7.672481] systemd[1]: Couldn't move remaining userspace processes, ignoring: Input/output error [    8.541810] random: systemd: uninitialized urandom read (16 bytes read) [    8.552005] systemd[1]: Created slice User and Session Slice. [    8.564919] random: systemd: uninitialized urandom read (16 bytes read) [    8.572128] systemd[1]: Reached target System Time Synchronized. [    8.585125] random: systemd: uninitialized urandom read (16 bytes read) [    8.592295] systemd[1]: Reached target Swap. [    8.605307] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [    8.620467] systemd[1]: Reached target Remote File Systems. [    8.633649] systemd[1]: Reached target User and Group Name Lookups. [    8.859925] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro [    9.055399] systemd-journald[455]: Received request to flush runtime journal from PID 1 [    9.712914] Registered IR keymap rc-empty [    9.713038] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0 [    9.713161] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input5 [    9.715456] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter [    9.718016] meson-ir c8100580.ir: receiver initialized [    9.722793] mc: Linux media interface: v0.10 [    9.739990] input: adc-keys as /devices/platform/adc-keys/input/input6 [    9.741294] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input7 [    9.783275] videodev: Linux video capture interface: v2.00 [    9.821132] panfrost d00c0000.gpu: clock rate = 666666666 [    9.821181] panfrost d00c0000.gpu: d00c0000.gpu supply mali not found, using dummy regulator [    9.821404] panfrost d00c0000.gpu: mali-t820 id 0x820 major 0x1 minor 0x0 status 0x0 [    9.821414] panfrost d00c0000.gpu: features: 00000000,101e76ff, issues: 00000000,24040400 [    9.821423] panfrost d00c0000.gpu: Features: L2:0x07110206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7 [    9.821428] panfrost d00c0000.gpu: shader_present=0x7 l2_present=0x1 [    9.821557] panfrost d00c0000.gpu: GPU Fault 0x000000a5 (UNKNOWN) at 0x3dd45ffd0add9cf2 [    9.821567] panfrost d00c0000.gpu: There were multiple GPU faults - some have not been reported [    9.823703] panfrost d00c0000.gpu: error powering up gpu [    9.837008] [drm] Initialized panfrost 1.1.0 20180908 for d00c0000.gpu on minor 1 [    9.911121] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned. [   10.047373] cfg80211: Loading compiled-in X.509 certificates for regulatory database [   10.058880] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [   10.279186] ath10k_sdio mmc2:0001:1: Unsupported hardware version: 0x5020001 [   10.279195] ath10k_sdio mmc2:0001:1: could not get hw params (-22) [   10.333383] mmc2: queuing unknown CIS tuple 0x01 (3 bytes) [   10.343399] mmc2: queuing unknown CIS tuple 0x1a (5 bytes) [   10.347822] mmc2: queuing unknown CIS tuple 0x1b (8 bytes) [   10.348694] mmc2: queuing unknown CIS tuple 0x14 (0 bytes) [   10.350378] ath10k_sdio mmc2:0001:1: could not probe fw (-22) [   11.002026] zram: Added device: zram0 [   11.002485] zram: Added device: zram1 [   11.003120] zram: Added device: zram2 [   11.100540] zram1: detected capacity change from 0 to 1073741824 [   11.231526] meson8b-dwmac c9410000.ethernet eth0: PHY [0.2009087f:00] driver [RTL8211F Gigabit Ethernet] [   11.242907] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found [   11.242924] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW [   11.242936] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode [   12.115729] random: crng init done [   12.115745] random: 7 urandom warning(s) missed due to ratelimiting [   12.223071] Adding 1048572k swap on /dev/zram1.  Priority:5 extents:1 across:1048572k SSFS [   12.334885] zram0: detected capacity change from 0 to 52428800 [   12.510606] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [   12.510654] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff) [   12.835021] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [   13.216821] [drm] kms: can't enable cloning when we probably wanted to. [   20.137574] input: lircd-uinput as /devices/virtual/input/input8 [   20.729978] input: meson-ir (lircd bypass) as /devices/virtual/input/input9 [   29.425920] fuse: init (API version 7.31) [   29.426108] *** VALIDATE fuse *** [   29.426139] *** VALIDATE fuse *** [   44.192227] EXT4-fs (mmcblk1p3): recovery complete [   44.192700] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null) [   53.037437] EXT4-fs (mmcblk1p9): recovery complete [   53.037464] EXT4-fs (mmcblk1p9): mounted filesystem with ordered data mode. Opts: (null) [   56.711924] EXT4-fs (mmcblk1p14): 4 orphan inodes deleted [   56.711933] EXT4-fs (mmcblk1p14): recovery complete [   56.715691] EXT4-fs (mmcblk1p14): mounted filesystem with ordered data mode. Opts: (null) [   58.686535] EXT4-fs (mmcblk1p13): warning: maximal mount count reached, running e2fsck is recommended [   58.687500] EXT4-fs (mmcblk1p13): recovery complete [   58.687530] EXT4-fs (mmcblk1p13): mounted filesystem with ordered data mode. Opts: (null) [  215.155081] rc rc0: two consecutive events of type space [ 1328.382923] meson8b-dwmac c9410000.ethernet eth0: Link is Down [ 1334.960932] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx


 

So the driver for RTL8211F Gigabit Ethernet works on 100 Mbit/s and 1Gbe/s nearly perfect! I did an iperf3 messurement from PC and Banana PI.

 

From BananaPI the performance was ~800 Mbit/s RX/TX and with my PC the CSA93 performed to 950 Mbit/s RX/TX.

 

Problems:

 

- No sound 

- No Wifi. I guess it's the problem of ath10k, but thought it's already officially implemented in the newer builds (I have a Qualcomm QCA9377 in my box)

- Boot partition is formated to FAT16 and just 256 MB. I can't resize with another system because it says it has to change into FAT32 then and maybe the bootloader doesn't like that. - Reason for this is, that I wanna use wireguard and when it comes to installation it says no space left on boot partition. Actually there is no space left of the 256 MB and it seems to be impossible to extend the size without damaging the fs.

 

Would love if you have some hints how to proceed! 

Edited by Alex83
spoiler didn't work automatically
Link to post
Share on other sites

While Armbian_19.11.4_Arm-64_bionic_current_5.4.1_desktop_20191228.img.xz works nice on my x96 mini 2/16 Test box with usb sound and ethernet(except I didn't find the point to install to internal in armbian config!?), Armbian_19.11.5_Aml-g12_bionic_dev_5.5.0-rc5-next-20200109_desktop.img.xz and Armbian_19.11.5_Aml-g12_buster_dev_5.5.0-rc5-next-20200109_desktop.img.xz boot, but I couldn't test further as on both usb keyboard doesn't work at all..so no login, new user etc....

Link to post
Share on other sites
13 hours ago, Turgus said:

except I didn't find the point to install to internal in armbian config!?

For a universal image, the installation is performed only through the direct launch of the desired script , for each platform it is different.

 

On 1/10/2020 at 2:55 AM, Alex83 said:

Here is my dmesg:

All long logs need to be removed in the spoiler, they make it very difficult to read the topic.

Or put them in a text file and make an attachment to the message.

 

 

On 1/10/2020 at 2:55 AM, Alex83 said:

Boot partition is formated to FAT16 and just 256 MB. I can't resize with another system because it says it has to change into FAT32 then and maybe the bootloader doesn't like that. - Reason for this is, that I wanna use wireguard and when it comes to installation it says no space left on boot partition. Actually there is no space left of the 256 MB and it seems to be impossible to extend the size without damaging the fs.

 

Wiredguard is included in the working (non-DEV) versions.

 

 

 

To All

 

DEV versions are intended for experienced users to test new core functionality.

Link to post
Share on other sites
15 hours ago, balbes150 said:

For a universal image, the installation is performed only through the direct launch of the desired script , for each platform it is different.

Okay, where are these scripts (esp. for amlogic platform) located? Would be nice to replace older armbian(should be 5.98 or similar) on internal with the newer 19.11.04 version working well, to boot and test LE from card occasionally like usual..

Link to post
Share on other sites

The new version 20200117 19.11.5.

 

Please note that the DTB configuration order has changed.

Now a single configuration method is used for all Rockchip Allwinner Amlogic platforms. The file (uEnv.txt) is used for configuration DTB all platforms.  The system installation scripts in eMMC have changed accordingly. If you have a system with eMMC core 5 installed on RK33xx, it is advisable to perform a clean installation in eMMC to upgrade to the new version. Added installation in eMMC for the g12 platform with color correction. For this purpose, the universal multiload for AML has been updated. For the system to work correctly on AML, you need to update the multiload. Added a test version of the system installation in eMMC for Allwinner H6 (please note, this is the first version that may contain errors).

 

For anyone who uses an eMMC installation , it is mandatory to perform a full eMMC backup before installation.

Link to post
Share on other sites
Guest
This topic is now closed to further replies.