2007-10-26 05:57:11

by Mikael Starvik

[permalink] [raw]
Subject: Upcomming CRIS patches

Just a heads up that we will now finally start to submit CRIS patches.
The first patches will make CRIS compile in the official tree. Further
patches will then add functionality and correct bugs.

A new machine called Artpec-3 will also be added.

/Mikael and Jepser


2007-10-26 06:16:29

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

On Fri, Oct 26, 2007 at 07:50:41AM +0200, Mikael Starvik wrote:
> Just a heads up that we will now finally start to submit CRIS patches.
> The first patches will make CRIS compile in the official tree. Further
> patches will then add functionality and correct bugs.
>
> A new machine called Artpec-3 will also be added.
>
> /Mikael and Jepser


Great - thanks!
Are there access to a cross-compile chain for i386
somewhere?

Sam

2007-10-26 06:21:57

by Mikael Starvik

[permalink] [raw]
Subject: RE: Upcomming CRIS patches

>Are there access to a cross-compile chain for i386 somewhere?

Sure, that's the only way we do it (CRIS has typically too low performance
and memory to compile anything although it has been shown that it is
possible)

You can find the compiler at
http://www.axis.com/reg/login.php?oldurl=/products/dev_sdk/download_compiler
.php.
Unfortunately you have to register.

The GCC CRIS maintainer is also very active in the GCC comunity.

Best Regards
/Mikael

-----Original Message-----
From: Sam Ravnborg [mailto:[email protected]]
Sent: Friday, October 26, 2007 8:18 AM
To: Mikael Starvik
Cc: [email protected]; Jesper Nilsson
Subject: Re: Upcomming CRIS patches


On Fri, Oct 26, 2007 at 07:50:41AM +0200, Mikael Starvik wrote:
> Just a heads up that we will now finally start to submit CRIS patches.
> The first patches will make CRIS compile in the official tree. Further
> patches will then add functionality and correct bugs.
>
> A new machine called Artpec-3 will also be added.
>
> /Mikael and Jepser


Great - thanks!
Are there access to a cross-compile chain for i386
somewhere?

Sam

2007-10-26 06:23:44

by Robert P. J. Day

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

On Fri, 26 Oct 2007, Mikael Starvik wrote:

> Just a heads up that we will now finally start to submit CRIS
> patches. The first patches will make CRIS compile in the official
> tree. Further patches will then add functionality and correct bugs.
>
> A new machine called Artpec-3 will also be added.

just for the sheer heck of it, here's my current list of CRIS-related
"dead" CONFIG variables you may or may not want to toss before
committing to the main tree:

$ ../find_dead_configs.sh arch/cris

>>>>> ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:38:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:76:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:88:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:107:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:207:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:300:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:334:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:352:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:404:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:414:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/kgdb.c:384:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/kgdb.c:394:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/debugport.c:92:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/debugport.c:169:#elif !defined(CONFIG_ETRAXFS_SIM)
arch/cris/arch-v32/kernel/Makefile:13:obj-$(CONFIG_ETRAXFS_SIM) += vcs_hook.o
arch/cris/arch-v32/mm/init.c:68:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/mm/init.c:87:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/mm/init.c:93:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/drivers/axisflashmap.c:294:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/defconfig:71:# CONFIG_ETRAXFS_SIM is not set
include/asm-cris/arch-v32/processor.h:26:#ifndef CONFIG_ETRAXFS_SIM
include/asm-cris/arch-v32/page.h:14:#ifndef CONFIG_ETRAXFS_SIM
>>>>> ETRAX_KGB_PORT2
arch/cris/arch-v32/kernel/irq.c:32:#elif defined(CONFIG_ETRAX_KGB_PORT2)
>>>>> ETRAX_RTC_READONLY
arch/cris/arch-v32/drivers/pcf8563.c:98:#ifdef CONFIG_ETRAX_RTC_READONLY
arch/cris/arch-v32/drivers/pcf8563.c:230:#ifdef CONFIG_ETRAX_RTC_READONLY
arch/cris/arch-v32/drivers/pcf8563.c:286:#endif /* !CONFIG_ETRAX_RTC_READONLY */
arch/cris/arch-v10/drivers/ds1302.c:308:#ifndef CONFIG_ETRAX_RTC_READONLY
arch/cris/arch-v10/drivers/pcf8563.c:90:#ifdef CONFIG_ETRAX_RTC_READONLY
arch/cris/arch-v10/drivers/pcf8563.c:219:#ifdef CONFIG_ETRAX_RTC_READONLY
arch/cris/arch-v10/drivers/pcf8563.c:271:#endif /* !CONFIG_ETRAX_RTC_READONLY */
>>>>> JULIETTE
arch/cris/mm/init.c:63: * Only map segment 0xa as seg if CONFIG_JULIETTE
arch/cris/arch-v10/kernel/head.S:557:#ifdef CONFIG_JULIETTE
arch/cris/arch-v10/mm/init.c:74:#ifdef CONFIG_JULIETTE
arch/cris/arch-v10/mm/init.c:95:#ifdef CONFIG_JULIETTE
arch/cris/arch-v10/kernel/head.S:119: * * Removed G27 auto-setting when JULIETTE is chosen (need to make this
>>>>> MTD_AMDSTD
arch/cris/arch-v32/drivers/axisflashmap.c:193:#ifdef CONFIG_MTD_AMDSTD
arch/cris/arch-v10/drivers/axisflashmap.c:315:#ifdef CONFIG_MTD_AMDSTD
arch/cris/arch-v10/defconfig:102:CONFIG_MTD_AMDSTD=y
arch/cris/arch-v10/defconfig:148:CONFIG_MTD_AMDSTD=y
arch/cris/defconfig:230:CONFIG_MTD_AMDSTD=y
arch/cris/arch-v32/drivers/Kconfig:366: select MTD_AMDSTD
arch/cris/arch-v10/drivers/Kconfig:609: select MTD_AMDSTD

$ ../find_dead_configs.sh include/asm-cris/

>>>>> ETRAX_ARCH_V32
arch/cris/defconfig:73:# CONFIG_ETRAX_ARCH_V32 is not set
arch/cris/Makefile:18:arch-$(CONFIG_ETRAX_ARCH_V32) := v32
drivers/ide/cris/ide-cris.c:55:#ifdef CONFIG_ETRAX_ARCH_V32
include/asm-cris/etraxgpio.h:37:#ifdef CONFIG_ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:3: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:8: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:16: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:24: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:32: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:40: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:48: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:56: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:120: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:128: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:135: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:144: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:151: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:162: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:171: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:181: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:190: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:204: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:212: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:226: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:234: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:248: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:256: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:270: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:278: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/Kconfig:292: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:3: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:58: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:361: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:378: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:421: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:430: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:448: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:466: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:589: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:601: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:616: depends on ETRAX_ARCH_V32
arch/cris/arch-v32/drivers/Kconfig:623: depends on ETRAX_ARCH_V32
>>>>> ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:38:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:76:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:88:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:107:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:207:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:300:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:334:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:352:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:404:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/head.S:414:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/kgdb.c:384:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/kgdb.c:394:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/debugport.c:92:#ifdef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/kernel/debugport.c:169:#elif !defined(CONFIG_ETRAXFS_SIM)
arch/cris/arch-v32/kernel/Makefile:13:obj-$(CONFIG_ETRAXFS_SIM) += vcs_hook.o
arch/cris/arch-v32/mm/init.c:68:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/mm/init.c:87:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/mm/init.c:93:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/arch-v32/drivers/axisflashmap.c:294:#ifndef CONFIG_ETRAXFS_SIM
arch/cris/defconfig:71:# CONFIG_ETRAXFS_SIM is not set
include/asm-cris/arch-v32/processor.h:26:#ifndef CONFIG_ETRAXFS_SIM
include/asm-cris/arch-v32/page.h:14:#ifndef CONFIG_ETRAXFS_SIM
>>>>> SHARE_SHLIB_CORE
include/asm-cris/eshlibld.h:44: Mainly depends on the config macro CONFIG_SHARE_SHLIB_CORE, but it is
include/asm-cris/eshlibld.h:49: && !defined(CONFIG_SHARE_SHLIB_CORE)

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================

2007-10-26 09:04:45

by Piero Ottuzzi

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

2007/10/26, Mikael Starvik <[email protected]>:
> >Are there access to a cross-compile chain for i386 somewhere?
>
> Sure, that's the only way we do it (CRIS has typically too low performance
> and memory to compile anything although it has been shown that it is
> possible)
>
> You can find the compiler at
> http://www.axis.com/reg/login.php?oldurl=/products/dev_sdk/download_compiler
> .php.
> Unfortunately you have to register.
>

Hi there,

you can download the compiler without registration at [1].

Bye
Piero
[1]http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/

2007-10-26 09:17:31

by Piero Ottuzzi

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

2007/10/26, Piero Ottuzzi <[email protected]>:
> 2007/10/26, Mikael Starvik <[email protected]>:
> > >Are there access to a cross-compile chain for i386 somewhere?
> >
> > Sure, that's the only way we do it (CRIS has typically too low performance
> > and memory to compile anything although it has been shown that it is
> > possible)
> >
> > You can find the compiler at
> > http://www.axis.com/reg/login.php?oldurl=/products/dev_sdk/download_compiler
> > .php.
> > Unfortunately you have to register.
> >
>
> Hi there,
>
> you can download the compiler without registration at [1].
>
> Bye
> Piero
> [1]http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/
>

Or via ftp [ftp://ftp.axis.com/pub/axis/tools/cris/compiler-kit/] if you prefer.

Bye
Piero

--
LKML Times: The Linux Kernel Mailing List newspaper
http://lkmltimes.brucalipto.org/

2007-10-26 11:27:34

by Jesper Nilsson

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

On Fri, Oct 26, 2007 at 02:20:48AM -0400, Robert P. J. Day wrote:
> just for the sheer heck of it, here's my current list of CRIS-related
> "dead" CONFIG variables you may or may not want to toss before
> committing to the main tree:
>
> $ ../find_dead_configs.sh arch/cris
> [...]

Thanks! We'll clear those up in the process.

> rday

Best regards,

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]

2007-10-26 20:39:56

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

Hi Piero.

On Fri, Oct 26, 2007 at 11:04:36AM +0200, Piero Ottuzzi wrote:
>
> you can download the compiler without registration at [1].
>
> Bye
> Piero
> [1]http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/

Downloaded the .gz files and installed them.
When trying to build current cris sources it failed quickly
so I will await the upcoming cris update.

[Complained about the -mlinux flag]

Sam

2007-10-29 21:17:43

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Upcomming CRIS patches

Hi Mikael & Jesper.

> > Just a heads up that we will now finally start to submit CRIS patches.
Any progress on the patch-set for cris?

Sam