Hi All, I was able to fix the issues and build a kernel successfully. I have created a github repository with the patches, including ipipe_zynq_pre, ipipe_arm_3.8.13, ipipe_zynq_post and the xilinx_zynq_defconfig related CPU_HOTPLUG and REMOTEPROC.
Repository: https://github.com/synapticon/linux-xlnx.git branch: xlnx_3.8 Steps i followed to build: - clone the repository, checkout the branch- xlnx_3.8 - Download and extract Xenomai 2.6.3. - prepare_kernel.sh --arch=arm --linux=/patch/to/above/repo ---- specific to ZYNQ board ---- - Change to above repo, make xilinx_zynq_defconfig - make uImage LOADADDR=0x00008000 - make modules This gave a uImage which i could boot. Will update with xeno-test results in a while. On 4 November 2013 13:26, Matthew Fornero <[email protected]> wrote: > On Mon, Nov 4, 2013 at 5:47 AM, Anup Kini <[email protected]> wrote: > > > > Hi All, > > > > Currently stuck with the following error: > > > > CC arch/arm/kernel/setup.o > > In file included from arch/arm/kernel/setup.c:45:0: > > /home/akini/neo-linux/arch/arm/include/asm/tlbflush.h: In function > 'local_flush_tlb_mm': > > /home/akini/neo-linux/arch/arm/include/asm/tlbflush.h:343:19: error: > invalid operands to binary & (have 'atomic64_t' and 'long long unsigned > int') > > /home/akini/neo-linux/arch/arm/include/asm/tlbflush.h: In function > 'local_flush_tlb_page': > > /home/akini/neo-linux/arch/arm/include/asm/tlbflush.h:379:5: error: > invalid operands to binary & (have 'atomic64_t' and 'long long unsigned > int') > > make[1]: *** [arch/arm/kernel/setup.o] Error 1 > > make: *** [arch/arm/kernel] Error 2 > > > > I am using the 3.8.13-arm-3 patch currently, not sure where i went wrong. > > I did not face this when i used the 3.8-arm-1 patch. > > Any help / suggestion ?!! :) > > I haven't tried this version yet, but you're attempting to use a patch > for 3.8.13 against at 3.8.0 kernel. The patch likely depends on some > changes between 3.8.0 and 3.8.13 in mainline. > > I've got Zynq HW again, so I'm hoping to be able to post git trees for > 3.8.0 and 3.8.13 shortly, but here's how I would approach it: > > 1) git clone from xilinx's v14.5 tag > 2) apply the zynq -pre patch > 3) git merge from the 3.8.arm-1 tag in the ipipe 3.8 tree > 4) apply the zynq -post patch > [you now have a 3.8 patched zynq tree] > 5) git merge from the head of the ipipe 3.8 tree (or the arm-3 patch tag) > > You still may run into merge conflicts or compile errors, but this > will at least grab all the content required. > > -Matt > -- *Anup Kini*Systems Engineer *------------------------------* *Synapticon* | Cyber-Physical System Solutions Mobile: Direct: +49 151 / 638 646 73 +49 7335 / 186 999 21 Fax: +49 7335 / 186 999 1 synapticon.com <http://www.synapticon.com/> | @synapticon_co<https://twitter.com/#!/synapticon_co> Synapticon GmbH | Hohlbachweg 2 | 73344 Gruibingen, DE Secretary +49 7335 / 186 999 0 | General Manager: Nikolai Ensslen Registry Court Ulm HRB 725114 | USt-ID DE271647127 This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your system. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
