iam struggling with the same problem!Vivec wrote:Hello! Please help me! Trying to update the firmware on my benq xl2420z according to the method described in this forum on page 5 I get this problem:
Code: Select all
ubuntu@ubuntu:~/flashrom$ wget -O- http://boeglin.org/static/benq/0001-Add-programmer-f…SP-protocol.patch | patch -p1 --2014-12-25 20:26:45-- http://boeglin.org/static/benq/0001-Add-programmer-f…SP-protocol.patch Resolving boeglin.org (boeglin.org)... 178.170.95.127, 2a00:c70:1:178:170:95:127:1 Connecting to boeglin.org (boeglin.org)|178.170.95.127|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12625 (12K) [text/x-diff] Saving to: ‘STDOUT’ 100%[======================================>] 12,625 --.-K/s in 0.08s 2014-12-25 20:26:45 (147 KB/s) - written to stdout [12625/12625] patching file Makefile Reversed (or previously applied) patch detected! Assume -R? [n]
I've tried proxy and different versions of Ubuntu. No results. When i've applied patch, i get this:
Code: Select all
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 00 ff ff ff ff ff ff 00 09 d1 2c 7f 45 54 00 00 ........??,?ET.. 10: 0b 18 01 03 0e 35 1e 78 2e 9d e1 a6 54 54 9f 26 ?????5?x.???TT?& 20: 0d 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc ?PT?k???E|a|???? 30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c ?<1|???:??q8-@X, 40: 45 00 13 2a 21 00 00 1e 00 00 00 ff 00 57 33 45 E.?*!..?.....W3E 50: 30 30 32 39 36 53 4c 30 0a 20 00 00 00 fd 00 18 00296SL0? ...?.? 60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc x???.? ...? 70: 00 42 65 6e 51 20 58 4c 32 34 32 30 5a 0a 00 b0 .BenQ XL2420Z?.? ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi ev=/dev/i2c-1:49 flashrom v0.9.7-r1860 on Linux 3.13.0-32-generic (i686) flashrom is free software, get the source code at http://www.flashrom.org Error: Unknown programmer "mstarddc_spi ev=/dev/i2c-1:49". Valid choices are: internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia, it8212, serprog, buspirate_spi, rayer_spi, pony_spi, nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi. Please run "flashrom --help" for usage info
P.S. Sorry for my english. Thanks in advance.
Firmware upgrade using Linux tool, requires no hardware
Re: Firmware upgrade using Linux tool, requires no hardware
Re: Firmware upgrade using Linux tool, requires no hardware
I'm a beginner myself, but here are a few of my observations:
Here, you should have "dev" instead of "ev".
Maybe you already installed a patch. If you wish to try starting fresh, delete the "flashrom" - folder, download it again, and reapply the patch.
Also, if you are using...
... you could instead try using:
Code: Select all
sudo ./flashrom -p mstarddc_spi ev=/dev/i2c-1:49
Code: Select all
Reversed (or previously applied) patch detected! Assume -R? [n]
Also, if you are using...
Code: Select all
svn co svn://flashrom.org/flashrom/trunk flashrom
Code: Select all
svn co svn://flashrom.org/flashrom/trunk@1846 flashrom
Re: Firmware upgrade using Linux tool, requires no hardware
well i dont think i have anything installed, i used a fresh ubuntu 14.04 lts installation (livecd).
but i will give it a try.
but i will give it a try.
Re: Firmware upgrade using Linux tool, requires no hardware
good news, "trunk@1846" did the job for me.Vox wrote: Also, if you are using...... you could instead try using:Code: Select all
svn co svn://flashrom.org/flashrom/trunk flashrom
Code: Select all
svn co svn://flashrom.org/flashrom/trunk@1846 flashrom

-
- Posts: 36
- Joined: 18 Jun 2014, 21:17
Re: Firmware upgrade using Linux tool, requires no hardware
Bit of a problem here guys.
So I was using my 970 and DVI just trying things out and went as far as trying to export / backup the firmware. All steps until this had worked as expected, but reading failed with error code 05.
So I figured, I'll try and find VGA cable but of course my 970 G1 Gaming doesn't have this and right now I'm not sure if I have a VGA to DVI connector.
Anyway, the problem is that the screen is all over the place everywhere except in Linux. During boot or windows it's messed up nor will it turn off. So now I know I need to update to fix it.
I've checked and all the commands still return the normal numbers so I don't think anything is permanently gone but need to understand how to proceed now?
So I was using my 970 and DVI just trying things out and went as far as trying to export / backup the firmware. All steps until this had worked as expected, but reading failed with error code 05.
So I figured, I'll try and find VGA cable but of course my 970 G1 Gaming doesn't have this and right now I'm not sure if I have a VGA to DVI connector.
Anyway, the problem is that the screen is all over the place everywhere except in Linux. During boot or windows it's messed up nor will it turn off. So now I know I need to update to fix it.
I've checked and all the commands still return the normal numbers so I don't think anything is permanently gone but need to understand how to proceed now?
4790K (Broke)
G3258 (@ x48, little beast)
970 G1 Gaming SLI (returned, lacking vRAM for some reason..)
iGPU (waiting for AMD to deliver something nice)
XL2411Z (firmware V4 thanks to people here)
G3258 (@ x48, little beast)
970 G1 Gaming SLI (returned, lacking vRAM for some reason..)
iGPU (waiting for AMD to deliver something nice)
XL2411Z (firmware V4 thanks to people here)
-
- Posts: 36
- Joined: 18 Jun 2014, 21:17
Re: Firmware upgrade using Linux tool, requires no hardware
Fixed.
So incase anyone else needs this. As I mentioned above, I was foolish enough to play around up to the firmware backup step using only DVI with my 970 where it failed with error code 05 (read error). After rebooting, the monitor was in panic mode (or rather I was), in Windows it was unusable and in Boot it was barely readable / same with Linux.
Now, incase yours get's worse from that as mine did with constant / heavy flickering which can (or will depending your condition) induce a seizure I recommend running this command:
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-1:49 <- using whatever yours is of course!
After I ran that, the monitor turned off and on and the screen was back to usable, no more flicker (I still feel sick from it).
Anyway, the fix: boot into your BIOS and enable multi-monitor and that's it, no other changes - don't make your iGPU your Primary etc etc. No need to have another computer etc etc. You still keep using your dGPU and DVI so no changes, just plug in a VGA cable from iGPU to the monitor as an addition and boot back to Linux. You will now find VGA as a i2c and proceed as per the instructions. I now have working V3.
So incase anyone else needs this. As I mentioned above, I was foolish enough to play around up to the firmware backup step using only DVI with my 970 where it failed with error code 05 (read error). After rebooting, the monitor was in panic mode (or rather I was), in Windows it was unusable and in Boot it was barely readable / same with Linux.
Now, incase yours get's worse from that as mine did with constant / heavy flickering which can (or will depending your condition) induce a seizure I recommend running this command:
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-1:49 <- using whatever yours is of course!
After I ran that, the monitor turned off and on and the screen was back to usable, no more flicker (I still feel sick from it).
Anyway, the fix: boot into your BIOS and enable multi-monitor and that's it, no other changes - don't make your iGPU your Primary etc etc. No need to have another computer etc etc. You still keep using your dGPU and DVI so no changes, just plug in a VGA cable from iGPU to the monitor as an addition and boot back to Linux. You will now find VGA as a i2c and proceed as per the instructions. I now have working V3.
4790K (Broke)
G3258 (@ x48, little beast)
970 G1 Gaming SLI (returned, lacking vRAM for some reason..)
iGPU (waiting for AMD to deliver something nice)
XL2411Z (firmware V4 thanks to people here)
G3258 (@ x48, little beast)
970 G1 Gaming SLI (returned, lacking vRAM for some reason..)
iGPU (waiting for AMD to deliver something nice)
XL2411Z (firmware V4 thanks to people here)
Re: Firmware upgrade using Linux tool, requires no hardware
Im a total noob with linux never ever used it, followed bishis guide and i managed to upgrade and it was easy!
Heres what i did:
Used my old pc both monitors connected to my gpu mvidia 285 gtx.used nouveau driver.
TV VGA>DVI-D(dvid connector)
xl2411z VGA>VGA
Turned my xl2411z off and started the upgrade.
Just follow the bishi guide and you are good to go..
My only "problem" came with this command. sudo i2cdump -r 0-127 1 0x50 but realized soon enough that you should change the value if u cant see your monitor.
sudo i2cdump -r 0-127 1 0x50
so changed the 1 to 2.
sudo i2cdump -r 0-127 2 0x50 and there my benq..
So from now on you always replace the value to your own. In my case its 2.
example
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49 -c "MX25L1605A/MX25L1606E" -r backup.bin'
Put the XL2411Z_V2_20131209_8B72.BIN in the flashrom folder + check that the name matches!
tr '\000' '\377' < /dev/zero | dd of=firmware.bin bs=1k count=2k
dd if=XL2411Z_V2_20131209_8B72.BIN of=firmware.bin conv=notrunc
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49 -c "MX25L1605A/MX25L1606E" -w firmware.bin
flashrom v0.9.7-r1846 on Linux 3.13.0-32-generic (i686)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-2 and address 0x49.
Info: WILL reset the device at the end.
Found Macronix flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) on mstarddc_spi.
Reading old flash chip contents...
done.
Erasing and writing flash chip...
Erase/write done.
Verifying flash...
VERIFIED.
Easy!
Thanks Pipomolo42,Bishi and Chief
Heres what i did:
Used my old pc both monitors connected to my gpu mvidia 285 gtx.used nouveau driver.
TV VGA>DVI-D(dvid connector)
xl2411z VGA>VGA
Turned my xl2411z off and started the upgrade.
Just follow the bishi guide and you are good to go..
My only "problem" came with this command. sudo i2cdump -r 0-127 1 0x50 but realized soon enough that you should change the value if u cant see your monitor.
Code: Select all
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
sudo i2cdump -r 0-127 1 0x50
so changed the 1 to 2.
sudo i2cdump -r 0-127 2 0x50 and there my benq..
Code: Select all
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 30 7f 45 54 00 00 ........??0?ET..
10: 03 18 01 03 0e 35 1e 78 2e 9d e1 a6 54 54 9f 26 ?????5?x.???TT?&
20: 0d 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c ?<1|???:??q8-@X,
40: 45 00 13 2a 21 00 00 1e 00 00 00 ff 00 36 31 45 E.?*!..?.....61E
50: 30 30 35 30 34 53 4c 30 0a 20 00 00 00 fd 00 18 00504SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc x???.? ...?
70: 00 42 65 6e 51 20 58 4c 32 34 31 31 5a 0a 00 df .BenQ XL2411Z?.?
example
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49 -c "MX25L1605A/MX25L1606E" -r backup.bin'
Put the XL2411Z_V2_20131209_8B72.BIN in the flashrom folder + check that the name matches!
tr '\000' '\377' < /dev/zero | dd of=firmware.bin bs=1k count=2k
dd if=XL2411Z_V2_20131209_8B72.BIN of=firmware.bin conv=notrunc
sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-2:49 -c "MX25L1605A/MX25L1606E" -w firmware.bin
flashrom v0.9.7-r1846 on Linux 3.13.0-32-generic (i686)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-2 and address 0x49.
Info: WILL reset the device at the end.
Found Macronix flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) on mstarddc_spi.
Reading old flash chip contents...
done.
Erasing and writing flash chip...
Erase/write done.
Verifying flash...
VERIFIED.
Easy!
Thanks Pipomolo42,Bishi and Chief
-
- Posts: 3
- Joined: 18 Feb 2015, 01:37
Re: Firmware upgrade using Linux tool, requires no hardware
for the love of god people, im willing to pay 20$ via paypal if any of you could do this for me thro teamviewer, or atleast helps me step by step , im so confused
-
- Posts: 3
- Joined: 18 Feb 2015, 01:37
Re: Firmware upgrade using Linux tool, requires no hardware
yo im dead serious guys, for the guy who sent me a privet message. my account cant recieve messages yet, so here is my Email : [email protected]TotalNewbie wrote:for the love of god people, im willing to pay 20$ via paypal if any of you could do this for me thro teamviewer, or atleast helps me step by step , im so confused
-
- Posts: 2805
- Joined: 26 Mar 2014, 07:23
Re: Firmware upgrade using Linux tool, requires no hardware
Hi guys,
I made a Ubuntu USB boot disk and successfully booted into it, but I have never used Linux before. So I do not know what I'm doing.
I got the v4 firmware for the XL 2720Z and want to update from V2 to V4.
Can someone please instruct a person who is a complete clueless person on how to do this? I will be booting through a laptop that has a VGA port (also has hdmi).
I posted earlier (months ago) for help but never got a reply back at all
I *REALLY* need some detailed help here.
I do NOT understand Linux or all these weird commands.
I used the USB boot disk and "Try Ubuntu"
I Followed all the install commands and got the i2c packages installed.
So, where do I put the patch file that is on the first page? Where does it go??
Does it go on the local hard drive? Does it go on the USB disk? if so, where?
Where does the benq FIRMWARE file go??
I downloaded the V4 2720Z firmware. So where do I put it?
I have it in the root folder of the Ubuntu disk.
I also put this file: "0001-Add-programmer-for-the-MSTAR-I2C-ISP-protocol.patch " on the root folder of the UBUNTU usb boot disk.
Remember I do NOT have it installed. I just used "Try Ubuntu" mode.
However there IS NO 'flashrom' folder after I did the previous steps. I did a search for /flashrom/ both on the windows 7 drive (in windows) and on the boot disk. Nothing. I couldn't even find the packages I installed before ::(
Also ,when I RESTARTED the computer and rebooted everything, it acted like NOTHING was even installed ,even though it did install and download the packages before. It acted like nothing was done at all.
So where did the stuff go?
I made a Ubuntu USB boot disk and successfully booted into it, but I have never used Linux before. So I do not know what I'm doing.
I got the v4 firmware for the XL 2720Z and want to update from V2 to V4.
Can someone please instruct a person who is a complete clueless person on how to do this? I will be booting through a laptop that has a VGA port (also has hdmi).
I posted earlier (months ago) for help but never got a reply back at all

I *REALLY* need some detailed help here.
I do NOT understand Linux or all these weird commands.
I used the USB boot disk and "Try Ubuntu"
I Followed all the install commands and got the i2c packages installed.
So, where do I put the patch file that is on the first page? Where does it go??
Does it go on the local hard drive? Does it go on the USB disk? if so, where?
Where does the benq FIRMWARE file go??
I downloaded the V4 2720Z firmware. So where do I put it?
I have it in the root folder of the Ubuntu disk.
I also put this file: "0001-Add-programmer-for-the-MSTAR-I2C-ISP-protocol.patch " on the root folder of the UBUNTU usb boot disk.
Remember I do NOT have it installed. I just used "Try Ubuntu" mode.
However there IS NO 'flashrom' folder after I did the previous steps. I did a search for /flashrom/ both on the windows 7 drive (in windows) and on the boot disk. Nothing. I couldn't even find the packages I installed before ::(
Also ,when I RESTARTED the computer and rebooted everything, it acted like NOTHING was even installed ,even though it did install and download the packages before. It acted like nothing was done at all.
So where did the stuff go?
Last edited by Falkentyne on 23 Mar 2015, 04:05, edited 1 time in total.