Help with TI-U-BOOT
Nishanth Menon
nm at ti.com
Sat Jul 24 03:08:46 CEST 2021
On 14:17-20210723, Antoine Naud wrote:
> Here is the full list of my commands:
>
> $ sudo apt-get update
> $ sudo apt-get install git-core
> $ sudo apt-get install build-essential autoconf automake bison flex libssl-dev bc u-boot-tools python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386 g++-multilib
> $ sudo apt-get update
> $ sudo apt-get install python3.8
> $ sudo apt-get install python3-distutils
> $ sudo apt-get update
> $ sudo dpkg-reconfigure dash
>
> $ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz
> $ tar -Jxvf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz -C $HOME
> $ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz
> $ tar -Jxvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz -C $HOME
>
> $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
> $ cd tisdk
> $ ./oe-layertool-setup.sh -f configs/coresdk/coresdk-07.03.00.005-config.txt
> $ cd build
> $ . conf/setenv
> $ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
> $ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
> $ MACHINE=adm437x-evm ARAGO_RT_ENABLE=1 bitbake tisdk-base-image
>
> $ git clone git://git.ti.com/ti-u-boot/ti-u-boot.git
I think you might have missed a step here -> by default when you clone,
you get to the master branch which is not aligned with the OE
configuration you picked. OE recipes is a bit smarter, and picks a specific
commit in a release and builds with it.
Since I am familiar with the convention, the branch you are looking for
is ti-u-boot-2020.01 So: git checkout ti-u-boot-2020.01 to flip over
to the branch that coresdk-07.03.00.05 -> you can even pick the exact
tag corresponding to the release if you like.
> $ make CROSS_COMPILE=arm-linux-gnueabihf- O=CSCM_build CSCM_defconfig all
Hmm.. personally I did'nt know you could mix defconfig and all step in
one shot.. but hey, seems to work for me:
$ git branch -v
master a15fa1ba67d7 Merge tag 'dm-pull-21jul21' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
* ti-u-boot-2020.01 e995ed0ec11b configs: am64x_sk: Drop unused defconfigs
$ make -j`nproc` CROSS_COMPILE=arm-linux-gnueabihf- O=CSCM_build am335x_evm_mini_defconfig all
[...]
COPY spl/u-boot-spl.bin
MKIMAGE MLO
MKIMAGE MLO.byteswap
CFGCHK u-boot.cfg
>
Now, that said, since there is a bit of a mix of TI conventions involved, i would
suggest asking for help in https://e2e.ti.com/
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
More information about the U-Boot
mailing list