Jump to content

uboot fdt apply


Recommended Posts

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

 

 

 

Captura de tela de 2018-03-05 16-43-53.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines