Re: Flashing firmware on a Mac for LibreDrive
Posted: Sun Sep 17, 2023 5:36 am
Will you update this to use the included sdftool binary? I believe the sdf.bin image is not necessary when using the sdftool binary. I have tried all syntax possible according to sdftool —help. The error is unknown command. I copied and pasted the /io… designation for the drive and of course included the path to the firmware image both parts surrounded by apostrophe characters [some call them single quotations] just in case. No matter how I format the line I cannot make the syntax accepted. Of course I am using version 1.17.4 of MakeMKV. I am using the release candidate of Mac OS version 14.garygomm wrote: ↑Thu Sep 10, 2020 2:07 pmSteps taken
1. download sdf.bin
2. download mk-firmware-pack-YYYYMMDD
- where YYYYMMD is the date of the latest firmware pack
3. Extract the file you need for your drive from mk-firmware-pack-YYYYMMDD -> In my case this was -> HL-DT-ST-BD-RE_BU40N-1.04-NM00500-212005061142.bin
4. then in terminal on the MacBook
- I then copied sdf.bin and the firmware file I extracted from the mk-firmware-pack-YYYYMMDD into my /tmp folder .
(this only to make sure both files in same place and nice easy path to type).
5. then in terminal change directory - > cd /Applications/MakeMKV.app/MacOS/Contents
6. type -> ls - al
you should see a directory listing and one of the objects in the listing is 'makemkvcon'
this step just confirms you are in the right directory
7. the type -> ./makemkvcon f -l
This will allow you to find your drive identifier, in my case -> ''/IOBDServices/D5D25996'
from the following output:
Found 1 drives(s)
00: /IOBDServices/D5D25996, /dev/rdisk3, /dev/rdisk3
HL-DT-ST_BD-RE_BU40N_1.01_211910161032_MOFK6283224
8. to actually perform the update, type -> ./makemkvcon f -d '/IOBDServices/D5D25996' -f /tmp/sdf.bin rawflash main -i /tmp/HL-DT-ST-BD-RE_BU40N-1.04-NM00500-212005061142.bin
you will then be prompted to type in 'yes' to flash the firmware;
Reading input file /tmp/HL-DT-ST-BD-RE_BU40N-1.04-NM00500-212005061142.bin
Flashing flags = 0x0 : 0 0 0 0 : ---- ---- ---- ----
Current Drive ID: HL-DT-ST_BD-RE_BU40N_1.01_211910161032_MOFK6283224
Ready to write drive flash memory.
Type "yes" to continue, "no" to abort
yes
9. Once you type in yes and hit Enter - you should get the following output:
Operation started: Sending flash image to drive
100% Operation finished
Operation started: Programming flash
100% Operation finished
Done successfully
After hitting Enter the upload and flashing took about 20 seconds.