Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

[技术讨论] buildroot编译问题

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-10 20:16:53        只看该作者  11#
编译的问题处理好了,感谢Firefly_Javier的指导!
目前编译的结果如下:
# ll -t rockdev
total 16932
drwxr-xr-x 18 root root     4096 Jul 10 08:43 ../
drwxr-xr-x  3 root root     4096 Jul  9 23:33 ./
drwxr-xr-x  2 root root     4096 Jul  9 23:33 pack/
lrwxrwxrwx  1 root root       19 Jul  9 23:33 boot.img -> ../kernel/zboot.img
lrwxrwxrwx  1 root root       37 Jul  9 23:33 MiniLoaderAll.bin -> ../u-boot/rk3308_loader_v2.06.133.bin
lrwxrwxrwx  1 root root       19 Jul  9 23:33 trust.img -> ../u-boot/trust.img
lrwxrwxrwx  1 root root       19 Jul  9 23:33 uboot.img -> ../u-boot/uboot.img
-rw-r--r--  1 root root  5242880 Jul  9 23:33 userdata.img
-rw-r--r--  1 root root 28311552 Jul  9 23:33 oem.img
lrwxrwxrwx  1 root root       44 Jul  9 23:33 misc.img -> ../device/rockchip/rockimg/wipe_all-misc.img*
lrwxrwxrwx  1 root root       63 Jul  9 23:33 recovery.img -> ../buildroot/output/firefly_rk3308_recovery/images/recovery.img
lrwxrwxrwx  1 root root       53 Jul  9 23:33 parameter.txt -> ../device/rockchip/rk3308/parameter-64bit-emmc-qt.txt
lrwxrwxrwx  1 root root       64 Jul  9 23:33 rootfs.img -> ../buildroot/output/firefly_rk3308_qt_release/images/rootfs.ext2
lrwxrwxrwx  1 root root       64 Jul  9 23:33 rootfs.ext2 -> ../buildroot/output/firefly_rk3308_qt_release/images/rootfs.ext2

下载后ROC-3308B-CC-PLUS-Ubuntu18-20210818.img的解包文件具体文件情况如下:
ll -t /data/share/ROC-3308B-CC-PLUS-Ubuntu18-20210818.img解包文件/Android/Image
total 501676
drwxrwxr-x 2 root root      4096 Jul 10 20:02 ./
drwxrwxr-x 3 root root      4096 Jul 10 20:02 ../
-rwxrw-r-- 1 root root 493283328 Mar  5 10:11 rootfs.img*
-rwxrw-r-- 1 root root  15958016 Mar  5 10:11 boot.img*
-rwxrw-r-- 1 root root   2097152 Mar  5 10:11 uboot.img*
-rwxrw-r-- 1 root root   2097152 Mar  5 10:11 trust.img*
-rwxrw-r-- 1 root root    260430 Mar  5 10:11 MiniLoaderAll.bin*
-rwxrw-r-- 1 root root       358 Mar  5 10:11 parameter.txt*
对比两份清单,发现编译的rootfs.img、boot.img、uboot.img、trust.img这些文件都太小,是编译有啥问题吗?
请问,是否要替换掉相应的img,比如roofs.img,谢谢!
回复

使用道具 举报

696

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
696
发表于 2022-7-10 20:33:47        只看该作者  12#
dlinli 发表于 2022-7-10 20:16
编译的问题处理好了,感谢Firefly_Javier的指导!
目前编译的结果如下:
# ll -t rockdev

你说的那几个文件编译之后是链接文件呀。。。你看下实际指向的文件是多大吧
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-10 22:39:53        只看该作者  13#
Firefly_Javier 发表于 2022-7-10 20:33
你说的那几个文件编译之后是链接文件呀。。。你看下实际指向的文件是多大吧

其他的好像差不多,rootfs.img有差异
-rwxrw-r-- 1 root root 493283328 Mar  5 10:11 rootfs.img*

root@ubuntu:~/proj# ll -t buildroot/output/firefly_rk3308_qt_release/images/rootfs.ext2
-rw-r--r-- 1 root root 268435456 Jul  9 22:57 buildroot/output/firefly_rk3308_qt_release/images/rootfs.ext2
这些直接烧录到开发板上,能支持QT程序运行不?
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-10 23:27:20        只看该作者  14#
再请教一下
./build.sh roc-rk3308b-cc-plus-ubuntu.mk
./build.sh
上面的全编译和下面的全编译有什么差别?
./build.sh roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk
./build.sh
现在我按后面的这个编译这些img写入开发板,就无法按adb模式启动了,只能Loader模式启动
回复

使用道具 举报

696

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
696
发表于 2022-7-11 09:16:23        只看该作者  15#
dlinli 发表于 2022-7-10 23:27
再请教一下
./build.sh roc-rk3308b-cc-plus-ubuntu.mk
./build.sh

roc-rk3308b-cc-plus-ubuntu.mk:ubuntu无桌面版系统
roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk:buildroot qt桌面版系统
你要开发QT程序,就用roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-11 12:44:53        只看该作者  16#
Firefly_Javier 发表于 2022-7-11 09:16
roc-rk3308b-cc-plus-ubuntu.mk:ubuntu无桌面版系统
roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk:buildroo ...

这样的话,我是要擦除Flash,重新刷一次统一固件,是吧?

点评

直接无法刷写!!日志: Layer<1-8>:准备IDB成功 擦除IDB开始 擦除IDB成功 重启设备开始 重启设备成功 等待Maskrom开始 等待Maskrom失败 下载Boot开始 成功 等待Maskrom开始 等待Maskrom失败  发表于 2022-7-11 13:08
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-12 08:41:03        只看该作者  17#
本帖最后由 dlinli 于 2022-7-12 11:02 编辑

刷我编译的固件,无法正常启动
刷贵公司的ROC-RK3308B-CC-PLUS_ROOTFS-EXT2-Qt-rgb_7.0inch-20201022.img固件,也是无法正常启动,请大神帮手瞧瞧,谢谢!
日志如下:
DDR Version V1.29 20190730
REG2C: 0x00000034, 0x00000034
In
589MHz
DDR3
Col=10 Bank=3 Row=14 Size=256MB
msch:1
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790989
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
DPLL = 1300 MHz
...nandc_flash_init enter...
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35778358
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x2000, size:0x1000
GPT part:  1, name:            trust, start:0x3000, size:0x1000
GPT part:  2, name:             misc, start:0x4000, size:0x800
GPT part:  3, name:         recovery, start:0x4800, size:0x10000
GPT part:  4, name:             boot, start:0x14800, size:0x4800
GPT part:  5, name:           rootfs, start:0x20000, size:0x80000
GPT part:  6, name:              oem, start:0xa0000, size:0x20000
GPT part:  7, name:         userdata, start:0xc0000, size:0x687fdf
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x3000.
LoadTrust Addr:0x3000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xb7704
RunBL31 0x40000 @ 35737109 us
INFO:    Preloader serial: 4
NOTICE:  BL31: v1.3(release):30f1405
NOTICE:  BL31: Built : 17:08:28, Sep 23 2019
INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe b
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast

INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x600000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Oct 21 2020 - 17:08:50 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 4
DRAM:  254 MiB
Sysmem: init
Relocation Offset is: 0d80b000
Using default environment

dwmmc@ff480000: 1, dwmmc@ff490000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
Error binding driver 'fixed regulator': -22
Some drivers failed to bind
vdd_core init 1015000 uV
DVFS: cpu: low=0.0'c, high=55.0'c, Vmax=1340000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 46.363'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic rgb_7.0inch board
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags[a]
    H: 1024 1067 1069 1114
    V: 0600 0603 0605 0610
bus_format: 100a
CLK: (uboot. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 1300000 KHz
  vpll0 1177823 KHz
  vpll1 901583 KHz
  aclk_bus 185714 KHz
  hclk_bus 100000 KHz
  pclk_bus 100000 KHz
  aclk_peri 185714 KHz
  hclk_peri 100000 KHz
  pclk_peri 100000 KHz
  hclk_audio 98151 KHz
  pclk_audio 98151 KHz
Net:
Error: ethernet@ff4e0000 address not set.
No ethernet found.
DVFS: cpu 45.0'c, 816000000 Hz, 1015000 uV
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
Fdt Ramdisk skip relocation
Booting LZ4 kernel at 0x02480000(Uncompress to 0x00280000) with fdt at 0x1f00000...


## Booting Android Image at 0x0247f800 ...
Kernel load addr 0x00280000 size 5241 KiB
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Uncompressing Kernel Image ... OK
   Using Device Tree in place at 0000000001f00000, end 0000000001f16746
Can't find file:
Adding bank: 0x00200000 - 0x10000000 (size: 0x0fe00000)
Total: 444.397 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (zhengyk@mid-server) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #214 SMP PREEMPT Tue Oct 20 09:48:07 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] earlycon: Early serial console at MMIO32 0xff0e0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    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] PERCPU: Embedded 19 pages/cpu @ffffffc00ff43000 s40088 r8192 d29544 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64008
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0e0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext2 snd_aloop.index=7 snd_aloop.use_raw_jiffies=1
[    0.000000] PID hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] software IO TLB [mem 0x0fea3000-0x0fee3000] (0MB) mapped at [ffffffc00fea3000-ffffffc00fee2fff]
[    0.000000] Memory: 243296K/260096K available (6462K kernel code, 690K rwdata, 2436K rodata, 384K init, 511K bss, 16800K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008940000 - 0xffffff80089a0000   (   384 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086d0000   (  6464 KB)
[    0.000000]     .rodata : 0xffffff80086d0000 - 0xffffff8008940000   (  2496 KB)
[    0.000000]       .data : 0xffffff80089a0000 - 0xffffff8008a4c808   (   691 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc010000000   (   254 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001944] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002896] pid_max: default: 32768 minimum: 301
[    0.003458] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.004059] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.005523] sched-energy: CPU device node has no sched-energy-costs
[    0.006145] Invalid sched_group_energy for CPU0
[    0.006563] CPU0: update cpu_capacity 1024
[    0.006986] ASID allocator initialised with 65536 entries
[    0.016725] Detected VIPT I-cache on CPU1
[    0.016781] Invalid sched_group_energy for CPU1
[    0.016786] CPU1: update cpu_capacity 1024
[    0.016790] CPU1: Booted secondary processor [410fd042]
[    0.019748] Detected VIPT I-cache on CPU2
[    0.019785] Invalid sched_group_energy for CPU2
[    0.019789] CPU2: update cpu_capacity 1024
[    0.019793] CPU2: Booted secondary processor [410fd042]
[    0.022789] Detected VIPT I-cache on CPU3
[    0.022824] Invalid sched_group_energy for CPU3
[    0.022829] CPU3: update cpu_capacity 1024
[    0.022833] CPU3: Booted secondary processor [410fd042]
[    0.022906] Brought up 4 CPUs
[    0.028110] SMP: Total of 4 processors activated.
[    0.028549] CPU: All CPU(s) started at EL2
[    0.029059] Invalid sched_group_energy for CPU3
[    0.029480] Invalid sched_group_energy for Cluster3
[    0.029929] Invalid sched_group_energy for CPU2
[    0.030359] Invalid sched_group_energy for Cluster2
[    0.030808] Invalid sched_group_energy for CPU1
[    0.031224] Invalid sched_group_energy for Cluster1
[    0.031681] Invalid sched_group_energy for CPU0
[    0.032098] Invalid sched_group_energy for Cluster0
[    0.033109] devtmpfs: initialized
[    0.054762] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.055703] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.056667] pinctrl core: initialized pinctrl subsystem
[    0.058291] NET: Registered protocol family 16
[    0.063265] cpuidle: using governor menu
[    0.063658] Registered FIQ tty driver
[    0.064447] vdso: 2 pages (1 code @ ffffff80086d6000, 1 data @ ffffff80089a4000)
[    0.065151] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.065999] DMA: preallocated 256 KiB pool for atomic allocations
[    0.068964] console [pstore-1] enabled
[    0.069316] pstore: Registered ramoops as persistent store backend
[    0.069898] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.090943] fiq debugger fiq mode enabled
[[    0.091716] console [ttyFIQ0] enabled
    0.091716] console [ttyFIQ0] enabled
[    0.092409] bootconsole [uart0] disabled
[    0.092409] bootconsole [uart0] disabled
[    0.093039] Registered fiq debugger ttyFIQ0
WARNING: suspend_mode_handler: Not support call: 0x4
[    0.129225] vcc_1v8: regulator get failed, ret=-517
[    0.130174] vcc_1v8_codec: regulator get failed, ret=-517
[    0.131087] vcc_1v8: supplied by vcc_io
[    0.131197] vcc_1v8_codec: supplied by vcc_io
[    0.133426] usb_hub_rst: Failed to create debugfs directory
[    0.134640] SCSI subsystem initialized
[    0.134941] usbcore: registered new interface driver usbfs
[    0.135015] usbcore: registered new interface driver hub
[    0.135179] usbcore: registered new device driver usb
[    0.135372] pps_core: LinuxPPS API ver. 1 registered
[    0.135384] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.135418] PTP clock support registered
[    0.136651] Advanced Linux Sound Architecture Driver Initialized.
[    0.137362] Bluetooth: Core ver 2.21
[    0.137426] NET: Registered protocol family 31
[    0.137438] Bluetooth: HCI device and connection manager initialized
[    0.137458] Bluetooth: HCI socket layer initialized
[    0.137479] Bluetooth: L2CAP socket layer initialized
[    0.137513] Bluetooth: SCO socket layer initialized
[    0.138653] rockchip-cpuinfo cpuinfo: Serial         : c65b8d386fb58f94
[    0.139455] clocksource: Switched to clocksource arch_sys_counter
[    0.141978] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.142284] NET: Registered protocol family 2
[    0.143016] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.143077] TCP bind hash table entries: 2048 (order: 3, 32768 bytes)
[    0.143131] TCP: Hash tables configured (established 2048 bind 2048)
[    0.143219] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.143257] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.143520] NET: Registered protocol family 1
[    0.144579] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.156289] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.156623] ntfs: driver 2.1.32 [Flags: R/W].
[    0.160151] io scheduler noop registered (default)
[    0.161374] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[    0.165031] backlight supply power not found, using dummy regulator
[    0.166898] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.166940] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.169309] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.169348] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.169747] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.169910] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.171516] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.174638] [drm] Initialized drm 1.1.0 20060810
[    0.174778] random: nonblocking pool is initialized
[    0.176798] [drm] Rockchip DRM driver version: v1.0.1
[    0.177046] rockchip-drm display-subsystem: devfreq is not set
[    0.177284] rockchip-vop ff2e0000.vop: missing rockchip,grf property
[    0.177586] rockchip-drm display-subsystem: bound ff2e0000.vop (ops 0xffffff800873ebe8)
[    0.177775] rockchip-rgb rgb: [drm:rockchip_rgb_bind] *ERROR* failed to find panel or bridge: -517
[    0.177806] rockchip-drm display-subsystem: failed to bind rgb (ops 0xffffff8008736bb8): -517
[    0.178006] rockchip-drm display-subsystem: master bind failed: -517
[    0.179939] panel supply power not found, using dummy regulator
[    0.180665] Unable to detect cache hierarchy for CPU 0
[    0.187936] loop: module loaded
[    0.188297] SCSI Media Changer driver v0.25
[    0.190506] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (input).
[    0.190552] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[    0.190570] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[    0.190607] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[    0.190623] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[    0.190647] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.190904] rk_gmac-dwmac ff4e0000.ethernet: clock input from PHY
[    0.195937] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.196084] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.196102]  Ring mode enabled
[    0.196113]  DMA HW capability register supported
[    0.196122]  Normal descriptors
[    0.196134]  RX Checksum Offload Engine supported (type 2)
[    0.196144]  TX Checksum insertion supported
[    0.196153]  Wake-Up On Lan supported
[    0.196216]  Enable RX Mitigation via HW Watchdog Timer
[    0.199702] libphy: stmmac: probed
[    0.199733] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[    0.199755] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[    0.200975] Rockchip WiFi SYS interface (V1.00) ...
[    0.201132] usbcore: registered new interface driver r8152
[    0.201226] usbcore: registered new interface driver asix
[    0.201299] usbcore: registered new interface driver ax88179_178a
[    0.201360] usbcore: registered new interface driver cdc_ether
[    0.201433] usbcore: registered new interface driver net1080
[    0.201520] usbcore: registered new interface driver cdc_subset
[    0.201581] usbcore: registered new interface driver zaurus
[    0.201708] usbcore: registered new interface driver cdc_ncm
[    0.201773] usbcore: registered new interface driver qmi_wwan
[    0.202228] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.202320] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.315523] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.316048] dwc2 ff400000.usb: DWC OTG Controller
[    0.316094] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[    0.316143] dwc2 ff400000.usb: irq 22, io mem 0xff400000
[    0.317078] hub 1-0:1.0: USB hub found
[    0.317133] hub 1-0:1.0: 1 port detected
[    0.540946] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
[    0.541204] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.541229] ehci-platform: EHCI generic platform driver
[    0.545113] ehci-platform ff440000.usb: EHCI Host Controller
[    0.545169] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 2
[    0.545338] ehci-platform ff440000.usb: irq 23, io mem 0xff440000
[    0.550490] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    0.551439] hub 2-0:1.0: USB hub found
[    0.551533] hub 2-0:1.0: 1 port detected
[    0.552168] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.552220] ohci-platform: OHCI generic platform driver
[    0.552684] ohci-platform ff450000.usb: Generic Platform OHCI controller
[    0.552734] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 3
[    0.552875] ohci-platform ff450000.usb: irq 24, io mem 0xff450000
[    0.608348] hub 3-0:1.0: USB hub found
[    0.608407] hub 3-0:1.0: 1 port detected
[    0.609073] usbcore: registered new interface driver cdc_wdm
[    0.609158] usbcore: registered new interface driver uas
[    0.609295] usbcore: registered new interface driver usb-storage
[    0.609362] usbcore: registered new interface driver ums-alauda
[    0.609428] usbcore: registered new interface driver ums-cypress
[    0.609519] usbcore: registered new interface driver ums-datafab
[    0.609586] usbcore: registered new interface driver ums_eneub6250
[    0.609646] usbcore: registered new interface driver ums-freecom
[    0.609705] usbcore: registered new interface driver ums-isd200
[    0.609769] usbcore: registered new interface driver ums-jumpshot
[    0.609828] usbcore: registered new interface driver ums-karma
[    0.609888] usbcore: registered new interface driver ums-onetouch
[    0.609956] usbcore: registered new interface driver ums-sddr09
[    0.610024] usbcore: registered new interface driver ums-sddr55
[    0.610086] usbcore: registered new interface driver ums-usbat
[    0.610215] usbcore: registered new interface driver usbserial
[    0.610283] usbcore: registered new interface driver option
[    0.610331] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.611608] i2c /dev entries driver
[    0.853488] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    0.915521] rk3x-i2c ff040000.i2c: Initialized RK3xxx I2C bus at ffffff8008b36000
[    0.916613] rtc-pcf8563 1-0051: chip found, driver version 0.4.4
[    0.923876] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[    0.923901] rtc-pcf8563 1-0051: pcf8563_probe: write error
[    0.923950] rtc-pcf8563: probe of 1-0051 failed with error -5
[    0.923986] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff8008b38000
[    0.925309] IR NEC protocol handler initialized
[    0.925334] IR RC5(x/sz) protocol handler initialized
[    0.925351] IR RC6 protocol handler initialized
[    0.925367] IR JVC protocol handler initialized
[    0.925383] IR Sony protocol handler initialized
[    0.925400] IR SANYO protocol handler initialized
[    0.925416] IR Sharp protocol handler initialized
[    0.925433] IR MCE Keyboard/mouse protocol handler initialized
[    0.925465] IR XMP protocol handler initialized
[    0.926147] Registered IR keymap rc-empty
[    0.926300] rc rc0: gpio_ir_recv as /devices/platform/ir_rx/rc/rc0
[    0.927056] input: gpio_ir_recv as /devices/platform/ir_rx/rc/rc0/input0
[    0.927589] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    0.928314] rc rc1: PWM IR Transmitter as /devices/platform/ir_tx/rc/rc1
[    0.928582] rc rc1: lirc_dev: driver pwm-ir-tx registered at minor = 1, no receiver, raw IR transmitter
[    0.931395] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    0.931652] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.932241] Bluetooth: HCI UART driver ver 2.3
[    0.932266] Bluetooth: HCI UART protocol H4 registered
[    0.932278] Bluetooth: HCI UART protocol LL registered
[    0.932582] cpu cpu0: leakage=18
[    0.932859] cpu cpu0: Failed to get pvtm
[    0.934150] cpu cpu0: l=0 h=55000 hyst=5000 l_limit=1200000000 h_limit=1008000000
[    0.935622] Synopsys Designware Multimedia Card Interface Driver
[    0.937444] dwmmc_rockchip ff480000.dwmmc: num-slots property not found, assuming 1 slot is available
[    0.937631] dwmmc_rockchip ff480000.dwmmc: IDMAC supports 32-bit address mode.
[    0.937688] dwmmc_rockchip ff480000.dwmmc: Using internal DMA controller.
[    0.937712] dwmmc_rockchip ff480000.dwmmc: Version ID is 270a
[    0.937794] dwmmc_rockchip ff480000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    0.938690] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.938730] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.949508] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.960607] dwmmc_rockchip ff480000.dwmmc: 1 slots initialized
[    0.960768] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.960803] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.960815] set vqmmc to 3.3v, ret=0
[    0.961651] dwmmc_rockchip ff490000.dwmmc: No default pinctrl state
[    0.961675] dwmmc_rockchip ff490000.dwmmc: No off pinctrl state
[    0.961805] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    0.961864] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    0.961893] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    0.961961] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
[    0.962051] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    0.962069] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    0.969823] hub 2-1:1.0: USB hub found
[    0.970062] hub 2-1:1.0: 4 ports detected
[    0.972578] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.983561] Unable to handle kernel paging request at virtual address ffffff800807ccb4

Welcome to fiq debugger mode
Enter ? to get command help
debug>  debugger fi
Welcome to fiq debugger mode
Enter ? to get command help
debug>  mode enabled
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-13 14:38:02        只看该作者  18#
进入MASKROM模式,EraseFlash,再刷贵公司的ROC-RK3308B-CC-PLUS_ROOTFS-EXT2-Qt-rgb_7.0inch-20201022.img固件,重启信息如下:(后面多了几行内容,中间多一些内容,供判断参考,谢谢!)
DDR Version V1.29 20190730
REG2C: 0x00000033, 0x00000034
In
589MHz
DDR3
Col=10 Bank=3 Row=14 Size=256MB
msch:1
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790989
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
DPLL = 1300 MHz
...nandc_flash_init enter...
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35778354
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x2000, size:0x1000
GPT part:  1, name:            trust, start:0x3000, size:0x1000
GPT part:  2, name:             misc, start:0x4000, size:0x800
GPT part:  3, name:         recovery, start:0x4800, size:0x10000
GPT part:  4, name:             boot, start:0x14800, size:0x4800
GPT part:  5, name:           rootfs, start:0x20000, size:0x80000
GPT part:  6, name:              oem, start:0xa0000, size:0x20000
GPT part:  7, name:         userdata, start:0xc0000, size:0x687fdf
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x3000.
LoadTrust Addr:0x3000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xb7704
RunBL31 0x40000 @ 35737107 us
INFO:    Preloader serial: 4
NOTICE:  BL31: v1.3(release):30f1405
NOTICE:  BL31: Built : 17:08:28, Sep 23 2019
INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe b
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x600000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Oct 21 2020 - 17:08:50 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 4
DRAM:  254 MiB
Sysmem: init
Relocation Offset is: 0d80b000
Using default environment

dwmmc@ff480000: 1, dwmmc@ff490000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
Error binding driver 'fixed regulator': -22
Some drivers failed to bind
vdd_core init 1015000 uV
DVFS: cpu: low=0.0'c, high=55.0'c, Vmax=1340000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 42.272'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic rgb_7.0inch board
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags[a]
    H: 1024 1067 1069 1114
    V: 0600 0603 0605 0610
bus_format: 100a
"Synchronous Abort" handler, esr 0x96000010

* Reason:        Exception from a Data abort, from current exception level
* PC         =   0000000000625adc
* LR         =   0000000000625b58
* SP         =   000000000d3ffc10
* ESR_EL2    =   0000000096000010
* Reloc Off  =   000000000d80b000

x0 : ffffffffffffffea x1 : 000000000de99ddb
x2 : 0000000000000000 x3 : 0000000000000002
x4 : 0000000000000000 x5 : 0000000001f1186c
x6 : 0000000000000008 x7 : 0000000000000010
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0000000000000258 x11: 000000000000045a
x12: 000000000000042b x13: 0000000000000200
x14: 0000000000000030 x15: 00000000ffffffff
x16: 0000000000000001 x17: 0000000001f16804
x18: 000000000d402d10 x19: 0000000000000004
x20: 0000000001f0575c x21: 0000000000000002
x22: 000000000d3ffed0 x23: 0000000001f05748
x24: 0000000000000001 x25: 000000000de99ddb
x26: ffffffffffffffea x27: 0000000000000262
x28: 000000000d456770 x29: 000000000d3ffdf0


Call trace:
  PC:   [< 00625adc >]
  LR:   [< 00625b58 >]

Stack:
        [< 00625adc >]
        [< 00625b58 >]
        [< 0062609c >]
        [< 00626180 >]
        [< 006278d4 >]
        [< 00627004 >]
        [< 006216dc >]
        [< 00641cb4 >]
        [< 006406b0 >]
        [< 006406d8 >]
        [< 00640dec >]
        [< 006028e8 >]
        [< 00663778 >]
        [< 006126cc >]
        [< 00601b2c >]

Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt

Resetting CPU ...

INFO:    PSCI Power Domain Map:
INFO:      Domain Node : Level 2, parent_node -1, State ON (0x0)
INFO:      Domain Node : Level 1, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      CPU Node : MPID 0x0, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
DDR Version V1.29 20190730
REG2C: 0x00000033, 0x00000034
In
589MHz
DDR3
Col=10 Bank=3 Row=14 Size=256MB
msch:1
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790988
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
DPLL = 1300 MHz
...nandc_flash_init enter...
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35778346
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x2000, size:0x1000
GPT part:  1, name:            trust, start:0x3000, size:0x1000
GPT part:  2, name:             misc, start:0x4000, size:0x800
GPT part:  3, name:         recovery, start:0x4800, size:0x10000
GPT part:  4, name:             boot, start:0x14800, size:0x4800
GPT part:  5, name:           rootfs, start:0x20000, size:0x80000
GPT part:  6, name:              oem, start:0xa0000, size:0x20000
GPT part:  7, name:         userdata, start:0xc0000, size:0x687fdf
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x3000.
LoadTrust Addr:0x3000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xb7704
RunBL31 0x40000 @ 35737102 us
INFO:    Preloader serial: 4
NOTICE:  BL31: v1.3(release):30f1405
NOTICE:  BL31: Built : 17:08:28, Sep 23 2019
INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe b
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x600000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Oct 21 2020 - 17:08:50 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 4
DRAM:  254 MiB
Sysmem: init
Relocation Offset is: 0d80b000
Using default environment

dwmmc@ff480000: 1, dwmmc@ff490000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
Error binding driver 'fixed regulator': -22
Some drivers failed to bind
vdd_core init 1015000 uV
DVFS: cpu: low=0.0'c, high=55.0'c, Vmax=1340000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 42.727'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic rgb_7.0inch board
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags[a]
    H: 1024 1067 1069 1114
    V: 0600 0603 0605 0610
bus_format: 100a
"Synchronous Abort" handler, esr 0x96000004

* Reason:        Exception from a Data abort, from current exception level
* PC         =   000000000062605c
* LR         =   000000000062606c
* SP         =   000000000d3ffc20
* ESR_EL2    =   0000000096000004
* Reloc Off  =   000000000d80b000

x0 : 006c7274636e6970 x1 : 000000000d422b90
x2 : 000000000d422bc8 x3 : 0000000000000085
x4 : 0000000000000001 x5 : 0000000000000048
x6 : 000000000dea9c78 x7 : 0000000000000000
x8 : 000000000dea9bb0 x9 : 0000000000000008
x10: 0000000000000016 x11: 0000000000000001
x12: 000000000dea99d0 x13: 000000000dea9958
x14: 0000000000000000 x15: 00000000ffffffff
x16: 000000000de8a830 x17: 0000000000000000
x18: 000000000d402d10 x19: 0000000000000016
x20: 000000000d3ffec0 x21: 0000000000000078
x22: 0000000000000010 x23: 0000000000000000
x24: 0000000000f00000 x25: 0000000000000020
x26: 000000000dea9bb0 x27: 0000000000000085
x28: 000000000d445220 x29: 000000000d3ffe00


Call trace:
  PC:   [< 0062605c >]
  LR:   [< 0062606c >]

Stack:
        [< 0062605c >]
        [< 00627664 >]
        [< 00629e08 >]
        [< 00628d24 >]
        [< 006477cc >]
        [< 00640818 >]
        [< 00640dec >]
        [< 006028e8 >]
        [< 00663778 >]
        [< 006126cc >]
        [< 00601b2c >]

Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt

Resetting CPU ...

INFO:    PSCI Power Domain Map:
INFO:      Domain Node : Level 2, parent_node -1, State ON (0x0)
INFO:      Domain Node : Level 1, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      Domain Node : Level 0, parent_node 0, State ON (0x0)
INFO:      CPU Node : MPID 0x0, parent_node 1, State ON (0x0)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
INFO:      CPU Node : MPID 0xffffffffffffffff, parent_node 1, State OFF (0x2)
DDR Version V1.29 20190730
REG2C: 0x00000033, 0x00000034
In
589MHz
DDR3
Col=10 Bank=3 Row=14 Size=256MB
msch:1
OUT
Boot1 Release Time: Oct 28 2019 20:02:13, version: 1.19
chip_id:330800,0
ChipType = 0x13, 35790988
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
DPLL = 1300 MHz
...nandc_flash_init enter...
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 35778356
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x2000, size:0x1000
GPT part:  1, name:            trust, start:0x3000, size:0x1000
GPT part:  2, name:             misc, start:0x4000, size:0x800
GPT part:  3, name:         recovery, start:0x4800, size:0x10000
GPT part:  4, name:             boot, start:0x14800, size:0x4800
GPT part:  5, name:           rootfs, start:0x20000, size:0x80000
GPT part:  6, name:              oem, start:0xa0000, size:0x20000
GPT part:  7, name:         userdata, start:0xc0000, size:0x687fdf
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x3000.
LoadTrust Addr:0x3000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xb7704
RunBL31 0x40000 @ 35737114 us
INFO:    Preloader serial: 4
NOTICE:  BL31: v1.3(release):30f1405
NOTICE:  BL31: Built : 17:08:28, Sep 23 2019
INFO:    Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe b
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x600000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Oct 21 2020 - 17:08:50 +0800)

Model: Rockchip RK3308 EVB
PreSerial: 4
DRAM:  254 MiB
Sysmem: init
Relocation Offset is: 0d80b000
Using default environment

dwmmc@ff480000: 1, dwmmc@ff490000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
Error binding driver 'fixed regulator': -22
Some drivers failed to bind
vdd_core init 1015000 uV
DVFS: cpu: low=0.0'c, high=55.0'c, Vmax=1340000uV, tz_temp=55.0'c, h_repeat=0, l_repeat=0
DVFS: 44.545'c
Model: Firefly ROC-RK3308B-CC-PLUS analog mic rgb_7.0inch board
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags[a]
    H: 1024 1067 1069 1114
    V: 0600 0603 0605 0610
bus_format: 100a
CLK: (uboot. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 1300000 KHz
  vpll0 1177823 KHz
  vpll1 901583 KHz
  aclk_bus 185714 KHz
  hclk_bus 100000 KHz
  pclk_bus 100000 KHz
  aclk_peri 185714 KHz
  hclk_peri 100000 KHz
  pclk_peri 100000 KHz
  hclk_audio 98151 KHz
  pclk_audio 98151 KHz
Net:   eth0: ethernet@ff4e0000
DVFS: cpu 44.90'c, 816000000 Hz, 1015000 uV
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
Fdt Ramdisk skip relocation
Booting LZ4 kernel at 0x02480000(Uncompress to 0x00280000) with fdt at 0x1f00000...


## Booting Android Image at 0x0247f800 ...
Kernel load addr 0x00280000 size 5241 KiB
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Uncompressing Kernel Image ... OK
   Using Device Tree in place at 0000000001f00000, end 0000000001f16746
Can't find file:
Adding bank: 0x00200000 - 0x10000000 (size: 0x0fe00000)
Total: 449.993 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (zhengyk@mid-server) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #214 SMP PREEMPT Tue Oct 20 09:48:07 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] earlycon: Early serial console at MMIO32 0xff0e0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    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] PERCPU: Embedded 19 pages/cpu @ffffffc00ff43000 s40088 r8192 d29544 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64008
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0e0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext2 snd_aloop.index=7 snd_aloop.use_raw_jiffies=1
[    0.000000] PID hash table entries: 1024 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] software IO TLB [mem 0x0fea3000-0x0fee3000] (0MB) mapped at [ffffffc00fea3000-ffffffc00fee2fff]
[    0.000000] Memory: 243296K/260096K available (6462K kernel code, 690K rwdata, 2436K rodata, 384K init, 511K bss, 16800K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008940000 - 0xffffff80089a0000   (   384 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80086d0000   (  6464 KB)
[    0.000000]     .rodata : 0xffffff80086d0000 - 0xffffff8008940000   (  2496 KB)
[    0.000000]       .data : 0xffffff80089a0000 - 0xffffff8008a4c808   (   691 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc010000000   (   254 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001971] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002921] pid_max: default: 32768 minimum: 301
[    0.003484] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.004087] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.005550] sched-energy: CPU device node has no sched-energy-costs
[    0.006173] Invalid sched_group_energy for CPU0
[    0.006591] CPU0: update cpu_capacity 1024
[    0.007015] ASID allocator initialised with 65536 entries
[    0.016752] Detected VIPT I-cache on CPU1
[    0.016807] Invalid sched_group_energy for CPU1
[    0.016813] CPU1: update cpu_capacity 1024
[    0.016817] CPU1: Booted secondary processor [410fd042]
[    0.019775] Detected VIPT I-cache on CPU2
[    0.019810] Invalid sched_group_energy for CPU2
[    0.019814] CPU2: update cpu_capacity 1024
[    0.019818] CPU2: Booted secondary processor [410fd042]
[    0.022818] Detected VIPT I-cache on CPU3
[    0.022853] Invalid sched_group_energy for CPU3
[    0.022858] CPU3: update cpu_capacity 1024
[    0.022862] CPU3: Booted secondary processor [410fd042]
[    0.022934] Brought up 4 CPUs
[    0.028140] SMP: Total of 4 processors activated.
[    0.028579] CPU: All CPU(s) started at EL2
[    0.029087] Invalid sched_group_energy for CPU3
[    0.029507] Invalid sched_group_energy for Cluster3
[    0.029955] Invalid sched_group_energy for CPU2
[    0.030384] Invalid sched_group_energy for Cluster2
[    0.030834] Invalid sched_group_energy for CPU1
[    0.031250] Invalid sched_group_energy for Cluster1
[    0.031707] Invalid sched_group_energy for CPU0
[    0.032123] Invalid sched_group_energy for Cluster0
[    0.033133] devtmpfs: initialized
[    0.054784] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.055729] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.056691] pinctrl core: initialized pinctrl subsystem
[    0.058317] NET: Registered protocol family 16
[    0.063286] cpuidle: using governor menu
[    0.063681] Registered FIQ tty driver
[    0.064466] vdso: 2 pages (1 code @ ffffff80086d6000, 1 data @ ffffff80089a4000)
[    0.065171] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.066012] DMA: preallocated 256 KiB pool for atomic allocations
[    0.069005] console [pstore-1] enabled
[    0.069356] pstore: Registered ramoops as persistent store backend
[    0.069939] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.091176] fiq debugger fiq mode enabled
[[    0.091956] console [ttyFIQ0] enabled
    0.091956] console [ttyFIQ0] enabled
[    0.092652] bootconsole [uart0] disabled
[    0.092652] bootconsole [uart0] disabled
[    0.093282] Registered fiq debugger ttyFIQ0
WARNING: suspend_mode_handler: Not support call: 0x4
[    0.129456] vcc_1v8: regulator get failed, ret=-517
[    0.130420] vcc_1v8_codec: regulator get failed, ret=-517
[    0.131347] vcc_1v8: supplied by vcc_io
[    0.131460] vcc_1v8_codec: supplied by vcc_io
[    0.133683] usb_hub_rst: Failed to create debugfs directory
[    0.134896] SCSI subsystem initialized
[    0.135199] usbcore: registered new interface driver usbfs
[    0.135274] usbcore: registered new interface driver hub
[    0.135429] usbcore: registered new device driver usb
[    0.135625] pps_core: LinuxPPS API ver. 1 registered
[    0.135638] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.135672] PTP clock support registered
[    0.136987] Advanced Linux Sound Architecture Driver Initialized.
[    0.137731] Bluetooth: Core ver 2.21
[    0.137802] NET: Registered protocol family 31
[    0.137814] Bluetooth: HCI device and connection manager initialized
[    0.137834] Bluetooth: HCI socket layer initialized
[    0.137849] Bluetooth: L2CAP socket layer initialized
[    0.137883] Bluetooth: SCO socket layer initialized
[    0.139005] rockchip-cpuinfo cpuinfo: Serial         : c65b8d386fb58f94
[    0.139829] clocksource: Switched to clocksource arch_sys_counter
[    0.142350] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.142703] NET: Registered protocol family 2
[    0.143440] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.143502] TCP bind hash table entries: 2048 (order: 3, 32768 bytes)
[    0.143562] TCP: Hash tables configured (established 2048 bind 2048)
[    0.143650] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.143681] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.143929] NET: Registered protocol family 1
[    0.145030] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.156559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.156897] ntfs: driver 2.1.32 [Flags: R/W].
[    0.160343] io scheduler noop registered (default)
[    0.161586] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[    0.165471] backlight supply power not found, using dummy regulator
[    0.167380] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.167420] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.169925] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.169966] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.170320] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.170478] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.172051] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.175228] [drm] Initialized drm 1.1.0 20060810
[    0.175349] random: nonblocking pool is initialized
[    0.177502] [drm] Rockchip DRM driver version: v1.0.1
[    0.177769] rockchip-drm display-subsystem: devfreq is not set
[    0.178046] rockchip-vop ff2e0000.vop: missing rockchip,grf property
[    0.178296] rockchip-drm display-subsystem: bound ff2e0000.vop (ops 0xffffff800873ebe8)
[    0.178482] rockchip-rgb rgb: [drm:rockchip_rgb_bind] *ERROR* failed to find panel or bridge: -517
[    0.178510] rockchip-drm display-subsystem: failed to bind rgb (ops 0xffffff8008736bb8): -517
[    0.178714] rockchip-drm display-subsystem: master bind failed: -517
[    0.180772] panel supply power not found, using dummy regulator
[    0.181514] Unable to detect cache hierarchy for CPU 0
[    0.188854] loop: module loaded
[    0.189220] SCSI Media Changer driver v0.25
[    0.191411] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (input).
[    0.191461] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[    0.191478] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[    0.191495] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[    0.191510] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[    0.191534] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.191795] rk_gmac-dwmac ff4e0000.ethernet: clock input from PHY
[    0.196860] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.197009] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.197026]  Ring mode enabled
[    0.197037]  DMA HW capability register supported
[    0.197046]  Normal descriptors
[    0.197058]  RX Checksum Offload Engine supported (type 2)
[    0.197068]  TX Checksum insertion supported
[    0.197077]  Wake-Up On Lan supported
[    0.197139]  Enable RX Mitigation via HW Watchdog Timer
[    0.200733] libphy: stmmac: probed
[    0.200765] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[    0.200784] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[    0.202074] Rockchip WiFi SYS interface (V1.00) ...
[    0.202220] usbcore: registered new interface driver r8152
[    0.202302] usbcore: registered new interface driver asix
[    0.202377] usbcore: registered new interface driver ax88179_178a
[    0.202451] usbcore: registered new interface driver cdc_ether
[    0.202513] usbcore: registered new interface driver net1080
[    0.202574] usbcore: registered new interface driver cdc_subset
[    0.202643] usbcore: registered new interface driver zaurus
[    0.202762] usbcore: registered new interface driver cdc_ncm
[    0.202853] usbcore: registered new interface driver qmi_wwan
[    0.203317] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.203408] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.317904] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.318432] dwc2 ff400000.usb: DWC OTG Controller
[    0.318482] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[    0.318530] dwc2 ff400000.usb: irq 22, io mem 0xff400000
[    0.319499] hub 1-0:1.0: USB hub found
[    0.319556] hub 1-0:1.0: 1 port detected
[    0.543317] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
[    0.543582] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.543607] ehci-platform: EHCI generic platform driver
[    0.547491] ehci-platform ff440000.usb: EHCI Host Controller
[    0.547546] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 2
[    0.547704] ehci-platform ff440000.usb: irq 23, io mem 0xff440000
[    0.552864] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    0.553812] hub 2-0:1.0: USB hub found
[    0.553895] hub 2-0:1.0: 1 port detected
[    0.554551] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.554611] ohci-platform: OHCI generic platform driver
[    0.555085] ohci-platform ff450000.usb: Generic Platform OHCI controller
[    0.555137] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 3
[    0.555276] ohci-platform ff450000.usb: irq 24, io mem 0xff450000
[    0.610736] hub 3-0:1.0: USB hub found
[    0.610795] hub 3-0:1.0: 1 port detected
[    0.611459] usbcore: registered new interface driver cdc_wdm
[    0.611547] usbcore: registered new interface driver uas
[    0.611685] usbcore: registered new interface driver usb-storage
[    0.611752] usbcore: registered new interface driver ums-alauda
[    0.611812] usbcore: registered new interface driver ums-cypress
[    0.611904] usbcore: registered new interface driver ums-datafab
[    0.611970] usbcore: registered new interface driver ums_eneub6250
[    0.612030] usbcore: registered new interface driver ums-freecom
[    0.612096] usbcore: registered new interface driver ums-isd200
[    0.612162] usbcore: registered new interface driver ums-jumpshot
[    0.612220] usbcore: registered new interface driver ums-karma
[    0.612282] usbcore: registered new interface driver ums-onetouch
[    0.612344] usbcore: registered new interface driver ums-sddr09
[    0.612409] usbcore: registered new interface driver ums-sddr55
[    0.612470] usbcore: registered new interface driver ums-usbat
[    0.612610] usbcore: registered new interface driver usbserial
[    0.612679] usbcore: registered new interface driver option
[    0.612728] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.614031] i2c /dev entries driver
[    0.855862] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    0.917898] rk3x-i2c ff040000.i2c: Initialized RK3xxx I2C bus at ffffff8008b36000
[    0.918980] rtc-pcf8563 1-0051: chip found, driver version 0.4.4
[    0.930464] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
[    0.930491] rtc-pcf8563 1-0051: pcf8563_probe: write error
[    0.930541] rtc-pcf8563: probe of 1-0051 failed with error -5
[    0.930581] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff8008b38000
[    0.931956] IR NEC protocol handler initialized
[    0.931981] IR RC5(x/sz) protocol handler initialized
[    0.931998] IR RC6 protocol handler initialized
[    0.932014] IR JVC protocol handler initialized
[    0.932032] IR Sony protocol handler initialized
[    0.932050] IR SANYO protocol handler initialized
[    0.932068] IR Sharp protocol handler initialized
[    0.932085] IR MCE Keyboard/mouse protocol handler initialized
[    0.932102] IR XMP protocol handler initialized
[    0.932795] Registered IR keymap rc-empty
[    0.932976] rc rc0: gpio_ir_recv as /devices/platform/ir_rx/rc/rc0
[    0.933694] input: gpio_ir_recv as /devices/platform/ir_rx/rc/rc0/input0
[    0.934191] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    0.934954] rc rc1: PWM IR Transmitter as /devices/platform/ir_tx/rc/rc1
[    0.935171] rc rc1: lirc_dev: driver pwm-ir-tx registered at minor = 1, no receiver, raw IR transmitter
[    0.938137] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    0.938390] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.939045] Bluetooth: HCI UART driver ver 2.3
[    0.939074] Bluetooth: HCI UART protocol H4 registered
[    0.939086] Bluetooth: HCI UART protocol LL registered
[    0.939356] cpu cpu0: leakage=18
[    0.939623] cpu cpu0: Failed to get pvtm
[    0.940990] cpu cpu0: l=0 h=55000 hyst=5000 l_limit=1200000000 h_limit=1008000000
[    0.942493] Synopsys Designware Multimedia Card Interface Driver
[    0.944343] dwmmc_rockchip ff480000.dwmmc: num-slots property not found, assuming 1 slot is available
[    0.944503] dwmmc_rockchip ff480000.dwmmc: IDMAC supports 32-bit address mode.
[    0.944568] dwmmc_rockchip ff480000.dwmmc: Using internal DMA controller.
[    0.944594] dwmmc_rockchip ff480000.dwmmc: Version ID is 270a
[    0.944672] dwmmc_rockchip ff480000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    0.945522] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.945563] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.955966] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.967011] dwmmc_rockchip ff480000.dwmmc: 1 slots initialized
[    0.967172] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.967207] rockchip-iodomain ff000000.grf:io-domains: Setting to 3300000 done
[    0.967220] set vqmmc to 3.3v, ret=0
[    0.968001] dwmmc_rockchip ff490000.dwmmc: No default pinctrl state
[    0.968020] dwmmc_rockchip ff490000.dwmmc: No off pinctrl state
[    0.968153] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    0.968207] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    0.968230] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    0.968300] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 26,32 bit host data width,256 deep fifo
[    0.968385] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    0.968401] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    0.975758] hub 2-1:1.0: USB hub found
[    0.975939] hub 2-1:1.0: 4 ports detected
[    0.978940] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.987303] Unable to handle kernel paging request at virtual address dffeef76ffef6f6d
[    0.988003] pgd = ffffff8008ad0000
[    0.988144] Unable to handle kernel paging request at virtual addre[    0.988147] pgd = ffffff8008ad0000
[    0.988157] [ffffef80089b59c8] *pgd=000000000fffe003, *pud=000000000fffe003, *pmd=000000000fffb003, *pte=00e8000000bb5713
[    0.988162] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[    0.988168] Modules linked in:
[    0.988177] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.143 #214

点评

现在我用你们维修回来的一块开发板,已经带qt了。但是无法使用dpkg和apt-get,无法安装任何软件,无法添加用户,也不能使用ssh server功能,那是不是那些使能qt的配置还是没有生效,还是需要手工添加吗?  发表于 2022-7-13 22:55
多半是DDR问题,请联系销售处理  发表于 2022-7-13 21:30
回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-7-14 15:04:41        只看该作者  19#
建议客户可以这样,先了解什么是buildroot什么是debian系统,要在基于debian系统如ubuntu才能使用apt和dpkg命令。

而且你使用qt,怎么可以在我们的.mk文件加入qt配置的呢。

点评

不明白,目前在Ubuntu系统上编译,开发板也想用ubuntu,wiki的QT开发上面介绍要增加使能qt的相关选项,目前我按照文档提示增加ssh的相关功能,已经测试成功,但是增加gdb相关功能后编译出错,烦劳看下一条,谢谢!  发表于 2022-7-14 19:08
回复

使用道具 举报

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2022-7-14 17:51:58        只看该作者  20#
本帖最后由 dlinli 于 2022-7-14 20:57 编辑

vi device/rockchip/rk3308/roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk
#使能SSH相关选项(下面已测试通过)
#openssh包
export BR2_PACKAGE_OPENSSH=y
#配置登录的账户密码
export BR2_TARGET_ENABLE_ROOT_LOGIN=y
export BR2_TARGET_GENERIC_ROOT_PASSWD="123"(改成自己真实的密码)

增加上面内容,全编译后,可以实现shell登录了。
./build.sh roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk
./build.sh

但是增加下面部分内容后,就编译出错:
#使能GDB相关选项
export BR2_PACKAGE_HOST_GDB=y
export BR2_PACKAGE_HOST_GDB_PYTHON=y
export BR2_PACKAGE_GDB=y
export BR2_PACKAGE_GDB_SERVER=y

......
2022-07-14T18:52:35 if [ x"" != x ]; then   /home/firefly/proj/buildroot/output/firefly_rk3308_qt_release/host/bin/aarch64-rockchip-linux-gnu-gcc -c -DHAVE_CONFIG_H -fstack-protector-strong -z,relro -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -fstack-protector-strong -z,relro -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.././../../libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -D_GNU_SOURCE -fPIC  .././../../libiberty/regex.c -o noasan/regex.o; else true; fi
2022-07-14T18:52:35 /home/firefly/proj/buildroot/output/firefly_rk3308_qt_release/host/bin/aarch64-rockchip-linux-gnu-gcc -c -DHAVE_CONFIG_H -fstack-protector-strong -z,relro -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -fstack-protector-strong -z,relro -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.././../../libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -D_GNU_SOURCE .././../../libiberty/regex.c -o regex.o
2022-07-14T18:52:35 Makefile:396: recipe for target 'subdir_do' failed
2022-07-14T18:52:35 make[3]: *** [subdir_do] Error 1
2022-07-14T18:52:35 Makefile:313: recipe for target 'all-lib' failed
2022-07-14T18:52:35 make[2]: *** [all-lib] Error 2
2022-07-14T18:52:35 package/pkg-generic.mk:247: recipe for target '/home/firefly/proj/buildroot/output/firefly_rk3308_qt_release/build/gdb-7.11.1/.stamp_built' failed
2022-07-14T18:52:35 make[1]: *** [/home/firefly/proj/buildroot/output/firefly_rk3308_qt_release/build/gdb-7.11.1/.stamp_built] Error 2
2022-07-14T18:52:35 /home/firefly/proj/buildroot/output/firefly_rk3308_qt_release/Makefile:16: recipe for target '_all' failed
2022-07-14T18:52:35 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 49:30.33 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 743:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG


请大神帮手看看,谢谢!

回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表