| To: | swang@mmc.atmel.com |
|---|---|
| Subject: | Re: Question on porting Linux... |
| From: | Jun Sun <jsun@mvista.com> |
| Date: | Tue, 21 Aug 2001 10:26:39 -0700 |
| Cc: | linux-mips@oss.sgi.com |
| References: | <000701c12529$e1640580$8021690a@huawei.com> <20010815103314.A11966@bacchus.dhis.org> <000b01c1295e$0f2174c0$8021690a@huawei.com> <20010820230755.A11242@dea.linux-mips.net> <001501c129dd$8acebb80$8021690a@huawei.com> <20010821083508.A13302@dea.linux-mips.net> <001201c12a29$57f3b660$8021690a@huawei.com> <20010821131721.F13302@dea.linux-mips.net> <3B827B7C.16A1C763@mmc.atmel.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
Shuanglin Wang wrote: > > Hi all, > > I'm working on porting Linux to a third-part board. I don't know where to > start. > Can anyone give me some tips? > By the way, the board doesn't have PCI bus, Interrupt controller, and RTC. Do > you think it is possible to port Linux to it? And how difficult will it be? > > A lot of thanks, > Porting Linux/MIPS generally involves three tasks: 1. CPU support If your CPU is already supported, then your task is as easy as include the CONFIG_CPU_XXXX in your config file. 2. board support This involves several subtasks: a) hook your board/machines to the system. Check include/asm/bootinfo.h, arch/mips/setup.c. b) prom_init(). c) board setup code (xxx_setup()): fix hardware, set Linux variables, etc d) interrupt dispatching, time service e) others Look under various arch/mips subdirectories. 3) driver code Serial, ether, etc. Good luck. Jun |
| Previous by Date: | Re: Question on porting Linux..., Shuanglin Wang |
|---|---|
| Next by Date: | Re: Question on porting Linux..., Carsten Langgaard |
| Previous by Thread: | Re: Question on porting Linux..., Shuanglin Wang |
| Next by Thread: | Re: Question on porting Linux..., Carsten Langgaard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |