Skip to content

Commit 484d4e6

Browse files
committed
Merge branch 'develop'
2 parents d36b044 + fd35689 commit 484d4e6

File tree

28 files changed

+63
-65
lines changed

28 files changed

+63
-65
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FunKey_S Rev.E
1+
FunKey_S Rev.F

FunKey/board/funkey/rootfs-overlay/etc/issue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
|___| |_____|__|__||__|\__||_____|___ |
66
FUN ON A KEYCHAIN |_____|
77
-----------------------------------------------------
8-
Version 2.1.0
8+
Version 2.2.0
99
-----------------------------------------------------
1010

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
NAME="FunKey-OS"
2-
VERSION="2.1.0 (Cruising Chicken)"
2+
VERSION="2.2.0 (Pyromaniac Penguin)"
33
ID=funkey
44
ID_LIKE=buildroot
5-
PRETTY_NAME="FunKey-OS 2.1.0"
6-
VERSION_ID="2.1.0"
5+
PRETTY_NAME="FunKey-OS 2.2.0"
6+
VERSION_ID="2.2.0"
77
HOME_URL="https://www.funkey-project.com/"
88
SUPPORT_URL="https://www.funkey-project.com/"
99
BUG_REPORT_URL="https://www.funkey-project.com/"
1010
PRIVACY_POLICY_URL="https://www.funkey-project.com"
11-
VERSION_CODENAME=Cruising
12-
UBUNTU_CODENAME=Cruising
11+
VERSION_CODENAME=Pyromaniac
12+
UBUNTU_CODENAME=Pyromaniac
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootfs 2.1.0
1+
rootfs 2.2.0

FunKey/board/funkey/rootfs-overlay/usr/local/sbin/start_launcher

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ while true; do
6060
wait $!
6161
erase_pid
6262

63-
# In case retrofe quits with errors, clear graphic VT
63+
# In case retrofe/opkrun quits with errors, clear graphic VT
6464
termfix_all
65+
66+
# In case retrofe/opkrun quits with errors, reset default key mapping
67+
keymap reset
6568
fi
6669

6770
# WD to prevent 100% CPU

FunKey/board/funkey/sw-description

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
software =
22
{
3-
version = "2.1.0";
3+
version = "2.2.0";
44

5-
hardware-compatibility = [ "#RE:^Rev\.[D-E]$" ];
5+
hardware-compatibility = [ "#RE:^Rev\.[D-F]$" ];
66

77
images: (
88
{
@@ -13,12 +13,6 @@ software =
1313
compressed = "zlib";
1414
}
1515
);
16-
files: (
17-
{
18-
filename = "funkey_gpio_management";
19-
path = "/tmp/funkey_gpio_management";
20-
}
21-
);
2216
scripts: (
2317
{
2418
filename = "update_partition";

FunKey/board/funkey/update_partition

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,27 @@ root_mount=/tmp/rootfs
99

1010
do_preinst()
1111
{
12-
notif " 1/5 EXTRACT FIRMWARE UPDATE..^DO NOT TURN OFF THE CONSOLE"
12+
notif " 1/4 EXTRACT FIRMWARE UPDATE..^DO NOT TURN OFF THE CONSOLE"
1313
exit 0
1414
}
1515

1616
do_postinst()
1717
{
18-
################
19-
# Fix recovery #
20-
################
21-
notif " 2/5 FIX RECOVERY GPIO MANAGER"
22-
rw
23-
cp -a /tmp/funkey_gpio_management /usr/local/sbin/
24-
chmod +x /usr/local/sbin/funkey_gpio_management
25-
ro
26-
18+
2719
#################
2820
# Resize Rootfs #
2921
#################
30-
notif " 3/5 RESIZE ROOT FILESYSTEM^DO NOT TURN OFF THE CONSOLE"
22+
notif " 2/4 RESIZE ROOT FILESYSTEM^DO NOT TURN OFF THE CONSOLE"
3123
resize2fs ${root_part}
3224
if [ $? -ne 0 ]; then
3325
notif " CANNOT RESIZE ROOT^FILESYSTEM"
3426
exit 1
3527
fi
3628

37-
#############
38-
# Copy OPKs #
39-
#############
40-
notif " 4/5 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
29+
##############################
30+
# SHARED PARTITION PROCESSES #
31+
##############################
32+
notif " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
4133

4234
# Mount Rootfs
4335
mkdir -p ${root_mount}
@@ -48,12 +40,10 @@ do_postinst()
4840
fi
4941

5042
# Copy OPKs
51-
shared_partition=/mnt/
52-
mkdir -p "$shared_partition"
53-
cp -r ${root_mount}/usr/local/share/OPKs/* "$shared_partition"
43+
cp -r ${root_mount}/usr/local/share/OPKs/* /mnt
5444

5545
# Fix PCE opk name if necessary
56-
mv "$shared_partition"/Emulators/pce_mednaefn_funkey-s.opk "$shared_partition"/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1
46+
mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1
5747

5848
# Unmount Rootfs
5949
umount ${root_mount}
@@ -62,11 +52,21 @@ do_postinst()
6252
exit 1
6353
fi
6454

55+
# Change FunKey config files extension from .cfg to .fkcfg
56+
SAVEIFS=$IFS
57+
IFS=$(echo -en "\n\b")
58+
for FOLDER in "Atari lynx" "Game Boy" "Game Boy Advance" "Game Boy Color" "Game Gear" "Neo Geo Pocket" "NES" "PCE-TurboGrafx" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan"; do
59+
for FILE in $(ls /mnt/"${FOLDER}"/*.cfg 2>/dev/null); do
60+
mv "$FILE" "${FILE%.cfg}.fkcfg"
61+
done
62+
done
63+
IFS=$SAVEIFS
64+
6565
#####################
6666
# Erase update file #
6767
#####################
6868
for file in $(ls /mnt/FunKey-*.fwu); do
69-
notif " 5/5 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
69+
notif " 4/4 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
7070
rm -f "${file}"
7171
done
7272
exit 0

FunKey/configs/funkey_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/rootfs-overlay"
2626
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/post-build.sh"
2727
BR2_LINUX_KERNEL=y
2828
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
29-
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/FunKey-Project/linux/archive/linux-FunKey-1.0.1.tar.gz"
29+
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/FunKey-Project/linux/archive/refs/tags/linux-FunKey-1.0.2.tar.gz"
3030
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
3131
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/linux.config"
3232
BR2_LINUX_KERNEL_LZO=y

FunKey/package/FCEUX/FCEUX.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
################################################################################
66

7-
FCEUX_VERSION = fceux-FunKey-1.2.0
7+
FCEUX_VERSION = fceux-FunKey-1.2.1
88
FCEUX_SITE_METHOD = git
99
FCEUX_SITE = https://github.com/FunKey-Project/fceux.git
1010
FCEUX_LICENSE = GPL-2.0

FunKey/package/PCSX-ReARMed/PCSX-ReARMed.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
################################################################################
66

7-
PCSX_REARMED_VERSION = pcsx_rearmed-FunKey-1.2.0
7+
PCSX_REARMED_VERSION = pcsx_rearmed-FunKey-1.2.1
88
PCSX_REARMED_SITE_METHOD = git
99
PCSX_REARMED_SITE = https://github.com/FunKey-Project/pcsx_rearmed.git
1010
PCSX_REARMED_LICENSE = GPL-2.0

0 commit comments

Comments
 (0)