06-22-2011, 03:52 PM | #1 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Disabling the boot animation
Hi,
I've been trying to stop the boot animation from showing, but for now without any luck. The problem is I don't know how it's started. I've been looking in the init.d folder but can't find anything there. Also looked a bit at the kernel code, but not sure where to search for this code. Does anyone perhaps have any pointers? The ultimate goal is to have the DR shutdown and boot without updating the screen, to make it more book-like. I have the shutdown process figured out, but I'm stuck on the boot animation. Thanks in advance for any ideas. Best regards, Roderick |
06-23-2011, 04:53 AM | #2 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Sadly enough it doesn't look like any known format. |
|
Advert | |
|
06-23-2011, 05:28 AM | #3 |
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
The spinner animation is in the Linux video driver (/drivers/video/irex/delta.c). The splash screen is shown by the bootloader though.
|
06-23-2011, 01:32 PM | #4 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Thanks Iņigo and Gertjan,
Rebuilding the kernel without the animation seems doable, but changing the bootloader setup sounds a bit risky to experiment with. I did poke around a bit though. If I'm correct the DR uses RedBoot as a bootloader and /dev/mtd2 as the location to store the Redboot config. If I dd /dev/mtd2 I get something like: Code:
boot_script delta init delta waves delta erase 15 delta image ifwarm fis load kernel ifwarm exec -c "console=ttymxc0 deltainit=1 root=/dev/mtdblock5 rootfstype=jffs2" fis load kernel_recovery exec -c "console=ttymxc0 deltainit=1" Edit: I tried editing the Redboot config using dd, but it seems to be read-only... Last edited by rvs; 06-25-2011 at 08:05 AM. |
07-20-2011, 07:51 AM | #5 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
I didn't manage to change the bootloader (and also skipped the kernel), but I have found a pretty usable workaround.
I now make a screenshot on shutdown and use this screenshot in an init.d script. It now takes about 15 seconds before the screenshot shows up, not what I was looking for, but still a substantial upgrade from the >1 minute it usually takes to boot. Interestingly, the real boot time also seems to decrease by about 12 seconds. There's only one possibly large downside: the screenshot (>1 MB) is written to the internal memory everytime the DR shuts down, possibly reducing the lifetime of the device. |
Advert | |
|
07-27-2011, 04:18 PM | #6 | |
Addict
Posts: 225
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
|
Quote:
|
|
07-28-2011, 06:57 AM | #7 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
It's a bit more involved than my previous post might make it seem.
You can make a screenshot simply by copying the framebuffer to a file (e.g. cat /dev/fb0 > /usr/share/screenshot.raw). To copy the screenshot back into the framebuffer you do the reverse and do a screen update. For the screen update I made a slightly modified version of the "blank" executable. Then it's a matter of modifying and creating /etc/init.d scripts (in particular the "blank" script) and changing the Irex firmware (the hardest part) to stop updating the screen on boot and shutdown and create the screenshot on shutdown. The reason I copy the screenshot to the internal memory is because the sd-card isn't mounted yet when the init scripts run. I tried mounting the sd-card myself in an init script, but it failed for some reason. If you're really interested and have a developer environment I can post the sources as soon as I've worked out the kinks and cleaned up the code a bit (there are still a few bugs, one of which is that it won't boot on the qemu ). Last edited by rvs; 07-28-2011 at 07:00 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to embed animation in epub | q5485 | ePub | 17 | 05-01-2012 11:41 AM |
Aldiko -- page animation? | Skydog | Android Devices | 4 | 03-15-2011 02:12 PM |
IQ Adroid animation just keeps going. | UrbanNightmare | PocketBook | 8 | 03-08-2011 05:17 PM |
Opus cannot boot, stuck on boot screen | baloma | Bookeen | 35 | 11-13-2010 04:20 AM |
Unutterably Silly As long as we're on about great animation | RickyMaveety | Lounge | 7 | 05-30-2009 05:12 AM |