%T#13983 Comment added by neofright: Aigo Eros Q HW4 playback failures

Rockbox via rockbox-sf <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.sourceforge
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#13983 - Aigo Eros Q HW4 playback failures
User who did this - neofright (neofright)

----------
I understand well the concerns of LLMs, especially with the need for code attribution of the Rockbox project. However, for someone like myself who has never been a competent C developer, I have found using them somewhat useful. I'm aware that I am not learning as much as I would if I had hacked away at the problem without it. I'll try not to turn this into an AI diatribe, and err toward asking for forgiveness instead of permission ;)

I used GPT-5.6 Sol and its suggestion was to prevent msc_cmd_switch_freq() in firmware/target/mips/ingenic_x1000/msc-x1000.c from entering high-speed mode and keeping the interface always at 25 MHz.


diff --git a/firmware/target/mips/ingenic_x1000/msc-x1000.c b/firmware/target/mips/ingenic_x1000/msc-x1000.c
index 0ce6ff4990..1cc9c7339b 100644
--- a/firmware/target/mips/ingenic_x1000/msc-x1000.c
+++ b/firmware/target/mips/ingenic_x1000/msc-x1000.c
@@ -888,6 +888,10 @@ int msc_cmd_set_clr_card_detect(msc_drv* d, int arg)
 
 int msc_cmd_switch_freq(msc_drv* d)
 {
+#ifdef EROS_QN
+    msc_set_speed(d, MSC_SPEED_FAST); /* 25 MHz */
+    return MSC_REQ_SUCCESS;
+#endif
     /* If card doesn't support High Speed, we don't need to send a command */
     if((d->driver_flags & MSC_DF_V2_CARD) == 0) {
         msc_set_speed(d, MSC_SPEED_FAST);


This has fixed the issue for me and the native port is now completely stable. I've been skipping aggressively through my library and have a running time of 30 minutes. The unpatched upstream build would always crash in 5 minutes or less if I worked to trigger the problem by causing intense disk reads.

The micro SD card in question is a Samsung MB-MC512SA/EU which I removed from the iFlash Quad in my iPod Classic and put straight into the Eros Q. I deleted the Apple firmware partition when I was using it in the iPod, so it is just a single FAT32 partition taking up the entire disk, which the Eros Q is happy with.
----------

More information can be found at the following URL:
https://www.rockbox.org/tracker/task/13983#comment45672

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
-- 
rockbox-sf mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.