From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Erwan Lerale <erwan@thiscow.fr>
Cc: loongson-dev@googlegroups.com, yanh@lemote.com,
zhangfx@lemote.com, penglj@lemote.com, huhb@lemote.com,
taohl@lemote.com, linux-mips@linux-mips.org,
Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [loongson-dev] Re: a pre-release of merging loongson patchs to linux-2.6.29.1
Date: Sat, 25 Apr 2009 14:17:28 +0800 [thread overview]
Message-ID: <1240640248.25540.27.camel@falcon> (raw)
In-Reply-To: <49F217E1.8080808@thiscow.fr>
> Hello,
>
>
> The kernel is compiling fine now. I have been using it for a few hours.
>
thanks for your work :-)
> I don't understand why some stuff are not included in
> arch/mips/configs/yeeloong2f_defconfig,
> for example the sound chip or the v4l stuff for the webcam.
>
I just updated the default kernel configuration file for loongson2f
based machines, hope it can help you :-)
> I also had to :
> - add INPUT_EDEV to get the mouse and the keyboard under X (1.6.99.1).
> - compile external wifi modules from
>
> http://www.lemote.com/upfiles/wifi/rtl8187B_linux_26.1049.1215.2008_release2.tar.gz
>
> to get proper Wifi performances (or I had to sit on the access point)
> - get and compile the ec_module stuff from git
> - had the PPP and bluetooth support for my 3G connection that's works
> now with wvdial (thanks robert :))
>
> The box is also complaining when it boots and try to set time :
>
> xiwen ~ (n32) # hwclock --debug
> hwclock from util-linux-ng 2.14.2
> hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
> No usable clock interface found.
> Cannot access the Hardware Clock via any known method.
>
the previous kernel configuration file not include the "Real Time
Clock", so, no /dev/rtc there, so sorry :-)
> I have seen some patches related to system clock in the git tree but i
> don't understand.
>
> What has to be included in the config tree to get suspend/hibernate and
> cpu_freq working ?
* try the following configuration options:
Machine selection --->
[*] Using cs5536's MFGPT as system clock
Power management options --->
[*] Power Management support
[*] Suspend to RAM and standby
[*] Hibernation (aka 'suspend to disk')
(/dev/hda3) Default resume partition
CPU Frequency scaling --->
[*] CPU Frequency scaling
[*] Loongson-2F CPU Frequency driver
* basic user manual(from www.lemote.com):
1. install a shell script
# apt-get install hibernate
2. modify the configuration file /etc/hibernate/common.conf
* find the "UnloadModules" section, modify it like this
UnloadModules r8187 usbhid ohci_hcd ehci_hcd
remove the # before "LoadModules auto"
* modify the "network" section
DownInterfaces eth0
UpInterfaces auto
* modify the "hardware_tweaks" section
remove the # before "FullSpeedCPU yes"
3. prepare a swap partition, by default, it is configured in kernel
as /dev/hda3
change it to yours swap partition in kernel or configure it
via /sys/power/resume, for example:
# fdisk -l | grep swap | cut -d' ' -f1
/dev/sda5
# ls -l /dev/sda5
brw-rw---- 1 root disk 8, 5 2009-04-10 10:26 /dev/sda5
# echo 8:5 > /sys/power/resume
4. resume
pass an argument "resume=/dev/hdaX" to kernel, /dev/hdaX is your swap
partition.
5. try STD
# hibernate-disk
>
> It seems to be linked to the clocking nope ?
>
> Cheers
> Erwan
>
next prev parent reply other threads:[~2009-04-25 6:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 15:42 a pre-release of merging loongson patchs to linux-2.6.29.1 Wu Zhangjin
2009-04-23 18:12 ` [loongson-dev] " Erwan Lerale
2009-04-24 1:09 ` [loongson-dev] " Wu Zhangjin
2009-04-24 6:46 ` Erwan Lerale
2009-04-24 7:03 ` Wu Zhangjin
2009-04-24 19:49 ` Erwan Lerale
2009-04-25 6:17 ` Wu Zhangjin [this message]
2009-04-26 17:20 ` Erwan Lerale
2009-05-19 12:14 ` Erwan Lerale
2009-05-19 14:36 ` 胡洪兵
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240640248.25540.27.camel@falcon \
--to=wuzhangjin@gmail.com \
--cc=erwan@thiscow.fr \
--cc=huhb@lemote.com \
--cc=linux-mips@linux-mips.org \
--cc=loongson-dev@googlegroups.com \
--cc=penglj@lemote.com \
--cc=ralf@linux-mips.org \
--cc=taohl@lemote.com \
--cc=yanh@lemote.com \
--cc=zhangfx@lemote.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.