TS-4100 U-Boot Development: Difference between revisions
(Initial creation) |
mNo edit summary |
||
Line 1: | Line 1: | ||
We do provide our U-Boot sources, but we do not recommend rebuilding a custom U-Boot binary as it can leave the system in an unbootable state. | We do provide our U-Boot sources, but we do not recommend rebuilding a custom U-Boot binary as it can leave the system in an unbootable state. | ||
If you still want to proceed with building a custom U-Boot, use the "tsimx_v2016.03_4.1.15_2.0.0_ga" branch from our github repo: https://github.com/embeddedarm/u-boot-imx | If you still want to proceed with building a custom U-Boot, use the "tsimx_v2016.03_4.1.15_2.0.0_ga" branch from our github repo: https://github.com/embeddedarm/u-boot-imx you can do so with the following command: | ||
<source lang=git> | |||
git clone https://github.com/embeddedarm/u-boot-imx.git -b imx_v2016.03_4.1.15_2.0.0_ga u-boot-ts4100 | |||
</source> | |||
When compiling, we recommend using ONLY this [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4100-linux/cross-toolchains/tsimx6ul-glibc-gnueabihf-4.9.4.tar.xz cross-compiler], the use of any other compiler may cause issues. Specifically, we have experienced RAM problems when using a more recent cross compiler to build this version of U-Boot. The use of any other compiler may leave the system in an unbootable state! | When compiling, we recommend using ONLY this [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4100-linux/cross-toolchains/tsimx6ul-glibc-gnueabihf-4.9.4.tar.xz cross-compiler], the use of any other compiler may cause issues. Specifically, we have experienced RAM problems when using a more recent cross compiler to build this version of U-Boot. The use of any other compiler may leave the system in an unbootable state! |
Revision as of 14:26, 13 March 2020
We do provide our U-Boot sources, but we do not recommend rebuilding a custom U-Boot binary as it can leave the system in an unbootable state.
If you still want to proceed with building a custom U-Boot, use the "tsimx_v2016.03_4.1.15_2.0.0_ga" branch from our github repo: https://github.com/embeddedarm/u-boot-imx you can do so with the following command:
git clone https://github.com/embeddedarm/u-boot-imx.git -b imx_v2016.03_4.1.15_2.0.0_ga u-boot-ts4100
When compiling, we recommend using ONLY this cross-compiler, the use of any other compiler may cause issues. Specifically, we have experienced RAM problems when using a more recent cross compiler to build this version of U-Boot. The use of any other compiler may leave the system in an unbootable state!
export ARCH=arm
export CROSS_COMPILE=/path/to/folder/bin/arm-tsimx6ul-linux-gnueabihf-
./build-imx6ul.sh ts4100
This will output a binaries for 1 GB and 512 MB RAM variants that can be written to the device using the steps in Update U-Boot.