技术专栏
hi3798mv100 ubuntu sdk 编译
# hi3798mv100
lzma --version | awk '$0~/LZMA.SDK.[0-9]\.[0-9]/{print $3}'
# 指定版本linux内核编译
cd /root/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020 #(SDK_path)
"/root/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/"
"/root/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/arch/arm/configs/"
cp "/root/hi3798mv100/hi3798mv100_defconfig-0812" "/root/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/arch/arm/configs/hi3798mv100_defconfig"
1. 先备份上面路径下的hi3798mv100_defconfig 原始文件
2. cd source/kernel/linux-3.18.y/
3. make ARCH=arm hi3798mv100_defconfig # Linux 内核编译选项
4. make ARCH=arm savedefconfig #重新生成defconfg文件,会在 上面的目录下生成deconfig 文件
5. cp defconfig arch/arm/configs/hi3798mv100_defconfig # 这一步可省略,如果用 hi3798mv100_defconfig-0812 文件,就不要拷贝
6. make distclean # 清理Linux内核的编译
7. cd $SDK_path;make linux #重新编译kernel
编译报错 yylloc
https://blog.csdn.net/zhoukaiqili/article/details/126191871
source ./env.sh #SDK各种环境变量
make menuconfig
make build -j4 2>&1 | tee -a buildlog.txt
上面编译成功后,在out/hi3798mv100可以找到编译好的fastboot-burn.bin、bootargs.bin、hi_kernel.bin,分别是uboot引导文件、uboot引导参数配置和linux内核。
make cfg.mak clean #重新编译之前先clean
rm -r buildlog.txt
声明:本文内容由易百纳平台入驻作者撰写,文章观点仅代表作者本人,不代表易百纳立场。如有内容侵权或者其他问题,请联系本站进行删除。
红包
1
收藏
评论
打赏
- 分享
- 举报
评论
0个
手气红包
![易百纳技术社区](https://ebaina.oss-cn-hangzhou.aliyuncs.com/production/direct/resource/202306/14/empty.png)
相关专栏
-
浏览量:3317次2020-08-06 15:20:53
-
浏览量:3412次2019-12-28 10:19:54
-
浏览量:1360次2023-06-12 14:18:15
-
浏览量:2821次2023-03-17 10:25:53
-
浏览量:4137次2021-12-03 16:40:57
-
浏览量:2075次2022-02-15 09:01:03
-
浏览量:3485次2024-04-30 22:13:25
-
浏览量:2746次2022-02-17 09:00:25
-
浏览量:2866次2020-07-31 15:13:59
-
浏览量:6217次2017-12-12 21:37:12
-
浏览量:2943次2020-08-10 09:28:54
-
浏览量:3695次2020-07-27 15:19:53
-
浏览量:16340次2020-09-07 14:43:14
-
浏览量:2765次2020-08-04 20:30:30
-
浏览量:3229次2023-04-03 15:10:25
-
浏览量:1019次2023-10-25 15:43:39
-
浏览量:1728次2024-01-19 17:42:50
-
浏览量:3834次2022-10-13 17:29:06
-
浏览量:4411次2019-12-16 13:54:11
置顶时间设置
结束时间
删除原因
-
广告/SPAM
-
恶意灌水
-
违规内容
-
文不对题
-
重复发帖
打赏作者
![易百纳技术社区](https://ebaina.oss-cn-hangzhou.aliyuncs.com/res/avatar/noavatar_middle.gif)
hi-ned
您的支持将鼓励我继续创作!
打赏金额:
¥1
![易百纳技术社区](/img/web/choose_active.png)
¥5
![易百纳技术社区](/img/web/choose_active.png)
¥10
![易百纳技术社区](/img/web/choose_active.png)
¥50
![易百纳技术社区](/img/web/choose_active.png)
¥100
![易百纳技术社区](/img/web/choose_active.png)
支付方式:
![易百纳技术社区](/img/web/paywx.png)
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
审核成功
发布时间设置
发布时间:
请选择发布时间设置
是否关联周任务-专栏模块
审核失败
失败原因
请选择失败原因
备注
请输入备注