Regarding: https://misterfpga.org/viewtopic.php?t=3661
1. The reason hexdump fails is because of not using the hexdump "-v" parameter
-v
Cause hexdump to display all input data. Without the -v option, any number of groups of output lines, which would be identical to the immediately preceding group of output lines (except for the input offsets), are replaced with a line comprised of a single asterisk.
and therefor the c-style $(( )) arithmetic would fail if a group is replaced with a single asterisk
2. & 0xFEFFFFFFFFFF | 0x020000000000 should be replaced by & 0xFCFFFFFFFFFF as you want to zero the last two bits, namely Universal vs local (U/L bit) and the Unicast vs multicast (I/G bit), otherwise you will not generate a valid MAC address.
3. write MAC address in uppercase with the ^^
Current syntax won't work because it can't ping that kind of address, it needs an IP. I also increased the wait time to reduce unnecessary failures upon people taking more than one second to ping to ntp.
* Update cifs_mount.sh
Updated LOCAL_DIR documentation to cover new special "cifs" location
* Update cifs_mount.sh
Set initial value of LOCAL_DIR to "cifs"
* Log mra_rom_check output to logfile
Since mra_rom_check can create a lot of output, and that output needs to be reviewed carefully, this fix causes to output to simultaneously be directed to a logfile.
- 'Scripts/Logs' subdirectory will be created if it does not already exist
- log output goes to Logs/mra_rom_check.log, which will be deleted and recreated each time it is run
* fixed error reporting with a mismatched rom
* Separate messages for missing MAME version
Too many MRA files are missing MAME version
- these drown out the real issues on the screen and in the logfile
- these don't appear to cause issues with the MRAs
- It is difficult to actually acquire "correct" data for these
-> This update outputs them to a separate logfile and suppresses them from the screen output (can easily be re-enabled later when/if this problem is under control)
Co-authored-by: Alan Steremberg <alanswx@users.noreply.github.com>
Co-authored-by: Alan Steremberg <alan.steremberg@gmail.com>