![]() In U-Boot, there are multi way to update image into emmc via U-Boot, you can chose any of one easy use for you. 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. For information on contributing see the Ubuntu Documentation Team wiki page.To report errors in this documentation, file a bug. In order to support debug symbol in ARM DS-5, you may need add ctags in make command: The material in this document is available under a free license, see Legal for details. 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: How to build your own Armbian image Watch on Providing build configuration After the first run of compile.sh a new configuration file nf and symlink nf will be created. If you haven't done so before, get a suitable toolchain installed and add it to your PATH. Login as root and run: Run the script Make sure that full path to the build script does not contain spaces. 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.Verify that the files can be seen on the flash drive > fatls usb 1:1. ![]() When presented with the following U-Boot message press the space bar to enter the U-Boot loader Press SPACE to abort autoboot in 1 seconds 6. EVB RK3288 - use evb-rk3288 configuration Insert the flash drive into the USB slot 0 on the SRX and boot up the device 5.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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |