Configuring kernel before building

Hello
Can you help me
how do I run an update the u-boot and kernel?
Thomas