arm64平台make menuconfig引起问题丢失CONFIG_XXX

2023-11-01 02:30

本文主要是介绍arm64平台make menuconfig引起问题丢失CONFIG_XXX,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

现象:

  SYNC    include/config/auto.conf.cmd
*
* Restart config...
*
*
* General setup
*
Compile also drivers which will not load (COMPILE_TEST) [N/y/?] n
Local version - append to kernel release (LOCALVERSION) [] 
Automatically append version information to the version string (LOCALVERSION_AUTO) [Y/n/?] y
Build ID Salt (BUILD_SALT) [] 
Default init path (DEFAULT_INIT) [] 
出现问题:系统初始化崩溃 panic 
[    0.000000] ITS queue timeout (64 1)
[    0.000000] ITS cmd its_build_mapc_cmd failed
[    0.000000] ITS queue timeout (128 1)
[    0.000000] ITS cmd its_build_invall_cmd failed
[    0.000000] ITS queue timeout (64 1)
[    0.000000] ITS cmd its_build_mapc_cmd failed
[    0.000000] ITS queue timeout (128 1)
[    0.000000] ITS cmd its_build_invall_cmd failed[    5.190467] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[    5.191274] Mem abort info:
[    5.191534]   ESR = 0x86000005
[    5.191818]   EC = 0x21: IABT (current EL), IL = 32 bits
[    5.192306]   SET = 0, FnV = 0
[    5.192589]   EA = 0, S1PTW = 0
[    5.192879] [0000000000000000] user address but active_mm is swapper
[    5.193466] Internal error: Oops: 86000005 [#1] SMP
[    5.193916] Modules linked in:
[    5.194205] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.110 #74
[    5.194774] Hardware name: Rockchip RK3588-EVB-KS-T1 LP4 V10 Board (DT)
[    5.195386] pstate: 60000089 (nZCv daIf -PAN -UAO -TCO BTYPE=--)
[    5.195940] pc : 0x0
[    5.196146] lr : enqueue_task+0xac/0xc0
[    5.196500] sp : ffffffc01154bb40
[    5.196807] x29: ffffffc01154bb40 x28: ffffffc1edeaa000 
[    5.197303] x27: ffffff81001f2a00 x26: 0000000000000001 
[    5.197798] x25: ffffffc011429584 x24: ffffffc01127a888 
[    5.198294] x23: 0000000000000001 x22: ffffff81001f2a00 
[    5.198789] x21: 000000000000000a x20: ffffff81001f2a00 
[    5.199283] x19: ffffff81fef172c0 x18: 0000000000000000 
[    5.199779] x17: 000000007bd6fd76 x16: 000000002e197337 
[    5.200274] x15: 000000000000000a x14: 000000000002e6aa 
[    5.200768] x13: 0000000000000006 x12: ffffffffffffffff 
[    5.201262] x11: 000000000000007c x10: 00000000ffffffea 
[    5.201757] x9 : 000000000000000d x8 : ffffffc01154b748 
[    5.202252] x7 : 00000000ffffdfff x6 : ffffffc01154b750 
[    5.202747] x5 : 00000000000affa8 x4 : 0000000000000000 
[    5.203242] x3 : 0000000000000000 x2 : 000000000000000a 
[    5.203737] x1 : ffffff81001f2a00 x0 : ffffff81fef172c0 
[    5.204231] Call trace:
[    5.204459]  0x0
[    5.204633]  do_set_cpus_allowed+0x9c/0xc8
[    5.205014]  cpuset_cpus_allowed_fallback+0x50/0x60
[    5.205465]  select_fallback_rq+0xa4/0x148
[    5.205845]  migrate_tasks+0x184/0x298
[    5.206194]  sched_cpu_dying+0x7c/0x11c
[    5.206550]  cpuhp_invoke_callback+0xb8/0x1a4
[    5.206955]  _cpu_up+0x164/0x19c
[    5.207257]  cpu_up+0xb4/0x120
[    5.207542]  bringup_nonboot_cpus+0x8c/0x90
[    5.207931]  smp_init+0x30/0x78
[    5.208225]  kernel_init_freeable+0x10c/0x274
[    5.208629]  kernel_init+0x14/0x118
[    5.208954]  ret_from_fork+0x10/0x30
解决: 原因有一些必要的配置丢失,内核跑飞.
source /etc/profile,安装交叉编译器的脚本配置的环境变量就可以生效
cp arch/arm64/configs/xxx_defconfig .config 
make ARCH=arm64 menuconfig CROSS_COMPILE=aarch64-none-linux-gnu-  menuconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- clean 
make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- menuconfig 
make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- uImage 
 1.020600] EFI services will not be available.
[    1.021299] 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
[    1.022876] Detected VIPT I-cache on CPU1
[    1.022876] Detected VIPT I-cache on CPU1
[    1.022907] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
[    1.022925] GICv3: CPU1: using allocated LPI pending table @0x00000001000c0000
[    1.022966] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    1.024155] Detected VIPT I-cache on CPU2
[    1.024183] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
[    1.024200] GICv3: CPU2: using allocated LPI pending table @0x00000001000d0000
[    1.024239] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    1.025423] Detected VIPT I-cache on CPU3
[    1.025448] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
[    1.025465] GICv3: CPU3: using allocated LPI pending table @0x00000001000e0000
[    1.025500] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    1.026668] CPU features: detected: Spectre-v4
[    1.026671] CPU features: detected: Spectre-BHB
[    1.026673] Detected PIPT I-cache on CPU4
[    1.026688] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
[    1.026697] GICv3: CPU4: using allocated LPI pending table @0x00000001000f0000
[    1.026721] CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
[    1.027861] Detected PIPT I-cache on CPU5
[    1.027876] GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
[    1.027885] GICv3: CPU5: using allocated LPI pending table @0x0000000100100000
[    1.027909] CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
[    1.029051] Detected PIPT I-cache on CPU6
[    1.029066] GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
[    1.029075] GICv3: CPU6: using allocated LPI pending table @0x0000000100110000
[    1.029099] CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
[    1.030233] Detected PIPT I-cache on CPU7
[    1.030248] GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
[    1.030258] GICv3: CPU7: using allocated LPI pending table @0x0000000100120000
[    1.030281] CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
[    1.030342] smp: Brought up 1 node, 8 CPUs

这篇关于arm64平台make menuconfig引起问题丢失CONFIG_XXX的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/319840

相关文章

流媒体平台/视频监控/安防视频汇聚EasyCVR播放暂停后视频画面黑屏是什么原因?

视频智能分析/视频监控/安防监控综合管理系统EasyCVR视频汇聚融合平台,是TSINGSEE青犀视频垂直深耕音视频流媒体技术、AI智能技术领域的杰出成果。该平台以其强大的视频处理、汇聚与融合能力,在构建全栈视频监控系统中展现出了独特的优势。视频监控管理系统EasyCVR平台内置了强大的视频解码、转码、压缩等技术,能够处理多种视频流格式,并以多种格式(RTMP、RTSP、HTTP-FLV、WebS

好题——hdu2522(小数问题:求1/n的第一个循环节)

好喜欢这题,第一次做小数问题,一开始真心没思路,然后参考了网上的一些资料。 知识点***********************************无限不循环小数即无理数,不能写作两整数之比*****************************(一开始没想到,小学没学好) 此题1/n肯定是一个有限循环小数,了解这些后就能做此题了。 按照除法的机制,用一个函数表示出来就可以了,代码如下

hdu1043(八数码问题,广搜 + hash(实现状态压缩) )

利用康拓展开将一个排列映射成一个自然数,然后就变成了普通的广搜题。 #include<iostream>#include<algorithm>#include<string>#include<stack>#include<queue>#include<map>#include<stdio.h>#include<stdlib.h>#include<ctype.h>#inclu

综合安防管理平台LntonAIServer视频监控汇聚抖动检测算法优势

LntonAIServer视频质量诊断功能中的抖动检测是一个专门针对视频稳定性进行分析的功能。抖动通常是指视频帧之间的不必要运动,这种运动可能是由于摄像机的移动、传输中的错误或编解码问题导致的。抖动检测对于确保视频内容的平滑性和观看体验至关重要。 优势 1. 提高图像质量 - 清晰度提升:减少抖动,提高图像的清晰度和细节表现力,使得监控画面更加真实可信。 - 细节增强:在低光条件下,抖

JAVA智听未来一站式有声阅读平台听书系统小程序源码

智听未来,一站式有声阅读平台听书系统 🌟&nbsp;开篇:遇见未来,从“智听”开始 在这个快节奏的时代,你是否渴望在忙碌的间隙,找到一片属于自己的宁静角落?是否梦想着能随时随地,沉浸在知识的海洋,或是故事的奇幻世界里?今天,就让我带你一起探索“智听未来”——这一站式有声阅读平台听书系统,它正悄悄改变着我们的阅读方式,让未来触手可及! 📚&nbsp;第一站:海量资源,应有尽有 走进“智听

如何解决线上平台抽佣高 线下门店客流少的痛点!

目前,许多传统零售店铺正遭遇客源下降的难题。尽管广告推广能带来一定的客流,但其费用昂贵。鉴于此,众多零售商纷纷选择加入像美团、饿了么和抖音这样的大型在线平台,但这些平台的高佣金率导致了利润的大幅缩水。在这样的市场环境下,商家之间的合作网络逐渐成为一种有效的解决方案,通过资源和客户基础的共享,实现共同的利益增长。 以最近在上海兴起的一个跨行业合作平台为例,该平台融合了环保消费积分系统,在短

Android平台播放RTSP流的几种方案探究(VLC VS ExoPlayer VS SmartPlayer)

技术背景 好多开发者需要遴选Android平台RTSP直播播放器的时候,不知道如何选的好,本文针对常用的方案,做个大概的说明: 1. 使用VLC for Android VLC Media Player(VLC多媒体播放器),最初命名为VideoLAN客户端,是VideoLAN品牌产品,是VideoLAN计划的多媒体播放器。它支持众多音频与视频解码器及文件格式,并支持DVD影音光盘,VCD影

购买磨轮平衡机时应该注意什么问题和技巧

在购买磨轮平衡机时,您应该注意以下几个关键点: 平衡精度 平衡精度是衡量平衡机性能的核心指标,直接影响到不平衡量的检测与校准的准确性,从而决定磨轮的振动和噪声水平。高精度的平衡机能显著减少振动和噪声,提高磨削加工的精度。 转速范围 宽广的转速范围意味着平衡机能够处理更多种类的磨轮,适应不同的工作条件和规格要求。 振动监测能力 振动监测能力是评估平衡机性能的重要因素。通过传感器实时监

缓存雪崩问题

缓存雪崩是缓存中大量key失效后当高并发到来时导致大量请求到数据库,瞬间耗尽数据库资源,导致数据库无法使用。 解决方案: 1、使用锁进行控制 2、对同一类型信息的key设置不同的过期时间 3、缓存预热 1. 什么是缓存雪崩 缓存雪崩是指在短时间内,大量缓存数据同时失效,导致所有请求直接涌向数据库,瞬间增加数据库的负载压力,可能导致数据库性能下降甚至崩溃。这种情况往往发生在缓存中大量 k

6.1.数据结构-c/c++堆详解下篇(堆排序,TopK问题)

上篇:6.1.数据结构-c/c++模拟实现堆上篇(向下,上调整算法,建堆,增删数据)-CSDN博客 本章重点 1.使用堆来完成堆排序 2.使用堆解决TopK问题 目录 一.堆排序 1.1 思路 1.2 代码 1.3 简单测试 二.TopK问题 2.1 思路(求最小): 2.2 C语言代码(手写堆) 2.3 C++代码(使用优先级队列 priority_queue)