Does word "brim" have the same meaning in the following two sentences?

Brim a cup to good fellowship.

The room brimmed with people.
different meanings