Skip to contentSkip to conversation

Adding sparc-leon linux to sourcetree

DISCUSSION Pete Zaitcev 1 participant 2 messages Jan 30, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines

Date: Thu, 30 Jan 2003 14:53:59 +0100
From: Konrad Eisele <[email protected]>

I would like to ask if it would be possible to add arch/sparc-leon as a new architecture to the sourcetree of linux. From 16.12.02 to 16.3.03 I'm employed at the University and by Jiri Gaisler's Gaisler Reasearch to add the MMU that I made as a diploma thesis to the official Leon distiribution (the open source sparc chip). [...]

I think it is a worthy goal to have a generic Linux for a generic LEON, but before I support this particular project, I would like to discuss one thing.

Your VHDL target must be in use by someone long term.
I do not even care if Opencores or whoever accepts it, but there must be a nonzero user base, now and in the future. I do not want to add it then to rip it out like AP-1000. For comparison, a recurring topic on Sparclinux list is a removal of sun4 and even sun4c. I was ready to support David Foulds' MMU before, but it never materialized.

Quoted 3 lines

Almost all the source is a copy from the original sparc distribution of you what I'm basically doing is to write the bootup initialization routines for leon and to throw out the sun hardware stuff.

"Throw out the sun hardware stuff" sounds broken. Look closer at CONFIG_SUN4. So far I do not see why you need a separate architecture. Sure, throwing the stuff away helps you to finish your diploma on time, but then I have to maintain what's left.

Quoted 3 lines

I'm currently adjusting linux for that platform based on linux 2.5.53. I do not know exactly when I willl have a first running kernel, but when I have one then what should I do get it into the sourcetree?

Discuss early, discuss often. Use [email protected] and, perhaps, the Leon list at (bleah!) yahoogroups. Learn to send patches, and be ready to stay as a patch for a while (a year or so). I think Jeff Dike's UML is a model of project management for you (http://user-mode-linux.sourceforge.net/).
He stayed outside AND in close contact while he proved that the project was viable, then Linus took it.

Good luck and send those patches,
-- Pete

#2 lore raw

perl (Was: Adding sparc-leon linux to sourcetree)

In reply to a message not in the archive
Quoted 8 lines

Date: Thu, 30 Jan 2003 14:53:59 +0100
From: Konrad Eisele <[email protected]>

There is also one change I have made on the buildsystem. Because I'm using some perl inline scripts in the $cmd_xxx the >'< and >$< signs in the inline perl scripts cause trouble (perl -e '...$x=....'), the >'< because of the echo command, the >$< when rereading from the xxx..cmd files. Could this be applied to the original file?

First, send a patch, not a chunk of a Makefile.

Second, this is something I defer to Kai, Sam, & Co.

Personally, I am opposed to a use of perl, because it's not installed in my sparc userland, so I would not be able to self-compile a leon or joint kernel. But ultimately this is not my call to decide. At one point, Linus approved Python into the toolchain. So, present good evidence of need and post to lists.

-- Pete