Hi Folks,
When using current HEAD, ifdtool exits with the error 'You may not specify more than one mode' when using the -f / --layout switch.
to reproduce:
git clone https://review.coreboot.org/coreboot.git cd coreboot/ cd util/ifdtool/ make ./ifdtool --layout me.txt ~/coreboot.rom You may not specify more than one mode.
usage: ./ifdtool [-vhdix?] <filename>
-d | --dump: dump intel firmware descriptor -f | --layout <filename> dump regions into a flashrom layout file
-- SNIP
If I run the same against a previous copy of ifdtool from coreboot 4.9, I do not get the error and the layout file is created correctly.
Is this expected? I cant seem to find anything in docs or release notes that indicate a change in ifdtool behavior regarding the -f / --layout switch
Simon,
On 10/14/19 6:52 PM, Simon Newton wrote:
When using current HEAD, ifdtool exits with the error 'You may not specify more than one mode' when using the -f / --layout switch.
I ran into this recently as well. A fix is available here:
https://review.coreboot.org/c/coreboot/+/36049
Cheers, Samuel