also disable HAS_DRAM check so that copying to BRAM is also fine
puts("Dump DRAM\r\n");
for (i = 0; i < 64; i++) {
- uart_writeuint32(ehdr.e_entry+(i*4));
+ uart_writeuint32(readl(ehdr.e_entry+(i*4)));
+ puts(" ");
if ((i & 7) == 7) puts("\r\n");
}
puts("\r\n");
#endif
puts("done\n");
- // memcpy from SPI Flash to SDRAM then boot
+ // memcpy from SPI Flash then boot
if ((ftr & SYS_REG_INFO_HAS_SPI_FLASH) &&
- (ftr & SYS_REG_INFO_HAS_DRAM) &&
(failcnt == 0))
{
// identify ELF, copy if present, and get the start address