21
Hardware / Re: iFlash Solo – perfectly reliable iPod/sd-card combos
« Last post by nvandoorn on March 26, 2024, 06:29:20 PM »Hey @chris_s hope you're well.
Are you still using this setup on your 4th gen iPod in current times? I just finished compiling my own build for my 4th gen iPod photo with the changes you describe and unfortunately I'm still having issues. I'm building against the latest development version (6e058fe77f48dc66a032de0a1e1cf495f85fe98f), and using an iFlash Solo with a 512GB Kingston Canvas card, which is from the iFlash approved list.
Here is the patch I've been using to test. I also confirmed my iPod is showing the right commit hash for the build.
commit d2cb7c2d01940f7c1d64b3b07f9b83d274eab57f
Author: Nick Van Doorn <nick@nv.delivery>
Date: Tue Mar 26 15:22:32 2024 -0700
Patch for iFlash on ipod color
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 1c85b7bd5f..06a478bccc 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -892,7 +892,7 @@ void ata_spindown(int seconds)
bool ata_disk_is_active(void)
{
- return ata_state >= ATA_SPINUP;
+ return 0;
}
void ata_sleepnow(void)
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
index 93bea58daa..59beaa1a2a 100644
--- a/firmware/export/config/ipodcolor.h
+++ b/firmware/export/config/ipodcolor.h
@@ -98,10 +98,6 @@
#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
-/* define this if you have a disk storage, i.e. something
- that needs spinups and can cause skips when shaked */
-#define HAVE_DISK_STORAGE
-
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
#define HAVE_BACKLIGHT_BRIGHTNESS
@@ -159,9 +155,6 @@
/* Define this if you want to use the PP5020 i2c interface */
#define CONFIG_I2C I2C_PP5020
-/* We're able to shut off power to the HDD */
-#define HAVE_ATA_POWER_OFF
-
/* define this if the hardware can be powered off while charging */
//#define HAVE_POWEROFF_WHILE_CHARGING
@@ -211,14 +204,6 @@
#define IPOD_ACCESSORY_PROTOCOL
#define HAVE_SERIAL
-
-/* DMA is used only for reading on PP502x because although reads are ~8x faster
- * writes appear to be ~25% slower.
- */
-#ifndef BOOTLOADER
-#define HAVE_ATA_DMA
-#endif
-
/* Define this, if you can switch on/off the lineout */
#define HAVE_LINEOUT_POWEROFF
Are you still using this setup on your 4th gen iPod in current times? I just finished compiling my own build for my 4th gen iPod photo with the changes you describe and unfortunately I'm still having issues. I'm building against the latest development version (6e058fe77f48dc66a032de0a1e1cf495f85fe98f), and using an iFlash Solo with a 512GB Kingston Canvas card, which is from the iFlash approved list.
Here is the patch I've been using to test. I also confirmed my iPod is showing the right commit hash for the build.
commit d2cb7c2d01940f7c1d64b3b07f9b83d274eab57f
Author: Nick Van Doorn <nick@nv.delivery>
Date: Tue Mar 26 15:22:32 2024 -0700
Patch for iFlash on ipod color
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 1c85b7bd5f..06a478bccc 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -892,7 +892,7 @@ void ata_spindown(int seconds)
bool ata_disk_is_active(void)
{
- return ata_state >= ATA_SPINUP;
+ return 0;
}
void ata_sleepnow(void)
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
index 93bea58daa..59beaa1a2a 100644
--- a/firmware/export/config/ipodcolor.h
+++ b/firmware/export/config/ipodcolor.h
@@ -98,10 +98,6 @@
#define AB_REPEAT_ENABLE
#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
-/* define this if you have a disk storage, i.e. something
- that needs spinups and can cause skips when shaked */
-#define HAVE_DISK_STORAGE
-
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
#define HAVE_BACKLIGHT_BRIGHTNESS
@@ -159,9 +155,6 @@
/* Define this if you want to use the PP5020 i2c interface */
#define CONFIG_I2C I2C_PP5020
-/* We're able to shut off power to the HDD */
-#define HAVE_ATA_POWER_OFF
-
/* define this if the hardware can be powered off while charging */
//#define HAVE_POWEROFF_WHILE_CHARGING
@@ -211,14 +204,6 @@
#define IPOD_ACCESSORY_PROTOCOL
#define HAVE_SERIAL
-
-/* DMA is used only for reading on PP502x because although reads are ~8x faster
- * writes appear to be ~25% slower.
- */
-#ifndef BOOTLOADER
-#define HAVE_ATA_DMA
-#endif
-
/* Define this, if you can switch on/off the lineout */
#define HAVE_LINEOUT_POWEROFF
22
Hardware / Re: Native Port Hifi Walker H2 playback judder/skipping
« Last post by Elm1825 on March 26, 2024, 04:44:02 PM »Appears to be better now in version 53e7176196-240324. I played 3 hrs of music today and it didn’t act up once. This update also fixed my Line-out port not working. Not sure what caused it to goof up. I also grew the partition by a few kb. The card had a small gap in the front with unformatted space. I’ll update if anything changes but so far so good.
23
Theming and Appearance Customization / Cannot load any themes using 4G Mono iPod
« Last post by hindssm on March 26, 2024, 01:12:54 PM »I have a CF flashed 4G iPod that I cannot load themes at all. It says "loading" then nothing, and after a few minutes rockbox crashes with this message:
*Panic*
dc_writeback_callback () - Count not write sector
I am not sure what I am doing wrong.
*Panic*
dc_writeback_callback () - Count not write sector
I am not sure what I am doing wrong.
24
Starting Development and Compiling / Re: Sansa E200V2 Bootloader is broken in master
« Last post by bahus on March 26, 2024, 11:19:38 AM »been going through your changes I think the YUV stuff is superfluous but otherwise looks sane
Ok I will prepare change request soon to discuss it further.
I got distracted by other nasty e200v2 issue - it's very unstable with my main rockbox SD card (which works OK with Sansa Clip Zip and Rocker). It fails on SD writes (looks like stuck waiting for transfer state here after few cycles). But it's another story and should be discussed in separate topic later...
25
Starting Development and Compiling / Re: Sansa E200V2 Bootloader is broken in master
« Last post by Bilgus on March 26, 2024, 10:06:09 AM »been going through your changes I think the YUV stuff is superfluous but otherwise looks sane
I'm going through making different changes to get it to fit and maybe we can see if it still crashes at the same commit as yours
ATM I'm leaning towards a pared down buflib for thesimulator bootloader but I'd like to try and talk to Amachronic first
but if I don't hear from him will probably move forward anyway
I'm going through making different changes to get it to fit and maybe we can see if it still crashes at the same commit as yours
ATM I'm leaning towards a pared down buflib for the
but if I don't hear from him will probably move forward anyway
26
Hardware / Re: Native Port Hifi Walker H2 playback judder/skipping
« Last post by Bilgus on March 25, 2024, 11:29:45 PM »maybe try a different encoding in the same filetype or try a different codec mp3 or opus etc and see if it still stutters, try a smaller/different sd card
does it get worse with dsp settings enabled?
does it get worse with dsp settings enabled?
27
Hardware / Re: *Native Port* Hifi Walker H2 Line-Out Port inopperative (Working now)
« Last post by Elm1825 on March 25, 2024, 09:57:01 PM »Appears to be working now in version 53e7176196-240324.
28
User Interface and Voice / Re: WPS Track Title & Track Length Disappear When Buttons are Locked
« Last post by Elm1825 on March 25, 2024, 09:37:17 PM »I changed the music mode line in the sbs.
Original %s%ac%?if(%cs,!=,2)<%?ia<%ia - >>%?it<%it|%fm>
New %s%ac%it
The new line has the track title stay when the buttons are locked. But the track title vanishes again when the buttons are unlocked. So the behavior has changed.
Original %s%ac%?if(%cs,!=,2)<%?ia<%ia - >>%?it<%it|%fm>
New %s%ac%it
The new line has the track title stay when the buttons are locked. But the track title vanishes again when the buttons are unlocked. So the behavior has changed.
29
User Interface and Voice / Re: WPS Track Title & Track Length Disappear When Buttons are Locked
« Last post by Elm1825 on March 25, 2024, 09:17:50 PM »Just trying to troubleshoot it. Other themes don't do this. And this only does this when I do something to trigger the error. In this case when I lock the buttons. The other issues I have don't start directly due to a device input. I get random track stutters and my line-out doesn't work in rockbox. The track title doesn't disappear when I plug in the headphones or when audio cuts out.
30
User Interface and Voice / Re: WPS Track Title & Track Length Disappear When Buttons are Locked
« Last post by philden on March 25, 2024, 09:14:13 PM »I would guess that this is connected to the other issue you are experiencing with Rockbox on your device.