I just started working on a Toradex Apalis TK1 SOM on a custom carrier board.
Linux from “uname -a” is
Linux tegra-ubuntu 3.10.40-g118f97e #48 SMP PREEMPT Sun Oct 13 00:35:09 PDT 2019 armv7l armv7l armv7l GNU/Linux
Ubuntu is 14.04.6
Boot up messages show this:
- ****U-Boot 2016.11-2.8.6+g83a53c1c0c (Apr 01 2019 - 09:57:13 +0000)
- SoC: tegra124
- Reset cause: POR
- DRAM: 2 GiB
- MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1, Tegra SD/MMC: 2
- In: serial
- Out: serial
- Err: serial
- Model: Toradex Apalis TK1 2GB V1.2A,
- No ethernet found.
- Hit any key to stop autoboot: 0
- Booting from internal eMMC chip…
- reading tegra124-apalis-v1.2-eval.dtb
- 54309 bytes read in 18 ms (2.9 MiB/s)
- reading zImage
- 5612600 bytes read in 146 ms****
I want to update the Device Tree to enable the eDP. I see the changes necessary here:
Display Output, Resolution and Timings (Linux) | Toradex Developer Center
But I’m not sure how to get source that matched my system for
linux
Where do I go to the source code for this build and also a loadable image? How can I determine which BSP was used? Which cross compiler do I need? I want the loadable image in case the builds I do fail and I need to revert back to what I had.
Please check this article.
Hi alex.tx. Thanks your reply. But I still have some confusion.
I looked at the link you provided which details where to get and how to build & install u-boot and kernel, from source and images.
What confuses me is in our own github I have a reference from another engineer to using the following;
Apalis-TK1_LXDE-Image_2.8.6
branch toradex_tk1_l4t_r21.7
for linux kernel
Board set up Building Linux from sourcels rocko
For BSP version I select:
T20/T30/TK1 for the TK1
That shows for BSP 2.7/2.8
U-Boot Git Branch 2016.11-toradex
which matches the boot up version
But for the Linux Kernel git branch my github reference info says:
toradex_tk1_l4t_r21.7
which is for BSP 2.8b3 / 2.8b4 / 2.8b5
But for the toolchain, from boot messages I see:
Linux version 3.10.40-g118f97e (charles@caladan14) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) )
This Linaro GCC 6.2-2016.11 which started with BSP 2.7b2.
BSP 2.8 and later switched to
gcc-linaro-7.3.1-2018.05
So my confusion is if the kernel build currently on my board was built with Linaro 6.2-2016.11 which is BSP 2.7x, but my reference info says use BSP 2.8b3. Should I assume BSP 2.8b3 is incorrect?
Thanks,
Eric A.
Our tables concerning the downstream Linux kernel branch indeed seem a little confusing. But I can assure you that toradex_tk1_l4t_r21.7 is currently the latest available branch to be used for Apalis TK1. As for the toolchain I guess you would need to inquire with whoever this charles@caladan14 that built it. If you would do an official Yocto Project Rocko build it should be built with a later gcc 7.3 instead.