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

Images generated for SAMA5D3 on ubuntu 22.04. #262

Open
simonkbaby opened this issue Nov 1, 2023 · 0 comments
Open

Images generated for SAMA5D3 on ubuntu 22.04. #262

simonkbaby opened this issue Nov 1, 2023 · 0 comments

Comments

@simonkbaby
Copy link

Hello,

I am building for SAMA5D3 Linux ECP-EVB-KSZ9477 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux. I am referring the link https://raw.githubusercontent.com/linux4sam/meta-atmel/kirkstone/README for the build steps.

I was able to build in yocto the demo image as well as headless image. However I am not seeing some of the files in the deploy/image directory in the correct format (compared to the images provided in demo image). I am using sam-ba tool and the flashboard script from windows to flash the image into NAND flash.

The yocto generated file root file system is in tar file format where as the script is looking for ubi file format. Also the uboot end file is in text file where as the script is looking for binary file format.

below are the files expecting in the script for flashing.

set bootstrapFile "$env(O)/at91bootstrap.bin"
set ubootFile "$env(O)/u-boot.bin"
set kernelFile "$env(O)/zImage"
set rootfsFile "$env(O)/rootfs.ubi" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Yocto generated file in tar.gz format.
set build_uboot_env "yes"

Additional files to load

set ubootEnvFile "ubootEnvtFileNandFlash.bin" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>yocto generated file in .env (text file format and not in binary format).

Also I don’t see file sdcard.img in the case of -sd build option .

Can someone please help. Is there a separate script for flashing the images generated from yocto build?

Regards
Simon

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

No branches or pull requests

1 participant