Jump to content

Armbian for TV box rk3328


balbes150

Recommended Posts

20 hours ago, Sico said:

I've still problems to install Armbian to the eMMC because the boot is from Libreelec SD and the system is from Armbian USB. But I think I will edit the install script to fix the issues.

Immediately after starting u-boot from the SD card (about 5-10 seconds after power on), you can pull out the SD card. Then the script will only see eMMC.

 

10 minutes ago, SmallBox said:

Your hints to make this box working with armbian are highly appreciated.

need the UART console log.

Link to comment
Share on other sites

Hello,

on my h96 max +, with the dtb rk3328-box-h96mp.dtb from @easyb, my box starts and works very well.

The only problem is that the mac address changes with each restart.

How do I get a fixed mac address?

 

Alex

Link to comment
Share on other sites

On 5/7/2020 at 5:23 PM, almotra said:

Hello,

on my h96 max +, with the dtb rk3328-box-h96mp.dtb from @easyb, my box starts and works very well.

The only problem is that the mac address changes with each restart.

How do I get a fixed mac address?

 

Alex

No one has the same problem?

Does no one have a solution ?

Link to comment
Share on other sites

47 minutes ago, almotra said:

No one has the same problem?

Does no one have a solution ?

 

47 minutes ago, almotra said:

No one has the same problem?

Does no one have a solution ?

It would be handy if you said which image you are using.

Link to comment
Share on other sites

16 hours ago, DigitalDaz said:

 

It would be handy if you said which image you are using.

I tried with Armbian_20.05.1_Arm-64_buster_current_5.6.2_20200408.img and the latest 5.7.... buster no desktop

Link to comment
Share on other sites

On 5/7/2020 at 5:33 PM, balbes150 said:

need the UART console log.

 

Hi @balbes150 Thank you, here is the console log.

Quote

DDR version 1.13 20180428
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=2048MB
ddrconfig:2
OUT
Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 193
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=15028MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30145MB
FwPartOffset=2000 , 0
StorageInit ok = 218320
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
GPT 0x337a9e0 signature is wrong
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa00cc
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 10:35:59, Mar 12 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2020.01-armbian (Mar 12 2020 - 10:36:10 +0300)

Model: Rockchip RK3328 EVB
DRAM:  2 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@ff5c0000: USB EHCI 1.00
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: Bus usb@ff600000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@ff5c0000 for devices... 1 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 1 USB Device(s) found
scanning bus usb@ff600000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor:          Rev: PMAP Prod: USB FLASH DRIVE
            Type: Removable Hard Disk
            Capacity: 7388.0 MB = 7.2 GB (15130624 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
990 bytes read in 3 ms (322.3 KiB/s)
## Executing script at 00500000
start mainline u-boot
1159 bytes read in 3 ms (377 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=b6:35:78:ab:89:b8
27795968 bytes read in 963 ms (27.5 MiB/s)
11074321 bytes read in 385 ms (27.4 MiB/s)
** No boot file defined **
1161 bytes read in 4 ms (283.2 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=b6:35:78:ab:89:b8
27795968 bytes read in 1216 ms (21.8 MiB/s)
11074321 bytes read in 487 ms (21.7 MiB/s)
36542 bytes read in 8 ms (4.4 MiB/s)
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    11074257 Bytes = 10.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 7d498000, end 7df27ad1 ... OK
   Loading Device Tree to 000000007d48c000, end 000000007d497ebd ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.6.0-rc4-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #20.05.0 SMP PREEMPT Thu Mar 12 10:41:57 MSK 2020
[    0.000000] Machine model: Popcorn Hour RockBox Basic
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x000000006d400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 22 pages/cpu s51160 r8192 d30760 u90112
[    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] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=b6:35:78:ab:89:b8
[    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:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 1687588K/2095104K available (15484K kernel code, 1480K rwdata, 6488K rodata, 3648K init, 936K bss, 145372K 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=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  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] 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001578] Console: colour dummy device 80x25
[    0.001989] printk: console [tty0] enabled
[    0.002428] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.6.0-rc4-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #20.05.0 SMP PREEMPT Thu Mar 12 10:41:57 MSK 2020
[    0.000000] Machine model: Popcorn Hour RockBox Basic
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x000000006d400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 22 pages/cpu s51160 r8192 d30760 u90112
[    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] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mac=b6:35:78:ab:89:b8
[    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:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 1687588K/2095104K available (15484K kernel code, 1480K rwdata, 6488K rodata, 3648K init, 936K bss, 145372K 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=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  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] 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001578] Console: colour dummy device 80x25
[    0.001989] printk: console [tty0] enabled
[    0.002428] printk: bootconsole [uart8250] disabled
[    0.002937] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002974] pid_max: default: 32768 minimum: 301
[    0.003231] LSM: Security Framework initializing
[    0.003331] SELinux:  Initializing.
[    0.003461] *** VALIDATE selinux ***
[    0.003571] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003613] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003720] *** VALIDATE tmpfs ***
[    0.004420] *** VALIDATE proc ***
[    0.004797] *** VALIDATE cgroup ***
[    0.004820] *** VALIDATE cgroup2 ***
[    0.026607] ASID allocator initialised with 65536 entries
[    0.034579] rcu: Hierarchical SRCU implementation.
[    0.046379] EFI services will not be available.
[    0.054701] smp: Bringing up secondary CPUs ...
[    0.086944] Detected VIPT I-cache on CPU1
[    0.087024] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.119044] Detected VIPT I-cache on CPU2
[    0.119116] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.151147] Detected VIPT I-cache on CPU3
[    0.151216] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.151347] smp: Brought up 1 node, 4 CPUs
[    0.151464] SMP: Total of 4 processors activated.
[    0.151487] CPU features: detected: 32-bit EL0 Support
[    0.151510] CPU features: detected: CRC32 instructions
[    0.166913] CPU: All CPU(s) started at EL2
[    0.167004] alternatives: patching kernel code
[    0.169304] devtmpfs: initialized
[    0.180658] Registered cp15_barrier emulation handler
[    0.180708] Registered setend emulation handler
[    0.180736] KASLR disabled due to lack of seed
[    0.181297] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.181351] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.192628] xor: measuring software checksum speed
[    0.231786]    8regs     :  1187.000 MB/sec
[    0.271846]    32regs    :  1362.000 MB/sec
[    0.311919]    arm64_neon:  1200.000 MB/sec
[    0.311940] xor: using function: 32regs (1362.000 MB/sec)
[    0.312038] pinctrl core: initialized pinctrl subsystem
[    0.313262] thermal_sys: Registered thermal governor 'step_wise'
[    0.313760] DMI not present or invalid.
[    0.314641] NET: Registered protocol family 16
[    0.325093] DMA: preallocated 256 KiB pool for atomic allocations
[    0.325167] audit: initializing netlink subsys (disabled)
[    0.325530] audit: type=2000 audit(0.324:1): state=initialized audit_enabled=0 res=1
[    0.327077] cpuidle: using governor ladder
[    0.327130] cpuidle: using governor menu
[    0.327819] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.329322] Serial: AMBA PL011 UART driver
[    0.367147] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.367193] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.367219] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.367246] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.374250] cryptd: max_cpu_qlen set to 1000
[    0.456338] raid6: neonx8   gen()  1073 MB/s
[    0.524446] raid6: neonx8   xor()   802 MB/s
[    0.592587] raid6: neonx4   gen()  1100 MB/s
[    0.660699] raid6: neonx4   xor()   796 MB/s
[    0.728807] raid6: neonx2   gen()  1042 MB/s
[    0.796931] raid6: neonx2   xor()   730 MB/s
[    0.865087] raid6: neonx1   gen()   910 MB/s
[    0.933174] raid6: neonx1   xor()   624 MB/s
[    1.001297] raid6: int64x8  gen()   745 MB/s
[    1.069400] raid6: int64x8  xor()   392 MB/s
[    1.137509] raid6: int64x4  gen()   829 MB/s
[    1.205608] raid6: int64x4  xor()   424 MB/s
[    1.273687] raid6: int64x2  gen()   706 MB/s
[    1.341815] raid6: int64x2  xor()   374 MB/s
[    1.409924] raid6: int64x1  gen()   526 MB/s
[    1.478024] raid6: int64x1  xor()   274 MB/s
[    1.478044] raid6: using algorithm neonx4 gen() 1100 MB/s
[    1.478064] raid6: .... xor() 796 MB/s, rmw enabled
[    1.478086] raid6: using neon recovery algorithm
[    1.478840] fbcon: Taking over console
[    1.478913] ACPI: Interpreter disabled.
[    1.480712] iommu: Default domain type: Translated
[    1.482045] vgaarb: loaded
[    1.483008] SCSI subsystem initialized
[    1.483703] usbcore: registered new interface driver usbfs
[    1.483791] usbcore: registered new interface driver hub
[    1.483913] usbcore: registered new device driver usb
[    1.484487] pps_core: LinuxPPS API ver. 1 registered
[    1.484512] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.484561] PTP clock support registered
[    1.484611] EDAC MC: Ver: 3.0.0
[    1.485780] FPGA manager framework
[    1.485957] Advanced Linux Sound Architecture Driver Initialized.
[    1.486780] NetLabel: Initializing
[    1.486804] NetLabel:  domain hash size = 128
[    1.486821] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.486918] NetLabel:  unlabeled traffic allowed by default
[    1.487774] clocksource: Switched to clocksource arch_sys_counter
[    1.487811] *** VALIDATE bpf ***
[    1.488269] VFS: Disk quotas dquot_6.6.0
[    1.488386] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.488605] FS-Cache: Loaded
[    1.488626] *** VALIDATE ramfs ***
[    1.488667] *** VALIDATE hugetlbfs ***
[    1.489212] pnp: PnP ACPI: disabled
[    1.499566] NET: Registered protocol family 2
[    1.500559] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.500651] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.500884] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.501286] TCP: Hash tables configured (established 16384 bind 16384)
[    1.501537] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.501644] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.502047] NET: Registered protocol family 1
[    1.502850] RPC: Registered named UNIX socket transport module.
[    1.502884] RPC: Registered udp transport module.
[    1.502904] RPC: Registered tcp transport module.
[    1.502923] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.502954] NET: Registered protocol family 44
[    1.502989] PCI: CLS 0 bytes, default 64
[    1.503326] Trying to unpack rootfs image as initramfs...
[    2.453935] Freeing initrd memory: 10812K
[    2.455405] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.615215] Initialise system trusted keyrings
[    2.615558] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    2.625817] zbud: loaded
[    2.628379] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.628906] FS-Cache: Netfs 'nfs' registered for caching
[    2.629872] *** VALIDATE nfs ***
[    2.629998] *** VALIDATE nfs4 ***
[    2.630137] NFS: Registering the id_resolver key type
[    2.630192] Key type id_resolver registered
[    2.630211] Key type id_legacy registered
[    2.630240] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.630265] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.632444] FS-Cache: Netfs 'cifs' registered for caching
[    2.633029] Key type cifs.spnego registered
[    2.633072] Key type cifs.idmap registered
[    2.633112] ntfs: driver 2.1.32 [Flags: R/W].
[    2.634172] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.642485] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    2.644963] *** VALIDATE xfs ***
[    2.645480] ocfs2: Registered cluster interface o2cb
[    2.645850] OCFS2 User DLM kernel interface loaded
[    2.648200] *** VALIDATE gfs2 ***
[    2.648660] gfs2: GFS2 installed
[    2.650422] aufs 5.x-rcN-20200302
[    2.682976] NET: Registered protocol family 38
[    2.683027] Key type asymmetric registered
[    2.683048] Asymmetric key parser 'x509' registered
[    2.683068] Asymmetric key parser 'pkcs8' registered
[    2.683171] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.683470] io scheduler mq-deadline registered
[    2.683496] io scheduler kyber registered
[    2.683872] io scheduler bfq registered
[    2.691602] gpio-syscon ff100000.syscon:grf-gpio: can't read the data register offset!
[    2.697673] dma-pl330 ff1f0000.dmac: WARN: Device release is not defined so it is not safe to unbind this driver while in use
[    2.699360] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.699397] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.706427] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    2.709703] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 14, base_baud = 1500000) is a 16550A
[    2.800809] printk: console [ttyS2] enabled
[    2.802446] Serial: AMBA driver
[    2.804460] rockchip-vop ff370000.vop: Adding to iommu group 1
[    2.810270] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[    2.811087] rockchip-drm display-subsystem: failed to bind ff3c0000.hdmi (ops dw_hdmi_rockchip_ops): -517
[    2.812233] rockchip-drm display-subsystem: master bind failed: -517
[    2.831005] brd: module loaded
[    2.846342] loop: module loaded
[    2.853241] libphy: Fixed MDIO Bus: probed
[    2.855008] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    2.855621] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    2.856405] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    2.856989] rk_gmac-dwmac ff550000.ethernet: phy regulator is not available yet, deferred probing
[    2.858774] VFIO - User Level meta-driver version: 0.3
[    2.862997] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[    2.863924] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[    2.877247] dwc2 ff580000.usb: DWC OTG Controller
[    2.877716] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    2.878406] dwc2 ff580000.usb: irq 34, io mem 0xff580000
[    2.879141] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    2.879930] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.880588] usb usb1: Product: DWC OTG Controller
[    2.881019] usb usb1: Manufacturer: Linux 5.6.0-rc4-rk3328-tv dwc2_hsotg
[    2.881627] usb usb1: SerialNumber: ff580000.usb
[    2.882845] hub 1-0:1.0: USB hub found
[    2.883237] hub 1-0:1.0: 1 port detected
[    2.884441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.885059] ehci-pci: EHCI PCI platform driver
[    2.885562] ehci-platform: EHCI generic platform driver
[    2.888592] ehci-platform ff5c0000.usb: EHCI Host Controller
[    2.889137] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    2.890005] ehci-platform ff5c0000.usb: irq 35, io mem 0xff5c0000
[    2.903805] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    2.904679] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    2.905433] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.906091] usb usb2: Product: EHCI Host Controller
[    2.906538] usb usb2: Manufacturer: Linux 5.6.0-rc4-rk3328-tv ehci_hcd
[    2.907130] usb usb2: SerialNumber: ff5c0000.usb
[    2.908357] hub 2-0:1.0: USB hub found
[    2.908750] hub 2-0:1.0: 1 port detected
[    2.909685] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.910282] ohci-pci: OHCI PCI platform driver
[    2.910786] ohci-platform: OHCI generic platform driver
[    2.911742] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    2.912421] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    2.913313] ohci-platform ff5d0000.usb: irq 36, io mem 0xff5d0000
[    2.976029] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.06
[    2.976783] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.977440] usb usb3: Product: Generic Platform OHCI controller
[    2.977977] usb usb3: Manufacturer: Linux 5.6.0-rc4-rk3328-tv ohci_hcd
[    2.978572] usb usb3: SerialNumber: ff5d0000.usb
[    2.979731] hub 3-0:1.0: USB hub found
[    2.980150] hub 3-0:1.0: 1 port detected
[    2.981833] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.982372] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    2.983288] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    2.984244] xhci-hcd xhci-hcd.0.auto: irq 170, io mem 0xff600000
[    2.985323] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
[    2.986077] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.986733] usb usb4: Product: xHCI Host Controller
[    2.987178] usb usb4: Manufacturer: Linux 5.6.0-rc4-rk3328-tv xhci-hcd
[    2.987817] usb usb4: SerialNumber: xhci-hcd.0.auto
[    2.989052] hub 4-0:1.0: USB hub found
[    2.989446] hub 4-0:1.0: 1 port detected
[    2.990279] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.990796] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    2.991506] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.992215] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.993107] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
[    2.993859] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.994517] usb usb5: Product: xHCI Host Controller
[    2.994962] usb usb5: Manufacturer: Linux 5.6.0-rc4-rk3328-tv xhci-hcd
[    2.995555] usb usb5: SerialNumber: xhci-hcd.0.auto
[    2.996747] hub 5-0:1.0: USB hub found
[    2.997142] hub 5-0:1.0: 1 port detected
[    2.998226] usbcore: registered new interface driver usb-storage
[    2.999081] mousedev: PS/2 mouse device common for all mice
[    3.001065] i2c /dev entries driver
[    3.003525] rk808 1-0018: failed to read the chip id at 0x17
[    3.015195] sdhci: Secure Digital Host Controller Interface driver
[    3.015823] sdhci: Copyright(c) Pierre Ossman
[    3.016262] Synopsys Designware Multimedia Card Interface Driver
[    3.017857] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.018533] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.019140] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.019715] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    3.021503] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    3.022172] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    3.022780] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    3.023359] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    3.025257] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.026883] ledtrig-cpu: registered to indicate activity on CPUs
[    3.028226] hid: raw HID events driver (C) Jiri Kosina
[    3.029054] usbcore: registered new interface driver usbhid
[    3.029564] usbhid: USB HID core driver
[    3.036726] NET: Registered protocol family 17
[    3.037516] Key type dns_resolver registered
[    3.038958] registered taskstats version 1
[    3.039353] Loading compiled-in X.509 certificates
[    3.040016] zswap: loaded using pool lzo/zbud
[    3.041207] Key type ._fscrypt registered
[    3.041593] Key type .fscrypt registered
[    3.041952] Key type fscrypt-provisioning registered
[    3.044312] Btrfs loaded, crc32c=crc32c-generic
[    3.062031] Key type encrypted registered
[    3.100228] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[    3.101313] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    3.103456] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    3.105413] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
[    3.106180] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.106778] [drm] No driver support for vblank timestamp query.
[    3.224300] random: fast init done
[    3.247017] dwhdmi-rockchip ff3c0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.247028] dwhdmi-rockchip ff3c0000.hdmi:     colorspace: YCbCr 4:2:2
[    3.247036] dwhdmi-rockchip ff3c0000.hdmi:     scan mode: Underscan
[    3.247043] dwhdmi-rockchip ff3c0000.hdmi:     colorimetry: ITU709
[    3.247051] dwhdmi-rockchip ff3c0000.hdmi:     picture aspect: 16:9
[    3.247059] dwhdmi-rockchip ff3c0000.hdmi:     active aspect: Same as Picture
[    3.247066] dwhdmi-rockchip ff3c0000.hdmi:     itc: No Data
[    3.247074] dwhdmi-rockchip ff3c0000.hdmi:     extended colorimetry: xvYCC 709
[    3.247081] dwhdmi-rockchip ff3c0000.hdmi:     quantization range: Default
[    3.247089] dwhdmi-rockchip ff3c0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.247096] dwhdmi-rockchip ff3c0000.hdmi:     video code: 16
[    3.247103] dwhdmi-rockchip ff3c0000.hdmi:     ycc quantization range: Limited
[    3.247110] dwhdmi-rockchip ff3c0000.hdmi:     hdmi content type: Graphics
[    3.247117] dwhdmi-rockchip ff3c0000.hdmi:     pixel repeat: 0
[    3.247126] dwhdmi-rockchip ff3c0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.247162] dwhdmi-rockchip ff3c0000.hdmi: HDMI infoframe: Source Product Description (SPD), version 1, length 25
[    3.247169] dwhdmi-rockchip ff3c0000.hdmi:     vendor: DW
[    3.247176] dwhdmi-rockchip ff3c0000.hdmi:     product: HDMI
[    3.247184] dwhdmi-rockchip ff3c0000.hdmi:     source device information: PC General (0x9)
[    3.263817] Console: switching to colour frame buffer device 240x67
[    3.323910] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    3.347315] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[    3.349733] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    3.351955] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    3.352022] usb 4-1: New USB device found, idVendor=1005, idProduct=b113, bcdDevice= 1.00
[    3.352831] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    3.353853] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.354833] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    3.355513] usb 4-1: Product: USB FLASH DRIVE
[    3.356330] rk_gmac-dwmac ff550000.ethernet: phy regulator is not available yet, deferred probing
[    3.356849] usb 4-1: Manufacturer:
[    3.358477] usb 4-1: SerialNumber: 07075696C6AA6D46
[    3.361080] usb-storage 4-1:1.0: USB Mass Storage device detected
[    3.362052] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.363002] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.364102] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.364871] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    3.366877] scsi host0: usb-storage 4-1:1.0
[    3.368502] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    3.369465] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    3.370307] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    3.371056] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    3.374556] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    3.387146] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    3.399501] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    3.411499] rk_gmac-dwmac ff550000.ethernet: phy regulator is not available yet, deferred probing
[    3.427383] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.439949] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.452218] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.464348] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    3.479405] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    3.492116] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    3.504601] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    3.516924] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    3.532244] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    3.545008] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    3.557674] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    3.569995] rk_gmac-dwmac ff550000.ethernet: phy regulator is not available yet, deferred probing
[    3.586157] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.598799] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.611009] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.623000] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    3.637850] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    3.650205] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    3.662174] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    3.673963] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    3.687141] printk: console [netcon0] enabled
[    3.699089] netconsole: network logging started
[    3.710682] hctosys: unable to open rtc device (rtc0)
[    3.723134] ALSA device list:
[    3.734932]   No soundcards found.
[    3.750263] Freeing unused kernel memory: 3648K
[    3.762277] Run /init as init process
[    4.385664] scsi 0:0:0:0: Direct-Access              USB FLASH DRIVE  PMAP PQ: 0 ANSI: 6
[    4.403594] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.404372] sd 0:0:0:0: [sda] 15130624 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    4.431682] sd 0:0:0:0: [sda] Write Protect is off
[    4.445489] sd 0:0:0:0: [sda] No Caching mode page found
[    4.458265] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    4.491968]  sda: sda1 sda2
[    4.510488] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.534471] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    4.547438] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    4.560625] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    4.573370] rk_gmac-dwmac ff550000.ethernet: phy regulator is not available yet, deferred probing
[    4.591325] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    4.604145] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    4.616695] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    4.629163] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    4.645372] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    4.658121] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    4.670546] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    4.682675] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    4.839250] usbcore: registered new interface driver uas
[    5.395673] EXT4-fs (sda2): mounted filesystem with writeback data mode. Opts: data=writeback
[    6.079261] systemd[1]: System time before build time, advancing clock.
[    6.227486] NET: Registered protocol family 10
[    6.290233] Segment Routing with IPv6
[    6.346315] 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)
[    6.374907] systemd[1]: Detected architecture arm64.
[    6.456875] systemd[1]: Set hostname to <rk3328-tv>.
[    7.030698] random: systemd: uninitialized urandom read (16 bytes read)
[    7.045220] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.073262] random: systemd: uninitialized urandom read (16 bytes read)
[    7.086855] systemd[1]: Reached target System Time Synchronized.
[    7.114104] random: systemd: uninitialized urandom read (16 bytes read)
[    7.128326] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.156457] systemd[1]: Reached target Swap.
[    7.185682] systemd[1]: Created slice System Slice.
[    7.214744] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.244260] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    7.843640] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro

Armbian 20.05.0 Bionic ttyS2

rk3328-tv login: root
Password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
 ____  _  ________________  ___      _______     __
|  _ \| |/ /___ /___ /___ \( _ )    |_   _\ \   / /
| |_) | ' /  |_ \ |_ \ __) / _ \ _____| |  \ \ / /
|  _ <| . \ ___) |__) / __/ (_) |_____| |   \ V /
|_| \_\_|\_\____/____/_____\___/      |_|    \_/

Welcome to Armbian Bionic with Linux 5.6.0-rc4-rk3328-tv

No end-user support: built from trunk

System load:   1.62 0.48 0.17   Up time:       0 min
Memory usage:  6 % of 1918MB    IP:
CPU temp:      56°C
Usage of /:    16% of 6.4G      storage/:      17% of 511M

[ General system configuration (beta): armbian-config ]

New to Armbian? Check the documentation first: https://docs.armbian.com


Thank you for choosing Armbian! Support: www.armbian.com

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your forename): ^C
Disabling user account creation procedure


Armbian 20.05.0 Bionic ttyS2

rk3328-tv login: root
Password:
Last login: Thu Mar 12 09:36:35 UTC 2020 on ttyS2
 ____  _  ________________  ___      _______     __
|  _ \| |/ /___ /___ /___ \( _ )    |_   _\ \   / /
| |_) | ' /  |_ \ |_ \ __) / _ \ _____| |  \ \ / /
|  _ <| . \ ___) |__) / __/ (_) |_____| |   \ V /
|_| \_\_|\_\____/____/_____\___/      |_|    \_/

Welcome to Armbian Bionic with Linux 5.6.0-rc4-rk3328-tv

No end-user support: built from trunk

System load:   1.24 0.49 0.18   Up time:       1 min
Memory usage:  5 % of 1918MB    IP:
CPU temp:      55°C
Usage of /:    16% of 6.4G      storage/:      17% of 511M

root@rk3328-tv:~# ddbr
 DO YOU WANT TO BACKUP OR RESTORE ?
 BACKUP=(b) RESTORE=(r) b
 UNABLE TO FIND ANY EMMC OR SD DRIVES ON THIS SYSTEM!!!
root@rk3328-tv:~#
 

 

Link to comment
Share on other sites

50 minutes ago, SmallBox said:

27795968 bytes read in 963 ms (27.5 MiB/s)
11074321 bytes read in 385 ms (27.4 MiB/s)
** No boot file defined **
1161 bytes read in 4 ms (283.2 KiB/s)

you did not configure DTB to USB.

 

The system starts normally. If HDMI doesn't work , check the cable and your TV\monitor.

To work with eMMC, you need the correct DTB.Either you select the appropriate one from the available ones, or you need to create your own one for your hardware. But maybe you don't have eMMC, it's NAND memory, it won't work.

Link to comment
Share on other sites

10 hours ago, balbes150 said:

you did not configure DTB to USB.

 

The system starts normally. If HDMI doesn't work , check the cable and your TV\monitor.

To work with eMMC, you need the correct DTB.Either you select the appropriate one from the available ones, or you need to create your own one for your hardware. But maybe you don't have eMMC, it's NAND memory, it won't work.

Thank you for your hints. Yeah, I mean there are no emmc and lan working. Hence,  I couldnt install to the emmc. It works for HDMI with the dtb rk3328-box and rk3328-rockbox... The rests dtb no HDMI output. How to create the appropriated one for my hardware? I have extracted the dtb from running Android but no lucks so far...

Link to comment
Share on other sites

On 5/4/2020 at 10:47 AM, Gergely said:

 

Which image did you try?
You can download my build: https://mega.nz/file/mP5Xjaxb#bmtMFajyGCtofYVHcsazahmuPef6da_YR7ML7lG61sQ
Flasher script: https://mega.nz/file/LLIXjAJB#Nu5i9R3Vz_5wGs0nYT3O4rXSz8Yi0PCq7U_WC3TxeVU
This is outdated, but I use it without a trouble since months.
@Reddwarf also tried to install it, but it didn't work for him. I still don't know the reason.

I tried one of the latest. I have similar result with your build.

Can someone share u-boot for A5X max+ 4/32GB ?

Edited by deb
Link to comment
Share on other sites

On 5/17/2020 at 10:09 AM, SmallBox said:

Thank you for your hints. Yeah, I mean there are no emmc and lan working. Hence,  I couldnt install to the emmc. It works for HDMI with the dtb rk3328-box and rk3328-rockbox... The rests dtb no HDMI output. How to create the appropriated one for my hardware? I have extracted the dtb from running Android but no lucks so far...

Hi @balbes150

 

Finally I have got my box working, but with LibreElec only. I used the image LibreELEC-RK3328.arm-9.2.1-box.img.gz with the dtb in the forum rk3328-t9.dtb. The kernel of LibreElec is 4.4.154 and it detects the emmc and LAN port very well.

 

Then I have tried all variants of armbian for the rk3328 including the old built 19.11.3 but no one detects the LAN and emmc.

 

Is there anyway to use the boot system of LibreElec with the ARMbian instead of the default LibreELEC? Thank you.

Link to comment
Share on other sites

7 minutes ago, SmallBox said:

Is there anyway to use the boot system of LibreElec with the ARMbian instead of the default LibreELEC?

No, it won't work. The reason is not in the launch system, but in the absence of the correct DTB for the new kernel, specifically for your TV box model. You either need to build the correct DTB yourself, or contact the manufacturer to ensure that they release the correct DTB for the main kernel.

The version LE you have running with the old kernel and the DTB that you are using is the same for the old kernel.

Link to comment
Share on other sites

Just now, balbes150 said:

No, it won't work. The reason is not in the launch system, but in the absence of the correct DTB for the new kernel, specifically for your TV box model. You either need to build the correct DTB yourself, or contact the manufacturer to ensure that they release the correct DTB for the main kernel.

The version LE you have running with the old kernel and the DTB that you are using is the same for the old kernel.

I see. Thank you so much, I might give up on this box, will try another box :).

Link to comment
Share on other sites

It is working now with Amrbian 19.11.3 on the board A5X Plus Mini 2GB/16GB, finally!, but a bit tricky to accomplish the setup.

Steps:

Burn the image Armbian rk3328 20.5 20200312.img to SD card. 

Burn another image Armbian 19.11.3 rk3328 4.4.154 to USB.

Use the dtb rk3328-t9 from hexdump, modifiy etclinux.conf in the USB to read that file.

Plug both of them to the board.

It will boot to the SD and looking the USB to continue to boot successfully. Ethernet, emmc are working well.

Thank you once aain for your efforts @balbes150 @hexdump and communities to make this work on the box. Cheers.

Link to comment
Share on other sites

20 hours ago, Faisal said:

Hi guys, newbie here

How do I flash the image to H96 max RK3328. Can I use a USB-A to A cable. What software do I need. Will Ethernet work. And where do I find the image

Hi Faisal, you can see the first page of this topic for the details. Basically, you need: a SD card, an USB stick, image burner software (Etcher, Rufus...)... Once you have the SD or USB boot to the system, you can install it.

Link to comment
Share on other sites

Hi, I installed armbian on a Q96 plus but is working some problems.
I tried to install again using diferent dtb but strange was not booting any other dtb, not even with the one that I was to install the first time.
So I decide put back the original android firmware with the flash tool,  Strangely the toothpick methd to make the box connect to flash is not working,

So, now I'm not able to install any other firmware, but is still boot a running armbian installing.
There's any way to erase and restore the orginal boot, without use the usb cable? using a SD boot to erase the armbian boot? or some comming to do this from the linux running on the device?

Link to comment
Share on other sites

I have access to a device with the original partition, but not sure how and watch I should get a backup and write on the broken device? A script or anything to put all (or needed) partitions back?

 

dd if=/dev/block/mmcblk2  | gzip -c > /path/to/my-disk.image.gz

gunzip -c my-disk.image.gz | dd of=/dev/block/mmcblk1

Link to comment
Share on other sites

On 5/21/2020 at 10:28 PM, SmallBox said:

It is working now with Amrbian 19.11.3 on the board A5X Plus Mini 2GB/16GB, finally!, but a bit tricky to accomplish the setup.

Steps:

Burn the image Armbian rk3328 20.5 20200312.img to SD card. 

Burn another image Armbian 19.11.3 rk3328 4.4.154 to USB.

Use the dtb rk3328-t9 from hexdump, modifiy etclinux.conf in the USB to read that file.

Plug both of them to the board.

It will boot to the SD and looking the USB to continue to boot successfully. Ethernet, emmc are working well.

Thank you once aain for your efforts @balbes150 @hexdump and communities to make this work on the box. Cheers.

 

hi i'm trying to install on the same device, could you describe it step by step for me? how do i put the dtb?

Link to comment
Share on other sites

16 hours ago, Nuno Cruz said:

I have access to a device with the original partition, but not sure how and watch I should get a backup and write on the broken device? A script or anything to put all (or needed) partitions back?

If you followed the instructions exactly, you should have made a full backup before installing the system in eMMC. If you have such a copy, you can easily return the exact state of the eMMC (firmware) at the time before installation. If you didn't make such a copy, you will have to solve all the problems yourself (no one knows what and what state you have in eMMC).

Link to comment
Share on other sites

2 hours ago, balbes150 said:

If you followed the instructions exactly, you should have made a full backup before installing the system in eMMC. If you have such a copy, you can easily return the exact state of the eMMC (firmware) at the time before installation. If you didn't make such a copy, you will have to solve all the problems yourself (no one knows what and what state you have in eMMC).


I have a 2 devices, one is like new, original android running, I can get the backup/partitions from there, I just wanted to know if there's any easy way to copy the original from that second device running android and place it in the device running armbian.  
 

I know that I can get a backup, I dont know who to apply this.

Can I just clone the emmc from the android /dev/block/mmcblk2 and write it using the running armbian installation ?

Link to comment
Share on other sites

36 minutes ago, Nuno Cruz said:

I have a 2 devices, one is like new, original android running, I can get the backup/partitions from there, I just wanted to know if there's any easy way to copy the original from that second device running android and place it in the device running armbian.  
 

I know that I can get a backup, I dont know who to apply this.

Can I just clone the emmc from the android /dev/block/mmcblk2 and write it using the running armbian installation ?

You need to change your habits. :)

Everything is much simpler on the RK platform. There is no need to activate multi-boot (make changes to the regular firmware to run Armbian). Therefore, you can launch Armbian from an external media on a "clean" TV box (with Android). Run the ddbr utility and create a full compressed copy of eMMC. Connect this media to a "dirty" TV box, run Armbian, and restore the copy from the ddbr utility. The ddbr utility makes an exact copy of the entire eMMC (clones exactly all the bits "as is").

Link to comment
Share on other sites

6 minutes ago, balbes150 said:

You need to change your habits. :)

Everything is much simpler on the RK platform. There is no need to activate multi-boot (make changes to the regular firmware to run Armbian). Therefore, you can launch Armbian from an external media on a "clean" TV box (with Android). Run the ddbr utility and create a full compressed copy of eMMC. Connect this media to a "dirty" TV box, run Armbian, and restore the copy from the ddbr utility. The ddbr utility makes an exact copy of the entire eMMC (clones exactly all the bits "as is").


Perfect, is exatcly what I need :)
I'm still learning, and like many people, it's a mix of research and interaction with experts :) thanks for you help. I was missing the ddbr existence

Link to comment
Share on other sites

On 5/26/2020 at 2:15 AM, Anderson Mores said:

 

hi i'm trying to install on the same device, could you describe it step by step for me? how do i put the dtb?

Steps:

1. Burn the image: Armbian_20.05.0_Rk3328-tv_bionic_current_5.6.0-rc4_20200312.img.xz to SD card

2. Burn another image: Armbian_5.76_Rk3328-tv_Ubuntu_bionic_default_4.4.154_20190306.img to USB. Note: this box supports USB 2.0 only via the dtb file with this image. Hence, you have to use an USB stick 2.0 (3.0 and 3.1 USB version will not work).

3. Use the dtb rk3328-t9 from hexdump, modifiy etclinux.conf in the USB to read that file.

4. Plug both of them to the board and boot.

 

Hi @Anderson Mores 


Step 1& 2: You can download from balbes yandisk (the first post of this topic) and burn them to the SD card and USB based on the image version respectively. I use rufus to burn those images.

Step 3: For the dtb file: you can search in this topic and download it to your PC, I do not have right to upload the file.  Copy that file to the USB at location /dtb/rockchip. Plug the USB to your PC, go to /etclinux/etclinux.conf replace the line FDT /dtb/rockchip/rk3328-mx10.dtb to FDT /dtb/rockchip/rk3328-t9.dtb.

 

Step 4: It should works well. You should see this log from UART Console log, if you do not have access to the UART console log, just wait about 2 minutes, it should work with the screen via HDMI.

 

P/S: Because this box will not be booted with the Armbian_5.76_Rk3328-tv_Ubuntu_bionic_default_4.4.154_20190306.img if you burn it to SD or USB and use the t9 dtb file (it get stuck at DRAM version forever), hence, applying the above tricks ( 2 different img versions) will work.

 

Link to comment
Share on other sites

Hi @hexdump, i have a Leovin HK 1 Max (RK3318 4GB / 64GB) I have good computer skills but I don't understand anything about programming/compiling/decompiling/etc., I tried to do what you wrote but unfortunately without success.
I tried flashing several images of Armbian without being able to start anything from sd... following your post the device boots with the sd inserted ... but in android!
I would like to be able to boot Armbian and then install it on the emmc ... can someone give me some advice?

Thanks so much!
Beppe

Link to comment
Share on other sites

@Beppe - there seem to be boxes which are configured in a way that they simply do not boot from sd card at all and i guess yours is one of them ... it is technically possible to get them working by building a special second stage u-boot which then boots from sd/usb and write it to the right position on emmc, but this is far from trivial and often needs to be adjusted for each box (i did it for a h96max rk3328 h2 which also does not boot from sd by default) - as a result i would recommend you to get another box if that is an option for you and better avoid rk3318 at all as those are really lowest end tv boxes and not really easy to deal with ...

 

good luck and best wishes - hexdump

Link to comment
Share on other sites

On 5/29/2020 at 4:00 PM, hexdump said:

@Beppe - there seem to be boxes which are configured in a way that they simply do not boot from sd card at all and i guess yours is one of them ... it is technically possible to get them working by building a special second stage u-boot which then boots from sd/usb and write it to the right position on emmc, but this is far from trivial and often needs to be adjusted for each box (i did it for a h96max rk3328 h2 which also does not boot from sd by default) - as a result i would recommend you to get another box if that is an option for you and better avoid rk3318 at all as those are really lowest end tv boxes and not really easy to deal with ...

 

good luck and best wishes - hexdump

 

Hi, 
I have a bricked (maybe broken) h96max rk3328 h2, it doesn't boot, I tried to see if was possible to install armbian without luck. The box seems to not have uart pins (maybe not so clear position), there's any trick to make armbian but from sd/usb.??? When I plug box to the PC with a usb cable, the box is detected as unrecognized device, so a assumed an hardware issue, but I belive that is bricked .

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines