The TS-7300 system disk is the sdcard0. with 3 part :
Part1 is the kernel image in raw data format
Part2 is the initrd image in raw data format
Part3 is the Debian root filesystem in ext2 format (sync + noatime
options)
The bootloader is the first 446 bytes of sector 0
On the boot time, during the INIT,the root file system is checked.
On the power-off, the runlevel 6 is executed and kill all the processes.
The shutdown -h have to be done to ensure the ext2 root file system
intergrity.
All this, take lot of time (several minutes), for a reboot process ...
I design a very small power consumption project on TS7300. I want to
power-off the board when I does'nt use it (with a external
µcontrolor). I need a fast reboot process of only 5sec for a spi
module ..... So, I really need to optimize the TS7300 :-)
I've try to re-compil the ts10 kernel, simplify the initrd, etc.
I envisage now 2 possibilities :
1. Never power-off the board
To do this, I've to consume very low power so I want to use the
stop mode of the ep9302 (only 2mA). The goal is to have something
like the suspend-to-disk of the acpi so save the linux context on
flash and restore it when a external interrupt wake-up the board.
I think it's not possible without a bootloader modification ...
An other solution is to have only a suspend-to-RAM mode, and to
refresh the RAM.
Is-it possible to use the STOP mode with linux?
If not, what's the more economic mode that can use ?
Which consumption can I expect ?
2. Power-off the board when I want
To do this, I think I've to modify the root fs :
First, I should change the ext2 filesystem to the yaffs2
(beacause of the sdcard is NAND flash). The yaffs2 file sytem is
tolerant of power cylces, so I will able to cut the power of the
board.
Thus, Debian is not optimized for embedded linux, and haven't a
fast INIT process. Technologic System have the TS-linux based on
busybox. Perhaps it can be a good choice th have a realy embedded
system.
Is-it a good choice ?
From the initrd, how can I mount a TS-linux sytem ?
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|