其中rk3399.dtb为构建的设备树,需要跟拷贝到打包文件夹中的设备书名称保持一致。 最后boot.img中为以下内容: boot ├── extlinux │ └── extlinux.conf ├── Image └── rk3399-evb.dtb 根文件系统构建 根文件系统可采用buildroot构建,也可以使用直接使用ubuntu,该部分可参考另一篇文档。 最终得到rootfs...
arch/arm/dts/rk3399-evb.dtb > u-boot.its MKIMAGE u-boot.itb MKIMAGE tpl/u-boot-tpl-rockchip.bin CAT idbloader.img CAT u-boot-rockchip.bin rk@ubuntu:~/porting/u-boot$ 至此,我们已经获取到了所需的idbloader.img和u-boot.itb两个文件。 - step4 烧录我手中这块开发板基于emmc启...
OBJCOPYtpl/u-boot-tpl-nodtb.bin CATtpl/u-boot-tpl-dtb.bin COPYtpl/u-boot-tpl.bin SYMtpl/u-boot-tpl.sym MKIMAGEu-boot-dtb.img ./"arch/arm/mach-rockchip/make_fit_atf.py"\ arch/arm/dts/rk3399-evb.dtb>u-boot.its MKIMAGEu-boot.itb MKIMAGEtpl/u-boot-tpl-rockchip.bin CATidbloader...
CONFIG_TARGET_EVB_RK3399=y CONFIG_SPL_STACK=0x400000 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SYS_LOAD_ADDR=0x800800 CONFIG_DEBUG_UART=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-evb.dtb"CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_MAX_SIZE=0x2e000 CONFIG_SP...
./make.sh evb-rk3399 --- build for evb-rk3399_defconfig ./make.sh firefly-rk3288 --- build for firefly-rk3288_defconfig ./make.sh EXT_DTB=rk-kernel.dtb --- build with exist .config and external dtb ./make.sh --- build with exist .config ...
u-boot-dtb.img./"arch/arm/mach-rockchip/make_fit_atf.py"arch/arm/dts/rk3399-evb.dtb > u...
init_kernel_dtb dtb in resource read fail Can't find UCLASS_IO_DOMAIN driver -19 Model: Rockchip RK3399 Evaluation Board download key pressed... entering download mode... RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x3a3e000 ...
dtb-$(CONFIG_ROCKCHIP_RK3399) += \ +rk3399-dlfr100.dtb \ rk3399-evb.dtb \ rk3399-ficus.dtb \ rk3399-firefly.dtb \ --- /dev/null +++ b/arch/arm/dts/rk3399-dlfr100.dts @@ -0,0 +1,668 @@ Expand DownExpand Up@@ -706,7 +696,7 @@ ...
> ./tools/loaderimage --pack --uboot u-boot/u-boot-dtb.bin uboot.img 0x200000 > ../u-boot/tools/mkimage -n rk3399 -T rksd -d rk3399_ddr_933MHz_v1.08.bin idbloader.img > cat ./rk33/rk3399_miniloader_v1.06.bin >> idbloader.img Get uboot.img and idbloader.img in this...
6. 执行 extract-dtb boot.img 提取 dtb 文件,再用 dtc -I dtb -O dts -o x.dts 01_dtbdump_rockchip,android.dtb 命令提取 dts 文件: /dts-v1/; / { compatible = "rockchip,android\0rockchip,rk3399-excavator-edp\0rockchip,rk3399"; interrupt-parent = <0x01>; #address-cells = <0x02...