-
Notifications
You must be signed in to change notification settings - Fork 154
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
Build and Run 64-bit Arm Yocto Linux image on Qemu #680
Comments
Hi @SimonW29 |
Hi Jason
I think it might have been caused by the Pi crashing - not sure why it has, but switching to 4.0.15 causes a new build to start - no cached output - that crashed after about 520 tasks. The first build crashed in a similar place - not the same place though.
Restarting the hardware and rerunning bitbake, it starts again without redoing the 520 odd tasks. Build is now failing again, but on a different task.
Where do I go to delete any files associated with the failed task to get it to do just that one clean without redoing all 500?
Simon
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Jason Andrews ***@***.***>
Sent: Wednesday, January 10, 2024 1:45:05 PM
To: ArmDeveloperEcosystem/arm-learning-paths ***@***.***>
Cc: SimonW29 ***@***.***>; Mention ***@***.***>
Subject: Re: [ArmDeveloperEcosystem/arm-learning-paths] Build and Run 64-bit Arm Yocto Linux image on Qemu (Issue #680)
Hi @SimonW29<https://github.com/SimonW29>
I will check out the instructions on Ubuntu 22.04 on Arm. I think most users have been doing it on non-Arm host machines, so there may be something different. I will also check the newest version.
Thanks for reporting the trouble you are having.
—
Reply to this email directly, view it on GitHub<#680 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFHD3TXTLNSUY2BJJHVNCI3YN2LODAVCNFSM6AAAAABBTR24WKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUHA3TQNBWGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello @SimonW29 I wasn't able to reproduce any problems on Arm systems. I don't have Pi 400 but tried similar Cortex-A72 boards running Ubuntu 22.04 To clean your build, you can remove the Looks like you figured out to substitute 15 for 6 if you want version 4.0.15 |
Thank you Jason I've made some progress. The Pi400 isn't an ideal platform. It only has 4GBytes of RAM. The Image of Ubuntu 22.04 provided by https://www.raspberrypi.com/software/ works out of the box. However, it is configured with only 1Gbytes of swap memory. With only 5Gbytes total RAM the build runs out of memory and crashes. Restarting after that is unpredictable. Changing SWAP size to 8Gbytes - and enabling SS state build mirrors (uncomment in config) allows build to complete in about 4 hours. The result works. I'll re-try building without SS Mirrors, and if using USB rather than uSD storage to see the difference in success and time. I think it would be viable to use an original Pi4 or Pi5 with 8Gbytes of RAM. |
@SimonW29 I'm going to close this issue. I don't see any problems with the instructions, but the build is certainly challenging in terms of disk space, processing performance, and memory. |
I am trying to run this learning path on a Raspberry Pi400 with Ubuntu 22.04.
There is at least 100Gbytes of free storage
I successfully follow all the step I reach 'bitbake' - when I get failures, so far, building libgcrypt, opkg-utils and openssl-native. What is likely to be wrong?
I note that the branch in the web page is 4.0.6 where the current version in the yocto project is 4.0.15. Is this going to be significant? What is the CLI to change to the new branch?
The text was updated successfully, but these errors were encountered: