Support uImage files for the AVR32 architecture
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
Define IH_CPU_AVR32, make it possible to generate AVR32 uImage files with mkimage and make cmd_bootm recognize them.
---
I've already sent this patch three times to the list, and I have still not gotten any response. It is really important for us to know if you intend to merge this or not; until then, there is no point for us to change the architecture ID as there will still be a possibility that someone else comes along and takes it.
Keeping the current AVR32 architecture ID will mean that our version of busybox will be incompatible with the upstream version because it clashes with the Blackfin ID. And the longer it takes before we get an "official" ID, the harder it will be for us to change it.
So if we don't get this issue resolved soon, I see no point in trying to contribute our changes back to you at all. This would be very unfortunate and effectively create an incompatible fork of u-boot with small chances of ever merging in the future.
It's up to you.
Haavard
common/cmd_bootm.c | 3 +++ include/image.h | 1 + tools/mkimage.c | 1 + 3 files changed, 5 insertions(+), 0 deletions(-)
common/cmd_bootm.c +3 -0
@@ -260,6 +260,8 @@ #elif defined(__nios2__) if (hdr->ih_arch != IH_CPU_NIOS2)#elif defined(__blackfin__) if (hdr->ih_arch != IH_CPU_BLACKFIN) +#elif defined(__avr32__) + if (hdr->ih_arch != IH_CPU_AVR32)#else # error Unknown CPU type#endif
@@ -1236,6 +1238,7 @@ #endifcase IH_CPU_INVALID : arch ="Invalid CPU" ;break ;case IH_CPU_ALPHA : arch ="Alpha" ;break ;case IH_CPU_ARM : arch ="ARM" ;break ; +case IH_CPU_AVR32 : arch ="AVR32" ;break ;case IH_CPU_I386 : arch ="Intel x86" ;break ;case IH_CPU_IA64 : arch ="IA64" ;break ;case IH_CPU_MIPS : arch ="MIPS" ;break ;
include/image.h +1 -0
@@ -76,6 +76,7 @@ #define IH_CPU_NIOS 13 /* Nios-32 */#define IH_CPU_MICROBLAZE 14/* MicroBlaze */ #define IH_CPU_NIOS2 15/* Nios-II */ #define IH_CPU_BLACKFIN 16/* Blackfin */ +#define IH_CPU_AVR32 17/* AVR32 */ /* * Image Types
tools/mkimage.c +1 -0
@@ -94,6 +94,7 @@ table_entry_t arch_name[] = { { IH_CPU_SPARC, "sparc", "SPARC", }, { IH_CPU_SPARC64, "sparc64", "SPARC 64 Bit", }, { IH_CPU_BLACKFIN, "blackfin", "Blackfin", }, + { IH_CPU_AVR32, "avr32", "AVR32", }, { -1, "", "", }, };
Signature · 1 line
1.4.1.1
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
Hi Haavard,
Quoted 5 lines · Haavard Skinnemoen
I've already sent this patch three times to the list, and I have still not gotten any response. It is really important for us to know if you intend to merge this or not; until then, there is no point for us to change the architecture ID as there will still be a possibility that someone else comes along and takes it.
Yes, we intend to merge you patches, but I can't tell you right now if they will be accepted as is or if additional changes are required. Wolfgang is on vacation and hopefully we will find the time in the not too far future to catch up with the pending patches.
Quoted 4 lines
Keeping the current AVR32 architecture ID will mean that our version of busybox will be incompatible with the upstream version because it clashes with the Blackfin ID. And the longer it takes before we get an "official" ID, the harder it will be for us to change it.
Is there already an AVR32 architecture ID? I can't see one. It seems you are creating the new ID #17, right? How does it "clash" with the Blackfin ID?
Quoted 4 lines
So if we don't get this issue resolved soon, I see no point in trying to contribute our changes back to you at all. This would be very unfortunate and effectively create an incompatible fork of u-boot with small chances of ever merging in the future.
It could only be a problem, if another architecture ID patch is in our U-Boot patch queue, _before_ your patch is incorporated. I don't have an overview right now, but find it very unlikely.
Sorry for the inconvenience. Please be assured that we really what to change this pending patches dilemma we are in right now.
Best regards,
Stefan
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
----- Original Message -----
From: "Stefan Roese" <[email protected]>
To: <[email protected]>
Cc: "Wolfgang Denk" <[email protected]>; "Haavard Skinnemoen" <[email protected]>
Sent: Friday, September 22, 2006 7:09 PM
Subject: Re: [U-Boot-Users] [PATCH,4th resend] Support uImage files for the AVR32 architecture
Quoted 27 lines
Hi Haavard,
Quoted 5 lines · Haavard Skinnemoen
I've already sent this patch three times to the list, and I have still not gotten any response. It is really important for us to know if you intend to merge this or not; until then, there is no point for us to change the architecture ID as there will still be a possibility that someone else comes along and takes it.
Yes, we intend to merge you patches, but I can't tell you right now if they will be accepted as is or if additional changes are required. Wolfgang is on vacation and hopefully we will find the time in the not too far future to catch up with the pending patches.
Quoted 4 lines
Keeping the current AVR32 architecture ID will mean that our version of busybox will be incompatible with the upstream version because it clashes with the Blackfin ID. And the longer it takes before we get an "official" ID, the harder it will be for us to change it.
Is there already an AVR32 architecture ID? I can't see one. It seems you are creating the new ID #17, right? How does it "clash" with the Blackfin ID?
Quoted 4 lines
So if we don't get this issue resolved soon, I see no point in trying to contribute our changes back to you at all. This would be very unfortunate and effectively create an incompatible fork of u-boot with small chances of ever merging in the future.
Quoted 6 lines
It could only be a problem, if another architecture ID patch is in our U-Boot patch queue, _before_ your patch is incorporated. I don't have an overview right now, but find it very unlikely.
Sorry for the inconvenience. Please be assured that we really what to change this pending patches dilemma we are in right now.
Since this is quite an important patch you could consider giving it priority.
If there is anything about the patch which you do not like, I am sure that you can modify this manually - It is very simple.
In fact, you could just decide to assign an architecture Id to the AVR32 and tell Haavard which to use.
Any forthcoming patch from anyone else using that id, then of course has to be rejected.
Quoted 4 lines
Best regards,
Stefan
Best Regards
Ulf Samuelsson ulf at atmel.com
Atmel Nordic AB
Mail: Box 2033, 174 02 Sundbyberg, Sweden Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29
GSM +46 (706) 22 44 57
Technical support when I am not available:
AT89 C51 Applications Group: mailto:micro.hotline at nto.atmel.com AT90 AVR Applications Group: mailto:avr at atmel.com AT91 ARM Applications Group: mailto:at91support at atmel.com FPSLIC Application Group: mailto:fpslic at atmel.com Best AVR link: www.avrfreaks.net
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
In reply to Stefan RoeseQuoted 9 lines · Stefan Roese
Hi Haavard,
Quoted 5 lines · Haavard Skinnemoen
I've already sent this patch three times to the list, and I have still not gotten any response. It is really important for us to know if you intend to merge this or not; until then, there is no point for us to change the architecture ID as there will still be a possibility that someone else comes along and takes it.
Quoted 4 lines
Yes, we intend to merge you patches, but I can't tell you right now if they will be accepted as is or if additional changes are required. Wolfgang is on vacation and hopefully we will find the time in the not too far future to catch up with the pending patches.
Ok, thanks. I'm not in that much of a hurry getting everything merged, but the architecture ID issue has the potential of becoming a major blocker in the future, so I'd really like to get it resolved as soon as possible.
If you (or Wolfgang) could just reserve an ID for us in some way (for example by adding a comment saying something like "ID #17 is reserved for AVR32"), that would be fine too.
Quoted 7 lines
Quoted 4 lines
Keeping the current AVR32 architecture ID will mean that our version of busybox will be incompatible with the upstream version because it clashes with the Blackfin ID. And the longer it takes before we get an "official" ID, the harder it will be for us to change it.
Is there already an AVR32 architecture ID? I can't see one. It seems you are creating the new ID #17, right? How does it "clash" with the Blackfin ID?
That's true, but we're already shipping development boards with u-boot version 1.1.4 pre-installed (and the source code + patches on CD.) In that version, AVR32 has ID #16, which is the same as the one Blackfin uses in the u-boot git tree.
Changing the AVR32 architecture ID will cause problems for our users, so we'd really prefer to do it as soon as possible, and make sure that it never happens again. That's why this issue is so important for us to get resolved.
Quoted 8 lines
Quoted 4 lines
So if we don't get this issue resolved soon, I see no point in trying to contribute our changes back to you at all. This would be very unfortunate and effectively create an incompatible fork of u-boot with small chances of ever merging in the future.
It could only be a problem, if another architecture ID patch is in our U-Boot patch queue, _before_ your patch is incorporated. I don't have an overview right now, but find it very unlikely.
Ok, I'd really appreciate it if you could try to find out within a week or two.
Quoted 2 lines
Sorry for the inconvenience. Please be assured that we really what to change this pending patches dilemma we are in right now.
Yeah, I understand that you have a huge backlog. Please let me know if there's anything I can do to make things easier for you.
I've requested a public GIT repository hosted by Atmel so that future merges may be less painful. I don't know exactly when it will be up and running, though.
Haavard
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
Quoted 11 lines · On Fri, 22 Sep 2006 19:34:11 +0200 "Haavard Skinnemoen"…
Quoted 8 lines
Quoted 4 lines
So if we don't get this issue resolved soon, I see no point in trying to contribute our changes back to you at all. This would be very unfortunate and effectively create an incompatible fork of u-boot with small chances of ever merging in the future.
It could only be a problem, if another architecture ID patch is in our U-Boot patch queue, _before_ your patch is incorporated. I don't have an overview right now, but find it very unlikely.
Ok, I'd really appreciate it if you could try to find out within a week or two.
So...it's been more than two weeks now. Can you reserve ID #17 (or a different one) for AVR32?
Haavard
Stefan Roese
AppliedPATCH RESEND 1/1 Support uImage files for the AVR32 architecture
In reply to Haavard SkinnemoenQuoted 4 lines · Haavard Skinnemoen
Define
IH_CPU_AVR32, make it possible to generate AVR32 uImage files with mkimage and makecmd_bootmrecognize them.Signed-off-by Haavard Skinnemoen <[email protected]>
Applied. Thanks.
Best regards,
Stefan
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
Quoted 7 lines · On Mon, 9 Oct 2006 14:54:14 +0200 Stefan Roese <[email protected]> wrote:
Quoted 4 lines · Haavard Skinnemoen
Define
IH_CPU_AVR32, make it possible to generate AVR32 uImage files with mkimage and makecmd_bootmrecognize them.Signed-off-by Haavard Skinnemoen <[email protected]>Applied. Thanks.
Ah, thanks a lot! I'll tell all internal users to upgrade as soon as possible.
Haavard
PATCH RESEND 1/1 Support uImage files for the AVR32 architecture
Quoted 2 lines · Haavard Skinnemoen
Ah, thanks a lot! I'll tell all internal users to upgrade as soon as possible.
I'll try to find the time to review and apply the remaining AVR32 patches sometime this week.
Best regards,
Stefan