linux-mips
[Top] [All Lists]

Re: sharp mobilon hc-4100

To: Ricardo Mendoza <ricardo.mendoza@kanux.com>
Subject: Re: sharp mobilon hc-4100
From: Volker Jahns <volker@thalreit.de>
Date: Thu, 8 Jul 2004 21:26:25 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <40ED9097.6040800@kanux.com>
Mail-followup-to: Ricardo Mendoza <ricardo.mendoza@kanux.com>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <33009.194.59.120.11.1089291164.squirrel@thalreit.dyndns.org> <40ED9097.6040800@kanux.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
On Thu, Jul 08, 2004 at 02:21:11PM -0400, Ricardo Mendoza wrote:
> Volker Jahns wrote:
> >Linux on Sharp Mobilon HC-4100
> >
> >I would like to have Linux boot on the Sharp HC-4100 and have tried a
> >couple of suitable kernels with the following outcome:
> >

...


> It would help to check your config, I can assure you that the 2.4.17 
> nino code is working, I use it myself but on the nino, it might require 
> some modifications for the Mobilon.

Modifications are certainly a must:

e.g. 2.4.20 in drivers/video/tx3912fb.h thereis _only_  framebuffer definitions 
for the nino:
<pre>
#if defined(CONFIG_NINO_4MB) || defined(CONFIG_NINO_8MB)
#define FB_X_RES       240 
#define FB_Y_RES       320
#if defined(CONFIG_FBCON_CFB4)
#define FB_BPP         4
</pre>

while 2.4.0-test9 carries the _good_ information for the velo 1, velo 500 and 
for the helio ( the code for the nino is missing here). In 
drivers/video/r3912fb.h ( which seems to be the historic version of tx3912fb.h, 
ouch what a chaos :-(
<pre>
#ifdef CONFIG_PHILIPS_VELO
#       ifdef CONFIG_PHILIPS_VELO1
#               define FB_X_RES         480
#       elif defined(CONFIG_PHILIPS_VELO500)
#               define FB_X_RES         640
#       endif
#       define  FB_Y_RES        240
#       ifdef CONFIG_PHILIPS_VELO_4GRAY
#               define FB_BPP   2
#       else /* CONFIG_PHILIPS_VELO_16GRAY */
#               define FB_BPP   4
#       endif
#       define FB_IS_GREY     1
#       define FB_IS_INVERSE  0
#       define VIDEORAM_SIZE  (FB_X_RES * FB_Y_RES * FB_BPP / 8)
</pre>

On the other hand the mobilon needs 
<pre>
#               define FB_X_RES         640
#               define FB_X_RES         240
#               define FB_BPP           4
</pre>

This information ( and what else which might be of interest to make the LCD 
working on this thing) must have get lost on the kernel's way. I really wonder 
where to find a more or less functional version of the kernel code to start 
with.

-- 
Volker Jahns, Volker.Jahns@thalreit.de, http://thalreit.de, DG7PM

<Prev in Thread] Current Thread [Next in Thread>