Hello, We've got our custom hardware in and are having trouble getting u-boot to start up. We've modeled our board close to the canyonlands. The main differences are no sensors, DIMM at 0x51, and a 16Mb NOR flash instead of 64Mb. We boot and get messages and we've determined it is stuck inside the relocation or immediately after it branches to the code in RAM.
My first thought is that we need to make several changes to handle the 16Mb flash since there was some code to handle the movement of the 64Mb flash in early_init_r. It seems for us that is not needed. Secondly, there might be some changes needed to the EBC Setup in the config file. However I've compared those to the data sheet and not seeing anything obvious. I have disabled early_init_r and made the following changes to the configuration #define CFG_FLASH_BASE 0xFF000000 * later mapped to this addr */ #define CFG_FLASH_BASE_PHYS_H 0x0 #define CFG_FLASH_BASE_PHYS_L 0xFF000000 #define CFG_FLASH_BASE_PHYS (((u64)CFG_FLASH_BASE_PHYS_H << 32) | \ (u64)CFG_FLASH_BASE_PHYS_L) #define CFG_FLASH_SIZE (16 << 20) Any tips to what else I might be missing? I don't recall having this much difficulty last time u-boot was ported to our boards. Thanks Ayman _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot