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
| | |-+  malloc error when attempting bootloader install
« previous next »
  • Print
Pages: [1]

Author Topic: malloc error when attempting bootloader install  (Read 1325 times)

Offline mrkusrk

  • Member
  • *
  • Posts: 2
malloc error when attempting bootloader install
« on: August 30, 2012, 02:08:31 AM »
Whenever I attempt to install the bootloader on my new Sansa Fuze+ using the rockbox utility, the program crashes, with the following log written to the terminal:
[INFO] Scanning disk devices...
[ERR]  FATAL: Permission denied on 1 device(s) and no ipod detected.
[ERR]  You need permissions for raw disc access for this program to work!
[INFO] Scanning disk devices...
[ERR]  FATAL: Permission denied on 1 device(s) and no sansa detected.
[ERR]  You need permissions for raw disc access for this program to work!
[INFO] mkimxboot models:
[INFO]   Fuze+: idx=0 rb_model=fuz+ rb_num=72
[INFO]   Zen X-Fi2: idx=1 rb_model=zxf2 rb_num=82
[INFO]   Zen X-Fi3: idx=2 rb_model=zxf3 rb_num=83
[INFO] mkimxboot variants:
[INFO]   0: default
[INFO]   1: ZEN X-Fi2 NAND
[INFO]   2: ZEN X-Fi2 eMMC/SD
[INFO]   3: ZEN X-Fi2 Recovery
[INFO] mkimxboot mapping:
[INFO]   md5sum=c3e27620a877dc6b200b97dcb3e0ecc7 -> idx=0
[INFO]     variant=0 -> offset=0 size=0x210c1d0
[INFO]   md5sum=e37e2c24abdff8e624d0a29f79157850 -> idx=1
[INFO]   md5sum=2beff2168212d332f13cfc36ca46989d -> idx=1
[INFO]     variant=1 -> offset=0x13a0b0 size=0x28722d0
[INFO]     variant=2 -> offset=0x29ac380 size=0x28582d0
[INFO]     variant=3 -> offset=0x93010 size=0xa70a0
[INFO]   md5sum=658a24eeef5f7186ca731085d8822a87 -> idx=2
[INFO]     variant=0 -> offset=0 size=0x1145870
[INFO] MD5 sum of the file: C3 E2 76 20 A8 77 DC 6B 20 0B 97 DC B3 E0 EC C7
[INFO] File is for model 0 (Fuze+)
malloc : Cannot allocate memory

The error also occurs when I run the utility as root. How can I work around this to install the bootloader?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: malloc error when attempting bootloader install
« Reply #1 on: August 30, 2012, 04:12:19 AM »
Use a development version or the previous release. This is a known issue and already fixed. Or wait for the next release of Rockbox Utility, which should be finished after this weekend.

For the Fuze+ you don't need to run Rockbox Utility as root
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline mrkusrk

  • Member
  • *
  • Posts: 2
Re: malloc error when attempting bootloader install
« Reply #2 on: September 03, 2012, 01:01:44 PM »
Actually, I am running the development version, since there is apparently no stable release for the Fuze+ yet.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: malloc error when attempting bootloader install
« Reply #3 on: September 03, 2012, 03:18:02 PM »
Quote from: mrkusrk on September 03, 2012, 01:01:44 PM
Actually, I am running the development version, since there is apparently no stable release for the Fuze+ yet.

No, you are not. I'm talking about a development version of Rockbox Utility (after all, that's what is crashing, isn't it?), not Rockbox.

Alternatively get Rockbox Utility 1.3.0 which has just been released. Unfortunately it hasn't arrived at the download server yet ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  malloc error when attempting bootloader install
 

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

Page created in 0.138 seconds with 15 queries.