Debian Build Release TI: Difference between revisions
Line 35: | Line 35: | ||
$ sudo apt-get install python python-pysqlite2 | $ sudo apt-get install python python-pysqlite2 | ||
-->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}} | -->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}}<!-- | ||
{{Note|'''Note:''' Variscite provides Docker containers that can be used for a development environment as an alternative to using a virtual machine or a dedicated computer. | {{Note|'''Note:''' Variscite provides Docker containers that can be used for a development environment as an alternative to using a virtual machine or a dedicated computer. |
Revision as of 20:10, 16 December 2024
This page is using the default release am62-debian-bookworm-6.1.83_09.02.01.10-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Since Debian Bookwarm with TI release 09.02.01.10, the debian build system has transitioned to using TI-customized version of bdebstrap for creating root filesystems. TI customized the bdebstrap also integrates additional components, including the TI Graphics SDK and other essential packages tailored for am62 platforms. Therefore, it is recommended to familiarize yourself with the following guides first:
Variscite customizes the TI-modified bdebstrap by adding their own tailored U-Boot, kernel, and other specialized packages to suit VAR-SOM-AM62 SOM.
Create build environment
These instructions were tested on Ubuntu 22.04 x64 host PCs. When using other distributions, there may be issues.
Installing required packages
Please make sure your host PC is running Ubuntu 22.04 64-bit and is up to date:
$ sudo apt-get update && sudo apt-get dist-upgrade
Then, install the following packages:
$ sudo apt install -y pigz expect pv binfmtc binfmt-support qemu-user \ qemu-user-static qemu-system-arm debian-archive-keyring bdebstrap \ build-essential autoconf automake bison flex libssl-dev \ bc git wget u-boot-tools swig python3-pyelftools python3-pip python3-dev \ python3-yaml python3-jsonschema python3-cryptography $ sudo apt install --fix-broken $ sudo pip3 install toml-cli
For Ubuntu 20.04 and earlier, install python2:
$ sudo apt-get install python python-pysqlite2
-->Starting in Ubuntu 22.04, python2 is no longer available. Install the following to create a symbolic link from python to python3:
$ sudo apt-get install python-is-python3