Re: implementing "suspend to ram" on cortex A8 based on linux 3.0.8 |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: implementing "suspend to ram" on cortex A8 based on linux 3.0.8
- From: Barry Song <21cnbao@xxxxxxxxx>
- Date: Tue, 13 Mar 2012 22:34:18 +0800
- Cc: Chenglie He <chengjie.he@xxxxxxxxxx>, Robert Lee <rob.lee@xxxxxxxxxx>, nicolas.pitre@xxxxxxxxxx, venki@xxxxxxxxxx, linaro-dev@xxxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, tony@xxxxxxxxxxx, linux@xxxxxxxxxxxxxxxx, ccross@xxxxxxxxxx, kernel@xxxxxxxxxxxxxx, khilman@xxxxxx, kgene.kim@xxxxxxxxxxx, magnus.damm@xxxxxxxxx, arnd.bergmann@xxxxxxxxxx, jon-hunter@xxxxxx, len.brown@xxxxxxxxx, patches@xxxxxxxxxx, nsekhar@xxxxxx, rjw@xxxxxxx, Baohua.Song@xxxxxxx, linux-omap@xxxxxxxxxxxxxxx, linux@xxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, deepthi@xxxxxxxxxxxxxxxxxx, g.trinabh@xxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lethal@xxxxxxxxxxxx
- In-reply-to: <CAFawwkVuCTijwLr6UWVRh9XNGCt-8brr2f4aDrpM_YwkWSGP+A@mail.gmail.com>
hi yang,
在 2012年3月10日 下午10:37,yang gqyang <hustgqyang@xxxxxxxxx> 写道:
> Thanks for your comment.
> Finally, i find out that i made a mistake. The uart(8250) have not been
> restore after resume, instead, it use the configuration got from boot. The
> uart have not been restored correctly, so that "ls" can not output result
> correctly resulting in it seems that the busybox can not work correctly.
> Now, i still have a question about the uart: why the "printk" can work
> correctly, but the "printf" not?
>
> Before this, i believe that the "printk" work correctly, then the uart
> work ok. but now, i need more reconsidaration about
> the relation between the "printk", "printf" and "uart".
> Can anyone give me some suggestion? Any comment is welcome, thanks a
> lot.
printk use "struct console" driver, it doesn't depend on a device node
for userspace.
printf actaully depends on uart_driver and a /dev/ttySx device node,
stdout and stderr are redirected to /dev/ttySx
uart is just a hardware which can be a tty or kernel console output.
>
>
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Arm (vger)]
[ARM Kernel]
[ARM MSM]
[Linux Tegra]
[Maemo Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]