完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我两年前下载了ti-linux-kernel-dev / tree并成功构建/刷新了它。
今天我尝试运行build_kernel.sh脚本,并在patch.sh:rt()中收到错误(请参阅下面的错误输出粘贴)。 这里发生了什么事? (我只想要一个简单的vanilla内核;我不想要CONFIG_PREEMPT_RT用于我正在做的任何事情;这是为了BEAGLEBONE BLACK)。 请指教。 谢谢。 迪尔:rt 应用:merge:CONFIG_PREEMPT_RT补丁集 错误:补丁失败:localversion-rt:1 错误:localversion-rt:补丁不适用 在0001合并时补丁失败:CONFIG_PREEMPT_RT补丁集 失败的补丁副本可在以下位置找到: /src/ti-linux-kernel-dev/KERNEL/.git/rebase-apply/patch 解决此问题后,运行“git am --continue”。 如果您想跳过此补丁,请改为运行“git am --skip”。 要恢复原始分支并停止修补,请运行“git am --abort”。 以上来自于谷歌翻译 以下为原文 I had downloaded the ti-linux-kernel-dev/ tree two years ago and built/flashed it successfully. Today I try to run the build_kernel.sh script and I get an error at patch.sh:rt() (see error output pasted-in below). What’s happening here? (I just want a plain vanilla kernel; I don’t want CONFIG_PREEMPT_RT for anything I’m doing; this is for BEAGLEBONE BLACK). Please advise. Thank you. dir: rt Applying: merge: CONFIG_PREEMPT_RT Patch Set error: patch failed: localversion-rt:1 error: localversion-rt: patch does not apply Patch failed at 0001 merge: CONFIG_PREEMPT_RT Patch Set The copy of the patch that failed is found in: /src/ti-linux-kernel-dev/KERNEL/.git/rebase-apply/patch When you have resolved this problem, run “git am --continue”. If you prefer to skip this patch, run “git am --skip” instead. To restore the original branch and stop patching, run “git am --abort”. |
|
相关推荐
3个回答
|
|
您好@patrick_here,
两年前,“ti-linux-kernel-dev”脚本无法重建旧标签。 这最终得到了修复,但直到一段时间后才开始。 要成功“重建”旧的内核版本,请使用我的yakbuild脚本: GitHub上 RobertCNelson / yakbuild yakbuild - 又一个内核构建脚本 请按照自述文件: github.com RobertCNelson / yakbuild /斑点/主/ readme.md 这只是一组用于为ARM设备重建已知工作内核的脚本。 脚本错误:“bugs@rcn-ee.com” 第1步:克隆回购 ``` git clone https://github.com/RobertCNelson/yakbuild cd ./yakbuild/ ``` 第2步:创建recipe.sh ``` cp recipe.sh.sample recipe.sh ``` 第3步:编辑recipe.sh 步骤3a:启用工具链: 此文件已被截断。 显示原创 问候, 以上来自于谷歌翻译 以下为原文 Hi @patrick_here, Two years ago, the “ti-linux-kernel-dev” script couldn’t rebuild older tags. This was eventually fixed, but not till after some time. To successfully “rebuild” your old kernel version, use my yakbuild script: GitHub RobertCNelson/yakbuild yakbuild - Yet Another Kernel BUILD script Follow the readme: github.com RobertCNelson/yakbuild/blob/master/readme.md This is just a set of scripts to rebuild a known working kernel for ARM devices.Script Bugs: "bugs@rcn-ee.com"Step 1: Clone repo```git clone https://github.com/RobertCNelson/yakbuildcd ./yakbuild/```Step 2: create recipe.sh```cp recipe.sh.sample recipe.sh```Step 3: edit recipe.shStep 3a: Enable toolchain: This file has been truncated. show original Regards, |
|
|
|
谢谢罗伯特......这很有效。
我建议你在自述文件中添加一行来解释最初的'git clone'应该从哪个目录执行...类似于: cd ti-linux-kernel-dev / git clone https://github.com/RobertCNelson/yakbuild $ cd ./yakbuild/ …等等… 另外,快速问题...我想知道根文件系统(debian / ubuntu)最初是如何创建/获得的? (即:你页面上的那些) 以上来自于谷歌翻译 以下为原文 Thanks Robert …that worked. I suggest that you add to your readme a line explaining from which directory the initial ‘git clone’ should be executed …something like: cd ti-linux-kernel-dev/ git clone https://github.com/RobertCNelson/yakbuild $ cd ./yakbuild/ …etc… Also, quick question …I’m wondering how the root filesystems (debian/ubuntu) were originally created/obtained? (ie: the ones onyour page) |
|
|
|
嗨@patrick_here,yakbuild repo是自包含的,你可以在标准的linux机器上的任何地方克隆它。
ubuntu / debian根文件系统是在我的omap-image-builder repo中创建的: GitHub上 RobertCNelson / OMAP-图像建设者 omap-image-builder - omap图像构建器 git clone https://github.com/RobertCNelson/omap-image-builder cd ./omap-image-builder/ #ubuntu: ./RootStock-NG.sh -c configs / eewiki_minfs_ubuntu_xenial_armhf.conf #debian: ./RootStock-NG.sh -c configs / eewiki_minfs_debian_stretch_armhf.conf 问候, 以上来自于谷歌翻译 以下为原文 Hi @patrick_here, the yakbuild repo is self contained, you can clone it anywhere on a standard linux machine. The ubuntu/debian root file system’s where created in my omap-image-builder repo: GitHub RobertCNelson/omap-image-builder omap-image-builder - omap image builder git clone https://github.com/RobertCNelson/omap-image-buildercd ./omap-image-builder/#ubuntu:./RootStock-NG.sh -c configs/eewiki_minfs_ubuntu_xenial_armhf.conf#debian:./RootStock-NG.sh -c configs/eewiki_minfs_debian_stretch_armhf.confRegards, |
|
|
|
只有小组成员才能发言,加入小组>>
3451 浏览 3 评论
479浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 10:11 , Processed in 0.874966 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号