New board of interest (JLD076)


Recommended Posts

rk3288.txtHi all,

 

I stumbled across a board which may be of interest for one of my next projects.

Here you can find a link to it, it is model JLD076

 

I have the board already on my desk, and as it is really well equipped with loads of interfaces, I would love to get Armbian working on it. J have attached the boot log from console to the message, it uses Uboot 2017, and seems to be based on a standard Rockchip eval board.

Onboard peripherials are handled by the usual suspects:  ethernet by RTL8211, WiFi by RTL8732, and some of the display links by ALC6540. eMMC is fixed on the baord, so RKUSB is needed (can be invoked by Uboot command or button).

The only unusual part is an "ACTIVE 88460" which seems to handle the powerup sequencing and includes some DC/DC converters.

 

So if one of the current Rockchip users or developpers can give me a hint which image to try (or to compile) it would be great.

I posted in this groups, as I think that this board might be *very* similar to existing RK3288 boards.

I'm in contact with the manufacturer to get some more detailed information, if needed.

 

Thanks in advance, Michael

 

Link to post
Share on other sites
Donate and support the project!

1 hour ago, Werner said:

Btw. the text file seems empty.

 

I tried to re-upload by drag'n'drop, and again it is empty. Something doesn't like it.

 

Spoiler

DDR Version 1.06 20171020
In
Channel a: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
Boot1 Release Time: Apr 11 2018 10:32:58, version: 2.36
ChipType = 0x8, 227
mmc2:cmd19,256
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
mmc0:cmd8,1024
mmc0:cmd8,1024
mmc0:cmd8,1024
SdmmcInit=0 1
StorageInit ok = 34004
LOADER Check OK! 0x0, 61428
TOS    Check OK! 0x8400000, 90511
Enter Trust OS
INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-316-g7b4ec90 #59 Wed May 30 08:26:33 UTC 2018 arm)

INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 1.3

INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x0

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


U-Boot 2017.09-gff75b3a (Dec 17 2019 - 11:35:32 +0800)

Model: Evb-RK3288
DRAM:  2 GiB
Relocation Offset is: 7de4d000
Using default environment

dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Card did not respond to voltage select!
mmc_init: -95, time 2009
switch to partitions #0, OK
mmc0(part 0) is current device
boot mode: None
DTB: rk-kernel.dtb
Using kernel dtb
Can't get mcu-pix-total
Warn: can't find phy driver
Can't get mcu-pix-total
Warn: can't find phy driver
In:    serial
Out:   serial
Err:   serial
Rockchip UBOOT DRM driver version: v1.0.0
xfer: num: 2, addr: 0x50
xfer: num: 2, addr: 0x50
Monitor has basic audio support
Could not find baseparameter partition
mode:1920x1080
display_panel_prepare: failed to find panel prepare funcs
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
display_panel_enable: failed to find panel enable funcs
LVDS: data mapping: vesa, data-width:24, format:0,
Using display timing dts
Detailed mode clock 71000 kHz, flags[a]
    H: 1280 1298 1308 1408
    V: 0800 0812 0814 0834
bus_format: 100e
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
ANDROID: reboot reason: "(none)"
FDT load addr 0x10f00000 size 265 KiB
Booting kernel at 0x33a4bb0 with fdt at 3a323b0...


## Booting Android Image at 0x033a4bb0 ...
Kernel load addr 0x033a53b0 size 6706 KiB
## Flattened Device Tree blob at 03a323b0
   Booting using the fdt blob at 0x3a323b0
   XIP Kernel Image ... OK
CACHE: Misaligned operation at range [033a53b0, 03a31a70]
   Loading Device Tree to 0ffe9000, end 0ffff490 ... OK
Adding bank: start=0x00000000, size=0x08400000
Adding bank: start=0x09200000, size=0x76e00000

Starting kernel ...


[    0.000000] Booting Linux on physical CPU 0x500
[    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 (android02@PowerEdge-R730xd) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #15 SMP Tue Nov 26 14:19:50 CST 2019
[    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: rockchip,rk3288w
[    0.000000] cma: Reserved 16 MiB at 0x7f000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 14 pages/cpu @eef7a000 s24728 r8192 d24424 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519168
[    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  earlyprintk rw rootwait console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2030092K/2082816K available (10240K kernel code, 887K rwdata, 2884K rodata, 1024K init, 573K bss, 36340K reserved, 16384K cma-reserved, 1293484K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b00000   (11232 kB)
[    0.000000]       .init : 0xc0f00000 - 0xc1000000   (1024 kB)
[    0.000000]       .data : 0xc1000000 - 0xc10ddfb4   ( 888 kB)
[    0.000000]        .bss : 0xc10df000 - 0xc116e4f0   ( 574 kB)
[    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 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000030] Switching to timer-based delay loop, resolution 41ns
[    0.003713] Console: colour dummy device 80x30
[    0.003760] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.003785] pid_max: default: 32768 minimum: 301
[    0.003913] Security Framework initialized
[    0.003931] Yama: becoming mindful.
[    0.004022] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004046] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.005202] Initializing cgroup subsys devices
[    0.005234] Initializing cgroup subsys freezer
[    0.005283] CPU: Testing write buffer coherency: ok
[    0.005337] ftrace: allocating 38870 entries in 114 pages
[    0.114041] CPU0: update cpu_capacity 430
[    0.114061] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[    0.114166] Setting up static identity map for 0x100000 - 0x100058
[    0.117447] CPU1: update cpu_capacity 430
[    0.117457] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[    0.118674] CPU2: update cpu_capacity 430
[    0.118684] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[    0.119882] CPU3: update cpu_capacity 430
[    0.119891] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[    0.120049] Brought up 4 CPUs
[    0.120092] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.120102] CPU: All CPU(s) started in SVC mode.
[    0.122099] devtmpfs: initialized
[    0.152707] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[    0.153257] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.153302] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.154820] pinctrl core: initialized pinctrl subsystem
[    0.156429] NET: Registered protocol family 16
[    0.158804] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.183877] cpuidle: using governor ladder
[    0.213924] cpuidle: using governor menu
[    0.213975] Registered FIQ tty driver
[    0.265593] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.265610] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.266721] fiq debugger fiq mode enabled
[    0.720292] console [ttyFIQ0] enabled
[    0.724324] Registered fiq debugger ttyFIQ0
[    0.776402] iommu: Adding device ff910000.isp to group 0
[    0.781913] iommu: Adding device ff930000.vop to group 1
[    0.787371] iommu: Adding device ff940000.vop to group 2
[    0.792873] iommu: Adding device ff9a0000.vpu-service to group 3
[    0.799030] iommu: Adding device ff9c0000.hevc-service to group 4
[    0.808637] SCSI subsystem initialized
[    0.812765] usbcore: registered new interface driver usbfs
[    0.818462] usbcore: registered new interface driver hub
[    0.823936] usbcore: registered new device driver usb
[    0.829250] media: Linux media interface: v0.10
[    0.833870] Linux video capture interface: v2.00
[    0.838557] pps_core: LinuxPPS API ver. 1 registered
[    0.843554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.852733] PTP clock support registered
[    0.859063] Advanced Linux Sound Architecture Driver Initialized.
[    0.866241] Bluetooth: Core ver 2.21
[    0.869926] NET: Registered protocol family 31
[    0.874374] Bluetooth: HCI device and connection manager initialized
[    0.880773] Bluetooth: HCI socket layer initialized
[    0.885661] Bluetooth: L2CAP socket layer initialized
[    0.890792] Bluetooth: SCO socket layer initialized
[    0.897989] clocksource: Switched to clocksource arch_sys_counter
[    0.988131] NET: Registered protocol family 2
[    0.993406] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.000607] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    1.007388] TCP: Hash tables configured (established 8192 bind 8192)
[    1.013875] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    1.019893] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    1.026601] NET: Registered protocol family 1
[    1.031570] RPC: Registered named UNIX socket transport module.
[    1.037500] RPC: Registered udp transport module.
[    1.042258] RPC: Registered tcp transport module.
[    1.046968] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.054966] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[    1.066609] Initialise system trusted keyring
[    1.086229] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.095224] NFS: Registering the id_resolver key type
[    1.100380] Key type id_resolver registered
[    1.104566] Key type id_legacy registered
[    1.108647] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.116018] fuse init (API version 7.23)
[    1.128887] NET: Registered protocol family 38
[    1.133370] Key type asymmetric registered
[    1.137477] Asymmetric key parser 'x509' registered
[    1.142585] bounce: pool size: 64 pages
[    1.146714] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.154234] io scheduler noop registered
[    1.158268] io scheduler deadline registered
[    1.162607] io scheduler cfq registered (default)
[    1.171283] rockchip-dp-phy ff770000.syscon:edp-phy: No edp_24m reset control specified
[    1.183275] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec
[    1.190020] rk-vcodec ff9a0000.vpu-service: probe device
[    1.195754] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[    1.203816] rk-vcodec ff9a0000.vpu-service: could not find power_model node
[    1.210839] rk-vcodec ff9a0000.vpu-service: init success
[    1.216663] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec
[    1.223570] rk-vcodec ff9c0000.hevc-service: probe device
[    1.229436] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[    1.237223] rk-vcodec ff9c0000.hevc-service: could not find power_model node
[    1.244335] rk-vcodec ff9c0000.hevc-service: init success
[    1.253618] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.261250] dma-pl330 ff250000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.272040] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.279682] dma-pl330 ff600000.dma-controller:       DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[    1.291298] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.301083] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[    1.311340] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 39, base_baud = 1500000) is a 16550A
[    1.321585] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 40, base_baud = 1500000) is a 16550A
[    1.331791] ff1c0000.serial: ttyS4 at MMIO 0xff1c0000 (irq = 41, base_baud = 1500000) is a 16550A
[    1.343083] [drm] Initialized drm 1.1.0 20060810
[    1.353891] [drm] Rockchip DRM driver version: v1.0.1
[    1.359470] rockchip-drm display-subsystem: devfreq is not set
[    1.366825] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0b606b8)
[    1.375279] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0b606b8)
[    1.383021] i2c i2c-6: of_i2c: modalias failure on /hdmi@ff980000/ports
[    1.389685] dwhdmi-rockchip ff980000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.397538] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.408999] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0b59180)
[    1.416491] [drm:rockchip_lvds_bind] *ERROR* failed to find panel and bridge node
[    1.424030] rockchip-drm display-subsystem: failed to bind ff96c000.lvds (ops 0xc0b5a8b4): -517
[    1.434121] rockchip-drm display-subsystem: master bind failed: -517
[    1.441723] usbcore: registered new interface driver udl
[    1.449445] edp-panel supply power not found, using dummy regulator
[    1.456425] lvds-panel supply power not found, using dummy regulator
[    1.464574] mali ffa30000.gpu: Failed to get regulator
[    1.469773] mali ffa30000.gpu: Power control initialization failed
[    1.478038] brd: module loaded
[    1.491816] loop: module loaded
[    1.496152] zram: Added device: zram0
[    1.499921] lkdtm: No crash points registered, enable through debugfs
[    1.506956] ******** mu509_probe_mu509_probe*********
[    2.049751] rockchip-spi ff130000.spi: no high_speed pinctrl state
[    2.057697] wk2xxx_init :------------------
[    2.232577] wk2xxx_probe()  GENA = 0xFF
[    2.236422] spi driver  error!!!!
[    2.239814] wk2xxxspi: probe of spi2.0 failed with error 1
[    2.245353] register spi return v = :0
[    2.249245] tun: Universal TUN/TAP device driver, 1.6
[    2.254305] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.262914] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[    2.270024] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[    2.275692] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[    2.281408] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
[    2.287798] rk_gmac-dwmac ff290000.ethernet: cannot get clock clk_mac_speed
[    2.294787] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[    2.305921] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[    2.311685] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    2.316744]  Ring mode enabled
[    2.319834]  DMA HW capability register supported
[    2.324362]  Normal descriptors
[    2.327698]  RX Checksum Offload Engine supported (type 2)
[    2.333205]  TX Checksum insertion supported
[    2.337479]  Wake-Up On Lan supported
[    2.341233]  Enable RX Mitigation via HW Watchdog Timer
[    2.435085] libphy: stmmac: probed
[    2.438553] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    2.444999] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    2.450864] eth%d: PHY ID 0000ffff at 2 IRQ POLL (stmmac-0:02)
[    2.456705] eth%d: PHY ID 0000ffff at 3 IRQ POLL (stmmac-0:03)
[    2.462562] eth%d: PHY ID 0000ffff at 4 IRQ POLL (stmmac-0:04)
[    2.468419] eth%d: PHY ID 0000ffff at 5 IRQ POLL (stmmac-0:05)
[    2.474258] eth%d: PHY ID 0000ffff at 6 IRQ POLL (stmmac-0:06)
[    2.480116] eth%d: PHY ID 0000ffff at 7 IRQ POLL (stmmac-0:07)
[    2.485956] eth%d: PHY ID 0000ffff at 8 IRQ POLL (stmmac-0:08)
[    2.491811] eth%d: PHY ID 0000ffff at 9 IRQ POLL (stmmac-0:09)
[    2.497651] eth%d: PHY ID 0000ffff at 10 IRQ POLL (stmmac-0:0a)
[    2.503591] eth%d: PHY ID 0000ffff at 11 IRQ POLL (stmmac-0:0b)
[    2.509532] eth%d: PHY ID 0000ffff at 12 IRQ POLL (stmmac-0:0c)
[    2.515456] eth%d: PHY ID 0000ffff at 13 IRQ POLL (stmmac-0:0d)
[    2.521396] eth%d: PHY ID 0000ffff at 14 IRQ POLL (stmmac-0:0e)
[    2.527319] eth%d: PHY ID 0000ffff at 15 IRQ POLL (stmmac-0:0f)
[    2.533258] eth%d: PHY ID 0000ffff at 16 IRQ POLL (stmmac-0:10)
[    2.539197] eth%d: PHY ID 0000ffff at 17 IRQ POLL (stmmac-0:11)
[    2.545121] eth%d: PHY ID 0000ffff at 18 IRQ POLL (stmmac-0:12)
[    2.551062] eth%d: PHY ID 0000ffff at 19 IRQ POLL (stmmac-0:13)
[    2.556986] eth%d: PHY ID 0000ffff at 20 IRQ POLL (stmmac-0:14)
[    2.562924] eth%d: PHY ID 0000ffff at 21 IRQ POLL (stmmac-0:15)
[    2.568863] eth%d: PHY ID 0000ffff at 22 IRQ POLL (stmmac-0:16)
[    2.574787] eth%d: PHY ID 0000ffff at 23 IRQ POLL (stmmac-0:17)
[    2.580727] eth%d: PHY ID 0000ffff at 24 IRQ POLL (stmmac-0:18)
[    2.586651] eth%d: PHY ID 0000ffff at 25 IRQ POLL (stmmac-0:19)
[    2.592591] eth%d: PHY ID 0000ffff at 26 IRQ POLL (stmmac-0:1a)
[    2.598531] eth%d: PHY ID 0000ffff at 27 IRQ POLL (stmmac-0:1b)
[    2.604455] eth%d: PHY ID 0000ffff at 28 IRQ POLL (stmmac-0:1c)
[    2.610393] eth%d: PHY ID 0000ffff at 29 IRQ POLL (stmmac-0:1d)
[    2.616317] eth%d: PHY ID 0000ffff at 30 IRQ POLL (stmmac-0:1e)
[    2.622255] eth%d: PHY ID 0000ffff at 31 IRQ POLL (stmmac-0:1f)
[    2.630404] PPP generic driver version 2.4.2
[    2.635176] usbcore: registered new interface driver rndis_wlan
[    2.641625] usbcore: registered new interface driver rt2800usb
[    2.647487] Rockchip WiFi SYS interface (V1.00) ...
[    2.652559] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    2.660076] usbcore: registered new interface driver pegasus
[    2.665828] usbcore: registered new interface driver rtl8150
[    2.671612] usbcore: registered new interface driver r8152
[    2.677202] usbcore: registered new interface driver asix
[    2.682769] usbcore: registered new interface driver ax88179_178a
[    2.688991] usbcore: registered new interface driver cdc_ether
[    2.694919] usbcore: registered new interface driver dm9601
[    2.700641] usbcore: registered new interface driver smsc75xx
[    2.706508] usbcore: registered new interface driver smsc95xx
[    2.712390] usbcore: registered new interface driver net1080
[    2.718181] usbcore: registered new interface driver rndis_host
[    2.724207] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.731781] usbcore: registered new interface driver cdc_ncm
[    2.737533] usbcore: registered new interface driver cdc_mbim
[    2.743756] ff540000.usb supply vusb_d not found, using dummy regulator
[    2.750523] ff540000.usb supply vusb_a not found, using dummy regulator
[    2.868646] dwc2 ff540000.usb: DWC OTG Controller
[    2.873411] dwc2 ff540000.usb: new USB bus registered, assigned bus number 1
[    2.880556] dwc2 ff540000.usb: irq 47, io mem 0xff540000
[    2.886272] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.893117] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.900375] usb usb1: Product: DWC OTG Controller
[    2.905088] usb usb1: Manufacturer: Linux 4.4.154 dwc2_hsotg
[    2.910773] usb usb1: SerialNumber: ff540000.usb
[    2.916456] hub 1-0:1.0: USB hub found
[    2.920327] hub 1-0:1.0: 1 port detected
[    2.925223] ff580000.usb supply vusb_d not found, using dummy regulator
[    2.932015] ff580000.usb supply vusb_a not found, using dummy regulator
[    3.058085] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    3.066003] dwc2 ff580000.usb: DWC OTG Controller
[    3.070822] dwc2 ff580000.usb: new USB bus registered, assigned bus number 2
[    3.077916] dwc2 ff580000.usb: irq 48, io mem 0xff580000
[    3.083572] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.090416] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.097645] usb usb2: Product: DWC OTG Controller
[    3.102387] usb usb2: Manufacturer: Linux 4.4.154 dwc2_hsotg
[    3.108075] usb usb2: SerialNumber: ff580000.usb
[    3.113727] hub 2-0:1.0: USB hub found
[    3.117553] hub 2-0:1.0: 1 port detected
[    3.124240] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.130841] ehci-platform: EHCI generic platform driver
[    3.136511] ehci-platform ff500000.usb: EHCI Host Controller
[    3.142593] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 3
[    3.150727] ehci-platform ff500000.usb: irq 45, io mem 0xff500000
[    3.298054] usb 1-1: new high-speed USB device number 2 using dwc2
[    3.318061] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00
[    3.324590] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    3.331443] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.338701] usb usb3: Product: EHCI Host Controller
[    3.343583] usb usb3: Manufacturer: Linux 4.4.154 ehci_hcd
[    3.349103] usb usb3: SerialNumber: ff500000.usb
[    3.354764] hub 3-0:1.0: USB hub found
[    3.358636] hub 3-0:1.0: 1 port detected
[    3.363633] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.369905] ohci-platform: OHCI generic platform driver
[    3.375511] ohci-platform ff520000.usb: Generic Platform OHCI controller
[    3.382797] ohci-platform ff520000.usb: new USB bus registered, assigned bus number 4
[    3.390874] ohci-platform ff520000.usb: irq 46, io mem 0xff520000
[    3.452347] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    3.459217] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.466447] usb usb4: Product: Generic Platform OHCI controller
[    3.472413] usb usb4: Manufacturer: Linux 4.4.154 ohci_hcd
[    3.477908] usb usb4: SerialNumber: ff520000.usb
[    3.483845] hub 4-0:1.0: USB hub found
[    3.487669] hub 4-0:1.0: 1 port detected
[    3.492754] usbcore: registered new interface driver cdc_acm
[    3.498485] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.506701] usbcore: registered new interface driver cdc_wdm
[    3.512634] usbcore: registered new interface driver usb-storage
[    3.518920] usbcore: registered new interface driver usbserial
[    3.524836] usbcore: registered new interface driver usbserial_generic
[    3.531481] usbserial: USB Serial support registered for generic
[    3.537596] usbcore: registered new interface driver cp210x
[    3.543572] usbserial: USB Serial support registered for cp210x
[    3.549871] usbcore: registered new interface driver ftdi_sio
[    3.555663] usb 1-1: New USB device found, idVendor=1a40, idProduct=0201
[    3.562423] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.562542] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.562827] usbcore: registered new interface driver keyspan
[    3.562881] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    3.562930] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    3.562978] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    3.563025] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    3.563129] usbcore: registered new interface driver option
[    3.563181] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.563532] usbcore: registered new interface driver oti6858
[    3.563585] usbserial: USB Serial support registered for oti6858
[    3.563682] usbcore: registered new interface driver pl2303
[    3.563747] usbserial: USB Serial support registered for pl2303
[    3.563856] usbcore: registered new interface driver qcserial
[    3.563909] usbserial: USB Serial support registered for Qualcomm USB modem
[    3.564034] usbcore: registered new interface driver sierra
[    3.564085] usbserial: USB Serial support registered for Sierra USB modem
[    3.565890] usbcore: registered new interface driver iforce
[    3.566021] usbcore: registered new interface driver xpad
[    3.566663] usbcore: registered new interface driver usbtouchscreen
[    3.567815] i2c /dev entries driver
[    3.569716] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    3.569829] fan53555-reg: supplied by vcc_sys
[    3.573191] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    3.573302] fan53555-reg: supplied by vcc_sys
[    3.579388] rtc-hym8563 0-0051: rtc core: registered hym8563 as rtc0
[    3.580622] REG1: supplied by vcc_sys
[    3.582064] REG2: supplied by vcc_sys
[    3.583476] REG3: supplied by vcc_sys
[    3.584906] REG4: supplied by vcc_sys
[    3.586268] REG5: supplied by VCC_IO
[    3.588013] REG6: supplied by VCC_IO
[    3.589551] REG7: supplied by VCC_IO
[    3.591139] REG8: supplied by vcc_sys
[    3.592565] REG9: supplied by vcc_sys
[    3.593960] REG10: supplied by VCC_20
[    3.595493] REG11: supplied by VCC_20
[    3.597059] REG12: supplied by VCC_20
[    3.598609] rk3x-i2c ff650000.i2c: Initialized RK3xxx I2C bus at f0924000
[    3.599669] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f0926000
[    3.600622] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f0928000
[    3.602569] input: gsl3673 as /devices/platform/ff160000.i2c/i2c-4/4-0040/input/input0
[    3.728101] gsl3673 4-0040: GSL3673 test_i2c error!
[    3.728110] gsl3673 4-0040: gsl_probe: init_chip failed
[    3.804944] usb 1-1: Product: USB 2.0 Hub [MTT]
[    3.810632] hub 1-1:1.0: USB hub found
[    3.814530] hub 1-1:1.0: 7 ports detected
[    3.848259] gsl3673: probe of 4-0040 failed with error -1
[    3.853705] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at f092a000
[    3.862084] ___ncs8801_probe() I2C Address: 0x70
[    4.118056] usb 1-1.6: new low-speed USB device number 3 using dwc2
[    4.167267] aml_lvdstoedp_readreg error i=0
[    4.171542] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at f092c000
[    4.180473] rockchip-rga ff920000.rga: HW Version: 0x03.00
[    4.186485] rockchip-rga ff920000.rga: Registered rockchip-rga as /dev/video0
[    4.195992] usbcore: registered new interface driver uvcvideo
[    4.201779] USB Video Class driver (1.1.1)
[    4.210255] rockchip-pinctrl pinctrl: pin gpio0-10 already requested by hold-gpio; cannot claim for ff280000.tsadc
[    4.220667] rockchip-pinctrl pinctrl: pin-10 (ff280000.tsadc) status -22
[    4.227383] rockchip-pinctrl pinctrl: could not request pin 10 (gpio0-10) from group otp-gpio  on device rockchip-pinctrl
[    4.238361] rockchip-thermal ff280000.tsadc: Error applying setting, reverse things back
[    4.242542] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c077
[    4.242555] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.242565] usb 1-1.6: Product: USB Optical Mouse
[    4.242573] usb 1-1.6: Manufacturer: Logitech
[    4.270471] rockchip-thermal ff280000.tsadc: Missing rockchip,grf property
[    4.277456] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    4.286573] rockchip-thermal ff280000.tsadc: tsadc is probed successfully!
[    4.295163] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    4.303969] Bluetooth: Virtual HCI driver ver 1.5
[    4.309080] Bluetooth: HCI UART driver ver 2.3
[    4.313534] Bluetooth: HCI UART protocol H4 registered
[    4.318718] Bluetooth: HCI UART protocol LL registered
[    4.323861] Bluetooth: HCI UART protocol ATH3K registered
[    4.329437] usbcore: registered new interface driver bfusb
[    4.335071] usbcore: registered new interface driver btusb
[    4.341163] cpu cpu0: bin=1
[    4.344153] cpu cpu0: leakage=26
[    4.348068] usb 1-1.7: new low-speed USB device number 4 using dwc2
[    4.360362] cpu cpu0: temp=30909, pvtm=16708 (16618 + 90)
[    4.365825] rockchip_cpuclk_pre_rate_change: Invalid rate : 500000000 for cpuclk
[    4.373300] cpu cpu0: pvtm-volt-sel=3
[    4.377093] cpu cpu0: bin-scale=25
[    4.383302] cpu cpu0: avs=0, target-scale=25
[    4.387685] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    4.396671] sdhci: Secure Digital Host Controller Interface driver
[    4.402905] sdhci: Copyright(c) Pierre Ossman
[    4.407289] Synopsys Designware Multimedia Card Interface Driver
[    4.415305] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[    4.422604] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[    4.429424] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[    4.435212] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    4.444975] dwmmc_rockchip ff0c0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    4.455195] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[    4.462813] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[    4.488008] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.508926] dwmmc_rockchip ff0c0000.dwmmc: 1 slots initialized
[    4.515341] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[    4.522629] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[    4.529456] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[    4.535230] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[    4.544978] dwmmc_rockchip ff0d0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    4.553112] dwmmc_rockchip ff0d0000.dwmmc: No vmmc regulator found
[    4.559294] dwmmc_rockchip ff0d0000.dwmmc: No vqmmc regulator found
[    4.565753] dwmmc_rockchip ff0d0000.dwmmc: allocated mmc-pwrseq
[    4.588025] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.608053] dwmmc_rockchip ff0d0000.dwmmc: 1 slots initialized
[    4.614515] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode.
[    4.622846] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller.
[    4.629683] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[    4.637483] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    4.647260] dwmmc_rockchip ff0f0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    4.655420] dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found
[    4.661608] dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found
[    4.677240] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[    4.687801] mmc1: new high speed SDIO card at address 0001
[    4.693316] usb 1-1.7: New USB device found, idVendor=413c, idProduct=2107
[    4.700194] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.707500] usb 1-1.7: Product: Dell USB Entry Keyboard
[    4.712738] usb 1-1.7: Manufacturer: DELL
[    4.712817] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.728020] dwmmc_rockchip ff0f0000.dwmmc: 1 slots initialized
[    4.734017] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.743139] hidraw: raw HID events driver (C) Jiri Kosina
[    4.754608] input: Logitech USB Optical Mouse as /devices/platform/ff540000.usb/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C077.0001/input/input1
[    4.818079] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-ff540000.usb-1.6/input0
[    4.828186] random: nonblocking pool is initialized
[    4.835601] mmc2: MAN_BKOPS_EN bit is not set
[    4.844270] mmc_host mmc2: Bus speed (slot 0) = 99000000Hz (slot req 100000000Hz, actual 99000000HZ div = 0)
[    5.005177] input: DELL Dell USB Entry Keyboard as /devices/platform/ff540000.usb/usb1/1-1/1-1.7/1-1.7:1.0/0003:413C:2107.0002/input/input2
[    5.083640] hid-generic 0003:413C:2107.0002: input,hidraw1: USB HID v1.10 Keyboard [DELL Dell USB Entry Keyboard] on usb-ff540000.usb-1.7/input0
[    5.097205] usbcore: registered new interface driver usbhid
[    5.102992] usbhid: USB HID core driver
[    5.109574] ashmem: initialized
[    5.113188] rockchip-dmc dmc: unable to get devfreq-event device : dfi
[    5.121131] rknandbase v1.2 2018-05-08
[    5.125546] usbcore: registered new interface driver snd-usb-audio
[    5.135414] u32 classifier
[    5.138224] Netfilter messages via NETLINK v0.30.
[    5.143014] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    5.149589] ctnetlink v0.93: registering with nfnetlink.
[    5.155157] ip_set: protocol 6
[    5.158239] IPVS: Registered protocols ()
[    5.162268] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[    5.169665] IPVS: Creating netns size=1104 id=0
[    5.174213] IPVS: ipvs loaded.
[    5.177507] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.183153] Initializing XFRM netlink socket
[    5.188178] NET: Registered protocol family 10
[    5.193237] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.198782] sit: IPv6 over IPv4 tunneling driver
[    5.203754] NET: Registered protocol family 17
[    5.208229] NET: Registered protocol family 15
[    5.212694] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.225398] Bridge firewalling registered
[    5.229529] Bluetooth: RFCOMM socket layer initialized
[    5.234709] Bluetooth: RFCOMM ver 1.11
[    5.238520] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.244467] Bluetooth: HIDP socket layer initialized
[    5.249493] 8021q: 802.1Q VLAN Support v1.8
[    5.251326] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 81
[    5.251884] mmc2: new HS200 MMC card at address 0001
[    5.252179] mmcblk2: mmc2:0001 H8G4a’ 7.28 GiB
[    5.252299] mmcblk2boot0: mmc2:0001 H8G4a’ partition 1 4.00 MiB
[    5.252419] mmcblk2boot1: mmc2:0001 H8G4a’ partition 2 4.00 MiB
[    5.252532] mmcblk2rpmb: mmc2:0001 H8G4a’ partition 3 4.00 MiB
[    5.254822]  mmcblk2: p1 p2 p3 p4 p5 p6
[    5.291489] lib80211: common routines for IEEE802.11 drivers
[    5.297167] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.302060] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    5.306867] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6335
[    5.313755] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    5.320887] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    5.328325] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 150, flags = 0.
[    5.337531] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    5.344837] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    5.350065] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    5.354808] [BT_RFKILL]: Enter rfkill_rk_init
[    5.359387] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 139.
[    5.367575] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 149.
[    5.375679] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 146.
[    5.383692] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 151.
[    5.392044] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    5.398779] [BT_RFKILL]: Request irq for bt wakeup host
[    5.404029] [BT_RFKILL]: ** disable irq
[    5.407953] [BT_RFKILL]: bt_default device registered.
[    5.413158] Key type dns_resolver registered
[    5.417821] ThumbEE CPU extension supported.
[    5.422113] Registering SWP/SWPB emulation handler
[    5.427284] Loading compiled-in X.509 certificates
[    5.432356] [drm] Rockchip DRM driver version: v1.0.1
[    5.437616] rockchip-drm display-subsystem: devfreq is not set
[    5.444134] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0b606b8)
[    5.451881] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0b606b8)
[    5.459499] dwhdmi-rockchip ff980000.hdmi: registered DesignWare HDMI I2C bus driver
[    5.467318] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.478172] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0b59180)
[    5.485703] rockchip-drm display-subsystem: bound ff96c000.lvds (ops 0xc0b5a8b4)
[    5.493139] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.499772] [drm] No driver support for vblank timestamp query.
[    5.510814] vendor storage:20160801 ret = 0
[    5.793409] rockchip-drm display-subsystem: fb0:  frame buffer device
[    5.829510] mali ffa30000.gpu: Failed to get leakage
[    5.834657] mali ffa30000.gpu: Failed to get pvtm
[    5.839774] W : [File] : drivers/gpu/arm/midgard/platform/rk/mali_kbase_config_rk.c; [Line] : 113; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[    5.855188] mali ffa30000.gpu: GPU identified as 0x0750 r1p0 status 0
[    5.861963] mali ffa30000.gpu: Protected mode not available
[    5.867848] mali ffa30000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
[    5.879011] I : [File] : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 414; [Func] : kbase_devfreq_init(); success initing power_model_simple.
[    5.894081] mali ffa30000.gpu: Probed as mali0
[    5.898979] input: adc-keys as /devices/platform/adc-keys/input/input3
[    5.906063] devfreq ffa30000.gpu: Couldn't update frequency transition information.
[    5.908878] rockchip-dmc dmc: Failed to get leakage
[    5.909051] rockchip-dmc dmc: Failed to get pvtm
[    5.909320] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    5.909455] rockchip-dmc dmc: could not find power_model node
[    5.925439] devfreq dmc: Couldn't update frequency transition information.
[    5.926753] input: gpio-keys as /devices/platform/gpio-keys/input/input4
[    5.930263] rtc-hym8563 0-0051: setting system clock to 2020-09-25 20:10:59 UTC (1601064659)
[    5.938583] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 417; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '14:18:50', on 'Nov 26 2019'.
[    5.938862] Mali: Mali device driver loaded
[    5.939131] ALSA device list:
[    5.939133]   No soundcards found.
[    6.027080] EXT4-fs (mmcblk2p6): recovery complete
[    6.032354] EXT4-fs (mmcblk2p6): mounted filesystem with ordered data mode. Opts: (null)
[    6.040523] VFS: Mounted root (ext4 filesystem) on device 179:6.
[    6.049451] devtmpfs: mounted
[    6.053524] Freeing unused kernel memory: 1024K
[    6.226110] systemd[1]: Failed to insert module 'autofs4': No such file or directory

Welcome to Debian GNU/Linux 9 (stretch)!

[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Swap.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Journal Socket.
         Starting Set the console keyboard layout...
         Starting Remount Root and Kernel File Systems...
         Starting Nameserver information manager...
         Starting Create Static Device Nodes in /dev...
         Starting Journal Service...
         Starting Load Kernel Modules...
         Mounting Debug File System...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Nameserver information manager.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Network Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[    6.850692] systemd-journald[184]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Found device /dev/ttyFIQ0.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on OpenBSD Secure Shell server socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[  OK  ] Started Run anacron jobs.
         Starting Disk Manager...
[    7.396437] cfg80211: World regulatory domain updated:
[    7.405775] cfg80211:  DFS Master region: unset
[    7.405776] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.405782] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.405785] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.405788] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    7.405791] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.405794] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.405796] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    7.405799] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    7.405801] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
         Starting Provide limited super user privileges to specific users...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
         Starting Daemon for power management...
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Network Manager...
         Starting System Logging Service...
[  OK  ] Started Setup rockchip platform environment.
         Starting Login Service...
[  OK  ] Started ACPI event daemon.
[  OK  ] Started Provide limited super user privileges to specific users.
[  OK  ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[  OK  ] Started System Logging Service.
         Starting Authorization Manager...
[  OK  ] Started Run anacron jobs.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started WPA supplicant.
[  OK  ] Started Login Service.
[    7.707418] [BT_RFKILL]: bt shut off power
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Authorization Manager.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
         Starting Network Name Resolution...
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: tomcat service...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Daemon for power management.
[  OK  ] Started Disk Manager.
         Starting Network Manager Script Dispatcher Service...
         Starting Light Display Manager...
[  OK  ] Started /etc/rc.local Compatibility.
[    7.941375]
[    7.942879] =======================================================
[    7.949202] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[    7.949204] =======================================================
[    7.949208] Realtek 8723BS SDIO WiFi driver (Powered by Rockchip,Ver v5.2.17.1_26955.20180307_COEX20180201-6f52) init.
[    7.949212] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    7.949217] [WLAN_RFKILL]: wifi turn on power. -1
[    7.949219] mmc1:mmc host rescan start!
[    7.949221] RTW: module init start
[    7.949223] RTW: rtl8723bs v5.2.17.1_26955.20180307_COEX20180201-6f52
[    7.949224] RTW: build time: Nov 26 2019 14:20:13
[    7.949225] RTW: rtl8723bs BT-Coex version = COEX20180201-6f52
[  OK  ] Started Serial Getty on ttyFIQ0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[    8.034885] IPVS: Creating netns size=1104 id=1
[  OK  ] Started Light Display Manager.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Hostname Service.
[    8.329194] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.335859] rk_gmac-dwmac ff290000.ethernet: rk_get_eth_addr: mac address: 86:4b:e8:ca:9c:84
[    8.344335] eth0: device MAC address 86:4b:e8:ca:9c:84
[  OK  ] Started Network Name Resolution.
[    8.794951] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.804293] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.813619] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.822946] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.832265] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.841585] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.948225] RTW: == SDIO Card Info ==
[    8.951899] RTW:   clock: 50000000 Hz
[    8.955563] RTW:   timing spec :sd high-speed
[    8.959973] RTW:   sd3_bus_mode: FALSE
[    8.963721] RTW: ================
[    9.088174] RTW: 0x000: 29 81 03 7C 51 08 28 00    62 07 0D 45 10 00 00 00
[    9.095336] RTW: 0x010: 2C 2C 2C 2D 2D 2D 33 33    32 32 32 0E FF FF FF FF
[    9.102519] RTW: 0x020: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.109691] RTW: 0x030: FF FF FF FF FF FF FF FF    FF FF 28 28 28 28 28 28
[    9.116841] RTW: 0x040: 28 28 28 28 28 00 FF FF    FF FF FF FF FF FF FF FF
[    9.124008] RTW: 0x050: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.131172] RTW: 0x060: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.138341] RTW: 0x070: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.145492] RTW: 0x080: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.152669] RTW: 0x090: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.159864] RTW: 0x0a0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.167021] RTW: 0x0b0: FF FF FF FF FF FF FF FF    20 3A 1F 00 00 00 FF FF
[    9.174202] RTW: 0x0c0: FF 29 20 11 00 00 00 FF    00 FF 12 FF FF FF FF FF
[    9.181375] RTW: 0x0d0: 3E 10 01 02 23 00 00 FF    20 04 4C 02 23 B7 21 02
[    9.188552] RTW: 0x0e0: 0C 00 22 04 00 08 00 32    FF 21 02 0C 00 22 2A 01
[    9.195711] RTW: 0x0f0: 01 00 00 00 00 00 00 00    00 00 00 00 02 00 FF FF
[    9.202884] RTW: 0x100: 00 00 00 00 00 00 00 00    00 00 00 00 00 00 00 00
[    9.210064] RTW: 0x110: 00 EB 00 6E 01 00 00 00    00 FF 74 EE 2A 55 10 0E
[    9.217216] RTW: 0x120: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.224391] RTW: 0x130: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.231568] RTW: 0x140: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.238746] RTW: 0x150: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.245902] RTW: 0x160: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.253083] RTW: 0x170: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.260254] RTW: 0x180: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.267404] RTW: 0x190: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.274579] RTW: 0x1a0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.281747] RTW: 0x1b0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.288929] RTW: 0x1c0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.296090] RTW: 0x1d0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.303272] RTW: 0x1e0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.310450] RTW: 0x1f0: FF FF FF FF FF FF FF FF    FF FF FF FF FF FF FF FF
[    9.317633]
[    9.319442] RTW: hal_com_config_channel_plan chplan:0x20
[    9.326530] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[    9.335604] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
[    9.341047] [WLAN_RFKILL]: get_wifi_addr_vendor: rk_vendor_read wifi mac address failed (-1)
[    9.351387] RTW: rtw_ndev_init(wlan0) if1 mac_addr=74:ee:2a:55:10:0e
[    9.362938] RTW: rtw_ndev_init(p2p0) if2 mac_addr=76:ee:2a:55:10:0e
[    9.382227] RTW: module init ret=0
[    9.407072] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[    9.414483] asoc-simple-card sound: rt5640-aif1 <-> ff890000.i2s mapping ok
[    9.427466] asoc-simple-card sound: i2s-hifi <-> ff890000.i2s mapping ok
[    9.435014] asoc-simple-card sound: ASoC: no sink widget found for MIC1
[    9.441658] asoc-simple-card sound: ASoC: Failed to add route Microphone Jack -> direct -> MIC1
[    9.450401] asoc-simple-card sound: ASoC: no sink widget found for MIC2
[    9.457028] asoc-simple-card sound: ASoC: Failed to add route Microphone Jack -> direct -> MIC2
[    9.465757] asoc-simple-card sound: ASoC: no source widget found for micbias1
[    9.472913] asoc-simple-card sound: ASoC: Failed to add route micbias1 -> direct -> Microphone Jack
[  OK  ] Reached target Sound Card.
[    9.828290] rockchip-vop ff930000.vop: [drm:vop_crtc_enable] Update mode to 1280x800p0, type: 11
[    9.859494] [drm:hdmi_config_hdr_infoframe] *ERROR* Not support DRM Infoframe
[    9.895178] Freeing drm_logo memory: 848K
[  OK  ] Created slice User Slice of linaro.
[  OK  ] Started Session c1 of user linaro.
         Starting User Manager for UID 1000...
[  OK  ] Started User Manager for UID 1000.
[   10.478654] RTW: wlan0- hw port(0) mac_addr =74:ee:2a:55:10:0e
[   10.484650] RTW: p2p0- hw port(1) mac_addr =76:ee:2a:55:10:0e
[   10.493416] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[   10.513323] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   10.519470] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   10.717467] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[   10.732869] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
         Starting Bluetooth service...
[  OK  ] Started Bluetooth service.
[   12.948777] tty_port_close_start: tty->count = 1 port count = 2.

Debian GNU/Linux 9 linaro-alip ttyFIQ0

linaro-alip login: root (automatic login)

Last login: Fri Sep 25 19:53:21 UTC 2020 on ttyFIQ0
Linux linaro-alip 4.4.154 #15 SMP Tue Nov 26 14:19:50 CST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@linaro-alip:~# [   13.348289] rk_gmac-dwmac ff290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

 

Edited by Werner
Add spoiler for long text
Link to post
Share on other sites

/boot is empty. Partitions seem to be a bit strange:

Disk /dev/mmcblk2: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9E460000-0000-470B-8000-0417000014B1

Device          Start      End  Sectors  Size Type
/dev/mmcblk2p1  16384    24575     8192    4M unknown
/dev/mmcblk2p2  24576    32767     8192    4M unknown
/dev/mmcblk2p3  32768    40959     8192    4M unknown
/dev/mmcblk2p4  40960   106495    65536   32M unknown
/dev/mmcblk2p5 106496   172031    65536   32M unknown
/dev/mmcblk2p6 172032 15269854 15097823  7.2G unknown

/boot is also not mounted in system. Only mounted partition is

/dev/mmcblk2p6 on / type ext4 (rw,relatime,data=ordered)

 

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

Model: Evb-RK3288
DRAM: 2 GiB
Relocation Offset is: 7de4d000
Using default environment

Do you think this could work? How can I "swap" the device tree?

I still wait for some information from board vendor, I don't want tp brick it :)

 

Would it be possible to manually start a uSD card image from Uboot, instead of fixed eMMC?

Link to post
Share on other sites

I'm a bit wiser now: in Uboot the partition table is like this:

Partition Map for MMC device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00004000      0x00005fff      "uboot"
        attrs:  0x0000000000000000
        type:   cb280000-0000-4d3c-8000-7b5800000ab9
        guid:   dd3d0000-0000-473b-8000-58800000230e
  2     0x00006000      0x00007fff      "trust"
        attrs:  0x0000000000000000
        type:   e86f0000-0000-495e-8000-30c300005377
        guid:   42040000-0000-4900-8000-019800001cf7
  3     0x00008000      0x00009fff      "misc"
        attrs:  0x0000000000000000
        type:   7f330000-0000-4c09-8000-3ab3000015d5
        guid:   742c0000-0000-4607-8000-520800000195
  4     0x0000a000      0x00019fff      "boot"
        attrs:  0x0000000000000000
        type:   372e0000-0000-4d35-8000-55ce00005cfc
        guid:   1c160000-0000-4611-8000-747800006a10
  5     0x0001a000      0x00029fff      "recovery"
        attrs:  0x0000000000000000
        type:   b96d0000-0000-456b-8000-14bc00004914
        guid:   e2790000-0000-4074-8000-628f00007f8f
  6     0x0002a000      0x00e8ffde      "rootfs"
        attrs:  0x0000000000000000
        type:   ad500000-0000-4b4d-8000-5d2600000f44
        guid:   614e0000-0000-4b53-8000-1d28000054a9

 

Link to post
Share on other sites

Any idea on how to prepare a microSD card with all stuff needed?

I can force the board into bootloader mode by a switch, and it tries to boot from uSD card, but fails:

DDR Version 1.06 20171020
In
Channel a: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
Boot1 Release Time: Apr 11 2018 10:32:58, version: 2.36
ChipType = 0x8, 227
mmc2:cmd19,256
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
mmc0:cmd5,32
SdmmcInit=0 0
BootCapSize=0
UserCapSize=14924MB
FwPartOffset=2000 , 0
StorageInit ok = 178583
tag:LOADER error,addr:0x2000
hdr 032c77e4 + 0x0:0x000081a4,0x00001862,0x5f5179c8,0x5f5179c8,
tag:LOADER error,addr:0x4000
hdr 032c77e4 + 0x0:0xa4,0x81,0x00,0x00,0x67,0x03,0x00,0x00,0xc9,0x79,0x51,0x5f,0xc9,0x79,0x51,0x5f,

tag:LOADER error,addr:0x2800
hdr 032c77e4 + 0x0:0x000081a4,0x000000f9,0x5f5179c8,0x5f5179c8,
tag:LOADER error,addr:0x4800
hdr 032c77e4 + 0x0:0xed,0x81,0x00,0x00,0xfa,0x01,0x00,0x00,0xca,0x79,0x51,0x5f,0xca,0x79,0x51,0x5f,
....

 

Link to post
Share on other sites

Hello, I made some work on rockchip rk3288 tv box boards you can find it here:

The act8846 is the PMIC controlling the various power supplies of the board components. It decides the voltages of the CPU, logic, GPU, wifi, ethernet and so on.

The image of the above tvbox has already the act8846 kernel module wired and configured via device tree, but it is very important that you have at hand the device tree or the electric schematics of the board to properly configure all the details: as you probably already have seen, the act8846 has various DC-DC converters. The converters supplying high currents (~2A) are usually always wired to the CPU, logic and GPU, but the LDOs may have been attached to different devices, and this could be important to get external devices work, like ethernet, wifi, UHS sdcards, etc...

 

Rockchip has many options to boot, from the log you posted above you are using the rockchip ddrbin + rockchip miniloader. This older post of mine could be useful to understand the rockchip boot process. It refers to another chip (rk3228/rk3229), but it is very similar among 32bit rockchip SoCs.

 

Anyway you could try the images of the tvbox above (get them from here) and if you're lucky your board will probably boot.

Also in the forum thread above you can also find the Multitool, which is a handy image of a tool which is capable to backup, restore, burn images directly on the internal flash or erase it.

 

edit: the error you're facing during the boot process is due to the miniloader looking for kernel and trustos. You have to put the kernel on the sdcard at the right location (sector 0x2000) and the kernel must have been massaged first using the rockchip tool loaderimage with the --pack flag. Trustos is not really necessary, it should boot even without it.

 

The tvbox image instead uses mainline u-boot in place of the miniloader that reads the kernel directly from the ext4 filesystem, which makes kernel updates much easier.

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

The act8846 is the PMIC controlling the various power supplies of the board components. It decides the voltages of the CPU, logic, GPU, wifi, ethernet and so on.

The image of the above tvbox has already the act8846 kernel module wired and configured via device tree, but it is very important that you have at hand the device tree or the electric schematics of the board to properly configure all the details: as you probably already have seen, the act8846 has various DC-DC converters. The converters supplying high currents (~2A) are usually always wired to the CPU, logic and GPU, but the LDOs may have been attached to different devices, and this could be important to get external devices work, like ethernet, wifi, UHS sdcards, etc...

Thank you for your good explanation.

 

I'm in contact with @balbes150 already, he helped me a lot. I used one of his images, and could successfully boot the board from uSD card.

My main rror was to keep the maskrom switch pressed too long. If pressed shortly, it forces the RK3288 to skip the eMMC card and use the uSD card instead - it fails to load the kernel directly (as you pointed out) and loads the included 2020 Uboot, which does the rest. If pressed too long, it goes to real MaskROM loader...

 

AFAIK it is possible to reflash the single sectors of eMMC later with newer Uboot and rootfs?

Some help on how to backup and restore the current image would be great (I did some "backup" by rkdeveltool ( rkdeveloptool rl 0x0 $((7456 * 2048)) backup.data

 rkdeveloptool rl 0x0 $((7456 * 2048)) backup.data

but I'm not sure if this is really the way to go.

 

For DTB work, I will need some help, but I have a complete schematics of the board, documentation on how to compile for that specific card, and I already asked the manufacturer for his DTS file.

I think - apart from DTS syntax - there is no problem to get all information.

 

I would be happy to have some kind of official Armbian build, even if I have to get maintainer :)

 

I have started now with rk3288-evb-act8846.dtb, and get ethernet working, other stuff not tried yet.

 

Maybe you can send me your DTS file to check about ACT8846 stuff first?

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

AFAIK it is possible to reflash the single sectors of eMMC later with newer Uboot and rootfs?

Yes, of course! You can do either from linux or via MaskROM mode using rkdeveloptool.

But from linux it's far easier.

1 hour ago, mboehmer said:

Some help on how to backup and restore the current image would be great (I did some "backup" by rkdeveltool ( rkdeveloptool rl 0x0 $((7456 * 2048)) backup.data

Using rkdeveloptool as you did is a good way, but beware that rkdeveloptool works differently when you are in maskrom mode and loader mode.

  • Maskrom is when your board didn't boot at all, the serial is silent, your board shows to your computer as an USB device and you need to first upload the bootloader using rkdeveloptool db
  • Loader mode is when you interrupt the u-boot process and rkdeveloptool works without uploading the bootloader

The first one allows you to access the whole eMMC, instead the loader mode shift the first sector away by 0x2000 sectors, so you can't access the very first 0x2000 sectors, hence you can't backup and you can't restore them.

 

I may suggest you to check also the Multitool from the tvbox thread. If it works for you (it's tested just for xt-q8l-v10 board at the moment), it may give you a more reliable backup because it accesses the whole eMMC flash and produces a nice gzipped image.

 

1 hour ago, mboehmer said:

For DTB work, I will need some help, but I have a complete schematics of the board, documentation on how to compile for that specific card, and I already asked the manufacturer for his DTS file.

I think - apart from DTS syntax - there is no problem to get all information.

If you have the schematics and the dts there is no problem, all the things will fit in a way or another. Are the schematics under NDA? If not you may ask the manufacturer if you could share them.

1 hour ago, mboehmer said:

 

I have started now with rk3288-evb-act8846.dtb, and get ethernet working, other stuff not tried yet.

 

Maybe you can send me your DTS file to check about ACT8846 stuff first?

Everthing is available on the armbian github page.

The patch file that adds the dts for the xt-q8l-v10 to the kernel in particular is here if you want to take a look

Link to post
Share on other sites
1 minute ago, mboehmer said:

The schematic is not under NDA; but under gentlemen's agreement. I have to ask first.

Of course!

 

I had a quick look to the device tree you posted, I see many similarities with xt-q8l-v10 and the act8846 seems wired at the same manner. You may give a chance to that image, it is possible it already works quite well!

Link to post
Share on other sites

I recompiled the DTS and applied it in /boot/extlinux/extlinux.conf  and get

ERROR: reserving fdt memory region failed (addr=7df00000 size=d4638)
   Loading Device Tree to 0f8a1000, end 0f8b77e4 ... OK

I will try thw Q8 image now, but it seems to lack ethernet support. Can you add it to the DTB? Otherwise I have to work all over USB serial which is  a pain :(

Link to post
Share on other sites
11 hours ago, mboehmer said:

My main rror was to keep the maskrom switch pressed too long. If pressed shortly, it forces the RK3288 to skip the eMMC card and use the uSD card instead - it fails to load the kernel directly (as you pointed out) and loads the included 2020 Uboot, which does the rest. If pressed too long, it goes to real MaskROM loader...

Try not to press anything at all when using the SD card.

 

11 hours ago, mboehmer said:

Some help on how to backup and restore the current image

Run Armbian and it has the "ddbr" utility. Run it as the "root" user, and if you really have eMMC, you can create an exact full copy of the entire eMMC (along with the bootloader and so on). If necessary, you can restore the exact state of the entire eMMC at the time of creating the copy.

 

9 hours ago, mboehmer said:

I recompiled the DTS and applied it in /boot/extlinux/extlinux.conf  and get

You are trying to use DTS from core 4 on core 5 , this will not work directly, you need special processing for core 5. I already wrote to you, you need to try all the DTBS from the image, I think with some of them, you will get a LAN. Then you can build a new version of DTB , specifically for your model (using the DTS source code from core 4). By the way, I recommend trying the latest version of DEV, it immediately uses DTB with a working LAN.

Link to post
Share on other sites

To get things more structured, I start over now, and try to get things done more systematically.

 

(1) The image found here can't be started from uSD card. I press the maskrom button shortly, following console output, and see that the RK3288 tries to boot from uSD card, but fails.

 

(2) The images proposed by @balbes150 can be booted from uSD card, by shortly pressing the maskrom button.

 

(3) A shortly pressed maskrom button forces uSD card booting, a long pressed maskrom button forces the board to go to RKUSB mode.

Edir: @balbes150 is right, it starts also directly from uSD card.

 

(4) I changed now to Armbian_20.09_Arm-32_bionic_current_5.9.0-rc6.img image from @balbes150. It boots, but lacks ethernet.

Changing the /boot/extlinux/extlinux.conf file to rk3288-evb-act8846.dtb I get ethernet. As the genuine Linaro reports itself as "evb" and carries the ACT8846 I think this is a good starting point.
EDIT: got the versions mixed up. Sorry.

 

(5) Uboot in this image seems to use random MACs, so accessing the board is a bit nasty. is the ethaddr env supported in this Uboot?

EDIT: works like a charm. No more random MACs anymore :)

 

I will extend this message with new informations as they arise.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...