为什么单独编译内核,烧写之后没用内核更新
ANDROID 14 SDK 我使用这个单独编译内核的命令,编译之后烧写生成的boot.img,但是很奇怪,板子中的内核没用发生更新 ls -l 确认烧写进入的boot.img日期 我确定放到烧写工具的boot.img是最新编译出来的内核 提供日志
U-Boot 2017.09 (Nov 05 2024 - 02:20:57 +0000)
Model: Rockchip RK3576 Evaluation board
MPIDR: 0x0
PreSerial: 0, raw, 0x2ad40000
DRAM:4 GiB
Sysmem: init
Relocation Offset: bda1c000
Relocation fdt: fb9fa070 - fb9fece8
CR: M/C/I
Using default environment
optee api revision: 2.0
mmc@2a310000: 1, mmc@2a330000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
DM: v2
Android 14.0, Build 2024.2, v2
boot mode: recovery (misc)
RESC: 'recovery', blk@0x0005698c
Device is: UNLOCKED
DTB: rk-kernel.dtb
HASH(ce): OK
ANDROID: fdt overlay OK
dw_dp_bind zyb enter
I2c1 speed: 100000Hz
PMIC:RK8060 (on=0x40, off=0x00)
vdd_cpu_big_s0 init 850000 uV
vdd_npu_s0 750000 uV
vdd_cpu_lit_s0 init 850000 uV
vdd_gpu_s0 init 750000 uV
vdd_logic_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Model: Rockchip RK3576 EVB1 V10 Board
Rockchip UBOOT DRM driver version: v1.0.1
Assign plane mask automatically
VOP have 3 active VP
vp0 have layer nr:1, primary plane: 2
vp1 have layer nr:1, primary plane: 3
vp2 have layer nr:1, primary plane: 8
disp info 2, type:16, id:0
base2_disp_info couldn't be found, screen_info type or id mismatched
Using display timing dts
dsi@27d80000:detailed mode clock 132000 kHz, flags
H: 1080 1095 1099 1129
V: 1920 1935 1937 1952
bus_format: 100e
VOP update mode to: 1080x1920p60, type: MIPI0 for VP1
VP1 set crtc_clock to 132000KHz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP VP1 enable Esmart1 fmt addr
final DSI-Link bandwidth: 880000 Kbps x 4
disp info 0, type:11, id:0
hdmi@27da0000 disconnected
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
bpll 816000 KHz
lpll 816000 KHz
vpll 594000 KHz
aupll 786431 KHz
cpll 1000000 KHz
gpll 1188000 KHz
ppll 1300000 KHz
aclk_bus_root 396000 KHz
pclk_bus_root 100000 KHz
hclk_bus_root 198000 KHz
aclk_top 786431 KHz
aclk_top_mid 396000 KHz
pclk_top 100000 KHz
hclk_top 200000 KHz
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'):0
ANDROID: reboot reason: "recovery"
Vboot=0, AVB images, AVB verify
read_is_device_unlocked() ops returned that device is UNLOCKED
avb_footer.c:41: ERROR: Footer magic is incorrect.
avb_vbmeta_image.c:65: ERROR: Magic is incorrect.
avb_slot_verify.c:774: ERROR: recovery: Error verifying vbmeta image: invalid vbmeta header
Verify recovery with vbmeta.
avb_slot_verify.c:763: ERROR: vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED
preloaded: distribute image from 'recovery
ANDROID: sha1(150ea524f7...) + OK
Could not find "system" partition
Booting IMAGE kernel at 0x40400000 with fdt at 0x48300000...
Fdt Ramdisk skip relocation
## Booting Android Image at 0x403ff800 ...
Kernel: 0x40400000 - 0x42762008 (36233 KiB)
ramdisk: 0x4a200000 - 0x4d2ce38a (49977 KiB)
## Flattened Device Tree blob at 0x48300000
Booting using the fdt blob at 0x48300000
XIP Kernel Image from 0x40400000 to 0x40400000 ... OK
kernel loaded at 0x40400000, end = 0x42762008
Using Device Tree in place at 0000000048300000, end 0000000048344108
scanning bus for devices...
Timedout waiting for UIC response
Host controller enable failed
ufshcd_pltfrm_init() failed -5
FDT: UFS was not detected, disabling UFS.
vp0, plane_mask:0x4, primary-id:2, curser-id:-1
vp1, plane_mask:0x8, primary-id:3, curser-id:-1
vp2, plane_mask:0x100, primary-id:8, curser-id:-1
## reserved-memory:
drm-logo@0: addr=fdf00000 size=1ea000
ramoops@40110000: addr=40110000 size=e0000
Adding bank: 0x40200000 - 0x48400000 (size: 0x08200000)
Adding bank: 0x49400000 - 0x100000000 (size: 0xb6c00000)
Adding bank: 0x100000000 - 0x240000000 (size: 0x140000000)
Total: 1414.530/1525.292 ms
Starting kernel ...
[ 1.542084][ T0] Booting Linux on physical CPU 0x0000000000
[ 1.542109][ T0] Linux version 6.1.57 (xuanyf@u20) (Android (10087095, +pgo, +bolt, +lto, -mlgo, based on r487747c) clang version 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d16663d5012e5c09495f3b30ece3d2362), LLD 17.0.2) #4 SMP PREEMPT Tue Nov5 02:25:38 UTC 2024
[ 1.545356][ T0] random: crng init done
[ 1.550699][ T0] Machine model: Rockchip RK3576 EVB1 V10 Board
[ 1.563679][ T0] earlycon: uart8250 at MMIO32 0x000000002ad40000 (options '')
[ 1.619200][ T0] printk: bootconsole enabled
[ 1.627983][ T0] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x0000000000000000, size 0 MiB
[ 1.641290][ T0] OF: reserved mem: 0x0000000040110000..0x00000000401effff ( 896 KB ) map non-reusable ramoops@40110000
[ 1.653320][ T0] OF: reserved mem: 0x00000000fdf00000..0x00000000fe0e9fff ( 1960 KB ) map non-reusable drm-logo@0
[ 1.793844][ T0] Zone ranges:
[ 1.797395][ T0] DMA32
[ 1.804939][ T0] Normal
[ 1.812479][ T0] Movable zone start for each node
[ 1.817918][ T0] Early memory node ranges
[ 1.822595][ T0] node 0:
[ 1.830230][ T0] node 0:
[ 1.837867][ T0] Initmem setup node 0
[ 1.847167][ T0] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 1.864832][ T0] On node 0, zone DMA32: 4096 pages in unavailable ranges
[ 1.903048][ T0] cma: Reserved 16 MiB at 0x00000000ff000000
[ 1.917196][ T0] psci: probing for conduit method from DT.
[ 1.923502][ T0] psci: PSCIv1.1 detected in firmware.
[ 1.929324][ T0] psci: Using standard PSCI v0.2 function IDs
[ 1.935815][ T0] psci: Trusted OS migration not required
[ 1.941929][ T0] psci: SMC Calling Convention v1.2
[ 1.947815][ T0] percpu: Embedded 28 pages/cpu s76776 r8192 d29720 u114688
[ 1.955783][ T0] Detected VIPT I-cache on CPU0
[ 1.960973][ T0] CPU features: detected: ARM erratum 845719
[ 1.967370][ T0] alternatives: applying boot alternatives
[ 1.974180][ T0] Built 1 zonelists, mobility grouping on.Total pages: 2059784
[ 1.982491][ T0] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normalandroidboot.dtb_idx=0 androidboot.dtbo_idx=0androidboot.verifiedbootstate=orange androidboot.serialno=968033eba91e97ad console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init rootwait ro loop.max_part=7 printk.devkmsg=on kvm-arm.mode=none androidboot.console=ttyFIQ0 androidboot.wificountrycode=CN androidboot.hardware=rk30board androidboot.boot_devices=2a2d0000.ufs,2a330000.mmc androidboot.selinux=permissive androidboot.console=ttyFIQ0 androidboot.wificountrycode=CN androidboot.hardware=rk30board androidboot.boot_devices=2a2d0000.ufs,2a330000.mmc androidboot.selinux=permissive earlycon=uart8250,mmio32,0x2ad40000 rcupdate.rcu_expedited=1 rcu_nocbs=all androidboot.fwver=ddr-v1.03-81dd75088a,bl31-v1.05,bl32-v1.01,uboot-11/05/2024
[ 2.065758][ T0] Unknown kernel command line parameters "storagemedia=emmc", will be passed to user space.
[ 2.077599][ T0] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 2.087615][ T0] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 2.096969][ T0] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 2.105176][ T0] software IO TLB: area num 8.
[ 2.125666][ T0] software IO TLB: mapped (64MB)
[ 2.232102][ T0] Memory: 8035572K/8370176K available (21440K kernel code, 4232K rwdata, 8648K rodata, 1792K init, 959K bss, 318220K reserved, 16384K cma-reserved)
[ 2.248445][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 2.256455][ T0] trace event string verifier disabled
[ 2.262443][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 2.269505][ T0] rcu: RCU event tracing is enabled.
[ 2.275231][ T0] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 2.282674][ T0]All grace periods are expedited (rcu_expedited).
[ 2.289735][ T0]Trampoline variant of Tasks RCU enabled.
[ 2.296032][ T0]Tracing variant of Tasks RCU enabled.
[ 2.302044][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 2.316971][ T0] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 2.326812][ T0] Root IRQ handler: gic_handle_irq
[ 2.332276][ T0] GIC: Using split EOI/Deactivate mode
[ 2.338746][ T0] rcu: Offload RCU callbacks from CPUs: 0-7.
[ 2.345255][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 2.376328][ T0] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 2.383554][ T0] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 2.395718][ T0] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 2.406613][ T0] kfence: initialized - using 524288 bytes for 63 objects at 0x(____ptrval____)-0x(____ptrval____)
[ 2.417938][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 2.429601][ T0] pid_max: default: 32768 minimum: 301
[ 2.435283][ T0] LSM: Security Framework initializing
[ 2.440990][ T0] SELinux:Initializing.
[ 2.445515][ T0] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.454276][ T0] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.464532][ T1] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.472283][ T1] cblist_init_generic: Setting adjustable number of callback queues.
[ 2.480727][ T1] cblist_init_generic: Setting shift to 3 and lim to 1.
[ 2.488035][ T1] cblist_init_generic: Setting adjustable number of callback queues.
[ 2.496449][ T1] cblist_init_generic: Setting shift to 3 and lim to 1.
[ 2.503787][ T1] rcu: Hierarchical SRCU implementation.
[ 2.509633][ T1] rcu: Max phase no-delay instances is 1000.
[ 2.518639][ T1] 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
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
[ 2.532467][ T0] Detected VIPT I-cache on CPU1
[ 2.532537][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 1
[ 2.532568][ T0] CPU1: Booted secondary processor 0x0000000001
[ 2.540813][ T0] Detected VIPT I-cache on CPU2
[ 2.540869][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 2
[ 2.540890][ T0] CPU2: Booted secondary processor 0x0000000002
[ 2.549124][ T0] Detected VIPT I-cache on CPU3
[ 2.549179][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 3
[ 2.549197][ T0] CPU3: Booted secondary processor 0x0000000003
[ 2.557493][ T0] CPU features: detected: Spectre-v3a
[ 2.557501][ T0] CPU features: detected: Spectre-BHB
[ 2.557504][ T0] CPU features: detected: ARM erratum 1742098
[ 2.557506][ T0] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 2.557509][ T0] Detected PIPT I-cache on CPU4
[ 2.557565][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 4
[ 2.557584][ T0] CPU4: Booted secondary processor 0x0000000100
[ 2.565790][ T0] Detected PIPT I-cache on CPU5
[ 2.565832][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 5
[ 2.565844][ T0] CPU5: Booted secondary processor 0x0000000101
[ 2.574055][ T0] Detected PIPT I-cache on CPU6
[ 2.574097][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 6
[ 2.574109][ T0] CPU6: Booted secondary processor 0x0000000102
[ 2.582302][ T0] Detected PIPT I-cache on CPU7
[ 2.582344][ T0] cacheinfo: Unable to detect cache hierarchy for CPU 7
[ 2.582356][ T0] CPU7: Booted secondary processor 0x0000000103
[ 2.582420][ T1] smp: Brought up 1 node, 8 CPUs
[ 2.752029][ T1] SMP: Total of 8 processors activated.
[ 2.757722][ T1] CPU features: detected: 32-bit EL0 Support
[ 2.763879][ T1] CPU features: detected: CRC32 instructions
[ 2.770128][ T1] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 2.779705][ T1] CPU: All CPU(s) started at EL2
[ 2.784820][ T1] alternatives: applying system-wide alternatives
[ 2.796351][ T1] devtmpfs: initialized
[ 2.819748][ T1] Registered cp15_barrier emulation handler
[ 2.825886][ T1] Registered setend emulation handler
[ 2.831618][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 2.842738][ T1] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 2.851128][ T1] pinctrl core: initialized pinctrl subsystem
[ 2.858013][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 2.866030][ T1] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 2.874573][ T1] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 2.883941][ T1] audit: initializing netlink subsys (disabled)
[ 2.890509][ T68] audit: type=2000 audit(0.340:1): state=initialized audit_enabled=0 res=1
[ 2.893502][ T1] Registered FIQ tty driver
[ 2.904359][ T1] thermal_sys: Registered thermal governor 'fair_share'
[ 2.904363][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 2.911653][ T1] thermal_sys: Registered thermal governor 'user_space'
[ 2.918756][ T1] thermal_sys: Registered thermal governor 'power_allocator'
[ 2.925980][ T1] cpuidle: using governor menu
[ 2.938796][ T1] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 2.946966][ T1] ASID allocator initialised with 65536 entries
[ 2.955467][ T1] ramoops: boot-log-0 0x8000@0x0000000040110000
[ 2.961936][ T1] ramoops: dmesg-0 0x14000@0x0000000040118000
[ 2.968273][ T1] ramoops: dmesg-1 0x14000@0x000000004012c000
[ 2.974694][ T1] ramoops: console 0x80000@0x0000000040140000
[ 2.981068][ T1] ramoops: pmsg 0x30000@0x00000000401c0000
[ 2.987392][ T1] printk: console enabled
[ 2.993096][ T1] pstore: Registered ramoops as persistent store backend
[ 3.000512][ T1] ramoops: using 0xe0000@0x40110000, ecc: 0
[ 3.008574][ T1] platform mipi0-csi2: Fixed dependency cycle(s) with /csi2-dcphy0/ports/port@1/endpoint@0
[ 3.019445][ T1] platform rkcif-mipi-lvds: Fixed dependency cycle(s) with /mipi0-csi2/ports/port@1/endpoint@0
[ 3.030480][ T1] platform rkisp-vir0: Fixed dependency cycle(s) with /rkcif-mipi-lvds-sditf/port/endpoint
[ 3.041165][ T1] platform rkvpss-vir0: Fixed dependency cycle(s) with /rkisp-vir0-sditf/port/endpoint
[ 3.062204][ T1] platform 27d80000.dsi: Fixed dependency cycle(s) with /dsi@27d80000/panel@0/ports/port@0/endpoint
[ 3.073557][ T1] platform 27d80000.dsi: Fixed dependency cycle(s) with /vop@27d00000/ports/port@1/endpoint@1
[ 3.084801][ T1] platform 27da0000.hdmi: Fixed dependency cycle(s) with /vop@27d00000/ports/port@0/endpoint@2
[ 3.095939][ T1] platform 27e40000.dp: Fixed dependency cycle(s) with /vop@27d00000/ports/port@2/endpoint@4
[ 3.129124][ T1] rockchip-gpio 27320000.gpio: probed /pinctrl/gpio@27320000
[ 3.137187][ T1] rockchip-gpio 2ae10000.gpio: probed /pinctrl/gpio@2ae10000
[ 3.145226][ T1] rockchip-gpio 2ae20000.gpio: probed /pinctrl/gpio@2ae20000
[ 3.153256][ T1] rockchip-gpio 2ae30000.gpio: probed /pinctrl/gpio@2ae30000
[ 3.161255][ T1] rockchip-gpio 2ae40000.gpio: probed /pinctrl/gpio@2ae40000
https://dev.t-firefly.com/thread-124129-1-1.html 我和这个帖子遇到的情况一样,但不知道怎么解决 1 当前只跑着recovery模式,并没有跑到boot
2 这不是3576-PC
我新建了一个lunch
那怎么解决这个报错呢 基于我们的ROC-RK3576-PC去改
页:
[1]
2