Rockbox Technical Forums

Installation / Removal => Manual Installation => Toshiba - Installation/Removal => Topic started by: snoguy986 on September 05, 2008, 07:50:26 PM

Title: Gigabeat S - Bootloader issues
Post by: snoguy986 on September 05, 2008, 07:50:26 PM
First and foremost, I'm trying to install Rockbox on a Gigabeat S, and I know that at the moment there is no stable way of installing it.  My issue is not with installing the Rockbox firmware itself, its with the nk.bin bootloader firmware that puts the device into disk mode.

Here is the output code that I get when executing the sendfirm command the instructions tell you to enter:
Code: [Select]
[john@fedora MTP]$ ./sendfirm /home/john/Desktop/"Rockbox - Gigabeat S"/nk.bin
libmtp version: 0.2.6.1

PTP: Opening session
LIBMTP PANIC: create_usb_mtp_devices(): could not inspect object property descriptions!
LIBMTP PANIC: create_usb_mtp_devices(): could not inspect object property descriptions!
Sending /home/john/Desktop/Rockbox - Gigabeat S/nk.bin
Sending file...
Progress: 78735 of 78735 (100%)
New file ID: 267386880
PTP: Closing session
ERROR: Could not close session!
inep: usb_get_endpoint_status(): Protocol error
outep: usb_get_endpoint_status(): Protocol error
usb_clear_halt() on IN endpoint: Protocol error
usb_clear_halt() on OUT endpoint: Protocol error
usb_clear_halt() on INTERRUPT endpoint: Protocol error

I have libmtp and libusb (I presume they are relatively current) along with all their dev packages installed.  I'm running Fedora 9 that's currently up-to-date if that matters.  If anyone can can help me or at least point me in the right direction I would really appreciate it.  Thanks.
Title: Re: Gigabeat S - Bootloader issues
Post by: LambdaCalculus on September 05, 2008, 08:03:56 PM
I deleted your other post from the Unsupported Builds section. In the future, make sure to watch where you're posting.

As for your problem, that's a little strange. I've managed to install the bootloader using a Debian-based distro (Ubuntu 7.10 64-bit), but I'm not sure if there may be an odd quirk that Fedora distros have. Are you sure all of the packages are up-to-date?

Perhaps someone who runs Fedora can help you out a little more. Sorry I couldn't be of any further help.
Title: Re: Gigabeat S - Bootloader issues
Post by: snoguy986 on September 05, 2008, 08:16:29 PM
Thanks for deleting the other post.  I've tried running the same command on Ubuntu 8.04 32-bit, and it gave me the same error.  I've done google searches and I even found someone on UbunuForums.org that had posted the same error, but no one had posted any kind of solution or fix for the issue.

I'm basically stuck here until I can get that bootloader installed.  What puzzles me most is that it says that the firmware was sent successfully, but when my player reboots it just comes up with it's "RELOAD FIRMWARE NOW" screen and won't let you go anywhere else.  I'm going to guess that it has something to do with the session not being closed properly.
Title: Re: Gigabeat S - Bootloader issues
Post by: LambdaCalculus on September 05, 2008, 08:35:32 PM
Hmm, if that's the case, that may not be something we can help you with. Problems with libusb and libmtp should be taken up on a forum or IRC channel that has people skilled with those libraries.

Although I am curious: How did you build the bootloader? From the looks of your output, it looks like you just built the single-boot bootloader, and not a patched nk.bin from the Gigabeat Updater.
Title: Re: Gigabeat S - Bootloader issues
Post by: snoguy986 on September 06, 2008, 03:02:25 PM
I downloaded the precompiled bootloader that's listed on the Gigabeat S install page.  I haven't found any instructions on how to compile a bootloader for the S, so I just used the one provided.
Title: Re: Gigabeat S - Bootloader issues
Post by: Mad Cow on September 06, 2008, 03:07:25 PM
There's instructions on how to do that on the gigabeat s info page. The S wiki entries are a bit of a mess right now.