GPT magic number problem #61
-
Hello, I am trying to test the files prepared using the polarfire-soc-buildroot-sdk under the Renode simulation framework. It requires the hss, fit image, boot, kernel and emmc image.There is a problem with emmc image. The hss checks its magic number and returns an error: [0.959500] GPT_ValidatePartitionEntries(): Validated GPT Partition Entries ... Is it a problem with image creation or what? What would you advise? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
Hi Wojtek, |
Beta Was this translation helpful? Give feedback.
-
Hi Conor,
To me, it looks like it is something with an image, so maybe I've made a mistake when creating it. When I Hexdump the emmc image provided by renode and mine, is smaller and in the line, wherein renode's image is a magic number, on mine is something else:
Mine emmc image:
|
Beta Was this translation helpful? Give feedback.
-
Hi Wojtek,
I then created an emmc.img by running: (/dev/sdb is an sd card on my system)
Examining the hexdump I could see c0de b007 present at offset 0100000. What process did you follow to create the emmc.img? |
Beta Was this translation helpful? Give feedback.
-
Hi Conor, |
Beta Was this translation helpful? Give feedback.
-
Hi Wojtek, You may also have to change the hash algorithm in
|
Beta Was this translation helpful? Give feedback.
-
Hi Conor, mmuart1
renode output during this timeouts
Regards, |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, I can't help you with that at all. Best thing to do is file an issue against renode instead here: https://github.com/renode/renode/issues/ Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Conor, just for your information: I've found that the problem is with bootcmd, and mmc in u-boot. It looks that even mmcinfo gives timeout in u-boot on renode. |
Beta Was this translation helpful? Give feedback.
Hi Wojtek,
I just built a fresh emmc.img using 6514a11 & running:
I then created an emmc.img by running: (/dev/sdb is an sd card on my system)
Examining the hexdump I could see c0de b007 present at offset 0100000.
What process did you follow to create the emmc.img?
What is present at offset 0100000 in the emmc.img you created?