Speed up boot process from deep stand by
Bri 22 dec 2011
A more simple solution might be to install the OpenPLi software on the internal hard disk. Flash is quite slow, the hard disk should be much faster. I guess the clarke tech bootloader can start linux from internal flash only. So a second boot loader would be necessary. The clarke tech boot loader starts the second boot loader from flash and the second boot loader starts OpenPLi from hard disk. Or maybe the clarke tech bootloader loads only the kernel and some necessary files from flash and all other is read from hard disk later.
What do you think about this? Will it speed up the boot process?
Erik Slagter 22 dec 2011
My dm8000 takes three minutes to boot, I think your stb is probably already much faster.
How about simply keeping it in "standby" instead of powering it off?
Bri 22 dec 2011
First I will try to compile a small version of OpenPLi without the software packages I do not need. (samba, vnc, ...) I think this will speed up the boot process a little bit.
Then I will try to find a way to install OpenPLi on the hard disk.
MiLo 22 dec 2011
First I will try to compile a small version of OpenPLi without the software packages I do not need. (samba, vnc, ...) I think this will speed up the boot process a little bit.
A double "no" is the answer.
No, it will not speed up the boot (or at least - not that you'll notice, it might shave off half a second if you remove everything that starts at boot).
No, you don't need to create your own image. Just remove packages you don't want with "opkg remove ...".
Then I will try to find a way to install OpenPLi on the hard disk.
That will only increase the boot time.
I suggest that you attach a serial cable and take a look at the boot messages to see what's going on.
Dimitrij 22 dec 2011
One minute, is it long?
Where were you before, when the loading takes 2-3 minutes ...
littlesat 22 dec 2011
WanWizard 22 dec 2011
Bri 22 dec 2011
I thought the boot process will need less time if the image is smaller because I thought the whole image ist copied to RAM first and the most time is needed to copy the data. But then I read about JFFS2/UBIFS. (This is the first time I work with embedded linux. Before I used FreeRTOS for my embedded projects.) During my last project I wrote a driver for a NAND flash in combination with a FAT32 file system. For large data transfers the NAND flash was quite fast, but for random access with small pieces of data it was very very slow because a whole page must be read always. I know JFFS2/UBIFS uses caching. However I guess the boot process will be much faster if the root fs is ext2 and copied to RAM before linux starts. An extra partition could be used to store enigma2 settings in the NAND flash. I will try it after christmas. I think I will need some days to understand the boot process to do the necessary modifications.
littlesat 22 dec 2011
If you do not want this then go back to a "normal" box -or- use the normal standby option.
Please note in fact you are booting a "small-PC"....
I do not think that a hibernate option will go faster...
Veranderd door littlesat, 22 december 2011 - 22:32
Hump 22 dec 2011
littlesat 22 dec 2011
MiLo 23 dec 2011
The ET9100 needs 67s until I see a picture. Try to explain this your wife if you spent 350€ for a new cool receiver and your old receiver needed only 5s. ;-)
Be glad you didn't buy the dm8000, then you'd have spent 900€ to boot in over 2 minutes.
MiLo 23 dec 2011
daddelfalk 23 dec 2011
yes, i don't have any noticable and further optimizations for the etxxxx STBs, so i must totally agress with Milo's statement and Soc has not Dual-Threaded, but Dual-Core
Bri 24 dec 2011
Erik Slagter 24 dec 2011
pieterg 24 dec 2011
After reading some tutorials I decided to install the root fs on internal hard disk to speed up the boot process. It needs only minor changes in the kernel configuration. (kernel command line parameters: bmem=216M root=/dev/sda1 rootfstype=ext2 rw console=ttyS0,115200n8 fbcon=font:8x16) The kernel is still loaded from flash but all other data is read from the hard disk. I hope my new hard disk will arrive soon. I have already build the image but I can not test it at the moment.
that is going to save you ~2s ubi attach time
The real timeconsuming part of booting is when e2 starts.