console_init();
//puts("Firmware launched...\n");
+ puts("fw..");
+#if 0
+ volatile uint32_t *hyperram = 0xa0000000;
+ // quick write/read
+ writel(0xDEAF0000, (unsigned long)&(hyperram[0]));
+ tmp = readl((unsigned long)&(hyperram[0]));
+ puts("read ");
+ uart_writeuint32(tmp);
+
+ return 0;
+#endif
+
puts("DRAM init... ");
+
struct gramCtx ctx;
struct gramProfile profile = {
.mode_registers = {
(void*)DRAM_INIT_BASE); //0x00008000);
puts("done\n");
-#if 0
- // quick write/read
- writel(0xDEAF0000, (unsigned long)&(ram[0]));
- tmp = readl((unsigned long)&(ram[0]));
- puts("read ");
- uart_writeuint32(tmp);
-
- return 0;
-#endif
-
#if 1
puts("Rdly\np0: ");
for (size_t i = 0; i < 8; i++) {