diff --git a/FunKey/board/funkey/busybox.config b/FunKey/board/funkey/busybox.config index 2ccfc87..35e3f35 100644 --- a/FunKey/board/funkey/busybox.config +++ b/FunKey/board/funkey/busybox.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Busybox version: 1.31.1 -# Sun Oct 25 16:55:29 2020 +# Mon Nov 9 00:34:05 2020 # CONFIG_HAVE_DOT_CONFIG=y diff --git a/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/psone_launch_pcsx.sh b/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/psone_launch_pcsx.sh index 3afc12d..f6c3e48 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/psone_launch_pcsx.sh +++ b/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/psone_launch_pcsx.sh @@ -3,4 +3,5 @@ export HOME=/tmp/funkey mkdir -p ${HOME} cd ${HOME} -pcsx -frameskip -cdfile "$1" +#pcsx -frameskip -cdfile "$1" +pcsx -cdfile "$1" diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot index accdef0..27e3b5c 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot @@ -125,43 +125,50 @@ format_backing_store_partition () { # Format the backing store as FAT32 mkfs.vfat ${share_part} >/dev/null 2>&1 || die 17 "cannot format the backing store partition" - + return 0 +} + +copy_files_to_store_partition () { # Add file to force assembly tests mount /mnt/ || die 18 "Cannot mount /mnt" touch /mnt/.assembly_tests || die 19 "Cannot create assembly tests run file" + unzip -q -o /usr/local/share/mnt_freware_games.zip -d /mnt/ umount /mnt/ || die 20 "Cannot unmount /mnt" return 0 } check_root_id check_first_boot -notif "First boot detected!" +notif " FIRST BOOT DETECTED" -notif "1/8 Resize root partition" +notif " 1/9 RESIZE ROOT PARTITION" resize_rootfs_partition -notif "2/8 Reload partition table" +notif " 2/9 RELOAD ROOT PARTITION" reload_partition_table -notif "3/8 Resize root filsystem" +notif " 3/9 RESIZE ROOT FILESYSTEM" resize_rootfs_filesystem -notif "4/8 Create swap" +notif " 4/9 CREATE SWAP" create_swap -notif "5/8 Enable swap" +notif " 5/9 ENABLE SWAP" enable_swap -notif "6/8 Create USB partition" +notif " 6/9 CREATE USB PARTITION" create_backing_store_partition -notif "7/8 Reload partition table" +notif " 7/9 RELOAD PARTITION TABLE" reload_partition_table -notif "8/8 Format USB partition" +notif " 8/9 FORMAT USB PARTITION" format_backing_store_partition -notif "First boot setup finished!" +notif " 9/9 COPY FILES TO ^ USB PARTITION" +copy_files_to_store_partition + +notif " FIRST BOOT SETUP FINISHED!" rw touch /.first_boot ro diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip b/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip new file mode 100644 index 0000000..5890113 Binary files /dev/null and b/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip differ diff --git a/Recovery/board/funkey/busybox.config b/Recovery/board/funkey/busybox.config index 43edd2a..6d28ca2 100644 --- a/Recovery/board/funkey/busybox.config +++ b/Recovery/board/funkey/busybox.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Busybox version: 1.31.1 -# Sun Oct 25 16:03:31 2020 +# Sun Nov 8 23:55:55 2020 # CONFIG_HAVE_DOT_CONFIG=y