Firefly Open Source Community

Title: Board boots into recovery mode [Print This Page]

Author: Fuzzy1    Time: 4/18/2022 15:25
Title: Board boots into recovery mode
My board seems to boot into recovery mode instead of normal mode. I have tested two boards and the same problem occurs, so it can't be a hardware issue. Why doesn't it boot normally?

My log:

DDR Version V1.08 20210825
LPDDR4, 328MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
change to: 328MHz
change to: 528MHz
change to: 784MHz
change to: 924MHz(final freq)
out
U-Boot SPL board init
U-Boot SPL 2017.09(u-boot commit id: 617c0aeae793895dfbcfad2e0d67ce0620736a93)(sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml)-g617c0aeae7-dirty #fredrik (Apr 17 2022 - 12:05:31)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 2
spl: mmc init failed with error: -123
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking optee 0x08400000 (gzip @0x08600000) ... sha256(04121033ce...) + sha256(447872e443...) + OK
## Checking uboot 0x00400000 (gzip @0x00600000) ... sha256(581842953e...) + sha256(8e0a8af4fe...) + OK
## Checking fdt 0x004b6b24 ... sha256(80f00e7967...) + OK
Jumping to U-Boot(0x00400000) via OP-TEE(0x08400000)
Total: 148.254 ms

I/TC:
I/TC: cpu feature:0x0
I/TC: RV1126 SoC
I/TC: cpu_st=0xe0
I/TC: Next entry point address: 0x00400000
I/TC: OP-TEE version: 3.13.0-549-gef7f159d #derrick.huang (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 Thu Oct 28 10:52:10 CST 2021 arm
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot


U-Boot 2017.09(u-boot commit id: 617c0aeae793895dfbcfad2e0d67ce0620736a93)(sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml)-g617c0aeae7-dirty #fredrik (Apr 17 2022 - 12:05:31 +0200)

Model: Rockchip RV1126 Evaluation Board
PreSerial: 2, raw, 0xff570000
DRAM:  1021.7 MiB
Sysmem: init
Relocation Offset: 00000000
Relocation fdt: 3bbf9910 - 3bbfedec
CR: M/C/I
Using default environment

dwmmc@ffc50000: 0, dwmmc@ffc60000: 1
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: recovery (misc)
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC:  RK8090 (on=0x40, off=0x00)
vdd_npu_vepu 800000 uV
vdd_arm 800000 uV
io-domain: OK
Model: Firefly Core-RV1126-JD4 Board
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 462000 KHz
  gpll 1188000 KHz
  cpll 500000 KHz
  hpll 1400000 KHz
  aclk_pdbus 500000 KHz
  hclk_pdbus 198000 KHz
  pclk_pdbus 99000 KHz
  aclk_pdphp 297000 KHz
  hclk_pdphp 198000 KHz
  hclk_pdaudio 148500 KHz
  hclk_pdcore 198000 KHz
  pclk_pdpmu 99000 KHz
Net:   eth0: ethernet@ffc40000
Hit key to stop autoboot('CTRL+C'):  0
## Booting FIT Image at 0x3ac1f900 with size 0x00dd7000
Fdt Ramdisk skip relocation
## Loading kernel from FIT Image at 3ac1f900 ...
   Using 'conf' configuration
optee api revision: 2.0
TEEC: Waring: Could not find security partition
## Verified-boot: 0
   Trying 'kernel' kernel subimage
     Description:  unavailable
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x3ac39500
     Data Size:    7423288 Bytes = 7.1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x02008000
     Entry Point:  0x02008000
     Hash algo:    sha256
     Hash value:   d83c2b05a30510a53abbe2b98d1ce40b9c52b2cc414ba962e4ee741164a1f594
   Verifying Hash Integrity ... sha256+ OK
## Loading ramdisk from FIT Image at 3ac1f900 ...
   Using 'conf' configuration
   Trying 'ramdisk' ramdisk subimage
     Description:  unavailable
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x3b34db00
     Data Size:    6983035 Bytes = 6.7 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x0a200000
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   36097fb4fd2c408b8c97a7c53b10cf8933aaa4df040f97cc2241dba26c0dc237
   Verifying Hash Integrity ... sha256+ OK
   Loading ramdisk from 0x3b34db00 to 0x0a200000
## Loading fdt from FIT Image at 3ac1f900 ...
   Using 'conf' configuration
   Trying 'fdt' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x3ac20100
     Data Size:    103010 Bytes = 100.6 KiB
     Architecture: ARM
     Load Address: 0x08300000
     Hash algo:    sha256
     Hash value:   dd30c3c38c8bfe69807dd28e4d9f4f86a1a081ee8d3e4711646b46531484355c
   Verifying Hash Integrity ... sha256+ OK
   Loading fdt from 0x08300000 to 0x08300000
   Booting using the fdt blob at 0x08300000
   Loading Kernel Image from 0x3ac39500 to 0x02008000 ... OK
  'reserved-memory' ramoops@8000000: addr=8000000 size=100000
   Using Device Tree in place at 08300000, end 0831c261
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x08648000 - 0x40000000 (size: 0x379b8000)
Total: 419.9 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.19.111 (fredrik@fredrik-Aspire-A515-55) (kernel commit id: 85988bd7b1fc67ac96e868b90f4e676f44c713ae) (sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #38 SMP PREEMPT Sat Apr 16 10:36:37 CEST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Firefly Core-RV1126-JD4 Board
[    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x00000000, size 0 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x3f800000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x2f800000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259512
[    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  ro rootwait earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 cgroup_enable=memory swapaccount=1 snd_aloop.index=7
[    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] mem auto-init: stackff, heap allocff, heap freeff
[    0.000000] Memory: 742872K/1046240K available (10240K kernel code, 417K rwdata, 2532K rodata, 1024K init, 323K bss, 33032K reserved, 270336K cma-reserved, 0K 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  : 0xb0000000 - 0xf0000000   (1024 MB)
[    0.000000]     pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
[    0.000000]     modules : 0xaf000000 - 0xafe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (11232 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 418 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 324 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]     Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    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.000753] Switching to timer-based delay loop, resolution 41ns
[    0.002655] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003612] pid_max: default: 4096 minimum: 301
[    0.004217] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004841] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.006279] CPU: Testing write buffer coherency: ok
[    0.007121] /cpus/cpu@f00 missing clock-frequency property
[    0.007644] /cpus/cpu@f01 missing clock-frequency property
[    0.008164] /cpus/cpu@f02 missing clock-frequency property
[    0.008683] /cpus/cpu@f03 missing clock-frequency property
[    0.009199] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.010505] Setting up static identity map for 0x100000 - 0x100060
[    0.011251] rcu: Hierarchical SRCU implementation.
[    0.012347] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[    0.014408] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.016136] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.017870] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.018008] smp: Brought up 1 node, 4 CPUs
[    0.020006] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.020586] CPU: All CPU(s) started in SVC mode.
[    0.021924] devtmpfs: initialized
[    0.049444] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.049515] Unpacking initramfs...
[    0.050929] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.051840] futex hash table entries: 16 (order: -2, 1024 bytes)
[    0.052662] pinctrl core: initialized pinctrl subsystem
[    0.054538] NET: Registered protocol family 16
[    0.055737] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058528] cpuidle: using governor menu
[    0.058931] Registered FIQ tty driver
[    0.060033] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.060771] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.063663] console [pstore-1] enabled
[    0.064336] pstore: Registered ramoops as persistent store backend
[    0.064955] ramoops: attached 0x100000@0x8000000, ecc: 0/0
[    0.113607] cryptd: max_cpu_qlen set to 1000
[    0.115210] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    0.121482] rk_iommu ffb00f00.iommu: version = 1
[    0.122541] rk_iommu ffb20800.iommu: version = 1
[    0.123484] rk_iommu ffb60e00.iommu: version = 1
[    0.124584] rk_iommu ffb80480.iommu: version = 1
[    0.125612] rk_iommu ffb90800.iommu: version = 1
[    0.126682] rk_iommu ffbb0f00.iommu: version = 1
[    0.128204] SCSI subsystem initialized
[    0.128874] usbcore: registered new interface driver usbfs
[    0.129452] usbcore: registered new interface driver hub
[    0.130155] usbcore: registered new device driver usb
[    0.130738] media: Linux media interface: v0.10
[    0.131214] videodev: Linux video capture interface: v2.00
[    0.131778] pps_core: LinuxPPS API ver. 1 registered
[    0.132243] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.133108] PTP clock support registered
[    0.135111] Advanced Linux Sound Architecture Driver Initialized.
[    0.136373] Bluetooth: Core ver 2.22
[    0.136785] NET: Registered protocol family 31
[    0.137204] Bluetooth: HCI device and connection manager initialized
[    0.137803] Bluetooth: HCI socket layer initialized
[    0.138266] Bluetooth: L2CAP socket layer initialized
[    0.138816] Bluetooth: SCO socket layer initialized
[    0.139885] rockchip-cpuinfo cpuinfo: SoC        : 11260000
[    0.140367] rockchip-cpuinfo cpuinfo: Serial        : 1cb2e4589fab0089
[    0.142111] clocksource: Switched to clocksource arch_sys_counter
[    0.145353] NET: Registered protocol family 2
[    0.146689] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.147438] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.148226] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.149067] TCP: Hash tables configured (established 8192 bind 8192)
[    0.149829] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.150434] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.151282] NET: Registered protocol family 1
[    0.153846] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.157274] Initialise system trusted keyrings
[    0.158023] workingset: timestamp_bits=29 max_order=18 bucket_order=0
[    0.166313] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.169695] Key type asymmetric registered
[    0.170096] Asymmetric key parser 'x509' registered
[    0.170619] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.171309] io scheduler noop registered
[    0.171677] io scheduler deadline registered
[    0.172300] io scheduler cfq registered (default)
[    0.172747] io scheduler mq-deadline registered
[    0.173171] io scheduler kyber registered
[    0.173709] io scheduler bfq registered
[    0.178446] phy phy-ff4c0000.usb2-phy.1: Linked as a consumer to regulator.5
[    0.181283] phy phy-ff4c8000.usb2-phy.2: Linked as a consumer to regulator.4
[    0.185989] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.186868] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.187855] mpp_service mpp-srv: 92c80ddf68f6 author: Yandong Lin 2021-08-10 video: rockchip: mpp: workaround patch for rv1126 iommu issue
[    0.189042] mpp_service mpp-srv: probe start
[    0.190417] iommu: Adding device ffb80000.rkvdec to group 3
[    0.190976] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu
[    0.191832] mpp_rkvdec ffb80000.rkvdec: probing start
[    0.193075] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
[    0.193657] rkvdec_init:1190: No niu aclk reset resource define
[    0.194213] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
[    0.194789] rkvdec_init:1193: No niu hclk reset resource define
[    0.195701] mpp_rkvdec ffb80000.rkvdec: probing finish
[    0.196997] iommu: Adding device ffbb0000.rkvenc to group 5
[    0.197552] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu
[    0.198538] mpp_rkvenc ffbb0000.rkvenc: probing start
[    0.199720] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry
[    0.200344] rkvenc_init:1202: failed to add venc devfreq
[    0.202019] iommu: Adding device ffb90400.vdpu to group 4
[    0.202625] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu
[    0.203384] mpp_vdpu2 ffb90400.vdpu: probe device
[    0.204398] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.204958] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.205800] mpp_vdpu2 ffb90400.vdpu: probing finish
[    0.206920] iommu: Adding device ffb90000.vepu to group 4
[    0.207455] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu
[    0.208209] mpp_vepu2 ffb90000.vepu: probe device
[    0.209229] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.209782] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.210561] mpp_vepu2 ffb90000.vepu: probing finish
[    0.211573] iommu: Adding device ffb20000.iep to group 1
[    0.212151] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu
[    0.212885] mpp-iep2 ffb20000.iep: probe device
[    0.214043] mpp-iep2 ffb20000.iep: allocate roi buffer failed
[    0.214804] mpp-iep2 ffb20000.iep: probing finish
[    0.215560] mpp_service mpp-srv: probe success
[    0.221207] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.221927] dma-pl330 ff4e0000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.224858] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    0.226498] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.228030] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 30, base_baud = 1500000) is a 16550A
[    0.231302] random: fast init done
[    0.231993] random: crng init done
[    0.232135] iommu: Adding device ffb00000.vop to group 0
[    0.232893] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu
[    0.248669] loop: module loaded
[    0.249754] zram: Added device: zram0
[    0.254526] libphy: Fixed MDIO Bus: probed
[    0.256221] PPP generic driver version 2.4.2
[    0.256901] PPP BSD Compression module registered
[    0.257348] PPP Deflate Compression module registered
[    0.257839] PPP MPPE Compression module registered
[    0.258290] NET: Registered protocol family 24
[    0.258897] usbcore: registered new interface driver r8152
[    0.259478] usbcore: registered new interface driver asix
[    0.260044] usbcore: registered new interface driver ax88179_178a
[    0.260662] usbcore: registered new interface driver cdc_ether
[    0.261278] usbcore: registered new interface driver net1080
[    0.261858] usbcore: registered new interface driver cdc_subset
[    0.262498] usbcore: registered new interface driver zaurus
[    0.263101] usbcore: registered new interface driver cdc_ncm
[    0.263691] usbcore: registered new interface driver qmi_wwan
[    0.266053] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2
[    0.273076] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.273698] ehci-platform: EHCI generic platform driver
[    0.277830] ehci-platform ffe00000.usb: EHCI Host Controller
[    0.278408] ehci-platform ffe00000.usb: new USB bus registered, assigned bus number 1
[    0.279358] ehci-platform ffe00000.usb: irq 61, io mem 0xffe00000
[    0.292208] ehci-platform ffe00000.usb: USB 2.0 started, EHCI 1.00
[    0.293105] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.293877] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.294549] usb usb1: Product: EHCI Host Controller
[    0.295008] usb usb1: Manufacturer: Linux 4.19.111 ehci_hcd
[    0.295577] usb usb1: SerialNumber: ffe00000.usb
[    0.296865] hub 1-0:1.0: USB hub found
[    0.297284] hub 1-0:1.0: 1 port detected
[    0.298455] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.299096] ohci-platform: OHCI generic platform driver
[    0.300250] ohci-platform ffe10000.usb: Generic Platform OHCI controller
[    0.300912] ohci-platform ffe10000.usb: new USB bus registered, assigned bus number 2
[    0.301810] ohci-platform ffe10000.usb: irq 62, io mem 0xffe10000
[    0.363174] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
[    0.363960] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.364633] usb usb2: Product: Generic Platform OHCI controller
[    0.365184] usb usb2: Manufacturer: Linux 4.19.111 ohci_hcd
[    0.365749] usb usb2: SerialNumber: ffe10000.usb
[    0.367090] hub 2-0:1.0: USB hub found
[    0.367503] hub 2-0:1.0: 1 port detected
[    0.369661] usbcore: registered new interface driver cdc_wdm
[    0.370318] usbcore: registered new interface driver usb-storage
[    0.371041] usbcore: registered new interface driver option
[    0.371599] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.373367] i2c /dev entries driver
[    0.375794] rk808 0-0020: chip id: 0x8090
[    0.376262] rk808 0-0020: No cache defaults, reading back from HW
[    0.383285] rk808 0-0020: source: on=0x40, off=0x00
[    0.383764] rk808 0-0020: support dcdc3 fb mode:-22, -1328928868
[    0.384330] rk808 0-0020: support pmic reset mode:0,0
[    0.389321] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.389988] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.390648] DCDC_REG1: supplied by vcc5v0_sys
[    0.391786] DCDC_REG2: supplied by vcc5v0_sys
[    0.392955] DCDC_REG3: supplied by vcc5v0_sys
[    0.393859] DCDC_REG4: supplied by vcc5v0_sys
[    0.394764] DCDC_REG5: supplied by vcc5v0_sys
[    0.395858] LDO_REG1: supplied by vcc_buck5
[    0.396876] LDO_REG2: supplied by vcc_buck5
[    0.397749] LDO_REG3: supplied by vcc_buck5
[    0.398625] LDO_REG4: supplied by vcc_buck5
[    0.399561] LDO_REG5: supplied by vcc_buck5
[    0.400448] LDO_REG6: supplied by vcc_buck5
[    0.400901] vcc_dvdd: Bringing 1100000uV into 1200000-1200000uV
[    0.402077] LDO_REG7: supplied by vcc5v0_sys
[    0.403017] LDO_REG8: supplied by vcc5v0_sys
[    0.404058] LDO_REG9: supplied by vcc5v0_sys
[    0.405090] SWITCH_REG1: supplied by vcc5v0_sys
[    0.406027] SWITCH_REG2: supplied by vcc3v3_sys
[    0.408829] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
[    0.412743] rk808-rtc rk808-rtc: registered as rtc0
[    0.413783] rk808-rtc rk808-rtc: setting system clock to 2017-08-04 09:00:02 UTC (1501837202)
[    0.418448] rockchip-mipi-csi2: probe success, v4l2_devnull)!
[    0.420452] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers
[    0.421150] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
[    0.421879] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
[    0.422528] rkcif rkcif_dvp: attach to cif hw node
[    0.422987] rkcif rkcif_dvp: rkcif wait line 0
[    0.424533] rkcif_dvp: cif_subdev_notifier: no subdev be found!
[    0.425093] rkcif_dvp: Failed to register subdev notifier(-19)
[    0.426675] rkcif rkcif_dvp: detach to cif hw node
[    0.427236] rkcif rkcif_mipi_lvds: rkcif driver version: v00.01.0a
[    0.427900] rkcif rkcif_mipi_lvds: attach to cif hw node
[    0.428404] rkcif rkcif_mipi_lvds: rkcif wait line 0
[    0.429968] rkcif rkcif_mipi_lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[    0.430798] rockchip-mipi-csi2: Async registered subdev
[    0.433761] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
[    0.434259] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
[    0.435179] rkisp_hw ffb50000.rkisp: iommu is disabled, using non-iommu buffers
[    0.435923] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
[    0.436885] rkisp rkisp-vir0: rkisp driver version: v01.06.02
[    0.437653] rkisp rkisp-vir0: No memory-region-thunderboot specified
[    0.438508] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[    0.439340] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
[    0.440117] rkisp rkisp-vir0: Entity type for entity rkisp-bridge-ispp was not initialized!
[    0.445352] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.20
[    0.446254] rockchip-iodomain fe020000.syscon:io-domains: vccio2(3300000 uV) supplied by vccio_sd
[    0.447202] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.16
[    0.448032] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
[    0.449027] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
[    0.449950] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.23
[    0.450785] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
[    0.451723] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc_3v3
[    0.452716] rockchip-iodomain fe020000.syscon:io-domains: vccio7(1800000 uV) supplied by vcc_1v8
[    0.453652] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.14
[    0.454477] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc1v8_pmu
[    0.455470] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.11
[    0.456299] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
[    0.459460] cw201x 2-0062: design_capacity missing!
[    0.460280] cw_bat_probe cw_init error
[    0.461805] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = 0
[    0.462877] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
[    0.464038] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = 4
[    0.464929] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
[    0.466587] Bluetooth: HCI UART driver ver 2.3
[    0.467013] Bluetooth: HCI UART protocol H4 registered
[    0.467662] Bluetooth: HCI UART protocol Broadcom registered
[    0.468511] cpu cpu0: bin=0
[    0.468852] cpu cpu0: leakage=1.250
[    0.469348] cpu cpu0: Linked as a consumer to regulator.9
[    0.481564] cpu cpu0: temp=35700, pvtm=95748 (95668 + 80)
[    0.482232] cpu cpu0: pvtm-volt-sel=1
[    0.482664] cpu cpu0: Dropping the link to regulator.9
[    0.483198] cpu cpu0: bin-scale=5
[    0.483982] cpu cpu0: Linked as a consumer to regulator.9
[    0.484552] cpu cpu0: Dropping the link to regulator.9
[    0.485267] cpu cpu0: Linked as a consumer to regulator.9
[    0.487004] cpu cpu0: avs=0
[    0.487719] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    0.488462] cpu cpu0: failed to read out thermal zone (-22)
[    0.490101] cpu cpu0: failed to find power_model node
[    0.490697] cpuidle: enable-method property 'psci' found operations
[    0.491464] cpuidle: enable-method property 'psci' found operations
[    0.492316] cpuidle: enable-method property 'psci' found operations
[    0.493066] cpuidle: enable-method property 'psci' found operations
[    0.494367] Synopsys Designware Multimedia Card Interface Driver
[    0.495501] dwmmc_rockchip ffc50000.dwmmc: IDMAC supports 32-bit address mode.
[    0.496190] dwmmc_rockchip ffc50000.dwmmc: Using internal DMA controller.
[    0.496822] dwmmc_rockchip ffc50000.dwmmc: Version ID is 270a
[    0.497401] dwmmc_rockchip ffc50000.dwmmc: DW MMC controller at irq 56,32 bit host data width,256 deep fifo
[    0.498427] mmc_host mmc0: card is non-removable.
[    0.511863] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.526336] dwmmc_rockchip ffc60000.dwmmc: IDMAC supports 32-bit address mode.
[    0.527075] dwmmc_rockchip ffc60000.dwmmc: Using internal DMA controller.
[    0.527773] dwmmc_rockchip ffc60000.dwmmc: Version ID is 270a
[    0.528357] dwmmc_rockchip ffc60000.dwmmc: DW MMC controller at irq 57,32 bit host data width,256 deep fifo
[    0.529505] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.21
[    0.530279] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.20
[    0.542277] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.556392] dwmmc_rockchip ffc70000.dwmmc: IDMAC supports 32-bit address mode.
[    0.557233] dwmmc_rockchip ffc70000.dwmmc: Using internal DMA controller.
[    0.557897] dwmmc_rockchip ffc70000.dwmmc: Version ID is 270a
[    0.558492] dwmmc_rockchip ffc70000.dwmmc: DW MMC controller at irq 58,32 bit host data width,256 deep fifo
[    0.559691] dwmmc_rockchip ffc70000.dwmmc: allocated mmc-pwrseq
[    0.560340] mmc_host mmc1: card is non-removable.
[    0.560887] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0)
[    0.561826] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
[    0.564030] mmc0: new HS200 MMC card at address 0001
[    0.566096] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    0.567177] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    0.568376] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    0.569809] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (241:0)
[    0.575491] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.577830]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    0.590259] usbcore: registered new interface driver usbkbd
[    0.590830] usbcore: registered new interface driver usbmouse
[    0.592951] rockchip-saradc ff5e0000.saradc: Linked as a consumer to regulator.16
[    0.594523] rksfc_base v1.1 2016-01-08
[    0.595304] rksfc ffc90000.sfc: rksfc_probe clk rate = 79200000
[    0.596004] rkflash_dev_init enter
[    0.596395] sfc nor id: 0 0 0
[    0.596671] rkflash[1] is invalid
[    0.596674] rkflash_dev_init enter
[    0.597362] sfc_nand id: 0 0 0
[    0.597655] rkflash[2] is invalid
[    0.601789] rk817-codec rk817-codec: DMA mask not set
[    0.602882] rk817_codec_parse_dt_property: rk809 have no io-channels defined
[    0.605030] Freeing initrd memory: 6820K
[    0.607905] NET: Registered protocol family 17
[    0.608351] NET: Registered protocol family 15
[    0.609248] Bluetooth: RFCOMM TTY layer initialized
[    0.609801] Bluetooth: RFCOMM socket layer initialized
[    0.610535] Bluetooth: RFCOMM ver 1.11
[    0.610956] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.611524] Bluetooth: HIDP socket layer initialized
[    0.611991] [BT_RFKILL]: Enter rfkill_rk_init
[    0.612491] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    0.613416] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    0.613977] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6275s
[    0.614634] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    0.615299] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    0.616175] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[    0.616937] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    0.617429] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    0.618750] flash vendor_init_thread!
[    0.619240] flash vendor storage:20170308 ret = -1
[    0.619926] Registering SWP/SWPB emulation handler
[    0.622264] Loading compiled-in X.509 certificates
[    0.623918] rga2: Driver loaded successfully ver:3.2.56726
[    0.624647] rga2: Module initialized.
[    0.624994] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.625476] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    0.627436] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.629526] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.632827] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.636754] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    0.637922] vendor storage:20190527 ret = 0
[    0.647074] mpp_rkvenc ffbb0000.rkvenc: probing start
[    0.648428] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to regulator.8
[    0.649206] mpp_rkvenc ffbb0000.rkvenc: bin=0
[    0.649668] mpp_rkvenc ffbb0000.rkvenc: leakage=1.125
[    0.650244] mpp_rkvenc ffbb0000.rkvenc: Failed to get pvtm
[    0.650809] mpp_rkvenc ffbb0000.rkvenc: bin-scale=37
[    0.651598] mpp_rkvenc ffbb0000.rkvenc: avs=0
[    0.652329] mpp_rkvenc ffbb0000.rkvenc: failed to find power_model node
[    0.652969] mpp_rkvenc ffbb0000.rkvenc: failed to initialize power model
[    0.653811] mpp_rkvenc ffbb0000.rkvenc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    0.654720] mpp_rkvenc ffbb0000.rkvenc: failed to read out thermal zone (-22)
[    0.656480] mpp_rkvenc ffbb0000.rkvenc: probing finish
[    0.657509] input: adc-keys as /devices/platform/adc-keys/input/input1
[    0.660913] asoc-simple-card rk809-sound: rk817-hifi <-> ff800000.i2s mapping ok
[    0.661650] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
[    0.662432] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
[    0.663288] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
[    0.663972] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
[    0.664790] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
[    0.665513] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
[    0.666379] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
[    0.667082] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
[    0.669853] input: rockchip,rk809-codec Headphone Jack as /devices/platform/rk809-sound/sound/card0/input2
[    0.674613] dhd_module_init: in Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[    0.675457] ======== dhd_wlan_init_plat_data ========
[    0.675943] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    0.676567] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=99, oob_irq_flags=0x414
[    0.677270] dhd_wlan_init_gpio: WL_REG_ON=-1
[    0.677671] dhd_wifi_platform_load: Enter
[    0.678044] Power-up adapter 'DHD generic adapter'
[    0.678544] wifi_platform_set_power = 1, delay: 200 msec
[    0.679125] ======== PULL WL_REG_ON(-1) HIGH! ========
[    0.679626] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    0.680087] [BT_RFKILL]: rfkill_get_bt_power_state: rfkill-bt driver has not Successful initialized
[    0.680946] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[    0.744266] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    0.748704] mmc1: new high speed SDIO card at address 0001
[    0.774698] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.70
[    0.775478] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.776159] usb 1-1: Product: USB2.0 Hub
[    0.777702] hub 1-1:1.0: USB hub found
[    0.778426] hub 1-1:1.0: 4 ports detected
[    0.985842] wifi_platform_bus_enumerate device present 1
[    0.986374] ======== Card detection to detect SDIO card! ========
[    0.986950] mmc1:mmc host rescan start!
[    1.003952] bcmsdh_register: register client driver
[    1.005365] bcmsdh_sdmmc_probe: Enter num=1
[    1.007238] bcmsdh_sdmmc_probe: Enter num=2
[    1.007669] bus num (host idx)=1, slot num (rca)=1
[    1.008125] found adapter info 'DHD generic adapter'
[    1.009616] sdioh_attach: set sd_f2_blocksize 256
[    1.011685] sdioh_attach: sd clock rate = 0
[    1.018659] dhdsdio_probe : no mutex held. set lock
[    1.020537] F1 signature read @0x18000000=0x1542a9a6
[    1.028340] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x4
[    1.030524] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    1.031354] [dhd] dhd_conf_set_chiprev : chip=0xa9a6, chiprev=2
[    1.034977] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[    1.036319] dhd_log_dump_init: kernel log buf size = 128KB; logdump_prsrv_tailsize = 80KB; limit prsrv tail size to = 19KB
[    1.039526] dhd_attach(): thread:dhd_watchdog_thread:55 started
[    1.040883] dhd_attach(): thread:dhd_dpc:56 started
[    1.041636] dhd_attach(): thread:dhd_rxf:57 started
[    1.042170] dhd_deferred_work_init: work queue initialized
[    1.042716] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    1.043448] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[    1.044166] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[    1.044636] sdioh_cis_read: func_cis_ptr[0]=0x1070
[    1.057948] dhdsdio_probe_init: making DHD_BUS_DOWN
[    1.058549] Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[    1.059711] Register interface [wlan0]  MAC: 10:2c:6b:7e:18:4a
[    1.059711]
[    1.060568] dhd_dbg_detach_pkt_monitor, 2100
[    1.060978] dhd_bus_devreset: == Power OFF ==
[    1.061580] dhd_bus_stop: making DHD_BUS_DOWN
[    1.062007] bcmsdh_oob_intr_unregister: Enter
[    1.062128] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[    1.062508] bcmsdh_oob_intr_unregister: irq is not registered
[    1.063642] dhd_bus_devreset: making dhdpub up FALSE
[    1.064104] dhd_txglom_enable: enable 0
[    1.064459] dhd_bus_devreset: making DHD_BUS_DOWN
[    1.064893] dhd_bus_devreset:  WLAN OFF DONE
[    1.065342] wifi_platform_set_power = 0, delay: 0 msec
[    1.065920] ======== PULL WL_REG_ON(-1) LOW! ========
[    1.066409] [WLAN_RFKILL]: rockchip_wifi_power: 0
[    1.066853] [BT_RFKILL]: rfkill_get_bt_power_state: rfkill-bt driver has not Successful initialized
[    1.067673] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[    1.068167] dhdsdio_probe : the lock is released.
[    1.069060] dhd_module_init: Exit err=0
[    1.069719] ==gsl_ts_init==
[    1.070019] ret=0
[    1.070222] rkcif rkcif_mipi_lvds: clear unready subdev num: 1
[    1.070783] rockchip-mipi-csi2: No link between dphy and sensor
[    1.071585] rockchip-mipi-csi2: No link between dphy and sensor
[    1.072189] rkcif_mipi_lvds: Async subdev notifier completed
[    1.073505] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.081671] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

Author: 799959745    Time: 4/21/2022 09:25
Please provide the model of the development board you purchased
Author: Fuzzy1    Time: 4/21/2022 09:58
Core-1126-JD4 v1.1
Author: 799959745    Time: 4/21/2022 10:28
Fuzzy1 Posted at 4/21/2022 09:58
Core-1126-JD4 v1.1

1ˇ˘Did you use the official firmware for burning?
2ˇ˘Have hardware repairs been performed?
3ˇ˘Provide the name of the firmware you burned.
Author: Fuzzy1    Time: 4/21/2022 10:41
Last edited by Fuzzy1 In 4/21/2022 10:45 Editor

1. I compile the firmware:
./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-v11.mk
2. No, I have flashed the same firmware on two different Core-1126-JD4 v1.1 boards and the same problem occurs.
3. I compile my own custom firmware. Flashing:
sudo ./rkflash.sh
[sudo] password for fredrik:
flash all images as default
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
Loading loader...
Support Type:RK1126    Loader ver:1.05    Loader Time:2022-04-17 12:05:35
Upgrade loader ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Write gpt...
Write gpt ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download uboot start...(0x00004000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
check download item failed!
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download boot start...(0x00008000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download recovery start...(0x00018000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download misc start...(0x00006000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download oem start...(0x00238000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download userdata start...(0x00298000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
directlba=1,first4access=1,gpt=1
Download rootfs start...(0x00038000)
Download image ok.
Program Data in /home/fredrik/FireflyRV1126/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool
Reset Device OK.



Author: 799959745    Time: 4/21/2022 10:47
please use:
./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk

please read:
https://wiki.t-firefly.com/en/CORE-1126-JD4/Source_code.html
Author: Fuzzy1    Time: 4/21/2022 16:56
799959745 Posted at 4/21/2022 10:47
please use:
./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk

Still same problem building and flashing the board with aio-rv1126-jd4-BE-45.mk:

.............................................
dwmmc@ffc50000: 0, dwmmc@ffc60000: 1
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: recovery (misc)
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
.......................................................
Author: 799959745    Time: 4/21/2022 20:21
Fuzzy1 Posted at 4/21/2022 16:56
Still same problem building and flashing the board with aio-rv1126-jd4-BE-45.mk:

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

Please provide the following information
  1. cd path-to-sdk/
  2. realpath .repo/manifest.xml
Copy the code

Author: Fuzzy1    Time: 4/21/2022 21:31
~/FireflyRV1126/.repo/manifest.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <include name="rv1126_rv1109/rv1126_rv1109_linux_bsp_release_20220324_v2.2.5b.xml" />
  <project name="app/CameraFactoryTestServer" />
  <project name="app/QFacialGate" />
  <project name="app/QLauncher" />
  <project name="app/aiserver" />
  <project name="app/camera" />
  <project name="app/cvr_app" />
  <project name="app/dbserver" />
  <project name="app/dbtool" />
  <project name="app/firefly_rkmedia_demo" />
  <project name="app/firefly_rkmedia_uvc" />
  <project name="app/firefly_rockx_demo" />
  <project name="app/ipc-daemon" />
  <project name="app/ipcweb-backend" />
  <project name="app/ipcweb-ng" />
  <project name="app/libIPCProtocol" />
  <project name="app/libgdbus" />
  <project name="app/librkdb" />
  <project name="app/mediaserver" />
  <project name="app/minigui_demo" />
  <project name="app/multivideoplayer" />
  <project name="app/netserver" />
  <project name="app/qcamera" />
  <project name="app/qfm" />
  <project name="app/qplayer" />
  <project name="app/qsetting" />
  <project name="app/rkaiq_switch_mode" />
  <project name="app/rkaiq_tool_server" />
  <project name="app/smart_display_service" />
  <project name="app/startup_app_ipc" />
  <project name="app/storage_manager" />
  <project name="app/video" />
  <project name="buildroot" >
    <linkfile dest="Makefile" src="build/Makefile"/>
    <linkfile dest="envsetup.sh" src="build/envsetup.sh"/>
  </project>
  <project name="buildroot-dl" path="buildroot/dl" />
  <project name="external/CallFunIpc" />
  <project name="external/alsa-config" />
  <project name="external/app" />
  <project name="external/arcface_app" />
  <project name="external/avb" />
  <project name="external/ble_wificonfig" />
  <project name="external/bluetooth_bsa" />
  <project name="external/broadcom_bsa" />
  <project name="external/camera_engine_rkaiq" />
  <project name="external/common_algorithm" />
  <project name="external/deviceio_release" />
  <project name="external/eq_drc_process" />
  <project name="external/gstreamer-rockchip" />
  <project name="external/isp2-ipc" />
  <project name="external/ladspaSDK" />
  <project name="external/linux-rga" />
  <project name="external/lvgl" />
  <project name="external/minigui" />
  <project name="external/minilogger" />
  <project name="external/mpp" />
  <project name="external/pcba_adb_test" />
  <project name="external/recovery" />
  <project name="external/rk_pcba_test" />
  <project name="external/rkadk" />
  <project name="external/rkfacial" />
  <project name="external/rkmedia" />
  <project name="external/rknn-toolkit" />
  <project name="external/rknpu" />
  <project name="external/rkscript" />
  <project name="external/rkssd" />
  <project name="external/rktoolkit" />
  <project name="external/rkupdate" />
  <project name="external/rkwifibt" />
  <project name="external/rockface" />
  <project name="external/rockit" />
  <project name="external/rockx" />
  <project name="external/rtc_demo" />
  <project name="external/security/bin" />
  <project name="external/security/rk_tee_user" />
  <project name="external/uac_app" />
  <project name="external/uvc_app" />
  <project name="external/wifiAutoSetup" />
  <project name="external/xhlpr_app" />
</manifest>

Author: 799959745    Time: 4/22/2022 09:29
Are you using our baseboards?
Could you take a picture?
Author: Fuzzy1    Time: 4/22/2022 09:39
Last edited by Fuzzy1 In 4/23/2022 19:23 Editor
799959745 Posted at 4/22/2022 09:29
Are you using our baseboards?
Could you take a picture?

Yes, I'm using the baseboard MB-JD4-RV11091126. I'll take a picture later.

Edit:
Picture




Author: Fuzzy1    Time: 4/23/2022 04:56
I can build the firmware with the thunder boot option and boot successfully after flashing. Everything boots and loads as intended.
./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45-tb-v11.mk
./build.sh

I cannot, however, build and flash the normal firmware:
./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk
./build.sh
Author: 799959745    Time: 4/25/2022 17:30
Fuzzy1 Posted at 4/23/2022 04:56
I can build the firmware with the thunder boot option and boot successfully after flashing. Everythi ...

Can you run without connecting to your peripherals and leaving only the core board and the backplane?
Author: 799959745    Time: 4/25/2022 17:43
Fuzzy1 Posted at 4/23/2022 04:56
I can build the firmware with the thunder boot option and boot successfully after flashing. Everythi ...


I compile and burn the device and it works fine.
  1. [root@RV1126_RV1109:/]# cat /proc/version
  2. Linux version 4.19.111 (lvsx@tchip14) (kernel commit id: 85988bd7b1fc67ac96e868b90f4e676f44c713ae) (sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml) (gcc version 6.3.1
  3. 20170404 (Linaro GCC 6.3-2017.05)) #280 SMP PREEMPT Mon Apr 25 17:32:47 CST 2022
Copy the code





Author: 799959745    Time: 4/25/2022 17:47
799959745 Posted at 4/25/2022 17:43
I compile and burn the device and it works fine.

Maybe you can package the firmware for burning.
  1. ./build.sh updateimg
  2. upgrade_tool ef xxx.img
  3. upgrade_tool uf xxx.img
Copy the code

Author: Fuzzy1    Time: 4/25/2022 21:19
799959745 Posted at 4/25/2022 17:30
Can you run without connecting to your peripherals and leaving only the core board and the backpla ...

I disconnected everything except DEBUG connector but board still boots into recovery mode.
Author: Fuzzy1    Time: 4/25/2022 21:20
799959745 Posted at 4/25/2022 17:47
Maybe you can package the firmware for burning.

Didn't help, still same problem.
Author: Fuzzy1    Time: 4/26/2022 03:52
I have the same kernel commit id:
  1. Linux version 4.19.111 (fredrik@fredrik-Aspire-A515-55) (kernel commit id: 85988bd7b1fc67ac96e868b90f4e676f44c713ae) (sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #41 SMP PREEMPT Mon Apr 25 13:01:45 CEST 2022
Copy the code

Author: Fuzzy1    Time: 4/26/2022 05:20
Found the problem:
I had disabled the FIQ debugger in the device tree:
  1. &fiq_debugger {
  2.         status = "disabled";
  3. };
Copy the code

When fiq debugger was enabled the board boots normally.
I don't know why the board boots into recovery mode when the FIQ debugger is disabled.
Author: 799959745    Time: 4/28/2022 15:00
Fuzzy1 Posted at 4/26/2022 05:20
Found the problem:
I had disabled the FIQ debugger in the device tree:

I'll confirm the problem first




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1