Search found 27 matches

by spark2k06
Thu May 30, 2019 7:24 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Bootcore feature

This feature for USB I did not get to fully test it, when I have a little time I check it and see if we can implement it so that it works just as well as from the SD. Any news about this topic will be announced in this thread. Thank you for this feature. It works well directly from the SD Card. Howe...
by spark2k06
Wed Mar 20, 2019 8:06 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Bootcore feature

How to we activate this feature? Thanks Add these lines in MiSTer.ini and uncomment bootcore field: ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved...
by spark2k06
Tue Mar 12, 2019 5:38 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Bootcore feature

Feature available from MiSTer_20190318, more info in the first post.
by spark2k06
Sat Mar 09, 2019 6:00 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

New beta refactorized, free of memory leaks, I think: https://github.com/spark2k06/Main_MiSTer/commit/e8279f5b5f9225dc4f64daf01c058da2906824b2 commit 1: Bootcore feature https://github.com/spark2k06/Main_MiSTer/commit/fb1cb7953462e5f4ee65193f60a26ec3abf6b748 commit 2: Optimizations and normalization...
by spark2k06
Thu Mar 07, 2019 8:38 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

I take note to review it too. Thank you!
by spark2k06
Thu Mar 07, 2019 12:11 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

The solution is not right. I have not allocated space to the destination variables used by strcpy ... I will have to refactor as you say and optimize. Another day, this has to be thought very well. Thanks again for notifying. I will use this great application to detect possible problems with memory:...
by spark2k06
Thu Mar 07, 2019 11:55 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

One thing I notice is that you seem to have unnecessary memory leaks. for example: in function 'FileLoadLastCore' on line 106 you potentially return NULL loosing reference of the memory you malloc on line 97. You should probably free(bootcore) before returning NULL; in function 'bootcore_init' on l...
by spark2k06
Thu Mar 07, 2019 8:32 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190304b)

New beta, new options: ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; corename - Autoboot first...
by spark2k06
Mon Mar 04, 2019 5:09 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote:Auto updating ini anyway is not a good idea. I want to keep it read-only.


I assumed it, totally understandable. I continue with the other idea and the auxiliary file only for bootcore = last.
by spark2k06
Mon Mar 04, 2019 3:37 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Anyway, I'm seeing that updating MiSTer.ini is not a simple task. Contrary to its reading thanks to the function ini_parse (), we have not yet implemented anything for the writing of the fields of the cfg structure, which could be good in the future ... but as I say, if the update of this file is no...
by spark2k06
Mon Mar 04, 2019 3:00 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Oh, i've overlooked. For "last" option it definitely need some config file where last used core will be stored. I mean for "filename_of_core" you don't need that config as core will be directly pointed in this option. I had thought about the following. If the option is 'bootcore...
by spark2k06
Mon Mar 04, 2019 1:42 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Well. I already know how I will do to not need the variable or additional file and with your original idea of ​​bootcore = last or bootcore = filename.

Soon new beta...
by spark2k06
Mon Mar 04, 2019 1:01 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote:for what?
1 = last
2 = filename


Then you propose the use of two variables in MiSTer.ini? True?

Because I need two data, if is the last (for write it or not when the core os selected), and the filename fullpath.
by spark2k06
Mon Mar 04, 2019 12:38 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

i suggest following options: coreboot=last coreboot=filename_of_core if absent then original behaviour. And you don't need additional text file. I think it's a good idea to indicate the core in the MiSTer.ini configuration file itself. But if 'last' is indicated, I need another additional variable,...
by spark2k06
Mon Mar 04, 2019 12:32 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Sorgelig wrote:and may be "bootcore" would sound better.

By the way, check your feature against USB storage. Make sure it works as well.


Ok. :-)
by spark2k06
Mon Mar 04, 2019 12:30 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

i suggest following options: coreboot=last coreboot=filename_of_core if absent then original behaviour. And you don't need additional text file. I think it's a good idea to indicate the core in the MiSTer.ini configuration file itself. But if 'last' is indicated, I need another additional variable,...
by spark2k06
Mon Mar 04, 2019 9:10 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Feature coreboot Beta (MiSTer_20190302c)

The pull request has been rejected for good reasons. After following the tips of Sorgelig and before doing pull request again, we return to beta mode with added functionality, which is the fixed load of a core. For this reason, the variable 'lastcoreboot' is now simply called 'coreboot' and has thre...
by spark2k06
Sun Mar 03, 2019 1:53 pm
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Re: Feature lastcoreboot Beta (MiSTer_20190302b)

Reset button is hardwired to cold reset. So, reset button on I/O board effectively the same as cold reset button on the DE10-nano. HPS has no chance to sense the reset button as it gets hardware reset signal. In theory it's possible to change the button behaviour to let the HPS to sense the button ...
by spark2k06
Sun Mar 03, 2019 5:55 am
Forum: MiSTer
Topic: Newbie questions
Replies: 326
Views: 72549

Re: Newbie questions

You could rename the core to menu.rbf I know, but it does not seem like an elegant way to do it. I am developing a solution to this approach, based on the lastcoreboot = 1 variable that I comment. I am in the debugging phase (I do not have much time for tests either), and when I have it ready I wil...
by spark2k06
Sun Mar 03, 2019 5:53 am
Forum: MiSTer
Topic: Bootcore feature
Replies: 29
Views: 6101

Bootcore feature

Feature available from MiSTer_20190318: ; [MiSTer] ; lastcore - Autoboot the last loaded core (corename autosaved in CONFIG/lastcore.dat) first found on the SD/USB ; lastexactcore - Autoboot the last loaded exact core (corename_yyyymmdd.rbf autosaved in CONFIG/lastcore.dat) first found on the SD/USB...
by spark2k06
Sat Mar 02, 2019 7:59 am
Forum: MiSTer
Topic: Newbie questions
Replies: 326
Views: 72549

Re: Newbie questions

You could rename the core to menu.rbf I know, but it does not seem like an elegant way to do it. I am developing a solution to this approach, based on the lastcoreboot = 1 variable that I comment. I am in the debugging phase (I do not have much time for tests either), and when I have it ready I wil...
by spark2k06
Thu Feb 28, 2019 6:23 am
Forum: MiSTer
Topic: Newbie questions
Replies: 326
Views: 72549

Re: Newbie questions

You could rename the core to menu.rbf I know, but it does not seem like an elegant way to do it. I am developing a solution to this approach, based on the lastcoreboot = 1 variable that I comment. I am in the debugging phase (I do not have much time for tests either), and when I have it ready I wil...
by spark2k06
Tue Feb 26, 2019 3:54 pm
Forum: MiSTer
Topic: Newbie questions
Replies: 326
Views: 72549

Re: Newbie questions

Is there a way to autoboot any core at first boot using a configuration file, such as a new entry in MiSTer.ini, firstboot = 'Amstrad_20190221.rbf' or similar? So, when returning to the main menu, do not start the default core indicated, and only boot default core on the first boot. I think it coul...
by spark2k06
Tue Feb 26, 2019 3:23 pm
Forum: MiSTer
Topic: Newbie questions
Replies: 326
Views: 72549

Re: Newbie questions

Is there a way to autoboot any core at first boot using a configuration file, such as a new entry in MiSTer.ini, firstboot = 'Amstrad_20190221.rbf' or similar? So, when returning to the main menu, do not start the default core indicated, and only boot default core on the first boot. I think it could...
by spark2k06
Sun Feb 24, 2019 4:53 am
Forum: MiSTer
Topic: Wifi
Replies: 126
Views: 34867

Re: Wifi

The resulting kernel is too large to post in the forum but you can download it here: https://github.com/bbond007/Linux-Kernel_MiSTer/tree/socfpga-4.19-MiSTer/RELEASE Works successfully! Thank you :-) https://farm8.staticflickr.com/7845/32250970227_afaf1f783f_z_d.jpg This is a one-shot deal. If it w...

Go to advanced search