Re: How to port ppc-linux to new custom boards? (virtexII)
flat view
From: Patrick Huesmann <hidden>
Date: 2004-08-24 06:27:03
Hi,
Where did you download the Montavista 2_4_devel?
via anonymous rsync from montavista server. i followed the instructions at http://penguinppc.org/dev/kernel.shtml
quoted
1) Is there any comprehensive documentation / tutorial on how to port the ppc-linux to new machines? Where does my board specific fixup stuff go (for example, memory and IRQ declarations and such).See the following two valuable docs: http://www.denx.de/twiki/bin/view/PPCEmbedded/Introduction http://www.denx.de/twiki/bin/view/DULG/Manual
Unfortunately, neither of these docs talks about tailoring the kernel to custom hardware. They only state that "some changes" have to be applied to the startup code. I need some more specific information, because I'm not a expert PPC guru.
quoted
vmlinux file and write it to flash directly, because zImage on powerpc lacks decompressor code (at least with my configuration). But the 1.3meg vmlinux file makes for pretty long turnaround times (I can only upload at 115k at the moment).AFAIK, the key point of decompressing is boot loader itself. It has NOTHING to do with ppc linux. Both U-Boot and PlanetCore can do this job well.
this means that i also have to port u-boot and use 2 bootloaders in sequence, or port u-boot's decompressor code to our own bootloader. Sigh. Arm Linux provides a self-decompressing zImage. I thought it could be possible to configure the ppc kernel just like that. Thanx anyway, Patrick ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/