RK3318 device (Magicsee N5 Nova 4g/64g) with dead NAND


Recommended Posts

Hi all!

Have RK3318 device (Magicsee N5 Nova 4g/64g) with dead NAND.

Need revive this trash any way.

Want to try this way but would be nice to be able watch console.

Guess this is what I need.

But I have no idea where is RX TX.

First PIN is GND (rihgt side).

Please help!

Thanx!

My_console_PIN.jpg

Edited by TRS-80
RK3318, not RK3188
Link to post
Share on other sites
Donate and support the project!

  • Werner changed the title to RK3318 device (Magicsee N5 Nova 4g/64g) with dead NAND
4 часа назад, hexdump сказал:

@Lambert or some moderator: i think what is ment here is rk3318 and not rk3188 - it might be good to adjust the title ...

That's it! My fault. Thanx!

But I can't edit it no longer.

16 часов назад, jock сказал:

You may try this very work in progress build effort made by @fabiobassa, @hexdump and me.

 

Burn it on a sdcard and try, but your mileage may vary

Thanx a lot for help!
I'll try yours image definitely soon! There is only one common card left.
Until I was waiting for an answer - did something: figured out RX & TX.
In order:
1. I burn bionic image (Armbian_20.07_Rk3328-tv_bionic_current_5.7.8.img) first. But SDcard even wasn't found I guess:

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

--------------------------------------------------
DDR version 1.15 20190428
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: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 193
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=59640MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7460MB
FwPartOffset=2000 , 0
StorageInit ok = 299215
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=0x9feb8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):0e4d696
NOTICE:  BL31: Built : 09:22:40, Aug 27 2019
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1

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

2. Then I burn "trust.img" (by: "dd if=trust.img of=/dev/sdb seek=24576") and put "rk3318-t9.dtb"(from here) in the root of SDcard. I got "trust.img" from stock Android Firmware. The log has become much longer this time:

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

--------------------------------------------------
DDR version 1.15 20190428
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: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 192
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=59640MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7460MB
FwPartOffset=2000 , 0
StorageInit ok = 305618
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
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x9feb8
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-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 2018 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 2020.04-armbian (Jul 13 2020 - 15:42:01 +0300)

Model: Pine64 Rock64
DRAM:  4 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: Pine64 Rock64
Net:   Could not get PHY for ethernet@ff540000: addr -1
No ethernet found.

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 U-Boot script /boot.scr
1029 bytes read in 7 ms (143.6 KiB/s)
## Executing script at 00500000
start mainline u-boot
## Error: "bootfromsd" not defined
580 bytes read in 7 ms (80.1 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=9e:c4:38:eb:32:c3
27789824 bytes read in 1231 ms (21.5 MiB/s)
11017955 bytes read in 492 ms (21.4 MiB/s)
70300 bytes read in 11 ms (6.1 MiB/s)
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    11017891 Bytes = 10.5 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 fc4a5000, end fcf26ea3 ... OK
   Loading Device Tree to 00000000fc490000, end 00000000fc4a429b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.8-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)), GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.07 SMP PREEMPT Mon Jul 13 15:58:46 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 T9
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x00000000ec400000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfe7b9100-0xfe7bafff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000feffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000feffffff]
[    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] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s51224 r8192 d30696 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: 1027656
[    0.000000] Policy zone: DMA32
[    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=9e:c4:38:eb:32:c3
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3728376K/4175872K available (16060K kernel code, 1282K rwdata, 6376K rodata, 3392K init, 925K bss, 185352K reserved, 262144K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x158 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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002105] Console: colour dummy device 80x25
[    0.002517] printk: console [tty0] enabled
[    0.002910] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.8-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)), GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.07 SMP PREEMPT Mon Jul 13 15:58:46 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 T9
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x00000000ec400000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfe7b9100-0xfe7bafff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000feffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000feffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000feffffff]
[    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] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s51224 r8192 d30696 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: 1027656
[    0.000000] Policy zone: DMA32
[    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=9e:c4:38:eb:32:c3
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3728376K/4175872K available (16060K kernel code, 1282K rwdata, 6376K rodata, 3392K init, 925K bss, 185352K reserved, 262144K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x158 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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002105] Console: colour dummy device 80x25
[    0.002517] printk: console [tty0] enabled
[    0.002910] printk: bootconsole [uart8250] disabled
[    0.003541] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003583] pid_max: default: 32768 minimum: 301
[    0.003828] LSM: Security Framework initializing
[    0.003993] AppArmor: AppArmor initialized
[    0.004137] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004196] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.006841] rcu: Hierarchical SRCU implementation.
[    0.009358] EFI services will not be available.
[    0.009936] smp: Bringing up secondary CPUs ...
[    0.010860] Detected VIPT I-cache on CPU1
[    0.010946] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.011840] Detected VIPT I-cache on CPU2
[    0.011915] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012799] Detected VIPT I-cache on CPU3
[    0.012868] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013001] smp: Brought up 1 node, 4 CPUs
[    0.013121] SMP: Total of 4 processors activated.
[    0.013144] CPU features: detected: 32-bit EL0 Support
[    0.013168] CPU features: detected: CRC32 instructions
[    0.029644] CPU: All CPU(s) started at EL2
[    0.029747] alternatives: patching kernel code
[    0.033145] devtmpfs: initialized
[    0.051974] Registered cp15_barrier emulation handler
[    0.052032] Registered setend emulation handler
[    0.052063] KASLR disabled due to lack of seed
[    0.052657] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.052715] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.064754] xor: measuring software checksum speed
[    0.102692]    8regs     :  1186.000 MB/sec
[    0.142759]    32regs    :  1361.000 MB/sec
[    0.182843]    arm64_neon:  1192.000 MB/sec
[    0.182867] xor: using function: 32regs (1361.000 MB/sec)
[    0.182966] pinctrl core: initialized pinctrl subsystem
[    0.184293] thermal_sys: Registered thermal governor 'step_wise'
[    0.184864] DMI not present or invalid.
[    0.185833] NET: Registered protocol family 16
[    0.188747] DMA: preallocated 256 KiB pool for atomic allocations
[    0.188822] audit: initializing netlink subsys (disabled)
[    0.189205] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1
[    0.191086] cpuidle: using governor ladder
[    0.191153] cpuidle: using governor menu
[    0.191855] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.192024] ASID allocator initialised with 65536 entries
[    0.194216] Serial: AMBA PL011 UART driver
[    0.244250] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.244299] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.244330] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.244357] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.248096] cryptd: max_cpu_qlen set to 1000
[    0.319377] raid6: neonx8   gen()  1070 MB/s
[    0.387504] raid6: neonx8   xor()   800 MB/s
[    0.455650] raid6: neonx4   gen()  1100 MB/s
[    0.523792] raid6: neonx4   xor()   793 MB/s
[    0.591950] raid6: neonx2   gen()  1041 MB/s
[    0.660090] raid6: neonx2   xor()   728 MB/s
[    0.728275] raid6: neonx1   gen()   911 MB/s
[    0.796394] raid6: neonx1   xor()   623 MB/s
[    0.864586] raid6: int64x8  gen()   7  1.354637] VFS: Disk quotas dquot_6.6.0
[    1.354757] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.354996] FS-Cache: Loaded
[    1.355918] AppArmor: AppArmor Filesystem Enabled
[    1.356336] pnp: PnP ACPI: disabled
[    1.367249] NET: Registered protocol family 2
[    1.368322] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.368460] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.368903] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.369683] TCP: Hash tables configured (established 32768 bind 32768)
[    1.369998] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.370280] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.370795] NET: Registered protocol family 1
[    1.371578] RPC: Registered named UNIX socket transport module.
[    1.371613] RPC: Registered udp transport module.
[    1.371633] RPC: Registered tcp transport module.
[    1.371653] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.371686] NET: Registered protocol family 44
[    1.371723] PCI: CLS 0 bytes, default 64
[    1.372050] Trying to unpack rootfs image as initramfs...
[    2.357842] Freeing initrd memory: 10756K
[    2.359535] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.366446] Initialise system trusted keyrings
[    2.366793] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    2.377557] zbud: loaded
[    2.380422] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.381022] FS-Cache: Netfs 'nfs' registered for caching
[    2.382227] NFS: Registering the id_resolver key type
[    2.382301] Key type id_resolver registered
[    2.382322] Key type id_legacy registered
[    2.382356] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.382385] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.384383] FS-Cache: Netfs 'cifs' registered for caching
[    2.385031] Key type cifs.spnego registered
[    2.385075] Key type cifs.idmap registered
[    2.385119] ntfs: driver 2.1.32 [Flags: R/W].
[    2.386319] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.395351] SGI XFS with ACLs, security attributes, r[    2.566662] rockchip-vop ff370000.vop: Adding to iommu group 4
[    2.573612] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[    2.574645] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    2.576144] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.577467] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
[    2.578280] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.578984] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.580378] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    2.586333] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.601890] brd: module loaded
[    2.617101] loop: module loaded
[    2.626621] libphy: Fixed MDIO Bus: probed
[    2.629266] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    2.629894] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    2.630705] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    2.631486] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[    2.632144] rk_gmac-dwmac ff550000.ethernet: Can not read property: tx_delay.
[    2.632793] rk_gmac-dwmac ff550000.ethernet: set tx_delay to 0x30
[    2.633352] rk_gmac-dwmac ff550000.ethernet: Can not read property: rx_delay.
[    2.634000] rk_gmac-dwmac ff550000.ethernet: set rx_delay to 0x10
[    2.634596] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (no).
[    2.635241] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout
[    2.635887] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed
[    2.641612] rk_gmac-dwmac ff550000.ethernet: init for RMII
[    2.642477] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    2.643142] rk_gmac-dwmac ff550000.ethernet:         DWMAC1000
[    2.643629] rk_gmac-dwmac ff550000.ethernet: DMA HW capability register supported
[    2.644313] rk_gmac-dwmac ff550000.ethernet: RX Checksum Offload Engine supported
[    2.644994] rk_gmac-dwmac ff550000.ethernet: COE Type 2
[    2.645476] rk_gmac-dwmac ff550000.ethernet: TX Checksum insertion supported
[    2.646113] rk_gmac-dwmac ff550000.ethernet: Wake-Up On Lan supported
[    2.646795] rk_gmac-dwmac ff550000.ethernet: Normal descriptors
[    2.647340] rk_gmac-dwmac ff550000.ethernet: Ring mode enabled
[    2.647873] rk_gmac-dwmac ff550000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.648609] rk_gmac-dwmac ff550000.ethernet: device MAC address f2:56:39:c2:dc:70
[    2.845580] libphy: stmmac: probed
[    2.845943] mdio_bus stmmac-1:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[    2.846844] mdio_bus stmmac-1:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:01, irq=POLL)
[    2.847713] mdio_bus stmmac-1:02: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:02, irq=POLL)
[    2.848577] mdio_bus stmmac-1:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:03, irq=POLL)
[    2.849441] mdio_bus stmmac-1:04: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:04, irq=POLL)
[    2.850325] mdio_bus stmmac-1:05: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:05, irq=POLL)
[    2.851189] mdio_bus stmmac-1:06: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:06, irq=POLL)
[    2.852055] mdio_bus stmmac-1:07: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:07, irq=POLL)
[    2.852917] mdio_bus stmmac-1:08: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:08, irq=POLL)
[    2.853782] mdio_bus stmmac-1:09: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:09, irq=POLL)
[    2.854659] mdio_bus stmmac-1:0a: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0a, irq=POLL)
[    2.855522] mdio_bus stmmac-1:0b: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0b, irq=POLL)
[    2.856386] mdio_bus stmmac-1:0c: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0c, irq=POLL)
[    2.857250] mdio_bus stmmac-1:0d: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0d, irq=POLL)
[    2.858115] mdio_bus stmmac-1:0e: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0e, irq=POLL)
[    2.858989] mdio_bus stmmac-1:0f: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:0f, irq=POLL)
[    2.859856] mdio_bus stmmac-1:10: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:10, irq=POLL)
[    2.860716] mdio_bus stmmac-1:11: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:11, irq=POLL)
[    2.861580] mdio_bus stmmac-1:12: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:12, irq=POLL)
[    2.862457] mdio_bus stmmac-1:13: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:13, irq=POLL)
[    2.863322] mdio_bus stmmac-1:14: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:14, irq=POLL)
[    2.864186] mdio_bus stmmac-1:15: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:15, irq=POLL)
[    2.865049] mdio_bus stmmac-1:16: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:16, irq=POLL)
[    2.865914] mdio_bus stmmac-1:17: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:17, irq=POLL)
[    2.866791] mdio_bus stmmac-1:18: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:18, irq=POLL)
[    2.867658] mdio_bus stmmac-1:19: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:19, irq=POLL)
[    2.868520] mdio_bus stmmac-1:1a: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1a, irq=POLL)
[    2.869381] mdio_bus stmmac-1:1b: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1b, irq=POLL)
[    2.870260] mdio_bus stmmac-1:1c: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1c, irq=POLL)
[    2.871125] mdio_bus stmmac-1:1d: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1d, irq=POLL)
[    2.871990] mdio_bus stmmac-1:1e: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1e, irq=POLL)
[    2.872851] mdio_bus stmmac-1:1f: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-1:1f, irq=POLL)
[    2.876042] VFIO - User Level meta-driver version: 0.3
[    2.878683] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    2.879472] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    2.894639] dwc2 ff580000.usb: DWC OTG Controller
[    2.895151] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    2.895843] dwc2 ff580000.usb: irq 43, io mem 0xff580000
[    2.896631] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    2.897386] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.898048] usb usb1: Product: DWC OTG Controller
[    2.898519] usb usb1: Manufacturer: Linux 5.7.8-rk3328-tv dwc2_hsotg
[    2.899100] usb usb1: SerialNumber: ff580000.usb
[    2.900365] hub 1-0:1.0: USB hub found
[    2.900765] hub 1-0:1.0: 1 port detected
[    2.902039] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.902705] ehci-pci: EHCI PCI platform driver
[    2.903219] ehci-platform: EHCI generic platform driver
[    2.906192] ehci-platform ff5c0000.usb: EHCI Host Controller
[    2.906746] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    2.907635] ehci-platform ff5c0000.usb: irq 44, io mem 0xff5c0000
[    2.922181] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    2.923005] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    2.923760] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.924420] usb usb2: Product: EHCI Host Controller
[    2.924866] usb usb2: Manufacturer: Linux 5.7.8-rk3328-tv ehci_hcd
[    2.925432] usb usb2: SerialNumber: ff5c0000.usb
[    2.926670] hub 2-0:1.0: USB hub found
[    2.927069] hub 2-0:1.0: 1 port detected
[    2.928099] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.928701] ohci-pci: OHCI PCI platform driver
[    2.929210] ohci-platform: OHCI generic platform driver
[    2.930322] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    2.930964] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    2.931847] ohci-platform ff5d0000.usb: irq 45, io mem 0xff5d0000
[    2.994465] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    2.995222] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.995885] usb usb3: Product: Generic Platform OHCI controller
[    2.996423] usb usb3: Manufacturer: Linux 5.7.8-rk3328-tv ohci_hcd
[    2.996987] usb usb3: SerialNumber: ff5d0000.usb
[    2.998204] hub 3-0:1.0: USB hub found
[    2.998613] hub 3-0:1.0: 1 port detected
[    3.000695] usbcore: registered new interface driver usb-storage
[    3.001570] mousedev: PS/2 mouse device common for all mice
[    3.004060] i2c /dev entries driver
[    3.007302] rk808 1-0018: failed to read the chip id at 0x17
[    3.015632] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
[    3.016435] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
[    3.022640] pinconfig core: failed to register map default (1): no configs given
[    3.023341] pwrseq_simple: probe of sdio-pwrseq failed with error -22
[    3.024233] sdhci: Secure Digital Host Controller Interface driver
[    3.024787] sdhci: Copyright(c) Pierre Ossman
[    3.025315] Synopsys Designware Multimedia Card Interface Driver
[    3.026964] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    3.027650] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    3.028262] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    3.028827] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo
[    3.042268] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.057085] dwmmc_rockchip ff510000.dwmmc: IDMAC supports 32-bit address mode.
[    3.057872] dwmmc_rockchip ff510000.dwmmc: Using internal DMA controller.
[    3.058584] dwmmc_rockchip ff510000.dwmmc: Version ID is 270a
[    3.059277] dwmmc_rockchip ff510000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    3.062009] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
[    3.062850] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[    3.063534] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[    3.064157] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 41,32 bit host data width,256 deep fifo
[    3.065305] mmc_host mmc1: card is non-removable.
[    3.078781] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.094486] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.095391] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    3.096447] mmc0: new high speed SDHC card at address 1234
[    3.098625] mmcblk0: mmc0:1234 SA08G 7.29 GiB
[    3.100845] ledtrig-cpu: registered to indicate activity on CPUs
[    3.103126]  mmcblk0: p1 p2
[    3.103356] hid: raw HID events driver (C) Jiri Kosina
[    3.104155] usbcore: registered new interface driver usbhid
[    3.104725] usbhid: USB HID core driver
[    3.111269] no UART detected at 0x1
[    3.117277] NET: Registered protocol family 17
[    3.118008] Key type dns_resolver registered
[    3.119080] registered taskstats version 1
[    3.119466] Loading compiled-in X.509 certificates
[    3.120047] zswap: loaded using pool lzo/zbud
[    3.121053] Key type ._fscrypt registered
[    3.121433] Key type .fscrypt registered
[    3.121788] Key type fscrypt-provisioning registered
[    3.123532] Btrfs loaded, crc32c=crc32c-generic
[    3.132544] Key type encrypted registered
[    3.132952] AppArmor: AppArmor sha1 policy hashing enabled
[    3.154027] dwmmc_rockchip ff510000.dwmmc: IDMAC supports 32-bit address mode.
[    3.154740] dwmmc_rockchip ff510000.dwmmc: Using internal DMA controller.
[    3.155357] dwmmc_rockchip ff510000.dwmmc: Version ID is 270a
[    3.155906] dwmmc_rockchip ff510000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    3.158734] dwmmc_rockchip ff510000.dwmmc: IDMAC supports 32-bit address mode.
[    3.159422] dwmmc_rockchip ff510000.dwmmc: Using internal DMA controller.
[    3.160035] dwmmc_rockchip ff510000.dwmmc: Version ID is 270a
[    3.160583] dwmmc_rockchip ff510000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    3.162126] printk: console [netcon0] enabled
[    3.162578] netconsole: network logging started
[    3.163503] ALSA device list:
[    3.163783]   No soundcards found.
[    3.166770] Freeing unused kernel memory: 3392K
[    3.186320] Run /init as init process
[    3.339233] mmc_host mmc1: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[    3.344376] random: fast init done
[    3.360661] dwmmc_rockchip ff520000.dwmmc: All phases work, using default phase 0.
[    3.362321] mmc1: new HS200 MMC card at address 0001
[    3.364096] mmcblk1: mmc1:0001 DF4064 58.2 GiB
[    3.365213] mmcblk1boot0: mmc1:0001 DF4064 partition 1 4.00 MiB
[    3.366515] mmcblk1boot1: mmc1:0001 DF4064 partition 2 4.00 MiB
[    3.367447] mmcblk1rpmb: mmc1:0001 DF4064 partition 3 4.00 MiB, chardev (241:0)
[    3.376909]  mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21
[    3.388997] dwmmc_rockchip ff510000.dwmmc: IDMAC supports 32-bit address mode.
[    3.389746] dwmmc_rockchip ff510000.dwmmc: Using internal DMA controller.
[    3.390500] dwmmc_rockchip ff510000.dwmmc: Version ID is 270a
[    3.391105] dwmmc_rockchip ff510000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    3.582565] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[   12.311343] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
[   13.065324] systemd[1]: System time before build time, advancing clock.
[   13.167165] NET: Registered protocol family 10
[   13.185719] Segment Routing with IPv6
[   13.241082] 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)
[   13.244158] systemd[1]: Detected architecture arm64.
[   13.283229] systemd[1]: Set hostname to <rk3328-tv>.
[   13.360694] dw-apb-uart ff130000.serial: forbid DMA for kernel console
[   13.895178] random: systemd: uninitialized urandom read (16 bytes read)
[   13.896451] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   13.897962] random: systemd: uninitialized urandom read (16 bytes read)
[   13.899676] systemd[1]: Created slice User and Session Slice.
[   13.900698] random: systemd: uninitialized urandom read (16 bytes read)
[   13.902282] systemd[1]: Created slice System Slice.
[   13.903924] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.905936] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   13.907138] systemd[1]: Reached target Slices.
[   13.908755] systemd[1]: Listening on Journal Audit Socket.
[   14.006384] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro

Armbian 20.07 Bionic ttyS2

rk3328-tv 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 20.07 Bionic ttyS2

rk3328-tv 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 20.07 Bionic ttyS2

rk3328-tv login:

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

what is more password does it required? "1234" mismatch.
---
How can I post more than one per day? It's too slow!

Edited by Lambert
addons
Link to post
Share on other sites
28.11.2020 в 00:14, jock сказал:

You may try this very work in progress build effort made by @fabiobassa, @hexdump and me.

 

Burn it on a sdcard and try, but your mileage may vary

Hi again!

Sorry for long silence.

I try "Armbian_20.11.0-trunk_Rk3318-box_focal_dev_5.9.6_desktop", but it's no work!

Seems like this image has no BOOT partition: "ROOTFS" only. No ".dtb", no kernel...

Look yourself:

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

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.12.05 21:24:54 =~=~=~=~=~=~=~=~=~=~=~=
  DDR version 1.15 20190428
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: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 194
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=59640MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7460MB
FwPartOffset=2000 , 0
StorageInit ok = 314312
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
LoadTrust Addr:0x4400
LoadTrust Addr:0x4800
LoadTrust Addr:0x4c00
LoadTrust Addr:0x5000
LoadTrust Addr:0x5400
LoadTrust Addr:0x5800
LoadTrust Addr:0x5c00
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
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 part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:    baseparameter, start:0xa000, size:0x800
GPT part:  4, name:         resource, start:0xa800, size:0x8000
GPT part:  5, name:           kernel, start:0x12800, size:0x10000
GPT part:  6, name:              dtb, start:0x22800, size:0x2000
GPT part:  7, name:             dtbo, start:0x24800, size:0x2000
GPT part:  8, name:             logo, start:0x26800, size:0x8000
GPT part:  9, name:           vbmeta, start:0x2e800, size:0x800
GPT part: 10, name:             boot, start:0x2f000, size:0x10000
GPT part: 11, name:         recovery, start:0x3f000, size:0x20000
GPT part: 12, name:           backup, start:0x5f000, size:0x8000
GPT part: 13, name:            cache, start:0x67000, size:0x80000
GPT part: 14, name:           system, start:0xe7000, size:0x400000
GPT part: 15, name:         metadata, start:0x4e7000, size:0x8000
GPT part: 16, name:           vendor, start:0x4ef000, size:0x100000
GPT part: 17, name:              oem, start:0x5ef000, size:0x200000
GPT part: 18, name:              frp, start:0x7ef000, size:0x400
GPT part: 19, name:         security, start:0x7ef400, size:0x1000
GPT part: 20, name:         userdata, start:0x7f0400, size:0x6c8bbdf
find partition:uboot OK. first_lba:0x4000.
find partition:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xc1a90
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-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 2018 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 2017.09 (Jul 30 2019 - 12:11:21 +0800)

PreSerial: 2
DRAM:  4 GiB
Relocation Offset is: fcc04000
Using default environment

rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
RKPARM: Invalid parameter part table
switch to partitions #0, OK
mmc1 is current device
do_rkimg_test found IDB in SDcard
Boot from SDcard
RKPARM: Invalid parameter part table
get part misc fail -1
RKPARM: Invalid parameter part table
init_resource_list: failed to get boot part, ret=-1
RKPARM: Invalid parameter part table
init_resource_list: failed to get resource part, ret=-1
DTB: rk-kernel.dtb
RKPARM: Invalid parameter part table
get part misc fail -1
RKPARM: Invalid parameter part table
init_resource_list: failed to get boot part, ret=-1
RKPARM: Invalid parameter part table
init_resource_list: failed to get resource part, ret=-1
Can't find file:rk-kernel.dtb
init_kernel_dtb dtb in resource read fail
In:    serial
Out:   serial
Err:   serial
RKPARM: Invalid parameter part table
get part misc fail -1
CLK:      apll           400000000 Hz
          dpll           664000000 Hz
          cpll          1200000000 Hz
          gpll           491009999 Hz
          npll           600000000 Hz
        armclk           600000000 Hz
      aclk_bus           150000000 Hz
      hclk_bus            75000000 Hz
      pclk_bus            75000000 Hz
     aclk_peri           150000000 Hz
     hclk_peri            75000000 Hz
     pclk_peri            75000000 Hz
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0 
RKPARM: Invalid parameter part table
android_bootloader_boot_flow Could not find misc partition
MMC: block number 0xf4dfe6b2 exceeds max(0xe92000)
failed to read ca head from misc
RKPARM: Invalid parameter part table
get part misc fail -1
ANDROID: reboot reason: "(none)"
get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1
RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.ERR [0x0] TEE-CORE:ree_fs_open:1488: tee file not exists
get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1
RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.tee_fs_open : error. A54E481B8B69424182B83ACF16E99E2A/.01000000/lock_state/meta.0ERR [0x0] TEE-CORE:create_tee_file:1420: Failed to create new meta file
ERR [0x0] TEE-CORE:ree_fs_open:1497: Failed to open TEE file
lib/avb/libavb_user/avb_ops_user.c: init lock state error
Error determining whether device is unlocked.
read_is_device_unlocked() ops returned that device is UNLOCKED
RKPARM: Invalid parameter part table
Could not find "misc" partition
avb_ab_flow.c:99: ERROR: Error reading A/B metadata.
avb_ab_flow.c:178: ERROR: I/O error while loading A/B metadata.
Can not load metadata
Android boot failed, error -1.
AVB boot failed and enter rockusb or fastboot!
RKUSB: LUN 0, dev 1, hwpart 0, sector 0x0, count 0xe92000
| / - \ | / - \ / - \ | / - \ / - \ | / - \ / - \ | / - \ / - \.................................

 

BOOT not existing even in Linux-explorer.

Other results is:

Install LibreELEC-RK3328.arm-9.2.6-box.img : no wlan but extrenal dongle work OK. Wired - present and working properly.

Install Armbian_20.07...5.7.8_focal : no eth0, eth1: wired and wlan not present, not configuring.

Fight with it now....

Link to post
Share on other sites
53 minutes ago, Lambert said:

Hi again!

Sorry for long silence.

I try "Armbian_20.11.0-trunk_Rk3318-box_focal_dev_5.9.6_desktop", but it's no work!

Seems like this image has no BOOT partition: "ROOTFS" only. No ".dtb", no kernel...

Look yourself:

  Reveal hidden contents

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.12.05 21:24:54 =~=~=~=~=~=~=~=~=~=~=~=
  DDR version 1.15 20190428
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: Sep  7 2018 15:49:55, version: 2.49
ChipType = 0x11, 194
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=59640MB
FwPartOffset=2000 , 2000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=7460MB
FwPartOffset=2000 , 0
StorageInit ok = 314312
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
LoadTrust Addr:0x4400
LoadTrust Addr:0x4800
LoadTrust Addr:0x4c00
LoadTrust Addr:0x5000
LoadTrust Addr:0x5400
LoadTrust Addr:0x5800
LoadTrust Addr:0x5c00
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
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 part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:    baseparameter, start:0xa000, size:0x800
GPT part:  4, name:         resource, start:0xa800, size:0x8000
GPT part:  5, name:           kernel, start:0x12800, size:0x10000
GPT part:  6, name:              dtb, start:0x22800, size:0x2000
GPT part:  7, name:             dtbo, start:0x24800, size:0x2000
GPT part:  8, name:             logo, start:0x26800, size:0x8000
GPT part:  9, name:           vbmeta, start:0x2e800, size:0x800
GPT part: 10, name:             boot, start:0x2f000, size:0x10000
GPT part: 11, name:         recovery, start:0x3f000, size:0x20000
GPT part: 12, name:           backup, start:0x5f000, size:0x8000
GPT part: 13, name:            cache, start:0x67000, size:0x80000
GPT part: 14, name:           system, start:0xe7000, size:0x400000
GPT part: 15, name:         metadata, start:0x4e7000, size:0x8000
GPT part: 16, name:           vendor, start:0x4ef000, size:0x100000
GPT part: 17, name:              oem, start:0x5ef000, size:0x200000
GPT part: 18, name:              frp, start:0x7ef000, size:0x400
GPT part: 19, name:         security, start:0x7ef400, size:0x1000
GPT part: 20, name:         userdata, start:0x7f0400, size:0x6c8bbdf
find partition:uboot OK. first_lba:0x4000.
find partition:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xc1a90
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-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 2018 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 2017.09 (Jul 30 2019 - 12:11:21 +0800)

PreSerial: 2
DRAM:  4 GiB
Relocation Offset is: fcc04000
Using default environment

rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
RKPARM: Invalid parameter part table
switch to partitions #0, OK
mmc1 is current device
do_rkimg_test found IDB in SDcard
Boot from SDcard
RKPARM: Invalid parameter part table
get part misc fail -1
RKPARM: Invalid parameter part table
init_resource_list: failed to get boot part, ret=-1
RKPARM: Invalid parameter part table
init_resource_list: failed to get resource part, ret=-1
DTB: rk-kernel.dtb
RKPARM: Invalid parameter part table
get part misc fail -1
RKPARM: Invalid parameter part table
init_resource_list: failed to get boot part, ret=-1
RKPARM: Invalid parameter part table
init_resource_list: failed to get resource part, ret=-1
Can't find file:rk-kernel.dtb
init_kernel_dtb dtb in resource read fail
In:    serial
Out:   serial
Err:   serial
RKPARM: Invalid parameter part table
get part misc fail -1
CLK:      apll           400000000 Hz
          dpll           664000000 Hz
          cpll          1200000000 Hz
          gpll           491009999 Hz
          npll           600000000 Hz
        armclk           600000000 Hz
      aclk_bus           150000000 Hz
      hclk_bus            75000000 Hz
      pclk_bus            75000000 Hz
     aclk_peri           150000000 Hz
     hclk_peri            75000000 Hz
     pclk_peri            75000000 Hz
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0 
RKPARM: Invalid parameter part table
android_bootloader_boot_flow Could not find misc partition
MMC: block number 0xf4dfe6b2 exceeds max(0xe92000)
failed to read ca head from misc
RKPARM: Invalid parameter part table
get part misc fail -1
ANDROID: reboot reason: "(none)"
get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1
RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.ERR [0x0] TEE-CORE:ree_fs_open:1488: tee file not exists
get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1
RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.RKPARM: Invalid parameter part table
Could not find security partition
rkss_read_patition_tables fail ! ret: -1.tee_fs_open : error. A54E481B8B69424182B83ACF16E99E2A/.01000000/lock_state/meta.0ERR [0x0] TEE-CORE:create_tee_file:1420: Failed to create new meta file
ERR [0x0] TEE-CORE:ree_fs_open:1497: Failed to open TEE file
lib/avb/libavb_user/avb_ops_user.c: init lock state error
Error determining whether device is unlocked.
read_is_device_unlocked() ops returned that device is UNLOCKED
RKPARM: Invalid parameter part table
Could not find "misc" partition
avb_ab_flow.c:99: ERROR: Error reading A/B metadata.
avb_ab_flow.c:178: ERROR: I/O error while loading A/B metadata.
Can not load metadata
Android boot failed, error -1.
AVB boot failed and enter rockusb or fastboot!
RKUSB: LUN 0, dev 1, hwpart 0, sector 0x0, count 0xe92000
| / - \ | / - \ / - \ | / - \ / - \ | / - \ / - \ | / - \ / - \.................................

 

BOOT not existing even in Linux-explorer.

Other results is:

Install LibreELEC-RK3328.arm-9.2.6-box.img : no wlan but extrenal dongle work OK. Wired - present and working properly.

Install Armbian_20.07...5.7.8_focal : no eth0, eth1: wired and wlan not present, not configuring.

Fight with it now....

It looks like that your assumption about broken NAND (that's an eMMC though) is wrong: your board is booting from eMMC.

You may try this other experimental multitool for rk3318: https://drive.google.com/file/d/1HbaB7glgDTYWrE4ieBkX6uK0sT223hCl/view?usp=sharing and follow the instructions you find here (installation for eMMC). You may want, in alternative, to get a shell and try to repair the existing android installation using fsck tools if you are experienced enough.

Again, this is very experimental, and your mileage may vary as well.

 

Link to post
Share on other sites
15 часов назад, jock сказал:

It looks like that your assumption about broken NAND (that's an eMMC though) is wrong: your board is booting from eMMC.

How I wish it be true but isn't. 

There is Android boot log with so many errors.

Pity I can do nothing with eMMC.

16 часов назад, jock сказал:

 

You may try this other experimental multitool for rk3318: https://drive.google.com/file/d/1HbaB7glgDTYWrE4ieBkX6uK0sT223hCl/view?usp=sharing and follow the instructions you find here (installation for eMMC). You may want, in alternative, to get a shell and try to repair the existing android installation using fsck tools if you are experienced enough.

Again, this is very experimental, and your mileage may vary as well.

I try write/burn Multitool before:  still unsuccessful...

All "Android-trying" are crashed the booting.

Link to post
Share on other sites
1 hour ago, Lambert said:

How I wish it be true but isn't. 

There is Android boot log with so many errors.

Pity I can do nothing with eMMC.

Can't see any log, teh webserver is anwering 403 Forbidden.

Anyway your eMMC is not dead. Maybe it is faulty, but since it boots it is not dead at all.

 

1 hour ago, Lambert said:

I try write/burn Multitool before:  still unsuccessful...

All "Android-trying" are crashed the booting.

I don't think you could ever succeed because the multitool for rk3318 has never been made public yet.

Maybe you used that one for rk322x, but it does and will never work with 3318.

You need to download exactly that one I gave you the link above

Link to post
Share on other sites
6 часов назад, jock сказал:

Can't see any log, teh webserver is anwering 403 Forbidden.

Anyway your eMMC is not dead. Maybe it is faulty, but since it boots it is not dead at all.

1. Show me where I can put this log please.

2. eMMC not fully dead: I see two logos during Android boot trying .

6 часов назад, jock сказал:

You need to download exactly that one I gave you the link above

3. I'll try definitely. But I'm not sure that I clearly understand those instructions. It may be complicated for me...

Thanx for Help!

Link to post
Share on other sites

Need some help about instructions;

"Build or download your preferred Armbian image and a copy of the Multitool"

I can't use Armbian on my box: it's started ok but I can't tune any ethernet connections there. Can I try other OS imge?

 

"Choose “Burn image to flash” from the menu, then select the destination device (usually mmcblk2) and the image to burn"

What exactly type of memory is it talking about here? If it mean "eMMC" - it's useless: eMMC switched to R/O mode.  This is my second box with a similar malfunction.

 

BTW I guess more suitable for my case will be "Quick installation instructions to boot from SD Card". Is that true?

Next point to clear:

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

Quick installation instructions to boot from SD Card:

• If you are already running Armbian from eMMC, skip to the next step. Instead if you are running the original firmware you need to first

   erase the internal eMMC; to do so download the Multitool, burn it on an SD Card, plug the SD Card and power the TV Box.

   Use “Backup flash” if you want to do a backup of the existing firmware, then choose “Erase flash” menu option.

• Build or download your preferred Armbian image;

• Uncompress and burn the Armbian image on the SD Card;

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

Must I format SD before burn "preferred Armbian image" or burn it next on "Multitool"?

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

I attached that log here:

Android boot.txt

Link to post
Share on other sites
35 minutes ago, Lambert said:

Report.

Burn Multitool on SD, insert, turn Power On --> no result: boot Android from eMMC.

Did you decompress the .xz archive first?

Use a good burner like balena.etcher or rufus if you are on windows

 

edit: also it may require a couple or more of power unplug/plug cycles to work. At least on my box it is so.

Link to post
Share on other sites
1 час назад, jock сказал:

Did you decompress the .xz archive first?

Use a good burner like balena.etcher or rufus if you are on windows

I use Balena in both: under WINDOWS and UBUNTU - same result.

1 час назад, jock сказал:

also it may require a couple or more of power unplug/plug cycles to work. At least on my box it is so.

Ten times.

No boot from SD....

Link to post
Share on other sites
10 hours ago, Lambert said:

I use Balena in both: under WINDOWS and UBUNTU - same result.

Ten times.

No boot from SD....

Odd.

I read the log in the post above and the line SdmmcInit=0 NOT PRESENT says that the sdcard is not detected at all.

Can't say anything more at the moment, you need to use the maskrom mode if you want to proceed further.

Link to post
Share on other sites
14 часов назад, jock сказал:

I read the log in the post above and the line SdmmcInit=0 NOT PRESENT says that the sdcard is not detected at all.

There was Android-boot-log from eMMC, ofcouse without SD.

I must to had to log the "MultiBoot" booting I guess...

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

I was run Multitool at last!

It could only start this way:

1. Rufus+Multitool.img

2. dd if=trust.img of=/dev/sdb seek=24576
3. dd if=uboot.img of=/dev/sdb seek=16384

 

Glad to read that. Strange you had to write the trust.img and uboot.mg back onto the sdcard, they are already installed in the same position you burned again. Strange, I will check the scripts but thanks for reporting!

 

4 hours ago, Lambert said:

eMMC not be able to be burned as I told before.

5 Burn image to flash proceed about 2sec long.

3 Erase flash was take with couple sec more.

eMMC must be forget.

Ok, an amount of sectors of the eMMC are gone. I suggest you to erase it and leave it alone.

Once the eMMC is erased, you may try to burn the armbian image I gave you on the sdcard, it should boot directly.

Link to post
Share on other sites
40 минут назад, jock сказал:

Glad to read that. Strange you had to write the trust.img and uboot.mg back onto the sdcard, they are already installed in the same position you burned again. Strange, I will check the scripts but thanks for reporting!

Did it because I burn correct for my device images maybe? They is 4096 kb lenght both. 

Yours?

2020-12-11_003337.jpg

Link to post
Share on other sites
1 час назад, jock сказал:

Once the eMMC is erased, you may try to burn the armbian image I gave you on the sdcard, it should boot directly.

eMMC was not be erased. I checked it later - all files and folders are remains in their original locations. 

Pity inner memory is definately dead.

Once I tryed to burn your image, but I used balenaEtcher only.

Must I shell have try another burner in case maybe?

Thank You for your cares!

Link to post
Share on other sites
Скрытый текст

SecureInit ret = 0, SecureMode = 0
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:    baseparameter, start:0xa000, size:0x800
GPT part:  4, name:         resource, start:0xa800, size:0x8000
GPT part:  5, name:           kernel, start:0x12800, size:0x10000
GPT part:  6, name:              dtb, start:0x22800, size:0x2000
GPT part:  7, name:             dtbo, start:0x24800, size:0x2000
GPT part:  8, name:             logo, start:0x26800, size:0x8000
GPT part:  9, name:           vbmeta, start:0x2e800, size:0x800
GPT part: 10, name:             boot, start:0x2f000, size:0x10000
GPT part: 11, name:         recovery, start:0x3f000, size:0x20000
GPT part: 12, name:           backup, start:0x5f000, size:0x8000
GPT part: 13, name:            cache, start:0x67000, size:0x80000
GPT part: 14, name:           system, start:0xe7000, size:0x400000
GPT part: 15, name:         metadata, start:0x4e7000, size:0x8000
GPT part: 16, name:           vendor, start:0x4ef000, size:0x100000
GPT part: 17, name:              oem, start:0x5ef000, size:0x200000
GPT part: 18, name:              frp, start:0x7ef000, size:0x400
GPT part: 19, name:         security, start:0x7ef400, size:0x1000
GPT part: 20, name:         userdata, start:0x7f0400, size:0x6c8bbdf
find partition:uboot OK. first_lba:0x4000.
find partition:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000

I understand where: in GPT

My MB support MBR only.

Sorry.

Need some upgrade!  :D

Link to post
Share on other sites
Скрытый текст

DTB: rk-kernel.dtb
RKPARM: Invalid parameter part table
get part misc fail -1
RKPARM: Invalid parameter part table
init_resource_list: failed to get boot part, ret=-1
RKPARM: Invalid parameter part table
init_resource_list: failed to get resource part, ret=-1
Can't find file:rk-kernel.dtb
init_kernel_dtb dtb in resource read fail

rk-kernel.dtb - this is device-tree from Android firmware.

It's not match for Linux.

I need try this:

rk3318-N5-NOVA.rar

Link to post
Share on other sites

@Lambert

I'm afraid you are making some mess there.

The image I provided has the right content in the /boot directory, including the dtb, kernel and initramfs.

Everything is at the right place and the image boots fine on my box and others too.

If you see an empty /boot there is a problem or maybe you're looking at the wrong place.

Link to post
Share on other sites

From the last log you posted I see that the box is still booting from the eMMC.

Back to the multitool: if erase eMMC does not work, you may try to use option "Drop to Shell" and then execute:

dd if=/dev/zero of=/dev/mmcblk2 bs=1M count=1 oflag=direct
exit

and hope it works. This command will remove the bootloader.

Reboot the board and you should not get the GPT partition table list anymore.

 

Maybe your eMMC is so faulty that it cannot be written in any manner.

If you can't write the eMMC, you cannot remove the bootloader and boot the Armbian image from sdcard.

 

Link to post
Share on other sites
15 часов назад, jock сказал:

Back to the multitool: if erase eMMC does not work, you may try to use option "Drop to Shell" and then execute:

Does Multitool support Terminal window?

15 часов назад, jock сказал:

Maybe your eMMC is so faulty that it cannot be written in any manner.

Exactly!

15 часов назад, jock сказал:

If you can't write the eMMC, you cannot remove the bootloader and boot the Armbian image from sdcard.

I don't think so...

Yesterday I took rk3318-box.dtb from your image, burn my trust.img and starting any Armbian_20.07...current_5.7.8 successfuly.

Definitely except yours(not rc) and LE.

 

Armbian-03.jpg

Armbian-05.jpg

Armbian-06.jpg

Armbian-08.jpg

firefly-dtb-1.txt

Link to post
Share on other sites