[U-Boot] Question about patman

Simon Glass sjg at chromium.org
Mon Oct 28 21:35:57 CET 2013


Hi Masahiro,

On Sun, Oct 27, 2013 at 11:37 PM, Masahiro Yamada
<yamada.m at jp.panasonic.com> wrote:
> Hello Simon.
>
> I'm trying patman, but it looks like
> it doesn't work on my Ubuntu box.
>
> How can I resove the following issue?
>
>
>
> The subject of HEAD is
>     ARM: align MVBAR on 32 byte boundary
>
>
> and the result of my dry run is:
>
> $ python --version
> Python 2.7.4
> $ tools/patman/patman -n -c1
> Cleaned 1 patches
> Traceback (most recent call last):
>   File "tools/patman/patman", line 153, in <module>
>     not options.ignore_bad_tags)
>   File "/home/yamada/workspace/arm-linux-pf/u-boot/tools/patman/series.py", line 225, in MakeCcFile
>     raise_on_error=raise_on_error)
>   File "/home/yamada/workspace/arm-linux-pf/u-boot/tools/patman/gitutil.py", line 308, in BuildEmailList
>     raw += LookupEmail(item, alias, raise_on_error=raise_on_error)
>   File "/home/yamada/workspace/arm-linux-pf/u-boot/tools/patman/gitutil.py", line 472, in LookupEmail
>     raise ValueError, msg
> ValueError: Alias 'arm' not found
>

You should put an alias for arm in your ~/.patman file, like this:

albert: Albert Aribaud <albert.u.boot at aribaud.net>
arm: albert

There is also a -t option to skip bad aliases.

Regards,
Simon


More information about the U-Boot mailing list