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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Cannot install Rockbox to OSOS (Nano2G)
« previous next »
  • Print
Pages: [1]

Author Topic: Cannot install Rockbox to OSOS (Nano2G)  (Read 3609 times)

Offline Darkknight512

  • Member
  • *
  • Posts: 20
Cannot install Rockbox to OSOS (Nano2G)
« on: February 18, 2010, 08:33:20 PM »
I am trying to install Rockbox to OSOS with the commands on the wiki to a Nano2G with the Rockbox.ipod file from the current build.

 "C:\Users\Darkknight512\Desktop>ipodpatcher -wf rockbox.ipod
ipodpatcher 4.0 with v3.0 bootloaders (v1.0 for 2nd Gen Nano)
(C) Dave Chapman 2006-2009
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[INFO] Scanning disk devices...
[INFO] Read XML info (4 bytes)
[INFO] Ipod found - 2nd Generation Nano ("winpod") - disk device 1
[INFO] Reading partition table from \\.\PhysicalDrive1
[INFO] Sector size is 2048 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         48194        94.0   Empty (0x00)
[INFO]    1           48195       1982462      3777.9   W95 FAT32 (0x0b)
[INFO] Read XML info (4 bytes)
[INFO] Ipod model: 2nd Generation Nano ("winpod")
[ERR]  Model name in input file (nn2g) doesn't match ipod model (nn2x)
[ERR]  --write-firmware failed.

Nothing changes on the ipod, this is for "OSOS contains only Rockbox" on the wiki

Thanks
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #1 on: February 19, 2010, 06:17:15 AM »
Those installation methods do not apply to the Nano 2G. The Nano 2G boots differently, and needs a different process.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Darkknight512

  • Member
  • *
  • Posts: 20
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #2 on: February 19, 2010, 10:24:30 AM »
Any ETA on that or "Just hang out for a while, working on more important things"

I think I might get on coding some plugins or something once I'm done coding for VxWorks (Robotics team)

Just a quick question, which one would you reccomend for da noob, "Windows: Set up a Cygwin development environment OR set up a coLinux development environment OR set up a VMWare development environment OR set up a Interix development environment. "
« Last Edit: February 19, 2010, 10:28:35 AM by Darkknight512 »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #3 on: February 19, 2010, 11:01:33 AM »
Different options exist on the Nano 2G because it doesn't work the same way. Instead of appending the bootloader to the existing OSOS image, the bootloader is always placed in OSOS on its own, and the existing OSOS image renamed to something else. Thus, it's already booting using something rather like method 3 on that list.

Installing Rockbox to OSOS instead is *probably* not much quicker, but should be possible, I just don't know offhand exactly what to do, I don't have a 2G.

I've put a note in the wiki page saying that the instructions only apply to the older models.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #4 on: February 21, 2010, 06:49:56 PM »
The difference is that the firmware images on the Nano2G are encrypted.  The filename convention ".ipodx" is used for these encrypted images.

The default installation on the nano2g is the same as option #3 on the ipodpatcher wiki page - the bootloader is stored (encrypted) in the main OSOS partition, and the Apple firmware is moved to an "OSBK" partition (which the Apple bootloader ignores).

If you want to put Rockbox in the OSOS partition, then you will need to create a "rockbox.ipodx" file from the "rockbox.ipod" file, then use "ipodpatcher -wf rockbox.ipodx".

This encryption has to be done on an ipod (using the hardware crypto unit), and there's a viewer plugin (crypt_firmware) included on the Nano2G which does that job - just "open with..." rockbox.ipod with crypt_firmware, and a rockbox.ipodx file will be created.

(if anyone wants to update the ipodpatcher wiki page, please do...)
Logged

Offline Darkknight512

  • Member
  • *
  • Posts: 20
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #5 on: February 24, 2010, 05:39:18 PM »
I will gladly update the wiki, may I please have access?

Wikiname: AlexLao
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #6 on: February 24, 2010, 05:58:48 PM »
Done.
Logged

Offline Darkknight512

  • Member
  • *
  • Posts: 20
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #7 on: February 24, 2010, 07:53:53 PM »
I use openwith - cript_firmware on rockbox.ipod. I see encrypting for 2 seconds then, *PANIC* Stkov main

Edit: It also put the ipod in recover mode.

Edit: I just recovered the device and tried again, it worked this time, should I still file a bug report on the first crash?

Edit: Did it again, same crash, no recovery mode this time though
« Last Edit: February 24, 2010, 08:29:37 PM by Darkknight512 »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Cannot install Rockbox to OSOS (Nano2G)
« Reply #8 on: February 24, 2010, 08:47:37 PM »
Quote from: Darkknight512 on February 24, 2010, 05:39:18 PM
I will gladly update the wiki, may I please have access?

Wikiname: AlexLao
If you're going to update it, please try and explain the differences, and which methods apply. Measurements of any difference in boot speed would be good as well, though this is very hard to do well without modifying the bootloader to time the process.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Cannot install Rockbox to OSOS (Nano2G)
 

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

Page created in 0.084 seconds with 15 queries.