11
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 03:41:17 PM »Thanks! It has been a very long time since I last compiled a simulator on Linux so I had forgotten how the simulators are intended to be used. There is a simulator for each real hardware target. With the latest master I was able to do ../tools/configure --target=ipod6g --type=s and compile successfully on macOS M1!
12
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on December 07, 2024, 03:18:35 PM »For the SDL app (target 200) you need llvm-objcopy on the Mac (using type=n), i.e. install llvm using brew, then symlink the installed llvm-objcopy to /usr/local/bin/objcopy.
After that it looks like you still have to comment out the debugf line in tree_voice_cb (apps/tree.c) - not sure right now what the deal is there, that seems... new. Disregard - my mistake
SDL_BUTTON_WHEELDOWN doesn't exist anymore in SDL2, so that may be a remnant that has been overlooked so far and still needs to be removed.... The SDL app, I don't think is supposed to be compiled as a simulator though (doesn't work on Linux either).
SDL_BUTTON_WHEELDOWN doesn't exist anymore in SDL2, so that may be a remnant that has been overlooked so far and still needs to be removed.... The SDL app, I don't think is supposed to be compiled as a simulator though (doesn't work on Linux either).
13
Apple - Installation/Removal / Re: iPod Classic - no file system mount point
« Last post by Frankenpod on December 07, 2024, 03:01:08 PM »Argh, that "device is in use" error message is familiar. One of many ways iTunes can fail to restore, along with the ever-popular "an unknown error has occurred", the annoyingly-meaningless numerical error code message, and the restore-"needs to be restored message"-restore-"needs to be restored message" perpetual loop.
I can't remember a guaranteed-consistently-successful way past that, but, on the other hand, am pretty sure I have managed to get past it on many occasions.
You could try DFU mode (centre-button+menu held down till it starts to reboot and then doesn't).
Or just rebooting the PC and then trying again.
Or use something like AOEMII to completely delete the partition then recreate it and format the thing (in FAT32) before trying to restore again. Or maybe just, again with AOMEII, just try rewriting the MBR.
I can't remember a guaranteed-consistently-successful way past that, but, on the other hand, am pretty sure I have managed to get past it on many occasions.
You could try DFU mode (centre-button+menu held down till it starts to reboot and then doesn't).
Or just rebooting the PC and then trying again.
Or use something like AOEMII to completely delete the partition then recreate it and format the thing (in FAT32) before trying to restore again. Or maybe just, again with AOMEII, just try rewriting the MBR.
14
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 02:55:17 PM »Now that all of these patches have been merged I would appreciate any advice you can offer me on building the simulator.
If I do ../tools/configure --target=200 --type=n then the build fails because objcopy is missing. If I then install binutils with brew and add /opt/homebrew/Cellar/binutils/2.43.1/bin to my $PATH then there are multiple linker fails along the lines of "archive member '/' not a mach-o file in '/rockbox/build/lib/libtlsf.a';".
If I do ../tools/configure --target=200 --type=s then I get errors that indicate I am missing the SDL development packages e.g. "error: 'SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)" etc.
I'm using rockbox as a means to slowly teach myself more about C.
If I do ../tools/configure --target=200 --type=n then the build fails because objcopy is missing. If I then install binutils with brew and add /opt/homebrew/Cellar/binutils/2.43.1/bin to my $PATH then there are multiple linker fails along the lines of "archive member '/' not a mach-o file in '/rockbox/build/lib/libtlsf.a';".
If I do ../tools/configure --target=200 --type=s then I get errors that indicate I am missing the SDL development packages e.g. "error: 'SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)" etc.
I'm using rockbox as a means to slowly teach myself more about C.
15
Apple - Installation/Removal / iPod Classic - no file system mount point
« Last post by akomives on December 07, 2024, 02:47:56 PM »Hej,
I have an iPod Classic 80 gig 6th gen device. Have just learned about RockBox.
I have tried to install it, but I seem to have a corrupt file system unfortunately. When trying to restore the iPod prior to installing iTunes fails to perform the restore operation, claiming that I have files being used.
I have tried both normal operation on the iPod and also disk mode (holding down the 2 button combinations).
I can see the contents of the drive in Windows, I could also perform a quick format on the hard drive. I can also copy files on it in Explorer.
However if I start RockBox Utility to install the installer cannot see the filesystem mounting point. Unable to set it. Despite being able to see the contents of the drive in Explorer.
The install contents are greyed out.
How can this be solved, please?
I have an iPod Classic 80 gig 6th gen device. Have just learned about RockBox.
I have tried to install it, but I seem to have a corrupt file system unfortunately. When trying to restore the iPod prior to installing iTunes fails to perform the restore operation, claiming that I have files being used.
I have tried both normal operation on the iPod and also disk mode (holding down the 2 button combinations).
I can see the contents of the drive in Windows, I could also perform a quick format on the hard drive. I can also copy files on it in Explorer.
However if I start RockBox Utility to install the installer cannot see the filesystem mounting point. Unable to set it. Despite being able to see the contents of the drive in Explorer.
The install contents are greyed out.
How can this be solved, please?
16
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by iPodVT on December 07, 2024, 02:36:13 PM »I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.
Thanks for that information - somehow hadn't noticed that. Currently keep track of which-is-which (and remember which has which permutation of sd cards in it and any faults it has and when it was last synched etc) via that serial number, but didn't realise the number was accessible without having to reboot in OF.
(The serial number also indicates the ipod's date-of-manufacture, apparently)
I deal with the same issue by having a small text file named "About This iPod.txt" in the root directory on each of my iPods. The file contains info re its iPod's model designation and hardware mods (see 1-AboutThisiPod.jpg below). Some of that info comes from everymac.com. Then I put a link to the "About This iPod.txt" file at the top of my Shortcuts menu (see 2-ShortcutsMenuTop.jpg below) which, when selected, causes the file to be opened by the Text Viewer plugin. My Shortcuts include all of my most often accessed Settings and also some that are only used from time to time for testing purposes (like "Sleep in 1 minute"). It also contains links to other files and folders, and has Reboot and Shutdown at the bottom (see 3-ShortcutsMenuBottom.jpg below). Finally, I have "Shortcuts instead of Quick Screen" turned on for the fastest, most immediately direct access. The Shortcuts menu is my version of the macOS Apple menu. I have never yet had a need to use the Quick Screen.
17
Hardware / Re: AIGO EROS Q / AIGO EROS K / IRULU Surfans F20 / AGPTek H3 / HIFI WALKER H2
« Last post by dconrad on December 07, 2024, 11:23:31 AM »Another update on the native port - the newest builds as of this morning (and will be in tonight's daily builds) have the changes I wrote about earlier.
We got both of these merged:
https://gerrit.rockbox.org/r/c/rockbox/+/6133, which adds a new setting under Sound Settings --> Output Select, to select either Automatic (default), Headphone, or Line outputs. Details will be in the manual when it builds tonight.
https://gerrit.rockbox.org/r/c/rockbox/+/6132, which cleans up device hardware revision reporting in the debug menu. The new bootloaders are up on the download site now - I recommend everybody to update their bootloaders. Using the newest builds shouldn't break anything with old bootloaders though (excepting /very/ old bootloaders on hw1/hw2 devices, which are already broken - please update those devices!).
Note: As of this writing (Dec. 7, 2024), the .upt files linked on the wiki under https://www.rockbox.org/wiki/AIGOErosQK#Native_Port_Installation_40the_new_way_44_with_update_files_41 should point to the right place, but the raw bootloader files for the jztool method linked under https://www.rockbox.org/wiki/AIGOErosQK#Native_Port_Installation_40the_jztool_way_41 won't update until tomorrow.
We got both of these merged:
https://gerrit.rockbox.org/r/c/rockbox/+/6133, which adds a new setting under Sound Settings --> Output Select, to select either Automatic (default), Headphone, or Line outputs. Details will be in the manual when it builds tonight.
https://gerrit.rockbox.org/r/c/rockbox/+/6132, which cleans up device hardware revision reporting in the debug menu. The new bootloaders are up on the download site now - I recommend everybody to update their bootloaders. Using the newest builds shouldn't break anything with old bootloaders though (excepting /very/ old bootloaders on hw1/hw2 devices, which are already broken - please update those devices!).
Note: As of this writing (Dec. 7, 2024), the .upt files linked on the wiki under https://www.rockbox.org/wiki/AIGOErosQK#Native_Port_Installation_40the_new_way_44_with_update_files_41 should point to the right place, but the raw bootloader files for the jztool method linked under https://www.rockbox.org/wiki/AIGOErosQK#Native_Port_Installation_40the_jztool_way_41 won't update until tomorrow.
18
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by Frankenpod on December 07, 2024, 09:05:39 AM »I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.
Thanks for that information - somehow hadn't noticed that. Currently keep track of which-is-which (and remember which has which permutation of sd cards in it and any faults it has and when it was last synched etc) via that serial number, but didn't realise the number was accessible without having to reboot in OF.
(The serial number also indicates the ipod's date-of-manufacture, apparently)
19
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by speachy on December 07, 2024, 09:04:34 AM »I'm not aware of any ipods having a software-queryable serial number, and to be honest the serial number isn't something you'd ever want to display during normal use -- it's ugly. You'd want a nonoffensive human-friendly string instead. (Current default is 'Rockbox!' which we think is appropriate)
I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.
Ugh, that was supposed to be "non-ipods". As in ipods are the only ones I'm aware of that have serial numbers that software can query.
(A lot of others _theoretically_ have serial numbers in flash that can be queried, but in practice they're all set to some default value)
20
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by iPodVT on December 07, 2024, 08:42:45 AM »I'm not aware of any ipods having a software-queryable serial number, and to be honest the serial number isn't something you'd ever want to display during normal use -- it's ugly. You'd want a nonoffensive human-friendly string instead. (Current default is 'Rockbox!' which we think is appropriate)
I agree that displaying the serial number by default would be unattractive. (But with the ipod6g, the serial number apparently is accessible via software-query. It's displayed in System->Debug->View SysCfg.