Jump to content

Armbian for TV box rk3328


balbes150

Recommended Posts

@Nuno Cruz - i just found an old note from me regarding this box: "serial port might be the three test points next to each other with two resistors - yes it is :)" - maybe it helps you finding the serial port - i do not have mine here right now ...

 

in order to get anything going it is required to get it recognized by the rkdeveloptool again ... iirc there were even two test points on the backside of or near the emmc chip to put it into maskrom mode (i think one of them had to be grounded, but i might be wrong)

 

good luck - hexdump

Link to comment
Share on other sites

@hexdump I think I found the serial, in a bad place to my soldering skills,  the maskrom poins I also found them, this is mentioned in a freaklab post. But the are recomending to shot the maskroom? put some solder to keep them connected? 
I gonna try this on a day with more time and without my 4 years daugther on my foot.
Thanks

Link to comment
Share on other sites

On 8/30/2018 at 3:58 PM, balbes150 said:

The order of installation in eMMC.

 

1. Download, unzip and burn the image to SD card.

2. Start Armbian on the TV box and perform the initial setup of the system.

3. If the system works correctly and you are satisfied, run the utility "ddbr" and create a full backup of eMMC (this is a prerequisite).

4. Rename the file "/boot/mvr9-uboot.img" in "/boot/uboot.img".

5. Run as user "root" script "/boot/create-mbr-linux.sh"

6. To run the script "/root/install.sh

Is the ethernet working now. Also does wifi work. I need either of them. Also is the procedure still the same

Link to comment
Share on other sites

hey there, 

 

I'm playing with T9 player based on RK3328, 4/64GB, DTD file is from hexdump from his latest post. But I'm experiencing kernel panics most probably related to emmc. when I run "yes > ./test.txt" it goes crazy in few minutes and ends up with this

 

in ssh session I get this

Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.370456] Internal error: Oops - bad mode: 0 [#1] SMP
Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.370548] Process lsb_release (pid: 2595, stack limit = 0xffffffc0f0230000)
Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.372255] Internal error: Oops - bad mode: 0 [#2] SMP
Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.372314] Process telegraf (pid: 929, stack limit = 0xffffffc0f0270000)
Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.585493] Internal error: Oops - bad mode: 0 [#3] SMP
Message from syslogd@plex at Jun  1 13:01:11 ...
 kernel:[  236.695864] Process yes (pid: 2477, stack limit = 0xffffffc0f02b4000)
Segmentation fault

on screen it's quite lot of text, says BUG: spinlock lockup suspected on CPU#0

 

using ARMBIAN 5.82 user-built Debian GNU/Linux 9 (stretch) 4.4.154-rk3328-tv, this

LABEL Armbian
  LINUX /Image
  INITRD /uInitrd
  FDT /dtb/rockchip/rk3328-t9.dtb
  APPEND root=LABEL=ROOT_EMMC rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 

 

 

I read somewhere about lowering eMMC frequency from 200MHz to 150MHz, is this possible somehow, please?

 

 

update: ek3328-evb.dtb is running more stable, no crashes during excessive IO on disk. ek3328-evb.dtb has no keyboard/mouse, that is not an issue for me. And it crashed too in few hours. Kept the CPU temperature a LOT lower and crashed a lot later than using the ek3328-t9.dtb file

 

 

Link to comment
Share on other sites

On 5/13/2020 at 7:43 PM, DigitalDaz 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?

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

 

Alex

....................

I'm not even sure my box will boot with that combination. I'll try later today.

 

Hello,

could you try?

Do you also have the mac address problem?
I did not find a solution

 

Alex

Link to comment
Share on other sites

Link to comment
Share on other sites

Is there a set of instructions available on how to update from an early version to a recent version?

 

I got a H96 Max rk3328 running a very early release of the Armbian rk3328 builds, i want to update to a recent version now and after 2 days of searching and trying still no luck...

Link to comment
Share on other sites

15 hours ago, rafik24 said:

Could you please share the recipe to get this image built using the ./compile.sh from armbian ?

 

By looking at it it might require some board config ?

What do you want to get out of it ?

The build is performed using the universal arm-64 profile, followed by adding u-boot when writing the image.

 

Link to comment
Share on other sites

Thanks a lot for this work! I managed to get it working on mine with only a few problems :

- Ethernet is not detected

- Emmc / SD is not detected by the kernel either

 

Currently trying to sort those issues out myself playing with the dtb but it may be a problem on my side. Any ideas? I have the exact same model.

Link to comment
Share on other sites

On 1/11/2020 at 7:03 AM, hexdump said:

in case anyone wants to give my self built u-boot a try with his rk3318 box, it is attached here. just download it and also get the trust.img from:

then image the rk-aml-aw image from here to an sd-card, add the rockchip rk3328 u-boot for it like described at the bottom of the first post there (most probably this step is not really required, as the relevant part will be overwritten soon, but it can't be wrong). then add and reference the attached rk3318-t9-mainline.dtb (because those images are built based on mainline and not the rockchip 4.4 kernel).

 

now run the following commands:


dd if=uboot-rk3318.img of=/dev/yoursdcard seek=16384
dd if=trust.img of=/dev/yoursdcard seek=24576

and try to boot that sd card - might be interesting for @Tarzanus, maybe for others too ...

 

good luck and best wishes - hexdump

 

 

uboot-rk3318.img 4 MB · 152 downloads

rk3318-t9-mainline.dtb 33.12 kB · 149 downloads

 

@hexdump,I have a h96max Rk3318 box 4+32GB,as you say, this tvbox could not boot from usb,I flash usb and sdcard from image of Armbian_20.02.0-rc1.038_Rk3328-tv_bionic_current_5.5.0-rc6_20200205.img,dd  my as follows ,

dd if=./uboot-rk3318-h96max.img   of=/dev/sdb  seek=16384   conv=sync,fsync
dd if=./trust.img     of=/dev/sdb seek=24576   conv=sync,fsync

    rename uboot.sd to uboot.ext,  and edit config in uEnv.txt

# rk-3328
FDT=/dtb/rockchip/rk3318-h96max.dtb
#FDT=/dtb/rockchip/rk3328-box.dtb
#APPEND=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
    then insert sdcard and usb in box,turn on power with toothstick in AV hole,but no hdmi appears,as if my box have not boot yet.

@hexdump,could you explain if I made some mistake from using your uboot-rk3318-h96max.img and rk3318-h96max.dtb,why your box booting normally.

thanks - chess12

Link to comment
Share on other sites

my dtb might be too outdated meanwhile and my u-boot might not work well with your box - in general i can only recommend you to get another better supported box - rk3318 is not really supported, gives a lot of trouble  and is very low end ... i got mine working and as it seems a few others too, but there is no guarantee that it will work for other boxes ... minimum to debug is to solder a serial console  to the box to see what the problem is and even then its not sure if it can be made working ...

Link to comment
Share on other sites

hexdump,thank you for reply my question.I bought another X96Airbox,and installed Armbian in sdcard ,but I could not install Armbian in emmc ,this forum said this box is too new to support it,so I thougt of running Armbian in h96max to have a try.

Link to comment
Share on other sites

On 8/28/2020 at 11:27 PM, hexdump said:

my dtb might be too outdated meanwhile and my u-boot might not work well with your box - in general i can only recommend you to get another better supported box - rk3318 is not really supported, gives a lot of trouble  and is very low end ... i got mine working and as it seems a few others too, but there is no guarantee that it will work for other boxes ... minimum to debug is to solder a serial console  to the box to see what the problem is and even then its not sure if it can be made working ...

DDR version 1.16 20190713
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: May 13 2019 17:34:36, version: 2.50
ChipType = 0x11, 233
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=29820MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30040MB
FwPartOffset=2000 , 0
StorageInit ok = 393537
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
atags_set_bootdev: ret:(0)
GPT 0x337a9f0 signature is wrong
recovery gpt...
GPT 0x337a9f0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 15:40:24, Feb  6 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
agV." ` 0$ar0q$ {uqEWrPH

-------------

@hexdump, I bought two uart line to get my booting message,I found that my "INFO:    Using rkfiq sec cpu_context!" is diffrent  with yours, so it stop booting here, cannot boot into uboot ,maybe it could give you a hint why 3318 cannot boot from sd card. 

 

Edited by chess12
some fault
Link to comment
Share on other sites

Spoiler

 

thanks hexdump,I manage to install armbian in emmc,and my boot log as follows:

 

ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: May 13 2019 17:34:36, version: 2.50
ChipType = 0x11, 231
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=29820MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30040MB
FwPartOffset=2000 , 0
StorageInit ok = 391297
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
atags_set_bootdev: ret:(0)
GPT 0x337a9f0 signature is wrong
recovery gpt...
GPT 0x337a9f0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(release):0e7a845e
NOTICE:  BL31: Built : 16:24:22, Apr 29 2019
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-221-gda2bcfdc #137 Mon Jun 17 03:00:04 UTC 2019 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2019.10-armbian (Nov 29 2019 - 09:50:19 +0300)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:   Could not get PHY for ethernet@ff540000: addr -1
eth-1: 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... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
319 bytes read in 8 ms (38.1 KiB/s)
1:      Armbian
Retrieving file: /uInitrd
7575924 bytes read in 341 ms (21.2 MiB/s)
Retrieving file: /Image
17313800 bytes read in 769 ms (21.5 MiB/s)
append: 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
Retrieving file: /rk3318-t9.dtb
70300 bytes read in 10 ms (6.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    7575860 Bytes = 7.2 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 fc7eb000, end fcf24934 ... OK
   Loading Device Tree to 00000000fc7d6000, end 00000000fc7ea29b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.154-rk3328-tv (root@vbox) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02) ) #69 SMP Fri Nov 29 09:53:56 MSK 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff130000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] cma: Reserved 64 MiB at 0x00000000f8400000
[    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: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0fef26000 s46248 r8192 d31576 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027656
[    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
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf1c00000-0xf5c00000] (64MB) mapped at [ffffffc0f1c00000-ffffffc0f5bfffff]
[    0.000000] Memory: 3946680K/4175872K available (10430K kernel code, 1484K rwdata, 3944K rodata, 1024K init, 710K bss, 163656K reserved, 65536K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008e90000 - 0xffffff8008f90000   (  1024 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008ab0000   ( 10432 KB)
[    0.000000]     .rodata : 0xffffff8008ab0000 - 0xffffff8008e90000   (  3968 KB)
[    0.000000]       .data : 0xffffff8008f90000 - 0xffffff8009103008   (  1485 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc3fc0000   (    63 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc0ff000000   (  4078 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected 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.001921] Console: colour dummy device 80x25
[    0.002394] console [tty0] enabled
[    0.002725] bootconsole [uart0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.154-rk3328-tv (root@vbox) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02) ) #69 SMP Fri Nov 29 09:53:56 MSK 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff130000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] cma: Reserved 64 MiB at 0x00000000f8400000
[    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: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0fef26000 s46248 r8192 d31576 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027656
[    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
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf1c00000-0xf5c00000] (64MB) mapped at [ffffffc0f1c00000-ffffffc0f5bfffff]
[    0.000000] Memory: 3946680K/4175872K available (10430K kernel code, 1484K rwdata, 3944K rodata, 1024K init, 710K bss, 163656K reserved, 65536K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008e90000 - 0xffffff8008f90000   (  1024 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008ab0000   ( 10432 KB)
[    0.000000]     .rodata : 0xffffff8008ab0000 - 0xffffff8008e90000   (  3968 KB)
[    0.000000]       .data : 0xffffff8008f90000 - 0xffffff8009103008   (  1485 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc3fc0000   (    63 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc0ff000000   (  4078 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected 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.001921] Console: colour dummy device 80x25
[    0.002394] console [tty0] enabled
[    0.002725] bootconsole [uart0] disabled
[    0.003121] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003162] pid_max: default: 32768 minimum: 301
[    0.003400] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.003436] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004497] Initializing cgroup subsys io
[    0.004535] Initializing cgroup subsys memory
[    0.004587] Initializing cgroup subsys devices
[    0.004621] Initializing cgroup subsys freezer
[    0.004651] Initializing cgroup subsys net_cls
[    0.004683] Initializing cgroup subsys perf_event
[    0.004715] Initializing cgroup subsys net_prio
[    0.004748] Initializing cgroup subsys pids
[    0.004820] ftrace: allocating 38650 entries in 151 pages
[    0.114982] sched-energy: CPU device node has no sched-energy-costs
[    0.115027] Invalid sched_group_energy for CPU0
[    0.115048] CPU0: update cpu_capacity 1024
[    0.115135] ASID allocator initialised with 32768 entries
[    0.121259] Detected VIPT I-cache on CPU1
[    0.121333] Invalid sched_group_energy for CPU1
[    0.121339] CPU1: update cpu_capacity 1024
[    0.121345] CPU1: Booted secondary processor [410fd034]
[    0.122147] Detected VIPT I-cache on CPU2
[    0.122204] Invalid sched_group_energy for CPU2
[    0.122210] CPU2: update cpu_capacity 1024
[    0.122217] CPU2: Booted secondary processor [410fd034]
[    0.123065] Detected VIPT I-cache on CPU3
[    0.123119] Invalid sched_group_energy for CPU3
[    0.123126] CPU3: update cpu_capacity 1024
[    0.123133] CPU3: Booted secondary processor [410fd034]
[    0.123249] Brought up 4 CPUs
[    0.123629] SMP: Total of 4 processors activated.
[    0.123680] CPU: All CPU(s) started at EL2
[    0.123759] alternatives: patching kernel code
[    0.124041] Invalid sched_group_energy for CPU3
[    0.124090] Invalid sched_group_energy for Cluster3
[    0.124133] Invalid sched_group_energy for CPU2
[    0.124173] Invalid sched_group_energy for Cluster2
[    0.124216] Invalid sched_group_energy for CPU1
[    0.124256] Invalid sched_group_energy for Cluster1
[    0.124298] Invalid sched_group_energy for CPU0
[    0.124338] Invalid sched_group_energy for Cluster0
[    0.125281] devtmpfs: initialized
[    0.152430] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.152543] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.157228] xor: measuring software checksum speed
[    0.194982]    8regs     :  1080.000 MB/sec
[    0.235069]    8regs_prefetch:   968.000 MB/sec
[    0.275156]    32regs    :  1458.000 MB/sec
[    0.315249]    32regs_prefetch:  1224.000 MB/sec
[    0.315291] xor: using function: 32regs (1458.000 MB/sec)
[    0.315368] pinctrl core: initialized pinctrl subsystem
[    0.316983] NET: Registered protocol family 16
[    0.327350] cpuidle: using governor ladder
[    0.333696] cpuidle: using governor menu
[    0.334202] vdso: 2 pages (1 code @ ffffff8008ab6000, 1 data @ ffffff8008f94000)
[    0.334319] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.336293] DMA: preallocated 2048 KiB pool for atomic allocations
[    0.366317] genirq: Setting trigger mode 8 for irq 178 failed (gic_set_type+0x0/0x64)
[    0.451884] raid6: int64x1  gen()   201 MB/s
[    0.519910] raid6: int64x1  xor()   171 MB/s
[    0.587980] raid6: int64x2  gen()   322 MB/s
[    0.656071] raid6: int64x2  xor()   261 MB/s
[    0.724257] raid6: int64x4  gen()   478 MB/s
[    0.792342] raid6: int64x4  xor()   327 MB/s
[    0.860428] raid6: int64x8  gen()   386 MB/s
[    0.928638] raid6: int64x8  xor()   304 MB/s
[    0.996727] raid6: neonx1   gen()   360 MB/s
[    1.064814] raid6: neonx1   xor()   354 MB/s
[    1.133029] raid6: neonx2   gen()   548 MB/s
[    1.201084] raid6: neonx2   xor()   457 MB/s
[    1.269230] raid6: neonx4   gen()   744 MB/s
[    1.337309] raid6: neonx4   xor()   559 MB/s
[    1.405424] raid6: neonx8   gen()   763 MB/s
[    1.473568] raid6: neonx8   xor()   569 MB/s
[    1.473611] raid6: using algorithm neonx8 gen() 763 MB/s
[    1.473652] raid6: .... xor() 569 MB/s, rmw enabled
[    1.473694] raid6: using intx1 recovery algorithm
[    1.474280] mpp venc_srv: mpp_probe enter
[    1.474362] mpp venc_srv: init success
[    1.478412] iommu: Adding device ff350000.vpu_service to group 0
[    1.478549] iommu: Adding device ff351000.avsd to group 1
[    1.478673] iommu: Adding device ff360000.rkvdec to group 2
[    1.478812] iommu: Adding device ff330000.h265e to group 3
[    1.478953] iommu: Adding device ff340000.vepu to group 4
[    1.479094] iommu: Adding device ff370000.vop to group 5
[    1.481869] SCSI subsystem initialized
[    1.482758] usbcore: registered new interface driver usbfs
[    1.482893] usbcore: registered new interface driver hub
[    1.483088] usbcore: registered new device driver usb
[    1.483442] pps_core: LinuxPPS API ver. 1 registered
[    1.483489] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.483593] PTP clock support registered
[    1.486165] Advanced Linux Sound Architecture Driver Initialized.
[    1.487347] Bluetooth: Core ver 2.21
[    1.487447] NET: Registered protocol family 31
[    1.487491] Bluetooth: HCI device and connection manager initialized
[    1.487549] Bluetooth: HCI socket layer initialized
[    1.487600] Bluetooth: L2CAP socket layer initialized
[    1.487679] Bluetooth: SCO socket layer initialized
[    1.488493] cfg80211: World regulatory domain updated:
[    1.488546] cfg80211:  DFS Master region: unset
[    1.488563] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    1.488668] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    1.488745] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    1.488821] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    1.488897] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    1.488974] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    1.489051] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    1.489125] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    1.489201] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    1.489908] rockchip-cpuinfo cpuinfo: Serial         : cf4dd527767450cd
[    1.490962] clocksource: Switched to clocksource arch_sys_counter
[    1.592786] FS-Cache: Loaded
[    1.609656] NET: Registered protocol family 2
[    1.610567] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    1.611191] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)
[    1.612657] TCP: Hash tables configured (established 32768 bind 32768)
[    1.612875] UDP hash table entries: 2048 (order: 5, 196608 bytes)
[    1.613188] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes)
[    1.613881] NET: Registered protocol family 1
[    1.614497] RPC: Registered named UNIX socket transport module.
[    1.614549] RPC: Registered udp transport module.
[    1.614594] RPC: Registered tcp transport module.
[    1.614636] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.615809] Trying to unpack rootfs image as initramfs...
[    2.245135] Freeing initrd memory: 7396K
[    2.246109] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.251276] Initialise system trusted keyring
[    2.271494] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.273114] FS-Cache: Netfs 'nfs' registered for caching
[    2.274036] NFS: Registering the id_resolver key type
[    2.274128] Key type id_resolver registered
[    2.274171] Key type id_legacy registered
[    2.274238] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.274680] FS-Cache: Netfs 'cifs' registered for caching
[    2.283518] NET: Registered protocol family 38
[    2.283611] Key type asymmetric registered
[    2.283662] Asymmetric key parser 'x509' registered
[    2.284092] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.284412] io scheduler noop registered
[    2.284468] io scheduler deadline registered
[    2.284579] io scheduler cfq registered (default)
[    2.291932] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[    2.297828] Module initialized.
[    2.298277] rk-vcodec vpu_combo: no regulator for vcodec
[    2.298686] rk-vcodec vpu_combo: failed on clk_get clk_cabac
[    2.298745] rk-vcodec vpu_combo: failed on clk_get clk_core
[    2.298895] platform ff350000.vpu_service: probe device
[    2.299411] platform ff350000.vpu_service: drm allocator with mmu enabled
[    2.300493] platform ff351000.avsd: probe device
[    2.301081] platform ff351000.avsd: drm allocator with mmu enabled
[    2.303347] rk-vcodec vpu_combo: could not find power_model node
[    2.303411] rk-vcodec vpu_combo: init success
[    2.303871] rk-vcodec ff360000.rkvdec: no regulator for vcodec
[    2.303974] rk-vcodec ff360000.rkvdec: parent devfreq retry
[    2.305081] probe device ff330000.h265e
[    2.305576] mpp_dev ff330000.h265e: try to get iommu dev ffffffc0f14ba410
[    2.306110] mpp_dev ff330000.h265e: resource ready, register device
[    2.306688] probe device ff340000.vepu
[    2.307257] mpp_dev ff340000.vepu: try to get iommu dev ffffffc0f14bac10
[    2.307733] mpp_dev ff340000.vepu: resource ready, register device
[    2.312612] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.312680] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.316762] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    2.320088] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 13, base_baud = 1500000) is a 16550A
[    2.426621] console [ttyS2] enabled
[    2.429009] [drm] Initialized drm 1.1.0 20060810
[    2.434517] [drm] Rockchip DRM driver version: v1.0.1
[    2.435336] rockchip-drm display-subsystem: devfreq is not set
[    2.436718] rockchip-drm display-subsystem: bound ff370000.vop (ops 0xffffff8008b65d08)
[    2.437916] i2c i2c-4: of_i2c: modalias failure on /hdmi@ff3c0000/ports
[    2.438557] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.439509] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    2.441785] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops 0xffffff8008b5a168)
[    2.442579] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.443273] [drm] No driver support for vblank timestamp query.
[    2.443962] rockchip-drm display-subsystem: failed to parse display resources
[    2.444691] rockchip-drm display-subsystem: No connectors reported connected with modes
[    2.445534] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.473428] Console: switching to colour frame buffer device 128x48
[    2.493341] rockchip-drm display-subsystem: fb0:  frame buffer device
[    2.499779] Unable to detect cache hierarchy for CPU 0
[    2.501979] brd: module loaded
[    2.513007] loop: module loaded
[    2.513916] lkdtm: No crash points registered, enable through debugfs
[    2.515069] Loading iSCSI transport class v2.0-870.
[    2.516288] iscsi: registered transport (tcp)
[    2.521282] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[    2.522225] rk_gmac-dwmac ff550000.ethernet: Can not read property: tx_delay.
[    2.523184] rk_gmac-dwmac ff550000.ethernet: set tx_delay to 0x30
[    2.523969] rk_gmac-dwmac ff550000.ethernet: Can not read property: rx_delay.
[    2.524880] rk_gmac-dwmac ff550000.ethernet: set rx_delay to 0x10
[    2.525702] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes).
[    2.526736] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout
[    2.527667] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed
[    2.533674] rk_gmac-dwmac ff550000.ethernet: init for RMII
[    2.567128] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    2.567775]  Ring mode enabled
[    2.568174]  DMA HW capability register supported
[    2.568754]  Normal descriptors
[    2.569193]  RX Checksum Offload Engine supported (type 2)
[    2.569890]  TX Checksum insertion supported
[    2.570436]  Wake-Up On Lan supported
[    2.579001]  Enable RX Mitigation via HW Watchdog Timer
[    2.751910] libphy: stmmac: probed
[    2.760266] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-1:00) active
[    2.768865] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-1:01)
[    2.777204] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-1:02)
[    2.785452] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-1:03)
[    2.793603] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-1:04)
[    2.801658] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-1:05)
[    2.809572] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-1:06)
[    2.817395] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-1:07)
[    2.825008] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-1:08)
[    2.832436] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-1:09)
[    2.839680] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-1:0a)
[    2.846785] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-1:0b)
[    2.853711] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-1:0c)
[    2.860397] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-1:0d)
[    2.866870] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-1:0e)
[    2.873128] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-1:0f)
[    2.879198] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-1:10)
[    2.885124] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-1:11)
[    2.890868] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-1:12)
[    2.896522] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-1:13)
[    2.901964] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-1:14)
[    2.907263] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-1:15)
[    2.912401] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-1:16)
[    2.917367] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-1:17)
[    2.922176] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-1:18)
[    2.926872] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-1:19)
[    2.931513] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-1:1a)
[    2.936005] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-1:1b)
[    2.940335] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-1:1c)
[    2.944559] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-1:1d)
[    2.948600] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-1:1e)
[    2.952563] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-1:1f)
[    2.958262] usbcore: registered new interface driver rndis_wlan
[    2.962577] Rockchip WiFi SYS interface (V1.00) ...
[    2.966711] usbcore: registered new interface driver rtl8150
[    2.970880] usbcore: registered new interface driver r8152
[    2.974988] usbcore: registered new interface driver asix
[    2.979021] usbcore: registered new interface driver ax88179_178a
[    2.983082] usbcore: registered new interface driver cdc_ether
[    2.987019] usbcore: registered new interface driver cdc_eem
[    2.990810] usbcore: registered new interface driver rndis_host
[    2.994644] usbcore: registered new interface driver cdc_ncm
[    2.998315] usbcore: registered new interface driver cdc_mbim
[    3.004355] phy phy-ff470000.usb3-phy.2: u3phy u2 power on
[    3.008009] phy phy-ff470000.usb3-phy.3: u3phy u3 power on
[    3.012951] ff580000.usb supply vusb_d not found, using dummy regulator
[    3.016775] ff580000.usb supply vusb_a not found, using dummy regulator
[    3.033183] dwc2 ff580000.usb: DWC OTG Controller
[    3.036585] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    3.040273] dwc2 ff580000.usb: irq 42, io mem 0xff580000
[    3.044152] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.048049] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.052135] usb usb1: Product: DWC OTG Controller
[    3.052144] usb usb1: Manufacturer: Linux 4.4.154-rk3328-tv dwc2_hsotg
[    3.052155] usb usb1: SerialNumber: ff580000.usb
[    3.053210] hub 1-0:1.0: USB hub found
[    3.053263] hub 1-0:1.0: 1 port detected
[    3.054706] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.054732] ehci-pci: EHCI PCI platform driver
[    3.054849] ehci-platform: EHCI generic platform driver
[    3.057686] ehci-platform ff5c0000.usb: EHCI Host Controller
[    3.058053] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    3.058470] ehci-platform ff5c0000.usb: irq 43, io mem 0xff5c0000
[    3.066998] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    3.067391] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.067402] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.067410] usb usb2: Product: EHCI Host Controller
[    3.067419] usb usb2: Manufacturer: Linux 4.4.154-rk3328-tv ehci_hcd
[    3.067427] usb usb2: SerialNumber: ff5c0000.usb
[    3.068355] hub 2-0:1.0: USB hub found
[    3.068408] hub 2-0:1.0: 1 port detected
[    3.069202] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.069243] ohci-platform: OHCI generic platform driver
[    3.069832] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    3.070185] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    3.070498] ohci-platform ff5d0000.usb: irq 44, io mem 0xff5d0000
[    3.127310] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    3.127320] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.127328] usb usb3: Product: Generic Platform OHCI controller
[    3.127337] usb usb3: Manufacturer: Linux 4.4.154-rk3328-tv ohci_hcd
[    3.127345] usb usb3: SerialNumber: ff5d0000.usb
[    3.128306] hub 3-0:1.0: USB hub found
[    3.128374] hub 3-0:1.0: 1 port detected
[    3.129898] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[    3.130261] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 4
[    3.130867] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00210010
[    3.131002] xhci-hcd xhci-hcd.9.auto: irq 181, io mem 0xff600000
[    3.131295] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    3.131305] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.131314] usb usb4: Product: xHCI Host Controller
[    3.131322] usb usb4: Manufacturer: Linux 4.4.154-rk3328-tv xhci-hcd
[    3.131330] usb usb4: SerialNumber: xhci-hcd.9.auto
[    3.132280] hub 4-0:1.0: USB hub found
[    3.132329] hub 4-0:1.0: 1 port detected
[    3.132860] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[    3.133153] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 5
[    3.133274] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.133469] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    3.133479] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.133488] usb usb5: Product: xHCI Host Controller
[    3.133496] usb usb5: Manufacturer: Linux 4.4.154-rk3328-tv xhci-hcd
[    3.133504] usb usb5: SerialNumber: xhci-hcd.9.auto
[    3.134328] hub 5-0:1.0: USB hub found
[    3.134378] hub 5-0:1.0: 1 port detected
[    3.135217] usbcore: registered new interface driver cdc_acm
[    3.135221] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.135312] usbcore: registered new interface driver cdc_wdm
[    3.135398] usbcore: registered new interface driver uas
[    3.135642] usbcore: registered new interface driver usb-storage
[    3.135798] usbcore: registered new interface driver usbserial
[    3.135855] usbcore: registered new interface driver usbserial_generic
[    3.135908] usbserial: USB Serial support registered for generic
[    3.135984] usbcore: registered new interface driver ch341
[    3.136027] usbserial: USB Serial support registered for ch341-uart
[    3.136107] usbcore: registered new interface driver cp210x
[    3.136150] usbserial: USB Serial support registered for cp210x
[    3.136294] usbcore: registered new interface driver ftdi_sio
[    3.136337] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.136740] usbcore: registered new interface driver keyspan
[    3.136790] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    3.136833] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    3.136877] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    3.136926] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    3.137014] usbcore: registered new interface driver option
[    3.137058] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.137610] usbcore: registered new interface driver oti6858
[    3.137660] usbserial: USB Serial support registered for oti6858
[    3.137736] usbcore: registered new interface driver pl2303
[    3.137779] usbserial: USB Serial support registered for pl2303
[    3.137878] usbcore: registered new interface driver qcserial
[    3.137922] usbserial: USB Serial support registered for Qualcomm USB modem
[    3.138052] usbcore: registered new interface driver sierra
[    3.138096] usbserial: USB Serial support registered for Sierra USB modem
[    3.139393] usbcore: registered new interface driver iforce
[    3.139532] usbcore: registered new interface driver xpad
[    3.140265] usbcore: registered new interface driver usbtouchscreen
[    3.140774] .. rk pwm remotectl v1.1 init
[    3.141299] input: ff1b0030.pwm as /devices/platform/ff1b0030.pwm/input/input0
[    3.142877] i2c /dev entries driver
[    3.143543] rockchip-pinctrl pinctrl: pin gpio2-4 already requested by ff1b0000.pwm; cannot claim for ff160000.i2c
[    3.143556] rockchip-pinctrl pinctrl: pin-68 (ff160000.i2c) status -22
[    3.143568] rockchip-pinctrl pinctrl: could not request pin 68 (gpio2-4) from group i2c1-xfer  on device rockchip-pinctrl
[    3.143576] rk3x-i2c ff160000.i2c: Error applying setting, reverse things back
[    4.142998] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[    4.151432] rk808 1-0018: failed to read the chip id at 0x17
[    4.159830] rk808: probe of 1-0018 failed with error -110
[    4.168200] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff8009722000
[    4.180952] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
[    4.189887] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
[    4.199153] rockchip-thermal ff250000.tsadc: tsadc is probed successfully!
[    4.209435] device-mapper: uevent: version 1.0.3
[    4.218675] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    4.227807] Bluetooth: Virtual HCI driver ver 1.5
[    4.236729] Bluetooth: HCI UART driver ver 2.3
[    4.245218] Bluetooth: HCI UART protocol H4 registered
[    4.253798] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.262722] usbcore: registered new interface driver bfusb
[    4.271680] usbcore: registered new interface driver btusb
[    4.280485] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    4.290029] cpu cpu0: leakage=8
[    4.298622] cpu cpu0: leakage-volt-sel=0
[    4.307471] cpu cpu0: Failed to get pvtm
[    4.318801] pinconfig core: failed to register map default (1): no configs given
[    4.324665] sdhci: Secure Digital Host Controller Interface driver
[    4.329748] sdhci: Copyright(c) Pierre Ossman
[    4.334573] Synopsys Designware Multimedia Card Interface Driver
[    4.340566] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    4.345935] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    4.351073] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    4.356154] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 38,32 bit host data width,256 deep fifo
[    4.361756] dwmmc_rockchip ff500000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    4.367206] dwmmc_rockchip ff500000.dwmmc: No vmmc regulator found
[    4.372353] dwmmc_rockchip ff500000.dwmmc: No vqmmc regulator found
[    4.391036] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.412253] dwmmc_rockchip ff500000.dwmmc: 1 slots initialized
[    4.421924] dwmmc_rockchip ff510000.dwmmc: IDMAC supports 32-bit address mode.
[    4.430128] dwmmc_rockchip ff510000.dwmmc: Using internal DMA controller.
[    4.437065] dwmmc_rockchip ff510000.dwmmc: Version ID is 270a
[    4.445895] dwmmc_rockchip ff510000.dwmmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo
[    4.453210] dwmmc_rockchip ff510000.dwmmc: No vmmc regulator found
[    4.460001] dwmmc_rockchip ff510000.dwmmc: No vqmmc regulator found
[    4.467034] dwmmc_rockchip ff510000.dwmmc: allocated mmc-pwrseq
[    4.487145] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.503545] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.509764] mmc0: new high speed SDHC card at address 1234
[    4.509833] dwmmc_rockchip ff510000.dwmmc: 1 slots initialized
[    4.510614] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
[    4.515637] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[    4.515648] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[    4.515714] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    4.515771] dwmmc_rockchip ff520000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    4.515827] dwmmc_rockchip ff520000.dwmmc: No vmmc regulator found
[    4.515831] dwmmc_rockchip ff520000.dwmmc: No vqmmc regulator found
[    4.531038] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.547065] dwmmc_rockchip ff520000.dwmmc: 1 slots initialized
[    4.548333] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.551041] ledtrig-cpu: registered to indicate activity on CPUs
[    4.552148] hidraw: raw HID events driver (C) Jiri Kosina
[    4.555876] usbcore: registered new interface driver usbhid
[    4.555878] usbhid: USB HID core driver
[    4.556803] rockchip-dmc dmc: unable to get devfreq-event device : dfi
[    4.559144] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    4.559820] rk3328-codec ff410000.codec: spk_depop_time use default value.
[    4.564165] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.564332] Initializing XFRM netlink socket
[    4.565190] NET: Registered protocol family 10
[    4.566358] NET: Registered protocol family 17
[    4.566392] NET: Registered protocol family 15
[    4.566595] Bluetooth: RFCOMM socket layer initialized
[    4.566631] Bluetooth: RFCOMM ver 1.11
[    4.566650] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.566662] Bluetooth: HIDP socket layer initialized
[    4.567030] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    4.567314] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    4.567338] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6330
[    4.567341] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    4.567345] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    4.567490] /wireless-wlan: could not get #gpio-cells for /pinctrl/emmc/emmc-clk
[    4.567505] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    4.567509] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    4.567517] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    4.567589] [BT_RFKILL]: Enter rfkill_rk_init
[    4.567771] rfkill_bt wireless-bluetooth: could not find pctldev for node /i2s@ff020000, deferring probe
[    4.567892] Key type dns_resolver registered
[    4.571429] Registered cp15_barrier emulation handler
[    4.571441] Registered setend emulation handler
[    4.572246] registered taskstats version 1
[    4.572265] Loading compiled-in X.509 certificates
[    4.576044] zswap: default zpool zbud not available
[    4.576047] zswap: pool creation failed
[    4.581658] Btrfs loaded
[    4.581897] pvtm list NULL
[    4.582556] rk-vcodec ff360000.rkvdec: no regulator for vcodec
[    4.582598] rk-vcodec ff360000.rkvdec: parent devfreq retry
[    4.583816] rockchip-dmc dmc: current ATF version 0x101!
[    4.583821] rockchip-dmc dmc: read tf version 0x101!
[    4.585486] rockchip-dmc dmc: leakage=8
[    4.585496] rockchip-dmc dmc: leakage-volt-sel=0
[    4.585688] rockchip-dmc dmc: Failed to get pvtm
[    4.585933] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    4.586687] devfreq dmc: Couldn't update frequency transition information.
[    4.608081] asoc-simple-card sound: rk3328-hifi <-> ff010000.i2s mapping ok
[    4.609763] asoc-simple-card hdmi-sound: i2s-hifi <-> ff000000.i2s mapping ok
[    4.611834] asoc-simple-card spdif-sound: dit-hifi <-> ff030000.spdif mapping ok
[    4.612708] rfkill_bt wireless-bluetooth: could not find pctldev for node /i2s@ff020000, deferring probe
[    4.613015] rk-vcodec ff360000.rkvdec: no regulator for vcodec
[    4.613038] rk-vcodec ff360000.rkvdec: parent devfreq is ok
[    4.613418] rk-vcodec ff360000.rkvdec: probe device
[    4.613769] rk-vcodec ff360000.rkvdec: drm allocator with mmu enabled
[    4.614325] rk-vcodec ff360000.rkvdec: init success
[    4.614678] rfkill_bt wireless-bluetooth: could not find pctldev for node /i2s@ff020000, deferring probe
[    4.619018] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    4.620814] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.631496] dwmmc_rockchip ff520000.dwmmc: Successfully tuned phase to 236
[    4.631577] mmc2: new HS200 MMC card at address 0001
[    4.632197] mmcblk2: mmc2:0001 V2W00M 29.1 GiB
[    4.632483] mmcblk2boot0: mmc2:0001 V2W00M partition 1 4.00 MiB
[    4.632761] mmcblk2boot1: mmc2:0001 V2W00M partition 2 4.00 MiB
[    4.633033] mmcblk2rpmb: mmc2:0001 V2W00M partition 3 512 KiB
[    4.636421]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21
[    4.644130] rfkill_bt wireless-bluetooth: could not find pctldev for node /i2s@ff020000, deferring probe
[    4.679022] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    4.889095] console [netcon0] enabled
[    4.889651] mmcblk0: mmc0:1234 SA32G 29.3 GiB
[    4.891313]  mmcblk0: p1 p2
[    4.892243] rfkill_bt wireless-bluetooth: could not find pctldev for node /i2s@ff020000, deferring probe
[    4.908194] netconsole: network logging started
[    4.913289] hctosys: unable to open rtc device (rtc0)
[    4.933601] ALSA device list:
[    4.939835]   #0: rockchip,rk3328
[    4.945910]   #1: rockchip,hdmi
[    4.951785]   #2: rockchip,spdif
[    4.958158] Freeing unused kernel memory: 1024K
[    5.090134] vendor storage:20160801 ret = 0
[    6.609486] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
[    7.464348] systemd[1]: System time before build time, advancing clock.
[    7.481295] cgroup: cgroup2: unknown option "nsdelegate"
[    7.516460] 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.537159] systemd[1]: Detected architecture arm64.
[    7.582110] systemd[1]: Set hostname to <rk3328>.
[    7.854012] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    7.874510] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    8.214795] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.223070] systemd[1]: Reached target Swap.
[    8.239283] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.247954] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.264195] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.272864] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.289417] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.298126] systemd[1]: Reached target Local Encrypted Volumes.
[    8.312721] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.320150] systemd[1]: Created slice System Slice.
[    8.332982] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.340687] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.354209] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.361896] systemd[1]: Listening on Journal Socket.
[    8.375743] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.383506] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.397810] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.405698] systemd[1]: Listening on udev Control Socket.
[    8.420022] random: systemd: uninitialized urandom read (16 bytes read, 105 bits of entropy available)
[    8.427890] systemd[1]: Listening on udev Kernel Socket.
[    8.442670] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.462914] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    8.480762] systemd[1]: Starting Nameserver information manager...
[    8.499268] systemd[1]: Mounting Kernel Debug File System...
[    8.530717] systemd[1]: Starting Load Kernel Modules...
[    8.545789] systemd[1]: Listening on Syslog Socket.
[    8.563590] systemd[1]: Mounting POSIX Message Queue File System...
[    8.585047] systemd[1]: Starting Restore / save the current clock...
[    8.603619] systemd[1]: Starting udev Coldplug all Devices...
[    8.622512] systemd[1]: Starting Set the console keyboard layout...
[    8.637814] systemd[1]: Reached target Remote File Systems.
[    8.653535] systemd[1]: Created slice User and Session Slice.
[    8.668250] systemd[1]: Reached target Slices.
[    8.683099] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    8.699251] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.712258] systemd[1]: Reached target System Time Synchronized.
[    8.729176] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    8.732060] systemd[1]: Starting Journal Service...
[    8.750093] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    8.767832] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    8.787783] systemd[1]: Mounted Kernel Debug File System.
[    8.803255] systemd[1]: Started Load Kernel Modules.
[    8.817371] systemd[1]: Mounted POSIX Message Queue File System.
[    8.832096] systemd[1]: Started Restore / save the current clock.
[    8.848697] systemd[1]: Started Remount Root and Kernel File Systems.
[    8.864462] systemd[1]: Started Nameserver information manager.
[    8.879873] systemd[1]: Reached target Network (Pre).
[    8.900195] systemd[1]: Starting Load/Save Random Seed...
[    8.917539] systemd[1]: Mounting Kernel Configuration File System...
[    8.934545] systemd[1]: Starting Apply Kernel Variables...
[    8.952517] systemd[1]: Starting Create Static Device Nodes in /dev...
[    8.971787] systemd[1]: Mounted Kernel Configuration File System.
[    9.008700] systemd[1]: Started Load/Save Random Seed.
[    9.044322] systemd[1]: Started Journal Service.

Armbian 19.11.3 Bionic ttyS2

rk3328 login: root
Password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:

Authentication token manipulation error

Armbian 19.11.3 Bionic ttyS2

rk3328 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 4.4.154-rk3328-tv

System load:   0.10 0.55 0.41   Up time:       7 min
Memory usage:  2 % of 3926MB    IP:            169.254.3.146
CPU temp:      43°C
Usage of /:    4% of 29G

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 19.11.3 Bionic ttyS2

rk3328 login: root
Password:
Last login: Fri Nov 29 07:06:16 UTC 2019 on ttyS2
 ____  _  ________________  ___      _______     __
|  _ \| |/ /___ /___ /___ \( _ )    |_   _\ \   / /
| |_) | ' /  |_ \ |_ \ __) / _ \ _____| |  \ \ / /
|  _ <| . \ ___) |__) / __/ (_) |_____| |   \ V /
|_| \_\_|\_\____/____/_____\___/      |_|    \_/

Welcome to Armbian Bionic with Linux 4.4.154-rk3328-tv

System load:   0.22 0.55 0.41   Up time:       8 min
Memory usage:  2 % of 3926MB    IP:            169.254.3.146
CPU temp:      41°C
Usage of /:    4% of 29G

 

 

Edited by Werner
Use spoiler for longer pastes
Link to comment
Share on other sites

When l plug uart line,i find that my box pause at Uboot every time,so I try flash the three img files with dd if as you provided ,so it works.And I find that my box boots with no logo ,after 1-2 miniutes,it comes into armbian logo to start kernel.

Link to comment
Share on other sites

Hi!

i have downloaded your Armbian_20.07_Rk3328-tv_focal_current_5.7.8_desktop and writen to a SD and a USB using balena.io.

 

I have an A5X Max+ 4K 64Gb/4Gb.

 

Tested all RK3328 dtb.img of your image dtb directory on SD and USB, using alone SD to boot, alone USB to boot and combined SD+USB to boot, pressing reset button in AV connector while pluging the power but not worked, all the times boots, shows screen with circle indicating Deleting and reboots, then boots Android in a clean install.

 

How could i boot and test Armbian on my device?

 

Thanks for your work!

 

Regards

 

Jps1x2

Link to comment
Share on other sites

18 часов назад, jps1x2 сказал:

dtb.img

 

18 часов назад, jps1x2 сказал:

pressing reset button in AV connector

Watch carefully the first post of this topic, how to configure and run the system on rk3328.

Link to comment
Share on other sites

On 10/18/2020 at 3:35 PM, balbes150 said:

 

Watch carefully the first post of this topic, how to configure and run the system on rk3328.

Thanks for information.


On my SD partition in FAT format i can't see folder extlinux that contains extlinux.conf file to change FDT information about dtb to use.


But i see file uEnv.txt that contains a FDT line example to be modified. Is this the right file to modify?


Thanks and regards


Jps1x2

Link to comment
Share on other sites

On 10/18/2020 at 3:35 PM, balbes150 said:

 

Watch carefully the first post of this topic, how to configure and run the system on rk3328.

Hi,
modified all needed times file uEnv.txt to test all RK3328 dtb files on /dtb/rockchip folder of FAT partition to boot.
Tested again on SD alone, USB alone, and at the same time SD+USB.
Normal boot without pressing reset button.
Nothing happened, inmediately boots Android and only creates on SD or USB a folder named Android and a folder named LOST.DIR

Could i modify in any way from Android 8.1 using ADB, ConnectBot or any terminal emulator, that Android system and force boot from SD?

Original operating system of that device is Android 8.1.

Here you can see images of my device:

https://t.me/s/TempChannelForArmbian

Is it posible to use UART to modify with putty the boot sequence?

i can buy a USB Uart on Aliexpress to connect my device and give you information. Is this USB UART ok?:

FT232RL 3.3V 5V FTDI Mini USB to TTL Serial UART Adapter Module MiniUSB Port Converter+Cable for Ardu ino Pro PIC DIY
https://a.aliexpress.com/_BTs9Oo

Thanks and Regards

Jps1x2
 

Link to comment
Share on other sites

1 минуту назад, jps1x2 сказал:

i can buy a USB Uart on Aliexpress to connect my device and give you information.

This is the only way to find out what is happening at startup and try to find the cause of the problem.

Link to comment
Share on other sites

On 10/21/2020 at 3:20 PM, balbes150 said:

This is the only way to find out what is happening at startup and try to find the cause of the problem.

 

Hi,

Tested with UART connection and i have this booting normally:

https://pastebin.com/9qUwTGEJ

This booting with SD card indicating in uEnv.txt: FDT=/dtb/rockchip/rk3328-rockbox.dtb

https://pastebin.com/xh8N8BQY

This booting with USB indicating in uEnv.txt: FDT=/dtb/rockchip/rk3328-rockbox.dtb

https://pastebin.com/Y659K1rK

This booting with SD Card + USB indicating in both external devices uEnv.txt: FDT=/dtb/rockchip/rk3328-rockbox.dtb

https://pastebin.com/ptghKnt3

Thank you very much for your help!

Regards

jps1x2

Link to comment
Share on other sites

3 часа назад, jps1x2 сказал:

This booting with SD card indicating in uEnv.txt: FDT=/dtb/rockchip/rk3328-rockbox.dtb

Your model does not attempt to access the launch from external media at all. Try writing the image with another program to the SD card (the SD card is a key element for starting the system). Either the manufacturer may not be using a standard SD card connection, or the firmware may have blocked this option. Try stopping the u-boot startup (press and hold the space bar while powering up). If the launch is not interrupted, you will have to try to completely erase the eMMC (details on how to do this with the RK tools are available on the forum in other topics).

Link to comment
Share on other sites

i think the a5x max+ is one of the weird boxes which has the sd card not wired at the proper mmc port and thus cannot boot from sd card at all - i once made a hack for my h96max (same problem) to replace the legacy u-boot on emmc with a mainline one configured for this strange mmc setup and reading extlinux then first from the sd card - this way i can boot it now quite normally from sd card - but: this hack is risky as you can easily brick your box doing such low level things, this hack worked for me and my box but it does not have to work for yours and you are on your own when trying this - here are some notes from my hack back then: https://github.com/hexdump0815/u-boot-misc/blob/master/readme.rk3328-no-sd-boot ... btw. i think interrupting u-boot on rockchip boxes is usually disabled

 

best wishes - hexdump

Link to comment
Share on other sites

20 hours ago, balbes150 said:

Your model does not attempt to access the launch from external media at all. Try writing the image with another program to the SD card (the SD card is a key element for starting the system). Either the manufacturer may not be using a standard SD card connection, or the firmware may have blocked this option. Try stopping the u-boot startup (press and hold the space bar while powering up). If the launch is not interrupted, you will have to try to completely erase the eMMC (details on how to do this with the RK tools are available on the forum in other topics).

 

12 hours ago, hexdump said:

i think the a5x max+ is one of the weird boxes which has the sd card not wired at the proper mmc port and thus cannot boot from sd card at all - i once made a hack for my h96max (same problem) to replace the legacy u-boot on emmc with a mainline one configured for this strange mmc setup and reading extlinux then first from the sd card - this way i can boot it now quite normally from sd card - but: this hack is risky as you can easily brick your box doing such low level things, this hack worked for me and my box but it does not have to work for yours and you are on your own when trying this - here are some notes from my hack back then: https://github.com/hexdump0815/u-boot-misc/blob/master/readme.rk3328-no-sd-boot ... btw. i think interrupting u-boot on rockchip boxes is usually disabled

 

best wishes - hexdump

 

@hexdump and @balbes150  

Tested stop booting pressing any key on keyboard and do not worked, tested with other sd and other program to write image to it and the result is the same.

I am not an expert on linux and i see that hexdump is replacing boot from his device, that process seems difficult.

If it help to do it easy i have the img to install Android 8.1 to this device (2768333 A5X MAX+ TV box ROM firmware pack.7z), i had to install it days ago with Rockchip_FactoryTool_v1.64 and it can be installed every times i need. Could this img be mounted on a linux s.o. as a loop device and changed to hack boot procedure to boot from sd and then install it with Rockchip_FactoryTool_v1.64?

is it possible to modify boot from Android rooting it using connectbot or terminal emulator apps? Is it possible to change things from UART connection or is it only used to see logs?

I have only a little experience using linux and if the steps can be made easy i would try to do it.

Thank you very much for your help and for your time.

Regards

Jps1x2
 

Link to comment
Share on other sites

21 hours ago, hexdump said:

@jps1x2 - if you do not feel comfortable doing the low level changes needed, then it might be better to keep this box running android and try to get something else better supported i would suggest.

 

best wishes - hexdump

@hexdump I'll try and I'm sure I'll learn something along the way.

I have created a linux VM on My Virtualbox and tested UART, it is working fine, then i can test with it.

About the following command on your notes:

dd if=uboot.img of=/dev/sdx seek=16384

Are there here on forum uboot.img to use or do i have to compile it?

That command is to write to /dev/sdx on tv box or on sd card to boot?

If the command is writen to tv box is it writen from UART connection?

About command:

rkdeveloptool wl 0x2000 u-boot-image-for-emmc-h96max-rk3328.img

Are there here on forum valid img files that i can use of this type or do i have to compile it?

Another way to do it if i do not need to boot from SD, is it possible to write directly to emmc armbian image with any tool?

Regards

Jps1x2
 

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