...
debian based | extra | pkgs: (sudo apt-get update ; sudo apt-get install xyz) |
---|---|---|
Ubuntu 12.04 |
| ia32-libs |
Debian 7 (Wheezy) | sudo dpkg --add-architecture i386 | libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386 |
Ubuntu 12.10 -> 14.04 |
| libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386 |
Red Hat/Centos/Fedora |
| libstdc++.i686 ncurses-devel.i686 zlib.i686 |
Red Hat based (rpm) | extra | pkgs: (yum install xyz) |
Red Hat/Centos/Fedora |
| libstdc++.i686 ncurses-devel.i686 zlib.i686 |
Ubuntu 12.04 |
| ia32-libs |
Ubuntu 12.10 -> 14.04 |
| libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386 |
For u-boot v2015.07 and Linux kernel v4.1, use Linaro arm compilier that TI used in their Processor SDK 02.00.01.07
Info | ||
---|---|---|
| ||
$ wget -c https://releases.linaro.org/15.05/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz $ sudo tar -C /opt -xJf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz $ export CC=/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- |
For u-boot v2016.05 and Linux kernel v4.4, use Linaro arm compilier that TI used in their Processor SDK 03.00.00.04
Info | ||
---|---|---|
| ||
$ wget https://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz $ sudo tar -C /opt -xJf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz $ export CC=/opt/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- |
Test:
If this test fails, verify that you have the 32bit libraries installed on your development system.
...
Clone the U-Boot source code from Embedian Git Server.
Download:
For u-boot v2015.07 (Processor-SDK-02.00.01.07):
Download
Info | ||
---|---|---|
| ||
$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git smarc-t437x-uboot $ cd smarc-t437x-uboot $ git checkout v2015.07-smarct4x |
For u-boot v2016.05 (Processor-SDK-03.00.00.04):
Download
Info | ||
---|---|---|
| ||
$ git clone git@git.embedian.com:developer/smarc-t335x-uboot.git smarc-t437x-uboot $ cd smarc-t437x-uboot $ git checkout v2016.05-smarct4x |
Configure and Build:
Info | ||
---|---|---|
| ||
$ make ARCH=arm CROSS_COMPILE=${CC} distclean $ make ARCH=arm CROSS_COMPILE=${CC} smarct437x_evm_spi_uart3_defconfig $ make ARCH=arm CROSS_COMPILE=${CC} |
Note |
---|
$ make ARCH=arm CROSS_COMPILE=${CC} smarct437x_evm_uart3_defconfig |
Linux Kernel
Download:
...
For 4.1.13 (Processor-SDK-02.00.01.07, Stable, LTS):
Download:
Info | ||
---|---|---|
| ||
$ git clone git@git.embedian.com:developer/smarc-ti-linux-kernel.git $ cd smarc-ti-linux-kernel $ git checkout smarct4x-800-processor-sdk-linux-02.00.01 |
Note |
---|
Branch "smarct4x-800-processor-sdk-linux-02.00.01" is for SMARC-T4378-800 variant. If users use SMARC-T4378-01G, use "smarct4x-processor-sdk-linux-02.00.01" branch instead. $ git checkout smarct4x-processor-sdk-linux-02.00.01 |
For 4.4.12 (Processor-SDK-03.00.00.04, Stable, LTS):
Download:
Info | ||
---|---|---|
| ||
$ git clone git@git.embedian.com:developer/smarc-ti-linux-kernel.git $ cd smarc-ti-linux-kernel $ git checkout smarct4x-processor-sdk-linux-03.00.00.04 |
Note |
---|
SMARC-T4378-800 variant and SMARC-T4378-01G both share the same kernel branch "smarct4x-processor-sdk-linux-03.00.00.04" at Linux kernel v4.4.12. |
Configure and Build
Info | ||
---|---|---|
| ||
$ make ARCH=arm CROSS_COMPILE=${CC} distclean $ make ARCH=arm CROSS_COMPILE=${CC} smarct437x_defconfig $ make ARCH=arm CROSS_COMPILE=${CC} zImage modules am437x-smarct437x.dtb |
Note:
- The kernel sources packaged in this release do not have the required PM firmware binary already copied in the firmware/ folder of the kernel sources. Due to this building the kernel using the default kernel configuration will fail with this error:
...
To resolve this issue, after you clone the kernel sources, copy the am335x-pm-firmware.elf and am43x-evm-scale-data.bin into the firmware/ folder of kernel sources
Info | ||
---|---|---|
| ||
$ cd smarc-ti-linux-kernel/firmware $ wget http://developer.embedian.com/download/attachments/24608772/am335x-pm-firmware.elf $ wget http://developer.embedian.com/download/attachments/24608772/am43x-evm-scale-data.bin |
- If you see the error message like this:
...
Arago:
User | Password |
---|---|
root | N/A |
Processor-SDK-02.00.01.07 Download:
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/arago/smarct437x-rootfs-image-smarct437x.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
$ md5sum smarct437x-rootfs-image-smarct437x.tar.gz |
Processor-SDK-03.00.00.04 Download:
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/arago/smarct437x-rootfs-image-smarct437x-sdk3.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
$ md5sum smarct437x-rootfs-image-smarct437x-sdk3.tar.gz |
Ubuntu 14.04:
User | Password |
---|---|
root | root |
ubuntu | temppwd |
Download:
Info | ||
---|---|---|
| ||
$ wget -c ftp://ftp.embedian.com/public/dev/minfs/trusty/smarct4x-ubuntu-14.04.tar.gz |
Verify:
Info | ||
---|---|---|
| ||
$ md5sum smarc4x-ubuntu-14.04.tar.gz 2ef6477f7e506e651c2c8a7b4290fefc smarct4x-ubuntu-14.04.tar.gz |
...
==End of Document==
Last updated 2016-108-2624