hal/arm: Add Zynq v3.5.7 patches
PATCH 1/1 hal/arm: Add Zynq v3.5.7 patches
Xilinx Zynq is already supported in the mainline Xenomai git repository. This patch adds support for the v3.5.7 Linux Kernel with the latest arm-6 i-pipe patch additionally to the already present v3.8 support.
--- ksrc/arch/arm/patches/README | 14 +- .../patches/zynq/ipipe-core-3.5.7-zynq-post.patch | 941 + .../patches/zynq/ipipe-core-3.5.7-zynq-pre.patch | 30351 +++++++++++++++++++ 3 files changed, 31305 insertions(+), 1 deletion(-) create mode 100644 ksrc/arch/arm/patches/zynq/ipipe-core-3.5.7-zynq-post.patch create mode 100644 ksrc/arch/arm/patches/zynq/ipipe-core-3.5.7-zynq-pre.patch
ksrc/arch/arm/patches/README +13 -1
@@ -76,7 +76,7 @@ From [5]: 2- apply raspberry/ipipe-core-3.8.13-raspberry-post-2.patch 3- you can resume to generic installation instructions. ----- Zynq +---- Zynq (v3.8) 1- Checkout the xilinx-v14.5 tag (6a0bedad60e2bca8d9b50bf81b9895e29e31a6d7) from [6]
@@ -85,6 +85,18 @@ From [5]: 4- apply ipipe-core-3.8-zynq-post.patch 5- you can resume to generic installation instructions. +---- Zynq (v3.5.7) + +1- Checkout the git commit ID abfadbffda8e44b4e4a3695b441d10bd82cc0520 + from [6]. + Note: This is intentionally not an official Xilinx tag but a + special commit ID since this is the latest update to the Xilinx + v3.5 kernel. +2- apply ipipe-core-3.5.7-zynq-pre.patch +3- apply ipipe-core-3.5.7-arm-6.patch +4- apply ipipe-core-3.5.7-zynq-post.patch +5- you can resume to generic installation instructions. + -- External links [1] http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git
ksrc/arch/arm/patches/zynq/ipipe-core-3.5.7-zynq-post.patch new file +941 -0
941 lines not on this page · raw message
ksrc/arch/arm/patches/zynq/ipipe-core-3.5.7-zynq-pre.patch new file +30351 -0
2,033 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.5.2
Part of the diff is not shown here. View the raw message.
Quoted 3 lines · Stefan Roese
Xilinx Zynq is already supported in the mainline Xenomai git repository. This patch adds support for the v3.5.7 Linux Kernel with the latest arm-6 i-pipe patch additionally to the already present v3.8 support.
Sorry, I can not take these patches:
- they contain changes in the I-pipe core not related to the Zynq architecture, these should be submitted separately as patches to the I-pipe git itself;
- they contain changes in the Linux code, not related to Zynq either, probably due to a mismatch between the stable revision you are using. In order to use a more recent revision, please post a patch modifying the I-pipe git to use that more recent stable revision;
- they contain a defconfig file, if you want to make that file available, please put it to some ftp or http server somewhere and put the URL in the readme;
Really, the pre and post patches should be short, here they are enormous.
Signature · 1 line
Gilles.
Quoted 9 lines · Gilles Chanteperdrix
Quoted 3 lines · Stefan Roese
Xilinx Zynq is already supported in the mainline Xenomai git repository. This patch adds support for the v3.5.7 Linux Kernel with the latest arm-6 i-pipe patch additionally to the already present v3.8 support.
Sorry, I can not take these patches:
- they contain changes in the I-pipe core not related to the Zynq architecture, these should be submitted separately as patches to the I-pipe git itself;
Okay.
Quoted 4 lines
- they contain changes in the Linux code, not related to Zynq either, probably due to a mismatch between the stable revision you are using. In order to use a more recent revision, please post a patch modifying the I-pipe git to use that more recent stable revision;
Its the other way around. The Xilinx code is based on Linux v3.5. And the i-pipe patch is based on v3.5.7. So the pre-patch also includes the move for the xilinx code from v3.5 to v3.5.7.
Quoted 3 lines
- they contain a defconfig file, if you want to make that file available, please put it to some ftp or http server somewhere and put the URL in the readme;
Okay.
Quoted 1 line
Really, the pre and post patches should be short, here they are enormous.
Mostly because of the v3.5 -> v3.5.7 move for the Xilinx code. Should I post this v3.5 -> v3.5.7 diff as a separate patch?
Thanks,
Stefan
Quoted 26 lines · Stefan Roese
Quoted 9 lines · Gilles Chanteperdrix
Quoted 3 lines · Stefan Roese
Xilinx Zynq is already supported in the mainline Xenomai git repository. This patch adds support for the v3.5.7 Linux Kernel with the latest arm-6 i-pipe patch additionally to the already present v3.8 support.
Sorry, I can not take these patches:
- they contain changes in the I-pipe core not related to the Zynq architecture, these should be submitted separately as patches to the I-pipe git itself;Okay.
Quoted 4 lines
- they contain changes in the Linux code, not related to Zynq either, probably due to a mismatch between the stable revision you are using. In order to use a more recent revision, please post a patch modifying the I-pipe git to use that more recent stable revision;
Its the other way around. The Xilinx code is based on Linux v3.5. And the i-pipe patch is based on v3.5.7. So the pre-patch also includes the move for the xilinx code from v3.5 to v3.5.7.
Quoted 3 lines
- they contain a defconfig file, if you want to make that file available, please put it to some ftp or http server somewhere and put the URL in the readme;
Quoted 7 lines
Okay.
Quoted 1 line
Really, the pre and post patches should be short, here they are enormous.
Mostly because of the v3.5 -> v3.5.7 move for the Xilinx code. Should I post this v3.5 -> v3.5.7 diff as a separate patch?
One solution would be to dig the 3.5.0 patches from the I-pipe git, but that would mean backporting changes that were done later, and having to retest with 3.5 instead of 3.5.7.
Another solution would be to get the Xilinx tree updated, and send patches to that updated tree. If you can publish your updated git tree for the Xilinx tree, then base your pre- and post- patches on that updated git tree (it simply means that the README will contain references to the git tree you publish instead of Xilinx tree, so, it will not be much more complicated for users, they already have to use git anyway).
So all in all, if you do not want to bother, we will keep things like you did.
Regards?
Signature · 1 line
Gilles.
Quoted 12 lines · Gilles Chanteperdrix
Quoted 12 lines
Its the other way around. The Xilinx code is based on Linux v3.5. And the i-pipe patch is based on v3.5.7. So the pre-patch also includes the move for the xilinx code from v3.5 to v3.5.7.
Quoted 3 lines
- they contain a defconfig file, if you want to make that file available, please put it to some ftp or http server somewhere and put the URL in the readme;
Okay.
Quoted 1 line
Really, the pre and post patches should be short, here they are enormous.
Quoted 7 lines
Quoted 3 lines
Mostly because of the v3.5 -> v3.5.7 move for the Xilinx code. Should I post this v3.5 -> v3.5.7 diff as a separate patch?
One solution would be to dig the 3.5.0 patches from the I-pipe git, but that would mean backporting changes that were done later, and having to retest with 3.5 instead of 3.5.7.
Hmmm. I really would not want to move from an already well tested "stable" 3.5.7 version back to v3.5.
Quoted 2 lines
Another solution would be to get the Xilinx tree updated, and send patches to that updated tree.
Its very unlikely that this will happen. As Xilinx is not actively maintaining older Linux versions once development has switched to a newer one. So I don't expect them to accept patches to v3.5.
Quoted 6 lines
If you can publish your updated git tree
for the Xilinx tree, then base your pre- and post- patches on that updated git tree (it simply means that the README will contain references to the git tree you publish instead of Xilinx tree, so, it will not be much more complicated for users, they already have to use git anyway).
That's something I could do. Publish a git repository with the Xilinx v3.5 sources and the v3.5 -> v3.5.7 patch on-top. And re-base my pre- and post-patches (trimmed down, without the defconfig) for this git repository. I'll try to send an updated patch next week.
Thanks,
Stefan