[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] patching the kernel
Hi Jim,
Jim Van Vorst wrote:
Is it possible to patch the petalogix kernel from the patches either at
kernel.org or uclinux.org? I.e. we have a linux-2.6.x-petalogix
directory which I think is at 2.6.20, and 2.6.23 is available at
uclinux.org. Can I just sequentially apply those patches to upgrade my
kernel to .23? Or are the petalogix kernel sources modified from the
uclinux sources, which are modified from the mainline sources?
It's not quite that simple, because in the mix are also the no-MMU
specific patches maintained by SnapGear, which are part of the current
petalinux 2.6.20 tree.
To rev up a petalinux tree to 2.6.23, the simplest way is probably as
follows:
1. Take a stock 2.6.23 tree from kernel.org
2. apply the 2.6.23-uc0-bigpatch from uclinux.org
3. copy in the microblaze support (including drivers etc).
Another approach is
1. start with petalinux 2.6.20
2. reverse apply 2.6.20-uc0-bigpatch
3. apply 2.6.20-2.6.23 incremental patches from kernel.org
4. apply 2.6.23-uc0-bigpatch from uclinux.org
There'll be various conflicts and rejects patchsets to fix up as you go.
Unfortunately not a trivial task either way.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/