Tool/software:
Can I install ubuntu on a Raspberry Pi and use it as a host PC for developing the am437x linux-rt sdk?
Sincerely,
Hirokazu Mitsugi
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Can I install ubuntu on a Raspberry Pi and use it as a host PC for developing the am437x linux-rt sdk?
Sincerely,
Hirokazu Mitsugi
Mitsugi-san,
We only support Intel x64-based platforms for running our AM437x SDK, which is the recommended starting point for custom development.
You could certainly clone/use all the associated source trees (U-Boot, Kernel, Yocto sources, etc.) directly and build natively on a ARM x64 platform like the Raspberry Pi, but again this is not something we officially support. One challenge that is not directly associated with the SDK that you will run into is that Code Composer Studio is also not supported on ARM x64 hosts at this time, so your debugging options will be more limited. But also here there's open-source based solution one could use as an alternative.
What's the reason you want to use a Raspberry Pi as a development host?
Regards, Andreas
Dear Andreas-san
Thank you for your reply.
I understand the current situation.
Reason why we want to raspberry pi as development enveroimnent is the current VM enveroiment is so heavy and the host pc disk size has a limitation.
In out current enveroinmnet, we can't replace the linux version easily,when we want to update sdk version.
We think if we can use paspberry pi as development enveroinment,we can replace the linux version more easily.
Above all,we can reduce the cost of build the development enveroinment more than Intel x64 based platform,if we can use rapsberry pi as it.
Regards,
Hirokazu
Hi Mitsugi-san,
Reason why we want to raspberry pi as development enveroimnent is the current VM enveroiment is so heavy and the host pc disk size has a limitation.
I would not recommend using RPi for development and builds, it will most likely be even slower than your VM environment. At a minimum you'd also want to make sure to use a proper read/write storage medium for the your builds like an attached NVMe drive (not an SD Card-- it will wear out quickly).
In out current enveroinmnet, we can't replace the linux version easily,when we want to update sdk version.
You can also try our Docker-based builds for a more lightweight alternative to doing builds using a VM, so that you don't need to replace your Linux version, see
Using the SDK Installer inside a container
https://software-dl.ti.com/processor-sdk-linux/esd/AM437X/09_03_05_02/exports/docs/linux/Overview/Download_and_Install_the_SDK.html#download-install-the-sdk-installer-inside-a-container
Doing Yocto builds inside a container
https://software-dl.ti.com/processor-sdk-linux/esd/AM437X/09_03_05_02/exports/docs/linux/Overview_Building_the_SDK.html#steps-to-run-yocto-builds-inside-container
Regards, Andreas
Hello Andreas-san,
Thank you for your advice.
We will try to use this docker base enveronment.
Bye the way,currentry we use ubuntu 18.04 for the sdk development.
Can we install it's docker platform on the ubuntu 18.04 ?
How much disk size will be required?
Regards,
Hirokazu
Hi Mitsugi-san,
Bye the way,currentry we use ubuntu 18.04 for the sdk development.
Can we install it's docker platform on the ubuntu 18.04 ?
Yes, that should work. If you have any issues with this, let me know.
How much disk size will be required?
The installation of the SDK itself will require about 6.5GB of disk space. Then there will be added space requirements for the Docker container itself. I haven't looked at this detail but it will probably be around ~2GB. So in total for a minimum Docker-based SDK installation you will probably need around ~10GB I'd estimate. And you'll need added space once you start building Kernel, U-Boot, etc. (GB's). Best is to try it out and see what you get.
Regards, Andreas
Hello Andreas-san,
Thank you for your reply.
We will try to build development environment use the docker on the ubuntu 18.04.