JP Hayes
JP Hayes

Reputation: 41

Where can I add u-boot commands to get executed when Beagle Bone Black boots from eMMC

I need to load a device tree overlay when the Beagle Bone Black boots by executing u-boot commands when the board starts up.

However, all commands that I add to the /boot/uEnv.txt file don't get executed.

I tried adding a debug message to /boot/uEnv.txt to check if these commands get executed but nothing gets displayed on the boot terminal.

I would like to execute these commands in u-boot when the Beagle Bone Black boots from the eMMC.

setenv fdtaddr 0x87f00000
setenv fdtovaddr 0x87fc0000
load mmc 1:1 ${fdtaddr} /boot/dtbs/4.14.71-ti-r80/am355x-boneblack-uboot-univ.dtb
load mmc 1:1 ${fdrovaddr} /lib/firmware/PCDEV0.dtbo
fdt addr $fdtaddr
fdt resize 8192
fdt apply $fdtovaddr

Where can I add these commands to get executed on boot.

Thank You

Upvotes: 0

Views: 197

Answers (0)

Related Questions