On Sun, 5 Oct 2014 15:52:08 +0200 Gilles Chanteperdrix <[email protected]> wrote:
> > Already tried this. But in result the script parse every driver code change > > since 3.4.6 and make over four hundreds errors about missing architecture > > for files like usb/serial/whiteheat.c > > That is because genpatches.sh uses the stable kernel as a base for the > patch by default. You have to pass as argument to genpatches.sh the > hash of the commit you want it to use as base if you do not want > that default behaviour. Maybe I was misunderstood due to my terrible English... Current linux-sunxi kernel is based on 3.4.103 mainstream kernel, so I trying to port ipipe core patch from 3.4.6 for 3.4.103. For this I: a)got sources from repository: "git clone -b legacy/core-3.4 git://git.xenomai.org/ipipe.git" b)run genpatches.sh with this command: "./scripts/ipipe/genpatches.sh v3.4.103" and get this: === ./scripts/ipipe/genpatches.sh v3.4.103 reference: v3.4.103, kernel version: 3.4.6 Error unknown architecture for driver acpi/ac.c ipipe-core-3.4.6-h8300-.patch ipipe-core-3.4.6-avr32-.patch ipipe-core-3.4.6-frv-.patch ipipe-core-3.4.6-parisc-.patch ipipe-core-3.4.6-score-.patch ipipe-core-3.4.6-powerpc-4.patch ipipe-core-3.4.6-microblaze-.patch ipipe-core-3.4.6-xtensa-.patch ipipe-core-3.4.6-um-.patch ipipe-core-3.4.6-unicore32-.patch ipipe-core-3.4.6-ia64-.patch ipipe-core-3.4.6-arm-4.patch ipipe-core-3.4.6-s390-.patch ipipe-core-3.4.6-cris-.patch ipipe-core-3.4.6-x86-4.patch ipipe-core-3.4.6-sparc-.patch ipipe-core-3.4.6-tile-.patch ipipe-core-3.4.6-mips-.patch ipipe-core-3.4.6-alpha-.patch ipipe-core-3.4.6-sh-.patch ipipe-core-3.4.6-mn10300-.patch ipipe-core-3.4.6-m32r-.patch ipipe-core-3.4.6-m68k-.patch ipipe-core-3.4.6-blackfin-4.patch === (If use script from ipipe-3.14 branch then it not make all those crippled patches, but generate four hundreds errors about missing architecture) So I'm definitely doing something wrong, but can't figure what. -- Alexey Shaposhnikov _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
