Rockbox Ports are now being developed for various digital audio players!
If you had searched thoroughly you might have found this:http://forums.rockbox.org/index.php/topic,42520.0.html...Here is the .patch file I used when I made these modifications myself:Code: [Select]--- ipod6g.c 2019-05-13 23:17:17.212288000 +0100+++ "ipod6g (copy 1).c" 2019-05-13 23:47:38.047876458 +0100@@ -372,12 +372,13 @@ btn = button_read_device(); } /* Enter OF, diagmode and diskmode using ONB */- if ((btn == BUTTON_MENU)+/* if ((btn == BUTTON_MENU) || (btn == (BUTTON_SELECT|BUTTON_LEFT)) || (btn == (BUTTON_SELECT|BUTTON_PLAY))) { fw = FW_APPLE; rc = kernel_launch_onb(); }+*/ } lcd_init();@@ -409,12 +410,13 @@ filesystem_init(); /* We wait until HDD spins up to check for hold button */- if (button_hold()) {+/* if (button_hold()) { fw = FW_APPLE; printf("Executing OF..."); ata_sleepnow(); rc = kernel_launch_onb(); }+*/ } if (rc != 0) {I have attached the binary bootloader I compiled some time ago (rename the fake jpg extension to .ipod):Quotebootloader-ipod6g.ipod: pre-compiled bootloader modified to prevent launching official firmware as this corrupts all disks > ~127GB (flash with # mk6gboot --bl-inst bootloader-ipod6g_modif.ipod )
--- ipod6g.c 2019-05-13 23:17:17.212288000 +0100+++ "ipod6g (copy 1).c" 2019-05-13 23:47:38.047876458 +0100@@ -372,12 +372,13 @@ btn = button_read_device(); } /* Enter OF, diagmode and diskmode using ONB */- if ((btn == BUTTON_MENU)+/* if ((btn == BUTTON_MENU) || (btn == (BUTTON_SELECT|BUTTON_LEFT)) || (btn == (BUTTON_SELECT|BUTTON_PLAY))) { fw = FW_APPLE; rc = kernel_launch_onb(); }+*/ } lcd_init();@@ -409,12 +410,13 @@ filesystem_init(); /* We wait until HDD spins up to check for hold button */- if (button_hold()) {+/* if (button_hold()) { fw = FW_APPLE; printf("Executing OF..."); ata_sleepnow(); rc = kernel_launch_onb(); }+*/ } if (rc != 0) {
bootloader-ipod6g.ipod: pre-compiled bootloader modified to prevent launching official firmware as this corrupts all disks > ~127GB (flash with # mk6gboot --bl-inst bootloader-ipod6g_modif.ipod )
I would suggest flashing the modified bootloader here instead of using single boot mode for the following reasons:I found out the hard way that booting into Apple's Disk mode via the instructions here:QuoteUsageTurning on the iPodUnlock the HOLD switch, or press any button if already unlocked.Turning off the iPod when running RockboxHold down the PLAY button, until you see Shutting down...Switching from Apple's firmware to RockboxHold down MENU+SELECT, until the iPod reboots. Release them immediately after the screen goes black.Switching from Rockbox to Apple's firmwareTurn off the iPod, then turn it on and immediately lock the HOLD switch.- OR -Turn off the iPod, then turn it on and immediately hold down MENU.Entering Apple's Disk modeTurn off the iPod. Power it on by holding down SELECT+PLAY, keep holding until Disk mode starts.Entering Apple's Diagnostics modeTurn off the iPod. Power it on by holding down SELECT+LEFT, keep holding until Diagnostics mode starts.Entering Rockbox's Bootloader USB modeTurn off the iPod. Power it on by holding down SELECT+RIGHT, keep holding until you see the USB Mode message.Will also corrupt your disk...After spending a few days to re-transfer my music...I just tested installing a freshly recompiled stock bootloader in single mode via:Code: [Select][foo@bar mks5lboot]$ sudo ./mks5lboot --bl-inst ./bootloader-ipod6g.ipod --singlemks5lboot Version ee15e45224-200125This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[INFO] Building DFU:[INFO] type: BL installer (single)[INFO] BL size: 102592[INFO] DFU size: 110736[INFO] model name: Classic 6G[INFO] platform: ipod6g[INFO] RB name: ip6g[INFO] RB num: 71[INFO] libusb: found [05ac:1223] at bus 1, device 30, USB ver. 0200[INFO] iPod Nano 3G / Classic, mode: DFU[INFO] DFU image sent successfully (110736 bytes)As suggested here.I find that I can still boot into the Apple firmware via the HOLD switch and it prompts to "Connect to iTunes to restore" but this thankfully doesn't corrupt my disk.I'm not going to attempt to boot into Apple's Disk mode as it seems that its still possible to dual boot after flashing in --single mode.I suspect that it is not removing the OF partition whcih is the opposite of what is suggested by the README of mks5lboot (emphasis mine):QuoteThe single-boot installer writes the bootloader on the NOR with no previous check, the original Apple NOR boot is destroyed if it exists.
UsageTurning on the iPodUnlock the HOLD switch, or press any button if already unlocked.Turning off the iPod when running RockboxHold down the PLAY button, until you see Shutting down...Switching from Apple's firmware to RockboxHold down MENU+SELECT, until the iPod reboots. Release them immediately after the screen goes black.Switching from Rockbox to Apple's firmwareTurn off the iPod, then turn it on and immediately lock the HOLD switch.- OR -Turn off the iPod, then turn it on and immediately hold down MENU.Entering Apple's Disk modeTurn off the iPod. Power it on by holding down SELECT+PLAY, keep holding until Disk mode starts.Entering Apple's Diagnostics modeTurn off the iPod. Power it on by holding down SELECT+LEFT, keep holding until Diagnostics mode starts.Entering Rockbox's Bootloader USB modeTurn off the iPod. Power it on by holding down SELECT+RIGHT, keep holding until you see the USB Mode message.
[foo@bar mks5lboot]$ sudo ./mks5lboot --bl-inst ./bootloader-ipod6g.ipod --singlemks5lboot Version ee15e45224-200125This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[INFO] Building DFU:[INFO] type: BL installer (single)[INFO] BL size: 102592[INFO] DFU size: 110736[INFO] model name: Classic 6G[INFO] platform: ipod6g[INFO] RB name: ip6g[INFO] RB num: 71[INFO] libusb: found [05ac:1223] at bus 1, device 30, USB ver. 0200[INFO] iPod Nano 3G / Classic, mode: DFU[INFO] DFU image sent successfully (110736 bytes)
The single-boot installer writes the bootloader on the NOR with no previous check, the original Apple NOR boot is destroyed if it exists.
I've given some context that is hopefully useful in the previous messages I quoted.Another thing that you can do - without needing to reflash the bootloader - is just to delete or erase the partition that holds the OFW. This should be a simple way to prevent it from booting.
Apologies if the info I'm seeking is already posted and I missed it.Is it (still) true that corruption will occur in any/all of the following conditions:1 - Boot with Lock Switch engaged?2 - Boot with Menu Button held down?3 - Boot with [edit] Select and Play Buttons held down?4 - How about trying to boot into Diagnostic Mode?Thanks.PS - I added two edits above - my brain seems to be failing (fast)...
Page created in 0.041 seconds with 17 queries.