the following patch was just integrated into master: commit bbf508914df2375efb38bedb0527b87eeac697c5 Author: Werner Zeh werner.zeh@siemens.com Date: Wed Mar 2 17:45:53 2016 +0100
cbfstool: Initialize contents of linux_params to 0
When linux is used as payload, the parameters to the kernel are build when cbfstool includes bzImage into the image. Since not all parameters are used, the unused will stay uninitialized. There is a chance, that the uninitialized parameters contain random values. That in turn can lead to early kernel panic. To avoid it, initialize all parameters with 0 at the beginning. The ones that are used will be set up as needed and the rest will contain 0 for sure. This way, kernel can deal with the provided parameter list the right way.
Change-Id: Id081c24351ec80375255508378b5e1eba2a92e48 Signed-off-by: Werner Zeh werner.zeh@siemens.com Reviewed-on: https://review.coreboot.org/13874 Reviewed-by: Aaron Durbin adurbin@chromium.org Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
See https://review.coreboot.org/13874 for details.
-gerrit