Adrian McMenamin | 2 Jul 00:45 2007

2.6.22-rc7

Builds and boots on the Dreamcast. Familiar warnings about the _init
mismatches on the build, but runs fine

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Early printk problem

Hi there,

Still porting 2.6.22 to run on SH7720. I have a problem getting early
printk running.

Because of the "early_param" macro at the end of early_printk.c,
setup_early_printk should get invoked by 
parse_early_param in setup.c if the kernel command line contains
earlyprintk=.
However it won't get called on my system. I put a ctrl_outb in
setup_early_printk, which switches on a led, but nothing happend.

Any ideas? Can anybody confirm that early_printk works in 2.6.22-rc{5,7}
?

Regards

Markus

Ps: Luckily I managed to get "late" printk working and was able to fix
an Oops which led to a kernel panic. So Linux 2.6 runs on SH7720 now. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Alexis Polti | 5 Jul 09:36 2007
Picon
Picon

linux-sh wiki down ?

Hello !

   The linux-sh wiki (http://www.linux-sh.org/) seems to be unavailable 
for several weeks now. Is it available at another location ? Or is there 
any backup ?

Thanx,

Alexis

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Device Drivers for SH devices

Hi,

I'm looking for drivers for the sh3 onchip devices. I have only scif
functional by now in 2.6. Most of the onchip devices were supportet in
2.4, but the drivers were never in vanilla.

I have drivers for the following SH7720 onchip devices, but only for 2.4
usb-host, which was based on the generic usb-ohci.c
usb-gadget, is also listet on the usb-gadget site, but seems to be 2.4
only
LCD controller (found nowhere else)

Does anybody know if there are recent versions of these drivers?

I also had the smsc9115 ethernet controller working in 2.4 with the sh3
driver from the smsc homepage. There is a SMSC911X driver in 2.6, but it
is only for Xscale (ARCH_PXA), has anybody already portet it on SH? 
STLinux has a 2.6 port of the driver from SMSC included in their kernel,
but a driver, already in vanilla would be nice.

Regards

Markus

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
(Continue reading)

Kristoffer Ericson | 6 Jul 15:10 2007
Picon

Re: linuxsh-dev Digest, Vol 38, Issue 3

Paul is away for another couple of days, he will surely fix that once he gets back. (Also for all the people wondering why there's no reply to questions)

2007/7/5, linuxsh-dev-request <at> lists.sourceforge.net <linuxsh-dev-request <at> lists.sourceforge.net>:
Send linuxsh-dev mailing list submissions to
        linuxsh-dev <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
         https://lists.sourceforge.net/lists/listinfo/linuxsh-dev
or, via email, send a message with subject or body 'help' to
         linuxsh-dev-request <at> lists.sourceforge.net

You can reach the person managing the list at
        linuxsh-dev-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of linuxsh-dev digest..."


Today's Topics:

   1. linux-sh wiki down ? (Alexis Polti)


----------------------------------------------------------------------

Message: 1
Date: Thu, 05 Jul 2007 09:36:46 +0200
From: Alexis Polti <polti <at> enst.fr>
Subject: linux-sh wiki down ?
To: linux-sh < linuxsh-dev <at> lists.sourceforge.net>
Message-ID: <468C9F8E.2010202 <at> enst.fr>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hello !

   The linux-sh wiki ( http://www.linux-sh.org/) seems to be unavailable
for several weeks now. Is it available at another location ? Or is there
any backup ?

Thanx,

Alexis




------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------

_______________________________________________
linuxsh-dev mailing list
linuxsh-dev <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsh-dev


End of linuxsh-dev Digest, Vol 38, Issue 3
******************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linuxsh-dev mailing list
linuxsh-dev <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsh-dev
Manuel Lauss | 6 Jul 16:50 2007
Picon

Re: Device Drivers for SH devices

Hi,

> I'm looking for drivers for the sh3 onchip devices. I have only scif
> functional by now in 2.6. Most of the onchip devices were supportet in
> 2.4, but the drivers were never in vanilla.
> 
> I have drivers for the following SH7720 onchip devices, but only for 2.4
> usb-host, which was based on the generic usb-ohci.c
> usb-gadget, is also listet on the usb-gadget site, but seems to be 2.4
> only
> LCD controller (found nowhere else)
> 
> Does anybody know if there are recent versions of these drivers?

Free drivers for recent Linux kernels are almost non-existant;
fortunately the datasheets are quite good (compared to other embedded SoCs I'm
working with..) and writing linux drivers isn't that hard ;-)

That said, did you have a look at the CE-Linux tree(s)?

> I also had the smsc9115 ethernet controller working in 2.4 with the sh3
> driver from the smsc homepage. There is a SMSC911X driver in 2.6, but it
> is only for Xscale (ARCH_PXA), has anybody already portet it on SH? 

Have a look at the smc91x.h which works in similar ways:
in theory you have to add something like this (if your board
has the chip on a 16bit bus) to the smc911x.h file:

#ifdef CONFIG_MY_SH_BOARD
#define SMC_USE_16BIT	1
#endif

Then register a platform device for the "smc911x" device with appropriate
MMIO and IRQ in the board setup code.

	Manuel Lauss

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Paul Mundt | 5 Jul 18:10 2007

Re: 2.6.22-rc7

On Sun, Jul 01, 2007 at 11:45:47PM +0100, Adrian McMenamin wrote:
> Builds and boots on the Dreamcast. Familiar warnings about the _init
> mismatches on the build, but runs fine
> 
Current git should have all of the machvec mismatches resolved, so it
should just be the pvr2fb bits that are outstanding.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Paul Mundt | 5 Jul 18:12 2007

Re: linux-sh wiki down ?

On Thu, Jul 05, 2007 at 09:36:46AM +0200, Alexis Polti wrote:
>    The linux-sh wiki (http://www.linux-sh.org/) seems to be unavailable 
> for several weeks now. Is it available at another location ? Or is there 
> any backup ?
> 
Conveniently it fell over right after I left for OLS, and as I'm still
traveling, I haven't had a chance to bring it back online. I'll be back
in Japan on the 11th, so it should be back up then.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Paul Mundt | 6 Jul 19:25 2007

Re: Device Drivers for SH devices

On Fri, Jul 06, 2007 at 01:20:04PM +0200, EXTERNAL Brunner Markus (Praktikant;  ST-FIR/Eng) wrote:
> I have drivers for the following SH7720 onchip devices, but only for 2.4
> usb-host, which was based on the generic usb-ohci.c
> usb-gadget, is also listet on the usb-gadget site, but seems to be 2.4
> only
> LCD controller (found nowhere else)
> 
> Does anybody know if there are recent versions of these drivers?
> 
The USB drivers I don't know about, there's always been very little in
the way of feedback from people actually using these things on the older
parts. I've added Shimoda-san to the CC, perhaps he has some ideas about
USB support on SH7720.

As for the LCD controller, there are quite a few various implementations
floating around. You might look at something like hitfb to see if you're
able to adapt it for your needs. Porting a 2.4 framebuffer driver to 2.6
is not a lot of work, and those are fairly trivial to merge, the main
thing to remember is that a lot of parts have rather similar controllers,
albeit occasionally with a few differences that make code-sharing more
problematic.

> I also had the smsc9115 ethernet controller working in 2.4 with the sh3
> driver from the smsc homepage. There is a SMSC911X driver in 2.6, but it
> is only for Xscale (ARCH_PXA), has anybody already portet it on SH? 
> STLinux has a 2.6 port of the driver from SMSC included in their kernel,
> but a driver, already in vanilla would be nice.
> 
Use smc91x, it's in use by most of the solution engine boards, the
sh4-202 microdev, and numerous others.

On Fri, Jul 06, 2007 at 04:50:22PM +0200, Manuel Lauss wrote:
> Free drivers for recent Linux kernels are almost non-existant;
> fortunately the datasheets are quite good (compared to other embedded SoCs I'm
> working with..) and writing linux drivers isn't that hard ;-)
> 
This largely goes back to the point that most vendors snapshot an ancient
kernel, focus their product development there, and then toss out a
tarball so they're compliant with the letter of the license.
Surprisingly, this doesn't actually help anyone, and so while we're
easily able to hunt down numerous antiquated drivers in various states of
disarray, it does require a bit of a push or at least rudimentary support
from the vendor in order to get this stuff merged.

We've too often had the situation where a vendor has submitted some
platform code and drivers, it's been merged, and then they're never heard
from again. This leads to a maintenance nightmare, and it's really just
not worth the trouble. This is getting better for some platforms and some
drivers, but it's still something that needs quite a bit of work.

It comes down to development methodology. So, if people want drivers for
their platforms integrated, do your development on a current kernel, work
with community developers rather than against them, and then pull those
back in to your snapshotted product tree rather than trying to push them
out after the fact. If folks can't do that, don't expect to see many
drivers in mainline.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Paul Mundt | 6 Jul 19:32 2007

Re: Conflicting types for '__div64_32'

On Thu, Jun 21, 2007 at 09:45:51PM +0900, Paul Mundt wrote:
> On Thu, Jun 21, 2007 at 07:34:19PM +0900, Katsuya MATSUBARA wrote:
> >  I found an inconsistent declaration
> >  in arch/sh/lib/div-generic.c in 2.6.21.
> > 
> >  the function 'div64_32()' in arch/sh/lib/div64-generic.c
> >  returns a value of u64 type,
> >  but the declaration of that function is
> > 
> >  extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor);
> >         ^^^^^^^^
> >  in include/asm-generic/div64.h
> >  (which is referred by include/asm-sh/div64.h).
> > 
> Yes, div64_32() should be uint32_t, the result is passed back in r0, so
> the u64 thing is pointless. I'll queue up a patch, but probably won't get
> around to looking at it until after OLS.
> 
Pushed out a fix to current git.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Gmane