Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPL: failed to boot from all boot devices #7

Open
navinagaraj opened this issue Sep 2, 2022 · 7 comments
Open

SPL: failed to boot from all boot devices #7

navinagaraj opened this issue Sep 2, 2022 · 7 comments

Comments

@navinagaraj
Copy link

navinagaraj commented Sep 2, 2022

Hi I tried to boot the wandboard-solo, I followed the steps " https://github.com/TechNexion/u-boot-tn-imx/blob/tn-imx_v2021.04_5.10.72_2.2.0-stable/board/wandboard/README " to bring the u-boot on SD card. But facing some issues on it.
can anyone help me to boot wandboard for SD card ?

Error Log:
Screenshot from 2022-09-01 16-30-03

U-boot Files created after build:

Screenshot from 2022-09-02 11-10-43

@SnappierSoap318
Copy link

Did you find a way to make it boot?

@navinagaraj
Copy link
Author

Did you find a way to make it boot?

No

@richard-hu
Copy link
Contributor

@SnappierSoap318 @navinagaraj :

Thanks for the feedback!
We are figuring out this problem.

BR,

Richard

@ray-chang
Copy link
Contributor

@SnappierSoap318 @navinagaraj :

The error message is that the u-boot file of the FAT partition cannot be read. I checked the documentation steps you referenced. It should be a description of the mainline source code.

  • Flash the u-boot.img image into the SD card:

sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync

The u-boot file is loaded by the SPL from the boot partition, which is a FAT filesystem in the first partition.
You can refer to the following web link:
https://developer.technexion.com/docs/customizing-u-boot

BR,
Ray

@SnappierSoap318
Copy link

@ray-chang Using an old version of the source ( 2017.11), I was able to compile and flash it without any issues.

@richard-hu
Copy link
Contributor

The difference between u-boot 2017.11 and 2021.04 is that u-boot.img is placed in 1st FAT partition instead of RAW in u-boot 2021.04.

So it would require to put u-boot-dtb.img in 1st FAT partition.

BR,

Richard

@SnappierSoap318
Copy link

image
it Worked!

what i did was copy the u-boot-dtb.img file to the first FAT partition using
sudo cp u-boot-dtb.img <partition>
and it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants