Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [iHP120] unexpected behaviour of bootloader

[iHP120] unexpected behaviour of bootloader

From: Denis Stanishevskiy <std.denis_at_gmail.com>
Date: Mon, 02 Apr 2007 13:39:29 +0400

My greetings!

As I wanted to change behaviour of "Bootloader USB mode" of my player
[after USB disconnection it starting up Rockbox instead of shutting
down], I decided to make a custom bootloader. So I got the source code
from current SVN and made a "customization". The only line I've changed
is a call to the "shutdown" function at the end of USB-mode condition:
[quote]
    /* A hack to enter USB mode without using the USB thread */
    if(usb_detect())
    {
        (...)
        shutdown();
    }
[/quote]

Then I've uploaded modified bootloader into my device. Yeah, USB-mode
get worked as I wanted. But starting up of Rockbox into player mode
isn't so easy.
If I just press ON-button ["Play"], it just show me a single line of
text: "shutting down..." and turns off. There are no any "Rockbox boot
loader", "Hold switch on", etc.
I thought it due to low battery level, but after a full charge it still
the same.
I found a solution - pressing of a joystick in some direction
simultaneously with "On"-button. But that solution isn't stable - it
helps me only at each 2nd attempt.
Besides, it's strange that when "shutting down..." message is displaying
the HDD is already spinning.

The reason why I posting here is that I can't understand how it could
happen that the first and the only message is a "shutting down...". As I
can see the code, right after "lcd_init" the message "Rockbox boot
loader" should be shown, but it isn't.
Is there somebody who tried to use the bootloader from current SVN?

best regards,
Received on 2007-04-02


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa