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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Toshiba - Installation/Removal
| | | |-+  Bootsplash.raw: Is this file still needed or looked for?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Bootsplash.raw: Is this file still needed or looked for?  (Read 6234 times)

Offline Nate!

  • Member
  • *
  • Posts: 235
Bootsplash.raw: Is this file still needed or looked for?
« on: April 04, 2007, 03:48:43 PM »
I was looking at the Install instructions on the Gigabeat Port page.  Is the bootsplah.raw file still saught for by the bootloader in the root of the player?  Should someone wanting to change the bootsplash, put this file in the root of the /.rockbox dir? -Thanks.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #1 on: April 04, 2007, 09:30:05 PM »
Putting it in the .rockbox dir would be useful. It can't be that hard to change the path, I might even try it with my incredibly limited coding skills. :D
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #2 on: April 04, 2007, 09:34:35 PM »
The plan is to remove the bootsplash.raw feature, since it's not the way any other bootloaders work, and the whole point of the bootloader is to do the minimum amount necessary to prepare for booting Rockbox.

Most of the other bootloaders have been streamlined so they don't display anything at all, now.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #3 on: April 04, 2007, 10:09:50 PM »
How much faster will it load if it's the bare minimum? (no bootsplash, text, etc.)

I changed it so that it looks for bootsplash.raw in /.rockbox. Download Here
I almost bricked my gigabeat because I thought that you had to run SCRAMBLE on it. Didn't know it already did that in the "make" process.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #4 on: April 04, 2007, 10:11:17 PM »
You wouldn't have bricked it, really, you'd just have had to use the recovery procedure. Not too difficult if you can manage a screwdriver.

But it could cut a second or two off boot time, nobody's tested yet. But it's not like the functionality would be gone. The hardcoded boot image in rockbox.gigabeat would likely be replaced with a simple .bmp load, meaning you don't need to convert your image.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #5 on: April 04, 2007, 10:44:48 PM »
Quote from: Llorean on April 04, 2007, 10:11:17 PM
You wouldn't have bricked it, really, you'd just have had to use the recovery procedure. Not too difficult if you can manage a screwdriver.

But it could cut a second or two off boot time, nobody's tested yet. But it's not like the functionality would be gone. The hardcoded boot image in rockbox.gigabeat would likely be replaced with a simple .bmp load, meaning you don't need to convert your image.

That's what I had to do, but I did get kinda scared when it stopped loading at 50%, then I remembered the recovery procedure. It was actually a lot easier than I thought, the gigabeat comes apart so well it's as if it was designed to be taken apart alot. :P

Wouldn't decoding the bmp take up more CPU time than simply loading a raw file?
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #6 on: April 04, 2007, 10:47:49 PM »
A BMP isn't actually encoded, really. It's raw bitmap data, hence the name bitmap. The only extra CPU time would be spent converting it to the native framebuffer format. Since there's already code in the core to do that (it converts several bitmaps every boot currently: Those in the WPS) adding one more bitmap to the list is not going to make a significant difference, and if someone prefers a faster boot they just don't use a theme with a custom boot screen.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #7 on: April 05, 2007, 04:00:44 PM »
Quote from: Llorean on April 04, 2007, 10:47:49 PM
A BMP isn't actually encoded, really. It's raw bitmap data, hence the name bitmap. The only extra CPU time would be spent converting it to the native framebuffer format. Since there's already code in the core to do that (it converts several bitmaps every boot currently: Those in the WPS) adding one more bitmap to the list is not going to make a significant difference, and if someone prefers a faster boot they just don't use a theme with a custom boot screen.

Then what's the point of the RAW format then? What are the differences between it and a bitmap?
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #8 on: April 05, 2007, 05:04:03 PM »
Stab in the dark: Aren't RAW files uncompressed and can contain other information?  Bitmaps are compressed RAW files with less information?  Don't know what the extra information would be for RAW files, but I believe RAW files are huge in size in comparison to even Bitmaps.

Again, a complete stab in the dark.  I am by no means a photographer.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #9 on: April 05, 2007, 05:08:22 PM »
Bitmap images store pixels in up to 24 bit values and have some extra header information to describe the data. Raw is in the frame buffer format. While neither is compressed, the bitmap needs to be converted to frame buffer format at load. The core can do this. I believe the main reason it was raw was the bootloader could not.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #10 on: April 05, 2007, 06:15:18 PM »
Quote from: Llorean on April 05, 2007, 05:08:22 PM
Bitmap images store pixels in up to 24 bit values and have some extra header information to describe the data. Raw is in the frame buffer format. While neither is compressed, the bitmap needs to be converted to frame buffer format at load. The core can do this. I believe the main reason it was raw was the bootloader could not.

That makes sense, but I still like the RAW approach. Most of the time it's the custom build creators that want to change this, and they have all the tools they need ready.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #11 on: April 05, 2007, 06:18:25 PM »
There is no overall benefit to making the file be raw. Why do you like it? I'm thinking something is not being communicated clearly here.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #12 on: April 06, 2007, 12:24:54 PM »
What I'm saying is, it works, and there's nothing wrong with it in my opinion. I don't want another big bootloader change just for a different approach to bootsplash images.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #13 on: April 06, 2007, 03:41:49 PM »
The bootsplash should NEVER have been in the bootloader in the first place.
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Bootsplash.raw: Is this file still needed or looked for?
« Reply #14 on: April 06, 2007, 06:38:19 PM »
I know, I'm just saying that I like the approach. You don't need to recompile just to change the bootsplash image.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Toshiba - Installation/Removal
| | | |-+  Bootsplash.raw: Is this file still needed or looked for?
 

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

Page created in 0.079 seconds with 15 queries.