![]() The output b is a its based package including u-boot-nodtb.bin, board.dtb, and trust binaries which can be used directly with upgrade tool.Īndroid boot(boot_android), Rockchip RKIMG boot(boot_rockchip) and LInux distro boot(distro_bootcmd). Note: please copy the trust binary(optee.bin or bl31.elf from rkbin project) to u-boot root directory and rename it to tee.bin(armv7) or bl31.elf(armv8). Get detail at boot option.įor trust support in SPL, we are using FIT image with 'mkimage' cmd in Makefile and its script defined in defconfig: The output including u-boot.bin, spl/u-boot-spl.bin, tpl/u-boot-tpl.bin at this step, and you need to package it with mkimage tool before use with rockchip upagrade tool. In order to support debug symbol in ARM DS-5, you may need add ctags in make command: Make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu. This is common and available for both Upstream U-Boot and Rockchip U-Boot. The output will including pre-loader, trust and u-boot image which is ready to use with rockchip upgrade tool, Make CROSS_COMPILE=arm-linux-gnueabi- menuconfigįor convenience, Rockchip provide a script 'make.sh' to make it easy to get everything before kernel, this script need toolchain and rkbin support. There is also menuconfig to play with settings if you feel like it: You may need to change the U-Boot function/feature support by modify the defconfig file or, Make CROSS_COMPILE=arm-linux-gnueabi- _defconfig When you have determined what you want to build, configure: Note that the latest U-Boot require version gcc-5.0 and later, we recommand to use linaro 6.3.1.įirst you need to choose a correct defconfig for your board Sudo apt-get install gcc-aarch64-linux-gnu Sudo apt-get install gcc-arm-linux-gnueabi In Ubuntu 14.04, you can use below command to install cross compiler for armv7: If you haven't done so before, get a suitable toolchain installed and add it to your PATH. EVB RK3399 - use evb-rk3399 configuration.EVB RK3328 - use evb-rk3328 configuration.PopMetal RK3288 - use popmetal-rk3288 configuration.Miniarm RK3288 - use miniarm-rk3288 configuration.Hisense Chromebook - use chromebook_jerry configuration.Firefly RK3288 - use firefly-rk3288 configuration.EVB RK3288 - use evb-rk3288 configuration.EVB RK3036 - use evb-rk3036 configuration.You can clone the u-boot repository by running:Īlternatively you can use u-boot-rockchip instead which may with some patches not get in mainline:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |