T1042D4RDB networking problems when booting from SD card

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T1042D4RDB networking problems when booting from SD card

Jump to solution
7,424 Views
oyvind_harboe
Contributor I

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, &reg->fm_imem, addr);
if (rc)
   return rc;
env_set_addr("fman_ucode", addr);

0 Kudos
Reply
1 Solution
7,278 Views
ufedor
NXP Employee
NXP Employee

It is needed to write FMan microcode (attached) to the SD card from block 0x820.

In U-Boot: =>tftp 100000 fsl_fman_ucode_t1040_r1.1_107_4_2.bin  =>mmc write 100000 820 37   In Linux: # dd if=fsl_fman_ucode_t1040_r1.1_107_4_2.bin of=/dev/sdb  seek=2080 bs=512

View solution in original post

0 Kudos
Reply
12 Replies
15 Views
jacklistens5
Fresh Out Contributor

JackListens is the customer feedback survey for Jack in the Box, giving customers an easy way to share their recent dining experiences. The survey typically asks about food quality, service, cleanliness, staff friendliness, and overall satisfaction.

To participate, customers may need information from a recent Jack in the Box receipt. By completing the survey honestly, you can help the restaurant understand what customers enjoy and where improvements are needed. Depending on the current promotion, eligible participants may also receive a validation code or other reward. Taking a few minutes to complete JackListens is a simple way to provide valuable feedback about your visit.

JackListens

0 Kudos
Reply
30 Views
whitecastlesurveys
Fresh Out Contributor

The White Castle Survey gives customers a simple way to share feedback about their recent dining experience. By completing the survey, you can comment on food quality, service, cleanliness, staff behavior, and overall satisfaction. Your honest responses help White Castle understand what customers enjoy and where improvements may be needed. To participate, keep your recent receipt handy and follow the survey instructions provided by the company.

Answer each question carefully based on your actual visit. Depending on the current promotion, completing the survey may also provide an opportunity to receive a reward or special offer. Taking a few minutes to respond can help improve future White Castle visits.

WhiteCastle customers

0 Kudos
Reply
156 Views
krogerfeedbackss
Contributor I

KrogerFeedback is a customer survey that gives shoppers an opportunity to share their experience with Kroger. After completing a recent purchase, customers may be invited to provide feedback about store cleanliness, product availability, checkout speed, employee service, and overall satisfaction. The survey is designed to help Kroger understand what customers enjoy and where improvements may be needed.

Participants should keep their receipt handy because it may contain information required to access the survey. Answering the questions honestly and thoughtfully helps Kroger improve its products and services. Depending on the current promotion, eligible participants may also have a chance to receive a reward or enter a sweepstakes.

KrogerFeedback

0 Kudos
Reply
158 Views
krogerfeedbackss
Contributor I

KrogerFeedback is a customer survey that gives shoppers an opportunity to share their experience with Kroger. After completing a recent purchase, customers may be invited to provide feedback about store cleanliness, product availability, checkout speed,

KrogerFeedback

 

0 Kudos
Reply
4,604 Views
motej40398
Contributor I

Wingstop.com/survey – Mywingstopsurvey.com/usa is an online survey offered by Wingstop, allowing customers to provide valuable feedback on their last visit experience.

The Wingstop company would like you to provide feedback to help them understand what can be changed to ensure customers an improved experience.

0 Kudos
Reply
5,450 Views
legikir105
Contributor I

Welcome to the Wendy's Customer Satisfaction Survey. We value your candid feedback and appreciate you taking the time to complete our survey.

https://haioly-tsiiv-splieurk.yolasite.com/

0 Kudos
Reply
5,324 Views
metewe1644
Contributor I

A login gateway designed just for Lockheed Martin workers is called LMPeople External. Employees can access a range of services through the portal, including pay stubs, benefits, and personal data.

 

0 Kudos
Reply
7,278 Views
oyvind_harboe
Contributor I

Clearification: this is not for Rasperry PI nor my PC, it's for T1042D4RDB.

0 Kudos
Reply
7,278 Views
oyvind_harboe
Contributor I

I see! Thanks! I didn't realize the fMan firmware wasn't included in the u-boot image.

I tried with 108.5.9, but it didn't work. T1042D4RDB ships with 106.4.18 and it worked.

I find it curious that 108.15.9 is included when it doesn't work and that you recommend 107.4.2. 

How did you arrive at the conclusion that 107.4.2 is the right version to program?

$ ls tmp/deploy/images/t1042d4rdb/fsl_*.bin
tmp/deploy/images/t1042d4rdb/fsl_fman_ucode_t1040_r1.1_106_4_18.bin
tmp/deploy/images/t1042d4rdb/fsl_fman_ucode_t1040_r1.1_107_4_2.bin
tmp/deploy/images/t1042d4rdb/fsl_fman_ucode_t1040_r1.1_108_5_9.bin

0 Kudos
Reply
7,278 Views
ufedor
NXP Employee
NXP Employee

FMan microcode revision has to be consistent with the SDK revision.

My assumption was that SDK v2.0 is used.

0 Kudos
Reply
7,278 Views
oyvind_harboe
Contributor I

I'm not using SDK v2.0. It's quite old and not compatible with Ubuntu 18, when I tried(Python 2 vs. 3 problems, near as I can tell).


I'm using Poky 2.6.1

Questions:

1. Why would Poky 2.6.1 ship with 3 different versions?

2. Why ship with the latest one that doesn't work?


Cheers,

0 Kudos
Reply
7,279 Views
ufedor
NXP Employee
NXP Employee

It is needed to write FMan microcode (attached) to the SD card from block 0x820.

In U-Boot: =>tftp 100000 fsl_fman_ucode_t1040_r1.1_107_4_2.bin  =>mmc write 100000 820 37   In Linux: # dd if=fsl_fman_ucode_t1040_r1.1_107_4_2.bin of=/dev/sdb  seek=2080 bs=512
0 Kudos
Reply