Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  H300 Bottloader GUI
« previous next »
  • Print
Pages: [1]

Author Topic: H300 Bottloader GUI  (Read 2312 times)

Offline DJRed2000

  • Member
  • *
  • Posts: 5
H300 Bottloader GUI
« on: January 11, 2007, 03:37:14 PM »
Hi,

About a week ago I was introduced to Rockbox and installed it on my Iriver H320.  I really love it and will never go back to Iriver firmware.  The only thing I don't like is the bootloader.  It's verbose and not very nice looking.  I was wondering if it would be possible to write a GUI based bootloader, something kind of like GRUB.  I am fluent in C but have no knowledge in writing GUI's.  If it is possible, are there any websites you would recommend as far as learning to write GUIs? Also, is there anyway to test the code on a computer instead of flashing the H300 and using a BDM interface if it doesn't work?

Thanks
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: H300 Bottloader GUI
« Reply #1 on: January 11, 2007, 03:46:09 PM »
Why does the bootloader need a UI?

If you want a nicer one, why not just a loading bar or a splash screen? The user doesn't actually need to interact with some sort of graphical interface, do they?
Logged

Offline DJRed2000

  • Member
  • *
  • Posts: 5
Re: H300 Bottloader GUI
« Reply #2 on: January 11, 2007, 03:59:40 PM »
Well I was thinking instead of having to hold down play and record to load the Iriver firmware you could just select what you want to start from a menu.  I know I said I will never go back to Iriver firmware but I do use it for video.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: H300 Bottloader GUI
« Reply #3 on: January 11, 2007, 04:05:32 PM »
So, slow startup times *every* time you turn it on, are worth it so you don't have to hold a button down?
Logged

Offline DJRed2000

  • Member
  • *
  • Posts: 5
Re: H300 Bottloader GUI
« Reply #4 on: January 11, 2007, 04:22:13 PM »
It would only add an extra second or two.  You turn the device on, a nice UI comes up asking what firmware you want to start (Rockbox or Stock), you select it and it loads.  I just want to know if it could be done and how I would go about doing it.  I don't care if I'm the only one that uses it.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: H300 Bottloader GUI
« Reply #5 on: January 11, 2007, 04:45:33 PM »
It can be done. Modifying the bootloader on the H100 and H300 series is NOT SAFE though. If you do *anything* wrong, you can permanently disable your player.
Logged

Offline DJRed2000

  • Member
  • *
  • Posts: 5
Re: H300 Bottloader GUI
« Reply #6 on: January 11, 2007, 04:54:44 PM »
Was the Rockbox GUI written from the ground up? Libraries and all.  Or did u use already existing libraries, ie. GTK.

Also, is there anyway of testing the code on the computer instead of the device?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: H300 Bottloader GUI
« Reply #7 on: January 11, 2007, 04:57:31 PM »
Rockbox was written from the ground up. It is not linux based or anything else.

No, there is not an effective way to test the bootloader code on the computer. Unless you have hardware to restore your device, you get to flash it, and then either succeed, or no longer have an MP3 player.
Logged

Offline DJRed2000

  • Member
  • *
  • Posts: 5
Re: H300 Bottloader GUI
« Reply #8 on: January 11, 2007, 05:03:20 PM »
Ok.  Thanks for all your help.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  H300 Bottloader GUI
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.066 seconds with 15 queries.