Hi Gautam,

mind entropy wrote:
> > > > > > You should take a look into the "series" file, then you will see,
> > > > > > what patches are stable patches and what patches are (still)
> > > > > > relevant for the Mini2440.
> > > > >
> > > > > Checked the series file for the 3.9 and as an example I picked
> > > > > add_buzzer.diff . I did a patch -p1 < add_buzzer.diff and I get
> > > > >
> > > > > patching file arch/arm/mach-s3c24xx/mach-mini2440.c
> > > > > Hunk #1 succeeded at 501 with fuzz 1 (offset -100 lines).
> > > > > Hunk #2 FAILED at 626.
> > > > > Hunk #3 succeeded at 682 (offset -106 lines).
> > > > > 1 out of 3 hunks FAILED -- saving rejects to file
> > > > > arch/arm/mach-s3c24xx/mach-mini2440.c.rej
> > > > >
> > > > > Am I doing something wrong here?
> > > >
> > > > Yes. Learn how to work with patch series.
> > >
> > > Done.  Learnt about quilt and applied the patches. Patched and booted.
> > > :) Can hear the buzzer also!
>
> I am not getting any output to the LCD though. I have a sony X35 LCD My
> uboot bootargs value is
> bootargs=mini2550=5tb rootfstype=ext3 root=/dev/mmcblk0p2 rw
> bootdelay=rootwait ip=dhcp console=tty0

The Mini2440 platformcode uses a kernel parameter called "mini2440" and 
not "mini2550" to control the LCD.

> I have created a /dev/fb0 and my /sys shows the LCD details What other
> device node creations I have to create for this?

Don't create device nodes manually. If a device is found by its matching 
driver the device node gets created automatically. If not, there will be no 
device node and manually creating one does *not* help.

> I manually created /dev/tty* files in the chroot and when I booted the
> device I don't see those files.

Sure. dev/ is a RAM filesystem.

> What seems to be wrong? 

Don't create device nodes manually! They are useless, because there is no 
device/driver pair in the background.

If you want virtual TTYs you must enable them in the kernel.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to