Hi mipsbookers,
Update with respect to sound issue.
When using chroot from USB stick , then we have the kernel stuck problem occure
less.
It looks like the stuck problem with sound in kernel 2.6.24.3 could be related
to SD card (MMC) in combination with jz_i2s (AIC).
This leads towards IRQ/DMA to be the rootcause of the kernel stuck, but it
could be something else....
Therefore it would help to change the AIC IRQ/DMA to 0/32 1/33 and MMC IRQ/DMA
to 2/34 3/35 to try out, same setup as kernel 2.4.20.
I have tried to modify the board-minipc.c , dma.c and irq.c untill now without
success.
Any help/advice anyone ?
Grt Ruben.
From: r_vi...@hotmail.com
To: h...@goldelico.com; mipsbook-devel@linuxtogo.org
Date: Thu, 13 May 2010 10:16:42 +0000
Subject: [Mipsbook-devel] 2.6.24-Kernel Status versus old kernelarij
Hi Nikolaus et all,
Update report related to the kernel 2.6.24.3.
1) Great progress @t http://projects.goldelico.com/p/letux-400/ !
1a) Touchpad , shutdown and rtc works !
1b) I do not see the lcd moving anymore, so this maybe related to my local
modified sources/sound driver.
1c) my previous RTC problem (low voltage error) was related to 'loose soldered'
corner pin of the LPC915, after resoldering the rtc updated driver works
without any problem so far. ;-) I needed to add /dev/rtc0 c 254 0 to read and
write the hwclock. (On previous hacked driver it was /dev/rtc c 10 135)
2) Issue with sound driver ak4642en/jz_i2s.
2a)I have tried latest patches from ingenic and qi-hardware, these still cause
the hang-up with 2.6.24.3 kernel(after fixing the skytone setup first and use
esound in debian etch or lenny).
Compared to kernel 2.4 it shows the difference in IRQ and DMA. To debug/solve
the issue we could try to change DMA/IRQ to the same setup as on previous
kernel. Sound driver to be changed to DMA/IRQ 0/32 and DMA/IRQ 1/33. (instead
of 2/34, 3/35)
Does anyone know an easy way to do this ?
3) Some general comments on compiling mods:
3a)
For the depmod modules the letux-400 sources compiles with
2.6.24.3-xxxxxxxx-dirty.
Changing include/config/kernel.release and /include/linux/utsrelease.h does not
help.
I overruled it by changing below line in the Makefile:
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
to
KERNELRELEASE = 2.6.24.3
3b)
Mipsel gcc 4.3 and 4.4 give sometimes compiling errors on debian-mipsel-lenny
distro's.
So I modified below part to compile with 4.1.2
CC = $(CROSS_COMPILE)gcc -V 4.1
3c) On Nils setup, msoft-float is used, you can try-out to see if this have
positive effect on speed.
CC = $(CROSS_COMPILE)gcc -V 4.1 -msoft-float
4) For old kernelarij info look at below topic (it's in dutch, bable fish ;-))
http://trendtac.hyves.nl/forum/2255460/lDh-/kernelarij/?threadsortmethod=1
5) If your nand distro is damaged easiest way is to restore via regular
recovery
Some info of trendtac uboot + recovery on the net.
http://www.trendtac.nl/recovery.html
http://members.home.nl/janrinze/trendtac.html
http://linuxlaptopforum.ark2webdesign.co.uk/index.php?action=printpage;topic=592.0
You can also put your own made working recovery.tar.bz2 and rename it to
Recovery_xxx.img.
6) Make a 2.6.24.3 kernel working on nand.
Mount the /dev/mtdblock4 (=nand1) or /dev/mtdblock5 (nand2) and tar xvjf the
Recovery_xxx.img. If your nand is damaged, you also need the flash_erase_all
before tarring.
Then we can make our own dual boot kernel to boot from nand by changing the
kernel boot cmdline from /dev/mmcblk0p2 to /dev/mtdblock4 or /dev/mtdblock5 !
Nands are 1GB each, debian lenny will not fit, for this I am sticky to use 8GB
SD card.
7) Speed experiences with window managers on trendtac kernel 2.6.24.3
Running relative slow
Gnome
LXDE
ICEwm
XFCE
Running fine:
fluxbox
matchbox
jwm
Grt Ruben.
Ps. I will try to log on now and then at irc freenode #mipsbook, this brings
back old school memories ;-)
New Windows 7: Simplify what you do everyday. Find the right PC for you.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel