I'm having problems with getting ethernet to work with T1042D4RDB when I'm booting from an SD Card.
Here's the output when I boot:
SERDES Reference : 0x86
Net: Initializing Fman
MMC read: dev # 0, block # 2080, count 128 ...
Fman1: Data at 7fdf8f88 is not a firmware
No ethernet found.
Hit any key to stop autoboot: 0
=> md 0x7df8f88
07df8f88: deadbeef deadbeef deadbeef deadbeef ................
07df8f98: deadbeef deadbeef deadbeef deadbeef ................
07df8fa8: deadbeef deadbeef deadbeef deadbeef ................
07df8fb8: deadbeef deadbeef deadbeef deadbeef ................
07df8fc8: deadbeef deadbeef deadbeef deadbeef ................
07df8fd8: deadbeef deadbeef deadbeef deadbeef ................
07df8fe8: deadbeef deadbeef deadbeef deadbeef ................
From the u-boot code, we I can see that u-boot thought it was able to read from the SD card, but "0xdeadbeef" is indicative that nothing was written to RAM at that address.
Oddly, the return value from blk_dread() is not checked below in u-boot drivers/net/fm/fm.c:
printf("\nMMC read: dev # %u, block # %u, count %u ...\n",
dev, blk, cnt);
mmc_init(mmc);
(void)blk_dread(mmc_get_blk_desc(mmc), blk, cnt,
addr);
}
[deleted]
/* Upload the Fman microcode if it's present */
rc = fman_upload_firmware(index, ®->fm_imem, addr);
if (rc)
return rc;
env_set_addr("fman_ucode", addr);