Commit graph

25 commits

Author SHA1 Message Date
Hairo R. Carela
268a282da6 rgnano: Proper keylock support
Can use the advanced keylock menu options now.

Change-Id: If59b16ef5649c328558a74dd0601bc2f272c37b7
2025-08-30 17:20:31 -04:00
Hairo R. Carela
6f107430f4 rgnano: Voltage and current measure support
Battery time estimation works now.

This commit also changes the mksquashfs path to FUNKEY_SDK_PATH.

Change-Id: Ic0aa4c40011b0716f1c36c014377eaccb486e841
2025-08-23 13:44:25 -04:00
Hairo R. Carela
c9e16e4888 rgnano: Sleep timer and idle poweroff support
Actually power off the handheld with the sleep timer and idle poweroff functions instead of closing rockbox.

This commit also moves setting system volume to max from the launch script to system-sdl.c so it works when running rockbox via instant play.

Change-Id: I174b67c6abef451faa05f4a8f52b8d9eeed98a22
2025-08-15 09:44:35 -04:00
Hairo R. Carela
707585e6c0 rgnano: Change ROCKBOX_DIR to /mnt/FunKey/.rockbox
For consistency's sake.

Change-Id: Ia2ef27dceaf143ab85adb22581c6461d50914a84
2025-08-10 14:47:17 -04:00
Hairo R. Carela
46d10dda33 rgnano: Instant play support and proper system brightness/volume handling
Instant play is a Funkey OS feature that allows it to relaunch at boot the last program it was running before shutting down, which means that if the handheld is powered off (holding the power button) while rockbox is running the next time it's powered on rockbox will launch at boot.

This commit also handles system brightness/volume in rockbox itself instead of the launch script, so the values are properly reset when powering off the handheld while rockbox is running.

Change-Id: Ie1adbf71069aeed5fbf6670971718a2f718716a3
2025-08-06 20:21:02 -04:00
Solomon Peachy
53ae37825f rgnano: Use the regular install, rather than 'fullinstall'
The difference is that 'fullinstall' installs the full set of
fonts.

Change-Id: Ifd0fb78c3b2e52cdd4c27ba746fddf54914375ae
2025-08-01 13:54:46 -04:00
Solomon Peachy
06d03d8e28 rgnano: More aggressively update the "installed" version
The current code checks the date listed in the "Version" string
in rockbox-info.txt, and updates if the new package has a newer date.

However this is not granular enough, especially when you are iterating
multiple builds on a single day.  It also prevents downgrading to
an older build.

So, instead of checking for a newer date, apply the update if the new
version string (including the commit id) is merely *different* than the
installed one.

Change-Id: Ie5d10ffe011afd1efb3c76c77a3ed19d36df9321
2025-07-31 08:32:31 -04:00
Solomon Peachy
9bf5589d77 rgnano: Add an 'opk-zip' target that wraps the opk (and rockbox-info.txt) in a zip file.
Change-Id: Iae21b693f82d70e350a974138b710c093d24fc3e
2025-07-30 11:45:51 -04:00
Hairo R. Carela
48392bab94 New port: Anbernic RG Nano
A bit of context, this device is a clone of the FunKey-S with a different form factor, hardware is mostly identical, the relevant difference is it has audio out (via usb-c, adapter to 3.5mm is included), this is the reason why the FunKey-SDK is needed for bulding.

This port is based on the old SDL 1.2 code because the device doesn't have SDL2 support. Alongside what was supported in the SDL 1.2 builds this port supports battery level, charging status and backlight control.

Change-Id: I7fcb85be62748644b667c0efebabf59d6e9c5ade
2025-07-29 21:01:53 -04:00
Thomas Jarosch
00c37a6ea2 Prepare unofficial pandora release
The code is based on the 'v3.13-final' tag.

Change-Id: Id2616ea478f9c9b76bb3307d03d1d043ec81074f
2013-03-10 14:09:30 +01:00
Hayden Pearce
17181ecf30 Fixes a typo in rockbox.desktop
Change-Id: Ibae1b391205e5372a506dc8f3820a53f7012252c
Reviewed-on: http://gerrit.rockbox.org/378
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2013-01-02 03:41:10 +01:00
Thomas Jarosch
4dcabec7cc Pandora port: Prepare unofficial release
Code is based on the 'v3.12-final' tag.

Only tweak is that most plugins are not
distributed due to missing keymaps.

Change-Id: Ia09e52076e128504c1f1883078c29c408600f063
2012-12-26 01:00:29 +01:00
Thomas Jarosch
4effd862fd Pandora port: Fix permissions before creating the .pnd archive
Otherwise the pandora unionfs mount point will show
the correct permissions as root but the normal user
won't be able to start the binary.

-> unionfs messes up the access rights

Change-Id: I79d744f5bdcee342090e95c7a5edeb775429e2f6
2012-12-26 00:59:41 +01:00
Thomas Jarosch
3d842c6549 Pandora port: Remove non-working plugins
Change-Id: I923d2a583bbb41897daf2ea84bc8a2723f3a129c
Note: The credits screen/mikmod etc. is working.
2012-12-26 00:57:19 +01:00
Frank Gevaerts
229d88c899 Move rockbox.desktop to a better place.
Change-Id: I987c015ed067e47c5fbbbc9eea1a7ddbbce186ba
2012-07-25 10:13:22 +02:00
Thomas Jarosch
32d2cb3e8a Prepare new, unofficial pandora build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31205 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 19:25:21 +00:00
Thomas Jarosch
51df0c9f22 Prepare new, unofficial pandora build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30090 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 17:33:04 +00:00
Thomas Jarosch
986a92fe66 Pandora port: Automate rockbox.pnd (=binary archive) build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29991 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:58:03 +00:00
Thomas Jarosch
79dd27de82 Fix pandora packaging for pre hotfix6 OS version
Push out new build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29926 a1c6a512-1295-4272-9138-f99709370657
2011-05-25 20:12:25 +00:00
Thomas Jarosch
c6e6710bcf Update pandora packaging file
- Add package tag so we can differentiate
  between packager and original code authors

- Add GPLv2 license tag + "other" license tag

- Misc cleanup and made sure it validates
  against the latest PXML xml schema.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29752 a1c6a512-1295-4272-9138-f99709370657
2011-04-20 20:02:45 +00:00
Thomas Jarosch
7733ab942f Increase pandora build version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29730 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 21:42:57 +00:00
Thomas Jarosch
1177651d56 Prepare new Pandora .pnd build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29580 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 14:06:50 +00:00
Thomas Jarosch
4594b133b0 Remove major_version define from rpm .spec file, it's not needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29540 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 09:52:01 +00:00
Thomas Jarosch
77d409dd39 Add rockbox rpm .spec file
Supports build from unreleased subversion checkouts.
Tested on Fedora 14.

Might be the base for a MeeGo package later on.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29538 a1c6a512-1295-4272-9138-f99709370657
2011-03-07 20:51:01 +00:00
Thomas Jarosch
0b0f99b18e RaaA: Add Pandora specific packaging files needed for .pnd creation
Create a packaging/ directory which will get a
packaging/rpm/rockbox.spec file later on.

The rockbox.spec file can probably be shared
between f.e. Fedora and meego.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29520 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 17:25:52 +00:00