2010-02-14 16:14:32

by 杨城

[permalink] [raw]
Subject: apply chip ID

Hello everybody,

My English very weak, can read don't write. My apply add new arm
chips ID, patch file in appendix. TKS

>From 5986e814ba1745b9371de943ce18e29147361bac Mon Sep 17 00:00:00 2001
From: Gump Yang <[email protected]>
Date: Fri, 12 Feb 2010 23:12:21 +0800
Subject: [PATCH 05/10] apply anyka chip ID
MIME-Version: 1.0
Content-Type: text/plain; charset=gbk
Content-Transfer-Encoding: 8bit

Signed-off-by: Gump Yang <[email protected]>
---
arch/arm/tools/mach-types | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
index 07b976d..629b858 100644
--- a/arch/arm/tools/mach-types
+++ b/arch/arm/tools/mach-types
@@ -2635,3 +2635,4 @@ hw90240 MACH_HW90240 HW90240 2648
dm365_leopard MACH_DM365_LEOPARD DM365_LEOPARD 2649
mityomapl138 MACH_MITYOMAPL138 MITYOMAPL138 2650
scat110 MACH_SCAT110 SCAT110 2651
+ak780x MACH_AK780X AK780X 2557
+ak880x MACH_AK880X AK880X 2558
\ No newline at end of file
--
1.6.6.1



Gump Yang


Attachments:
0005-CPU.patch (898.00 B)

2010-02-14 19:41:12

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: apply chip ID

On Mon, Feb 15, 2010 at 12:14:08AM +0800, 杨城 wrote:
> diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
> index 07b976d..629b858 100644
> --- a/arch/arm/tools/mach-types
> +++ b/arch/arm/tools/mach-types
> @@ -2635,3 +2635,4 @@ hw90240 MACH_HW90240 HW90240 2648
> dm365_leopard MACH_DM365_LEOPARD DM365_LEOPARD 2649
> mityomapl138 MACH_MITYOMAPL138 MITYOMAPL138 2650
> scat110 MACH_SCAT110 SCAT110 2651
> +ak780x MACH_AK780X AK780X 2557
> +ak880x MACH_AK880X AK880X 2558

This file is periodically replaced; as such taking patches for the file is
senseless.

Moreover, your two additions refer to a number which is already allocated
and in use for bcmring_evm_jazz and bcmring_sp - you can not use these
numbers.

2010-02-15 00:58:51

by 杨城

[permalink] [raw]
Subject: Re: apply chip ID

2010/2/15 Russell King - ARM Linux <[email protected]>:
> On Mon, Feb 15, 2010 at 12:14:08AM +0800, 杨城 wrote:
>> diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
>> index 07b976d..629b858 100644
>> --- a/arch/arm/tools/mach-types
>> +++ b/arch/arm/tools/mach-types
>> @@ -2635,3 +2635,4 @@ hw90240 MACH_HW90240 HW90240 2648
>> dm365_leopard MACH_DM365_LEOPARD DM365_LEOPARD 2649
>> mityomapl138 MACH_MITYOMAPL138 MITYOMAPL138 2650
>> scat110 MACH_SCAT110 SCAT110 2651
>> +ak780x MACH_AK780X AK780X 2557
>> +ak880x MACH_AK880X AK880X 2558
>
> This file is periodically replaced; as such taking patches for the file is
> senseless.
>
> Moreover, your two additions refer to a number which is already allocated
> and in use for bcmring_evm_jazz and bcmring_sp - you can not use these
> numbers.
>

Hello Russell, sorry, i mean that get to obtain two ID. so I modify the patch.

>From 5986e814ba1745b9371de943ce18e29147361bac Mon Sep 17 00:00:00 2001
From: Gump Yang <[email protected]>
Date: Fri, 12 Feb 2010 23:12:21 +0800
Subject: [PATCH 05/10] apply anyka chip ID
MIME-Version: 1.0
Content-Type: text/plain; charset=gbk
Content-Transfer-Encoding: 8bit

Signed-off-by: Gump Yang <[email protected]>
---
arch/arm/tools/mach-types | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
index 07b976d..629b858 100644
--- a/arch/arm/tools/mach-types
+++ b/arch/arm/tools/mach-types
@@ -2635,3 +2635,4 @@ hw90240 MACH_HW90240 HW90240 2648
dm365_leopard MACH_DM365_LEOPARD DM365_LEOPARD 2649
mityomapl138 MACH_MITYOMAPL138 MITYOMAPL138 2650
scat110 MACH_SCAT110 SCAT110 2651
+ak780x MACH_AK780X AK780X 2652
+ak880x MACH_AK880X AK880X 2653
\ No newline at end of file
--
1.6.6.1


Attachments:
0005-CPU.patch (898.00 B)

2010-02-15 02:19:13

by Haojian Zhuang

[permalink] [raw]
Subject: Re: apply chip ID

On Mon, Feb 15, 2010 at 8:58 AM, 杨城 <[email protected]> wrote:
> 2010/2/15 Russell King - ARM Linux <[email protected]>:
>> This file is periodically replaced; as such taking patches for the file is
>> senseless.
>>
>> Moreover, your two additions refer to a number which is already allocated
>> and in use for bcmring_evm_jazz and bcmring_sp - you can not use these
>> numbers.
>>
>
> Hello Russell, sorry, i mean that get to obtain two ID. so I modify the patch.
>
>
> diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
> index 07b976d..629b858 100644
> --- a/arch/arm/tools/mach-types
> +++ b/arch/arm/tools/mach-types
> @@ -2635,3 +2635,4 @@ hw90240                   MACH_HW90240            HW90240                 2648
> dm365_leopard           MACH_DM365_LEOPARD      DM365_LEOPARD           2649
> mityomapl138            MACH_MITYOMAPL138       MITYOMAPL138            2650
> scat110                 MACH_SCAT110            SCAT110                 2651
> +ak780x                 MACH_AK780X             AK780X                  2652
> +ak880x                 MACH_AK880X             AK880X                  2653
> \ No newline at end of file
> --
> 1.6.6.1
>

Hi Yang,

Please follow the steps provided by Stefan. Append your machine ID at here (
http://www.arm.linux.org.uk/developer/machines/). It's the only right
way to register machine ID in arm tree. Don't generate any patch on
ID. It's generated by scripts.

Thanks
Haojian

2010-02-15 03:33:11

by 杨城

[permalink] [raw]
Subject: Re: apply chip ID

2010/2/15 Haojian Zhuang <[email protected]>:
> On Mon, Feb 15, 2010 at 8:58 AM, 杨城 <[email protected]> wrote:
>> 2010/2/15 Russell King - ARM Linux <[email protected]>:
>>> This file is periodically replaced; as such taking patches for the file is
>>> senseless.
>>>
>>> Moreover, your two additions refer to a number which is already allocated
>>> and in use for bcmring_evm_jazz and bcmring_sp - you can not use these
>>> numbers.
>>>
>>
>> Hello Russell, sorry, i mean that get to obtain two ID. so I modify the patch.
>>
>>
>> diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types
>> index 07b976d..629b858 100644
>> --- a/arch/arm/tools/mach-types
>> +++ b/arch/arm/tools/mach-types
>> @@ -2635,3 +2635,4 @@ hw90240 MACH_HW90240 HW90240 2648
>> dm365_leopard MACH_DM365_LEOPARD DM365_LEOPARD 2649
>> mityomapl138 MACH_MITYOMAPL138 MITYOMAPL138 2650
>> scat110 MACH_SCAT110 SCAT110 2651
>> +ak780x MACH_AK780X AK780X 2652
>> +ak880x MACH_AK880X AK880X 2653
>> \ No newline at end of file
>> --
>> 1.6.6.1
>>
>
> Hi Yang,
>
> Please follow the steps provided by Stefan. Append your machine ID at here (
> http://www.arm.linux.org.uk/developer/machines/). It's the only right
> way to register machine ID in arm tree. Don't generate any patch on
> ID. It's generated by scripts.
>
> Thanks
> Haojian
>

Haojian, Thanks.