将Linux内核2.6移植到新的MIPS板上 [英] Porting Linux kernel 2.6 to new MIPS board

查看:75
本文介绍了将Linux内核2.6移植到新的MIPS板上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Linux内核2.6.x移植到新的MIPS板上.不幸的是,我无法通过逐步的说明找到好的实际文档.希望你能帮助我.纸质书也可以.

I wanna port Linux kernel 2.6.x to new MIPS board. Unfortunatelly, I can't find good actual documentation with step by step explaination. Hope, you'll help me. Paper books are OK too.

提前谢谢!

推荐答案

首先,开始使用MIPS 工具链.您将需要它来编译内核.我已经使用 buildroot 几次,包括用于构建MIPS工具链.

First, get your hands on a MIPS toolchain. You're going to need it to compile the kernel. I've used buildroot a few times, including for building a MIPS toolchain.

但是buildroot提供的功能远不止于此:

But buildroot offers a lot more than just that:

Buildroot可以生成任何或全部 交叉编译工具链,一个根 文件系统,内核映像和 引导程序映像. Buildroot是有用的 主要针对小规模工作的人 或嵌入式系统,使用各种CPU 架构(x86,ARM,MIPS, PowerPC等):它可以自动执行 嵌入式的构建过程 系统并简化了交叉编译 过程.

Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image. Buildroot is useful mainly for people working with small or embedded systems, using various CPU architectures (x86, ARM, MIPS, PowerPC, etc.) : it automates the building process of your embedded system and eases the cross-compilation process.

如果您想手动执行此过程,建议您查看

If you would like to do this process manually, I suggest you take a look at this. It's not for MIPS but it shows the generic formula (you'll probably have to find and apply MIPS patches to the Kernel before compiling it). Try buildroot, it does all of this automagically!

我还必须建议阅读 Jun Sun的Linux MIPS移植指南.

这篇关于将Linux内核2.6移植到新的MIPS板上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆