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
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to make rockbox support >4G file?
« previous next »
  • Print
Pages: [1]

Author Topic: how to make rockbox support >4G file?  (Read 2322 times)

Offline powerpan

  • Member
  • *
  • Posts: 52
how to make rockbox support >4G file?
« on: November 10, 2011, 10:46:17 AM »
what I could do to make it support a big file > 4G?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: how to make rockbox support >4G file?
« Reply #1 on: November 10, 2011, 11:53:05 AM »
FAT32 doesn't support 4GB files, so I guess you'd have to add support for another file system.

Its probably easier to just not use >4GB files.
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: how to make rockbox support >4G file?
« Reply #2 on: November 10, 2011, 08:53:31 PM »
I ported rockbox on linux, so I need 4G file support
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: how to make rockbox support >4G file?
« Reply #3 on: November 10, 2011, 09:12:39 PM »
I'm pretty sure that Rockbox as an Application isn't bound by the FAT32 restriction.  The host operating system should handle file system access in that case.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: how to make rockbox support >4G file?
« Reply #4 on: November 11, 2011, 04:06:49 AM »
but the data structure will limit this.
like size of off_t, I think there might be more than this limits the decode for large file.

uncompress file and lossless file will easily break 4G limit.

I'm starting to port it to support upnp, like renderer to be control by remote computer/android pad. file size will be a headache later while it could access NAS.
« Last Edit: November 11, 2011, 04:09:00 AM by powerpan »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: how to make rockbox support >4G file?
« Reply #5 on: November 11, 2011, 09:16:25 AM »
Various things will need to use off_t or fpos_t instead of long - the system headers should hopefully be defining those as 64-bit on platforms that support it. We may also need to change the firmware layer for RaaA to call 64-bit file APIs where available.

It shouldn't be too difficult, though. Patches are welcome.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: how to make rockbox support >4G file?
« Reply #6 on: November 12, 2011, 09:06:09 PM »
several decoders don't handle files larger than 2G/4G at the moment even if the formats techincally support them
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to make rockbox support >4G file?
 

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

Page created in 0.103 seconds with 15 queries.