Search found 138 matches
- Tue Jul 05, 2022 7:42 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
Commented out the wlan0 and wlan1 clauses from /etc/network/interfaces, and put in a clause for eth0 with static addressing, per above. This is the doing of UDEV rules. A default user would require lo, eth0 or wlan0. That needs to be looked at. The problem is that everywhere "ifup -a" is used, instead of ifup <link>. This will up all lin...
- Mon Jul 04, 2022 1:46 pm
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
I found out that udev and network are biting each other both triggering dhcpcd with ifup ifdown. So I rewrote network as well, which is only needed for lo & eth0 since wlan0 is triggered by udev. It varies greatly with WIRED 7s~12s before the network is actually usable With WIFI its always around 24s, so I dont think NTP is the problem, because...
- Sat Jul 02, 2022 11:56 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
These are the results for a BT/WIFI-based setup:
Code: Select all
Quickest boot time: 6.97
Average boot time: 8.19
Slowest boot time: 8.81
- Fri Jul 01, 2022 9:54 pm
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
dmesg output has some variability to it, so taking an average would give you a better view. EDIT: I would replace ntpd with ntpdate <server>, its fast and it only needs to run once. . This should run in the background and it does not seem to matter if "ntpdate" or "ntpd" is used. Maybe if you run a NTP-server on your local route...
- Wed Jun 29, 2022 10:46 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
I had to shuffle things around and change rcS and some other scripts to get it working. But I got it down to under 10s for my specific setup, including bluetooth and wifi. (it remains to be seen if this is stable and applicable to the general MiSTer setup) Is anyone here an expert in UDEV? [ 1.084770] rcS started: /etc/rc.d/S00boot [ 1.377497] rcS ...
- Wed Jun 29, 2022 8:00 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
You said it saves you 30 seconds but then your graphs from testing shows 1-2 seconds saved, then you say it takes 7-17 seconds. I'm kinda confused about the data you presented and your findings so far. But hey, if there's no downside to changing it and it's for the better, I would PM sorgelig and see if he would be open to accepting a pull request...
- Mon Jun 27, 2022 11:45 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
forked_vs_sourced.png Forked vs Sourced seems negligible bluetoothd.png Putting S45bluetooth before S40network, is noticeably faster when using bluetooth controllers and wifi Without WIFI, ~7 seconds (you can play as soon as you see the MiSTer menu) [ 5.932637] EXT4-fs (loop0): recovery complete [ 5.934892] EXT4-fs (loop0): mounted filesystem with...
- Mon Jun 27, 2022 8:08 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
I tried this, and I don't see any difference in boot speed. Note: don't be dumb like me, and rename everything in the dir to filename.sh. rcS and rcK can't have an .sh extension, or none of the scripts run. If you were using ssh, you'll have to visit the console to unstick it. Yes that can be problematic, if I go by memory its: cpu, u-boot, kernel...
- Sun Jun 26, 2022 7:26 pm
- Forum: Linux
- Topic: Disable Bluetooth
- Replies: 38
- Views: 5774
Re: Disable Bluetooth
That's not going to do anything more, /bin/bluetoothd is the script that controls everything. I could not find anything in the other scripts related to bluetooth. Maybe its something in the MiSTer.rbf (and I cannot fix that)
Could you post the message/screenshot of the error?
Could you post the message/screenshot of the error?
- Sun Jun 26, 2022 9:55 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Re: Init rcS Speed / Faster MiSTer Boot Time
The "S" isn't for Speed, it is for Shutdown. Since there is no formal shutdown on MiSTer, those scripts will never be called. No, that "S" is for "single user mode", did you understand the question? Let me elaborate: If scripts are renamed to .sh in the /etc/init.d/ folder they are "sourced" rather than &quo...
- Sun Jun 26, 2022 9:43 am
- Forum: Linux
- Topic: Disable Bluetooth
- Replies: 38
- Views: 5774
Re: Disable Bluetooth
Try this script: (unpack in /media/fat/Scripts)
Code: Select all
#!/bin/sh
file=/bin/bluetoothd
[ $(stat -c "%a" $file) -eq 0 ] && {
chmod 755 $file
$file start
echo "bluetooth: enabled"
} || {
$file stop
chmod 000 $file
echo "bluetooth: disabled"
}
- Sat Jun 25, 2022 7:35 am
- Forum: Linux
- Topic: Init rcS Speed / Faster MiSTer Boot Time
- Replies: 42
- Views: 6821
Init rcS Speed / Faster MiSTer Boot Time
Just curious, but why are we not using the ".sh" extension for /etc/init.d/ scripts? When searching for shell scripts in /etc/init.d with grep "^#!" /etc/init.d/S??* we find that all of them are scripts: /etc/init.d/S01syslogd:#!/bin/sh /etc/init.d/S02klogd:#!/bin/sh /etc/init.d/S10udev:#!/bin/sh /etc/init.d/S30dbus:#!/bin/sh /e...
- Fri Jun 24, 2022 10:39 am
- Forum: IBM PC, PCXT, Tandy 1000
- Topic: MiSTer PCXT
- Replies: 1406
- Views: 579907
Re: MiSTer PCXT
After some tests, I found one game Commander Keen 4 (CGA version) raised a divider issue at the start of the game. Which version do you use (sha256sums) ? v1.0 66dcf6070a4bc5c8933815b15dab7145ddcccb959f8f43af2a0449b085a04366 AUDIO.CK4 5734c4eee44eab5b0a296297b27ae6f541ce33382bda5dcfd8b674bb33f23a96 CGAGRAPH.CK4 01186f8cb99257b69a4f475186deb9ba79b8...
- Fri Jun 24, 2022 6:32 am
- Forum: IBM PC, PCXT, Tandy 1000
- Topic: MiSTer PCXT
- Replies: 1406
- Views: 579907
Re: MiSTer PCXT
It still does not work, running the command manually in the console gives: ERROR: '/media/usb0/games/PCXT/hdd.img', file size does not match standard CHS geometry (x:16:63), please specify geometry explicitly with -g I think someone mentioned having this error but it still worked for him. Should I try with a smaller disk, like 20MB? That error mea...
- Thu Jun 23, 2022 6:38 pm
- Forum: Newcomers Forum
- Topic: How long does it take for your MiSTer to be operational?
- Replies: 14
- Views: 2664
Re: How long does it take for your MiSTer to be operational?
You could rename /etc/init.d/S45bluetooth to /etc/init.d/S35bluetooth.
This way bleutooth starts before networking/wifi and you don't have to wait for it.
They seem to finish around 12s here, but I didnt clock it.
This way bleutooth starts before networking/wifi and you don't have to wait for it.
They seem to finish around 12s here, but I didnt clock it.
- Thu Jun 23, 2022 6:34 pm
- Forum: IBM PC, PCXT, Tandy 1000
- Topic: MiSTer PCXT
- Replies: 1406
- Views: 579907
- Thu Jun 23, 2022 6:31 pm
- Forum: Sega Saturn
- Topic: Sega Saturn Core in Development
- Replies: 950
- Views: 598446
Re: Sega Saturn Core in Development
I mean if you want to do the work and make sure you coordinate with Kuba who is building and sharing the cores on Discord I don't see any reason why not. It's probably more work than is necessary since the Saturn isn't going to get the rapid update cadence that the PSX got, but on the other hand I don't like the way communities hide their knowledg...
- Fri Jun 17, 2022 4:03 pm
- Forum: Sega Saturn
- Topic: Sega Saturn Core in Development
- Replies: 950
- Views: 598446
Re: Sega Saturn Core in Development
The script does not need to be nightlies and github. It just needs a couple of links to the internet and some hashes for verification. When a new build is released, I'll update the script.KremlingKuthroat19 wrote: ↑Fri Jun 17, 2022 3:22 pm Let's pump the brakes on having Saturn nightlies...
It's just automation, so "you guys" don't have to
- Thu Jun 16, 2022 7:26 pm
- Forum: Sega Saturn
- Topic: Sega Saturn Core in Development
- Replies: 950
- Views: 598446
Re: Sega Saturn Core in Development
Does this need an update script like the PSX? No one commented, so I will give this one more try ;) I made an update script for the PSX nightlies about 7 months ago, and it did pretty well in retrospect. I did not find one for the Saturn and I can easily adapt it "if" there is any interest. With the PSX core released and all, I could piv...
- Tue Jun 14, 2022 3:15 pm
- Forum: IBM PC, PCXT, Tandy 1000
- Topic: MiSTer PCXT
- Replies: 1406
- Views: 579907
Re: MiSTer PCXT
..Or merge ROM files 8 times. $ cat 8k_bios > boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom $ cat 8k_bios >> boot.rom For Windows CMD : copy /y /b 8k_bios+8k_bios+8k_bios+8k_bios+8k_bios+8k_bios+8k_bios+8k_bios boot.rom For Linux ...
- Sun Jun 12, 2022 12:55 pm
- Forum: Sony PlayStation (PSX)
- Topic: Nightly Public Builds for the PlayStation Core
- Replies: 278
- Views: 135017
Re: Nightly Public Builds for the PlayStation Core
Updated Script : unstable-update_psx-nightlies to version 0.10 Its been a couple of months and I've been away, so I checked to see whats up. The script needed some updating, this is whats new: I replaced the BIOS update routine and added a softlink to the latest nightly called: PSX_latest. It will always point to the last download. So unless you w...
- Thu Jun 09, 2022 9:45 am
- Forum: Sega Saturn
- Topic: Sega Saturn Core in Development
- Replies: 950
- Views: 598446
Re: Sega Saturn Core in Development
Does this need an update script like the PSX?
- Thu Jun 09, 2022 9:40 am
- Forum: Sony PlayStation (PSX)
- Topic: Nightly Public Builds for the PlayStation Core
- Replies: 278
- Views: 135017
Re: Nightly Public Builds for the PlayStation Core
I saw the core came out in my absence, congratulations @FPGAzumSpass. Can I retire my script? or are nightlies still being released?
- Fri Apr 29, 2022 7:34 pm
- Forum: Sony PlayStation (PSX)
- Topic: Feature Request: Instant Play, Instant Resume
- Replies: 7
- Views: 1635
Re: Feature Request: Instant Play, Instant Resume
The problem, from what I can tell, is HPS would need to remove and automate a lot of the user feedback, the core might not need any rewriting at all to do what you are asking, it would have to be someone like Sorgelig substantially rewriting how the cd loading, bios loading, etc... all works, and then would have to add a way to tell the core to lo...
- Fri Apr 29, 2022 11:22 am
- Forum: Sony PlayStation (PSX)
- Topic: Feature Request: Instant Play, Instant Resume
- Replies: 7
- Views: 1635
Re: Feature Request: Instant Play, Instant Resume
It's not really feasible to do these things in the core, it would need to be a special handling from HPS. I also do this when testing games and have e.g. main menu at any savestate slot, but it's kind of hard to justify the effort and complexity to have a special handling there. I cylce a lot through games too, so you bump into the load times auto...
- Wed Apr 27, 2022 9:10 am
- Forum: Sony PlayStation (PSX)
- Topic: Feature Request: Instant Play, Instant Resume
- Replies: 7
- Views: 1635
Re: Feature Request: Instant Play, Instant Resume
Apparently its only me who likes this idea, ohh well.
- Wed Apr 20, 2022 11:05 am
- Forum: Sony PlayStation (PSX)
- Topic: Feature Request: Instant Play, Instant Resume
- Replies: 7
- Views: 1635
Feature Request: Instant Play, Instant Resume
I saw the CRT conversion of C64 ROMS, to reduce loading times. Now lately I'm catching myself using the 1st save-state slot in the PSX-core for instant loading. But it still requires two steps and you lose the use of one of the slots. So I would like to request: 1. Instant Play feature: an extra save-state slot for instant loading 2. Instant Resume...
- Thu Mar 03, 2022 7:32 pm
- Forum: Linux
- Topic: Favourites Menu
- Replies: 18
- Views: 2761
Re: Favourites Menu
How about that, everything I read says different, but it works. Good job!
- Thu Mar 03, 2022 3:28 pm
- Forum: Linux
- Topic: Favourites Menu
- Replies: 18
- Views: 2761
Re: Favourites Menu
Unfortunately ExFat does not support soft-links, so what you want to do is not possible.
- Sun Feb 20, 2022 2:41 pm
- Forum: Sony PlayStation (PSX)
- Topic: Nightly Public Builds for the PlayStation Core
- Replies: 278
- Views: 135017
Re: Nightly Public Builds for the PlayStation Core
so i have updated MAIN to latest unstable and still cannot boot anything Why do this manually? Go here and follow the steps, and execute step 4 regardless. i used scripts to update to latest and it not works. i was thinking something went wrong, thats why i compared CRC with the one people post here and it matched, so i use latest and it still don...