hostname_init() must be called after the devicetree root node has been initialized, otherwise the check on board compatible always returns false. Signed-off-by: Beniamino Galvani <b.galvani@xxxxxxxxx> --- arch/arm/boards/radxa-rock/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/radxa-rock/board.c b/arch/arm/boards/radxa-rock/board.c index 691f243..3d9b5be 100644 --- a/arch/arm/boards/radxa-rock/board.c +++ b/arch/arm/boards/radxa-rock/board.c @@ -84,4 +84,4 @@ static int hostname_init(void) return 0; } -core_initcall(hostname_init); +postcore_initcall(hostname_init); -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox