按照wiki教程编译buildroot固件
http://wiki.t-firefly.com/zh_CN/ ... ldroot_compile.html
前6个分区不能挂载
DDR Version 1.08 20190523
In
Channel a: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
Boot1 Release Time: Nov 27 2019 15:30:08, version: 2.58
ChipType = 0x8, 249
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=14910MB
FwPartOffset=2000 , 2000
mmc0:cmd8,400
mmc0:cmd8,400
mmc0:cmd8,400
SdmmcInit=0 1
StorageInit ok = 30473
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: uboot, start:0x4000, size:0x2000
GPT part: 1, name: trust, start:0x6000, size:0x2000
GPT part: 2, name: misc, start:0x8000, size:0x2000
GPT part: 3, name: boot, start:0xa000, size:0x10000
GPT part: 4, name: recovery, start:0x1a000, size:0x10000
GPT part: 5, name: backup, start:0x2a000, size:0x10000
GPT part: 6, name: oem, start:0x3a000, size:0x20000
GPT part: 7, name: rootfs, start:0x5a000, size:0x100000
GPT part: 8, name: userdata, start:0x15a000, size:0x1bc4fdf
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
LOADER Check OK! 0x4000, 147476
TOS Check OK! 0x6000, 184183
Enter Trust OS
INF [0x0] TEE-CORE:init_primary_helper:385: Core0 Initializing (1.1.0-421-gd098c6d2 #4 Thu Feb 20 01:29:17 UTC 2020 arm)
INF [0x0] TEE-CORE:init_primary_helper:386: Release version: 1.3
INF [0x0] TEE-CORE:init_primary_helper:387: Next entry point address: 0x200000
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
U-Boot 2017.09 (Feb 10 2021 - 16:45:11 +0800)
Model: Firefly-RK3288
PreSerial: 2
DRAM: 2 GiB
Sysmem: init
Relocation Offset is: 00000000
Using default environment
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Load FDT from boot part
DTB: rk-kernel.dtb
I2c0 speed: 400000Hz
vdd_log 1100000 uV
*** Warning - bad CRC, using default environment
In: serial@ff690000
Out: serial@ff690000
Err: serial@ff690000
Model: Firefly-RK3288 Board (Linux Opensource)
Rockchip UBOOT DRM driver version: v1.0.1
xfer: num: 2, addr: 0x50
xfer: num: 2, addr: 0x50
Monitor has basic audio support
Could not find baseparameter partition
mode:1280x720
CEA mode used vic=4
final pixclk = 74250000 tmdsclk = 74250000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 1 iterations
PHY PLL locked 1 iterations
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=74.250MHz N=6144 cts=74250
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 668000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 297000 KHz
Net: eth0: ethernet@ff290000
Hit key to stop autoboot('CTRL+C'): 0
ANDROID: reboot reason: "(none)"
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x8300000...
## Booting Android Image at 0x02007800 ...
Kernel load addr 0x02008000 size 8017 KiB
RAM disk load addr 0x0a200000 size 8946 KiB
## Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
XIP Kernel Image ... OK
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
'reserved-memory' ramoops@00000000: addr=8000000 size=f0000
Loading Ramdisk to 0f743000, end 0ffff739 ... OK
Loading Device Tree to 0f72c000, end 0f742e38 ... OK
Can't find file:logo_kernel.bmp
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09300000 - 0x80000000 (size: 0x76d00000)
Total: 5091.932 ms
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x500
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.194 (xxx@xxx-virtual-machine) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #4 SMP Wed Feb 10 16:46:10 CST 2021
[ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Firefly-RK3288 Board (Linux Opensource)
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv65535.65535 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 14 pages/cpu @eef77000 s24728 r8192 d24424 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518912
[ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.slot_suffix= androidboot.serialno=c82e38b126432a22 earlyprintk ro rootwait console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 swiotlb=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 2016456K/2081792K available (12288K kernel code, 1005K rwdata, 3476K rodata, 1024K init, 1258K bss, 48952K reserved, 16384K cma-reserved, 1293716K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0d00000 (13280 kB)
[ 0.000000] .init : 0xc1200000 - 0xc1300000 (1024 kB)
[ 0.000000] .data : 0xc1300000 - 0xc13fb46c (1006 kB)
[ 0.000000] .bss : 0xc13fd000 - 0xc1537b90 (1259 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000030] Switching to timer-based delay loop, resolution 41ns
[ 0.003948] Console: colour dummy device 80x30
[ 0.003992] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.004017] pid_max: default: 32768 minimum: 301
[ 0.004146] Security Framework initialized
[ 0.004164] Yama: becoming mindful.
[ 0.004255] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004279] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.005442] Initializing cgroup subsys devices
[ 0.005474] Initializing cgroup subsys freezer
[ 0.005522] CPU: Testing write buffer coherency: ok
[ 0.005578] ftrace: allocating 44444 entries in 131 pages
[ 0.138172] CPU0: update cpu_capacity 430
[ 0.138192] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[ 0.138289] Setting up static identity map for 0x100000 - 0x100058
[ 0.141596] CPU1: update cpu_capacity 430
[ 0.141606] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[ 0.142822] CPU2: update cpu_capacity 430
[ 0.142832] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[ 0.144036] CPU3: update cpu_capacity 430
[ 0.144046] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[ 0.144208] Brought up 4 CPUs
[ 0.144251] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.144261] CPU: All CPU(s) started in SVC mode.
[ 0.146353] devtmpfs: initialized
[ 0.179124] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[ 0.179706] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.179747] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.181292] pinctrl core: initialized pinctrl subsystem
[ 0.182915] NET: Registered protocol family 16
[ 0.187130] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.218520] cpuidle: using governor ladder
[ 0.248569] cpuidle: using governor menu
[ 0.248626] Registered FIQ tty driver
[ 0.303401] console [pstore-1] enabled
[ 0.303415] pstore: Registered ramoops as persistent store backend
[ 0.303430] ramoops: attached 0xf0000@0x8000000, ecc: 0/0
[ 0.304801] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.304821] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.305991] fiq debugger fiq mode enabled
[ 0.791751] console [ttyFIQ0] enabled
[ 0.795803] Registered fiq debugger ttyFIQ0
[ 0.886542] vcc_flash: regulator get failed, ret=-517
[ 0.892366] vcc_sd: regulator get failed, ret=-517
[ 0.897891] vcc28_dvp: regulator get failed, ret=-517
[ 0.903702] dovdd_1v8: regulator get failed, ret=-517
[ 0.909046] rockchip-pinctrl pinctrl: pin gpio0-11 already requested by vcc28-dvp-regulator; cannot claim for vcc-mipi
[ 0.919791] rockchip-pinctrl pinctrl: pin-11 (vcc-mipi) status -22
[ 0.925982] rockchip-pinctrl pinctrl: could not request pin 11 (gpio0-11) from group mipi-pwr on device rockchip-pinctrl
[ 0.936958] reg-fixed-voltage vcc-mipi: Error applying setting, reverse things back
[ 0.947147] iommu: Adding device ff910000.rkisp1 to group 0
[ 0.952881] iommu: Adding device ff930000.vop to group 1
[ 0.958383] iommu: Adding device ff940000.vop to group 2
[ 0.963858] iommu: Adding device ff9a0000.vpu-service to group 3
[ 0.970083] iommu: Adding device ff9c0000.hevc-service to group 4
[ 0.977052] rk_iommu ff914000.iommu: can't get sclk
[ 0.982618] rk_iommu ff930300.iommu: can't get sclk
[ 0.987951] rk_iommu ff940300.iommu: can't get sclk
[ 0.993309] rk_iommu ff9a0800.iommu: can't get sclk
[ 0.998701] rk_iommu ff9c0440.iommu: can't get sclk
[ 1.004557] SCSI subsystem initialized
[ 1.008723] usbcore: registered new interface driver usbfs
[ 1.014371] usbcore: registered new interface driver hub
[ 1.019853] usbcore: registered new device driver usb
[ 1.025165] media: Linux media interface: v0.10
[ 1.029770] Linux video capture interface: v2.00
[ 1.034543] pps_core: LinuxPPS API ver. 1 registered
[ 1.039544] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[ 1.048718] PTP clock support registered
[ 1.055207] Advanced Linux Sound Architecture Driver Initialized.
[ 1.062362] Bluetooth: Core ver 2.21
[ 1.066049] NET: Registered protocol family 31
[ 1.070501] Bluetooth: HCI device and connection manager initialized
[ 1.076903] Bluetooth: HCI socket layer initialized
[ 1.081794] Bluetooth: L2CAP socket layer initialized
[ 1.086932] Bluetooth: SCO socket layer initialized
[ 1.093493] rockchip-cpuinfo cpuinfo: Serial : c82e38b126432a22
[ 1.101512] clocksource: Switched to clocksource arch_sys_counter
[ 1.194413] NET: Registered protocol family 2
[ 1.199686] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.206908] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[ 1.213725] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.220173] UDP hash table entries: 512 (order: 2, 24576 bytes)
[ 1.226200] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[ 1.232950] NET: Registered protocol family 1
[ 1.237898] RPC: Registered named UNIX socket transport module.
[ 1.243884] RPC: Registered udp transport module.
[ 1.248598] RPC: Registered tcp transport module.
[ 1.253338] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.260138] Trying to unpack rootfs image as initramfs...
[ 2.015000] Freeing initrd memory: 8948K
[ 2.020948] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 2.032803] Initialise system trusted keyring
[ 2.053095] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.062279] NFS: Registering the id_resolver key type
[ 2.067400] Key type id_resolver registered
[ 2.071640] Key type id_legacy registered
[ 2.075691] Installing knfsd (copyright (C) 1996 [email protected]).
[ 2.083462] fuse init (API version 7.23)
[ 2.096240] NET: Registered protocol family 38
[ 2.100732] Key type asymmetric registered
[ 2.104920] Asymmetric key parser 'x509' registered
[ 2.109930] boun