I was wondering whether there is an error in the function start_barebox below at line 119 and 122. Is not it missing the RELOC macro? "memcpy(RELOC(&__early_init_data_begin), init_data_ptr" and init_data_ptr = RELOC(&__early_init_data_begin); void start_barebox (void) 108 { 109 initcall_t *initcall; 110 int result; 111 #ifdef CONFIG_COMMAND_SUPPORT 112 struct stat s; 113 #endif 114 115 #ifdef CONFIG_HAS_EARLY_INIT 116 /* We are running from RAM now, copy early initdata from 117 * early RAM to RAM 118 */ 119 memcpy(&__early_init_data_begin, init_data_ptr, 120 (ulong)&__early_init_data_end - 121 (ulong)&__early_init_data_begin); 122 init_data_ptr = &__early_init_data_begin; 123 #endif /* CONFIG_HAS_EARLY_INIT */ 124 -- Renaud Barbier 14, Links Place 3/2 great Michael House Edinburgh, EH67EN Tel: +44 131 561 3532 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox