Message ID | 20150205084323.GS10842@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello Russell, On Thu, Feb 05, 2015 at 09:43:23AM +0100, Uwe Kleine-König wrote: > An unmodified 3.19.0-rc6 + efm32_defconfig boots just fine with XIP (and > has to little RAM for holding the kernel image in it's 4 MiB RAM). And btw next fails to build because of your patch 51f36035999ca403d08304176bdfa288a549b50e. Maybe you can limit it to MMU configs only to prevent false positives? 51f36035999ca403d08304176bdfa288a549b50e^ builds and boots just fine on my efm32 board. Best regards Uwe
--- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -895,6 +895,8 @@ void __init hyp_mode_check(void) #endif } +volatile int test __initdata; + void __init setup_arch(char **cmdline_p) { const struct machine_desc *mdesc; @@ -929,8 +931,14 @@ void __init setup_arch(char **cmdline_p) paging_init(mdesc); request_standard_resources(mdesc); - if (mdesc->restart) + if (mdesc->restart) { arm_pm_restart = mdesc->restart; + test = 3; + } else { + test = 5; + } + + pr_info("%s: test = %d (%p)\n", __func__, test, &test); unflatten_device_tree();