projetoarduino Posted March 5, 2018 Posted March 5, 2018 I'm trying to learn a little more about uboot and device tree, I already managed to create my own boot.scr, but I'm not having any success with device tree overlay, especially when typing the command. fdt apply ${load_addr} before I can type all these commands successfully setenv kernel "zImage" setenv ramdisk "uInitrd" setenv fdtfile "sun8i-h3-nanopi-neo-core.dtb" setenv load_addr "0x44000000" setenv rootdev "/dev/mmcblk0p1" setenv verbosity "1" setenv console "both" setenv disp_mem_reserves "off" setenv rootfstype "ext4" setenv consoleargs "console=ttyS0,115200" setenv uuid "UUID=7ac33e6e-fa92-4fd2-bb7c-bde01b119803" setenv rootfstype "ext4" part uuid mmc 0:1 partuuid load mmc 0 ${kernel_addr_r} /boot/${kernel} load mmc 0 ${ramdisk_addr_r} /boot/${ramdisk} load mmc 0 ${fdt_addr_r} /boot/${fdtfile} fdt addr ${fdt_addr_r} fdt resize load mmc 0 ${load_addr} /boot/dtb/sun8i-h3-w1-gpio.dtbo here is the error screen where nothing happens
zador.blood.stained Posted March 5, 2018 Posted March 5, 2018 Support for DT overlays needs to be enabled in the u-boot config (option CONFIG_OF_LIBFDT_OVERLAY), at least for the version that is currently used by Armbian.
Recommended Posts