Locutus73 wrote:Correct... usually I put only the options I customize in the ini.SegaMan wrote:Ok.
Then i put the user option selection (https://github.com/MiSTer-devel/Updater ... sh#L41-L90) into update.ini and when launching the update.sh it will use this settings?
Regards.
Locutus73
MiSTer updater script
Moderators: Mug UK, Zorro 2, spiny, Greenious, Sorgelig, Moderator Team
Re: MiSTer updater script
Create a "update.ini" file and put this options/commands there.
Re: MiSTer updater script
yeah i read about the ini file in the wiki. but i got the impression that only filters are used in the in file, not options. If options are possible then i will try that.
Re: MiSTer updater script
You can use all options. Filters are used in the examples.jayp76 wrote:yeah i read about the ini file in the wiki. but i got the impression that only filters are used in the in file, not options. If options are possible then i will try that.
Locutus73
Re: MiSTer updater script
Just to confirm, the script does not update the Linux image, right?
I thought I saw an option, but re-reading the wiki/doc I see no such thing.
I thought I saw an option, but re-reading the wiki/doc I see no such thing.
Re: MiSTer updater script
https://github.com/MiSTer-devel/Updater ... sh#L92-L93Newsdee wrote:Just to confirm, the script does not update the Linux image, right?
I thought I saw an option, but re-reading the wiki/doc I see no such thing.
Regards.
Locutus73
Re: MiSTer updater script
Locutus73 wrote:https://github.com/MiSTer-devel/Updater ... sh#L92-L93Newsdee wrote:Just to confirm, the script does not update the Linux image, right?
I thought I saw an option, but re-reading the wiki/doc I see no such thing.
Regards.
Locutus73
Is this one of those things where you cross your fingers and hope nothing breaks after updating the Linux image?
Is it generally safe to do?
Re: MiSTer updater script
I tried the experimental part to update linux. Is there a quick way to verify that it worked?
Re: MiSTer updater script
Script-output showed download of new linux.img and uboot.img and timestamps for these files in /media/fat/linux show 19.01.2019Flausch wrote:I tried the experimental part to update linux. Is there a quick way to verify that it worked?
Re: MiSTer updater script
Flausch wrote:I tried the experimental part to update linux. Is there a quick way to verify that it worked?
Code: Select all
uname -a
Regards.
Locutus73
Re: MiSTer updater script
The released procedure always worked for me, but I won't sell it as a safe procedure and I will always describe it as experimental/do it at your own risk.warham wrote: Is this one of those things where you cross your fingers and hope nothing breaks after updating the Linux image?
Is it generally safe to do?
This is the output code with the disclaimer
Code: Select all
echo "======================================================================================"
echo "Hold your breath: updating the Kernel, the Linux filesystem, the bootloader and stuff."
echo "Stopping this will make your SD unbootable!"
echo ""
echo "If something goes wrong, please download the SD Installer from"
echo "$SD_INSTALLER_URL"
echo "and copy the content of the files/linux/ directory in the linux directory of the SD."
echo "Reflash the bootloader with the SD Installer if needed."
echo "======================================================================================"
Locutus73
Re: MiSTer updater script
I just ran the update and I see the version jumped from april to january. So far so good.
ThankS Locutus73
ThankS Locutus73
Re: MiSTer updater script
So from looking over the updater script, it appears to download the cores into their respective folders on the root beginning with an underscore (_Arcade, _Computer, _Console). For arcade cores in particular, would the ROMs still need to go into the root of the SD card, or would they go into the _Arcade folder instead now? Thank you for your patience as I am just getting into MiSTer now.
Re: MiSTer updater script
They can go into the _Arcade directory or wherever you put the rbf core.Veridor wrote:So from looking over the updater script, it appears to download the cores into their respective folders on the root beginning with an underscore (_Arcade, _Computer, _Console). For arcade cores in particular, would the ROMs still need to go into the root of the SD card, or would they go into the _Arcade folder instead now? Thank you for your patience as I am just getting into MiSTer now.
Regards.
Locutus73
Re: MiSTer updater script
Thanks for the clarification. Can't wait to get my MiSTer build up an running. I have my DE-10 Nano, and am waiting on SDRAM and I/O boards.Locutus73 wrote: They can go into the _Arcade directory or wherever you put the rbf core.
Regards.
Locutus73
Re: MiSTer updater script
I finally have my MiSTer build up and running, and I'm executing the updater script now. Is it normal for it to hang or take a long time on "Checking Menu"? It already checked, downloaded, and moved the MiSTer Main core.
Re: MiSTer updater script
All cores (including main MiSTer exec and main menu) should take the same time (more or less).Veridor wrote:I finally have my MiSTer build up and running, and I'm executing the updater script now. Is it normal for it to hang or take a long time on "Checking Menu"? It already checked, downloaded, and moved the MiSTer Main core.
Regards.
Locutus73
Re: MiSTer updater script
After running the latest update script, with Linux update enabled, I took a look at the /media/fat/linux folder and I have this strange situation:
-rwxr-xr-x 1 root root 262144000 Mar 30 11:46 MidiLink.INI
-rwxr-xr-x 1 root root 262144000 Mar 30 11:54 linux.img
Huge MidiLink.INI and same size as linux.img
Anyone?
-rwxr-xr-x 1 root root 262144000 Mar 30 11:46 MidiLink.INI
-rwxr-xr-x 1 root root 262144000 Mar 30 11:54 linux.img
Huge MidiLink.INI and same size as linux.img
Anyone?
Re: MiSTer updater script
Good catch, same here. I think it’s related to the last mv command which moves the contents of the whole linux directory but the system misbehaves after linux.img is overwritten. I’ll try to move all other files first and just linux.img at the very last moment.toromand wrote:After running the latest update script, with Linux update enabled, I took a look at the /media/fat/linux folder and I have this strange situation:
-rwxr-xr-x 1 root root 262144000 Mar 30 11:46 MidiLink.INI
-rwxr-xr-x 1 root root 262144000 Mar 30 11:54 linux.img
Huge MidiLink.INI and same size as linux.img
Anyone?
I’ll report back when I update the script.
Thanks
Locutus73
Re: MiSTer updater script
I tried updating Linux again, after deleting MidiLink.INI, mt32-rom-data and soundfonts (and after deleting the 0 bytes release_20190302.rar placeholder file in the hidden .mister_updater directory inside the scripts directory) and I got a regular sized MidiLink.INI.
Regardless I updated mister_updater.sh with a safer Linux system updating strategy: linux.img is moved as the very last step in the process.
Please try again and report back.
Thank you in advance.
Best regards.
Locutus73
Regardless I updated mister_updater.sh with a safer Linux system updating strategy: linux.img is moved as the very last step in the process.
Please try again and report back.
Thank you in advance.
Best regards.
Locutus73
-
- Atarian
- Posts: 3
- Joined: Sun Mar 31, 2019 8:43 am
Re: MiSTer updater script
just wanted to check,
does the updater script just download the newest version of every file again or does it check to see if anything was updated and only downloads if there is a new version?
thanks
does the updater script just download the newest version of every file again or does it check to see if anything was updated and only downloads if there is a new version?
thanks
Re: MiSTer updater script
it checks for new files and updates accordingly
-
- Obsessive compulsive Atari behavior
- Posts: 143
- Joined: Sat Oct 20, 2018 3:20 pm
Re: MiSTer updater script
So if i just want to add an update script to the script folder for just updating linux on its own (naming it update-linux), what line need to be added to the update-linux.ini file
am i right in thinking its just this 1 line......
SD_INSTALLER_URL="https://github.com/MiSTer-devel/SD-Inst ... n64_MiSTer"
am i right in thinking its just this 1 line......
SD_INSTALLER_URL="https://github.com/MiSTer-devel/SD-Inst ... n64_MiSTer"
-
- Obsessive compulsive Atari behavior
- Posts: 143
- Joined: Sat Oct 20, 2018 3:20 pm
Re: MiSTer updater script
anyone?
Re: MiSTer updater script
Yeah, but it would update all other stuff before updating Linux.BlockABoots wrote:So if i just want to add an update script to the script folder for just updating linux on its own (naming it update-linux), what line need to be added to the update-linux.ini file
am i right in thinking its just this 1 line......
SD_INSTALLER_URL="https://github.com/MiSTer-devel/SD-Inst ... n64_MiSTer"
If you want to update just Linux, add:
Code: Select all
REPOSITORIES_FILTER="ZZZZZZZZZZ"
ADDITIONAL_REPOSITORIES=( "" )
SD_INSTALLER_URL="https://github.com/MiSTer-devel/SD-Installer-Win64_MiSTer"
Locutus73
-
- Obsessive compulsive Atari behavior
- Posts: 143
- Joined: Sat Oct 20, 2018 3:20 pm
Re: MiSTer updater script
Thanks, ill give it a go