Last active
October 16, 2018 00:39
-
-
Save giuliomoro/07393efc8938a629f972e6a6e60baad6 to your computer and use it in GitHub Desktop.
uEnv.txt for CTAG image, place in /uEnv.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uenvcmd=echo loading am335x-bonegreen-ctag-face.dtb; load mmc ${mmcid}:1 ${fdtaddr} boot/dtbs/${uname_r}/am335x-bonegreen-ctag-face.dtb; if env exists uboot_overlay_addr0; then setenv overlay ${uboot_overlay_addr0}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr1; then setenv overlay ${uboot_overlay_addr1}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr2; then setenv overlay ${uboot_overlay_addr2}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr3; then setenv overlay ${uboot_overlay_addr3}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr4; then setenv overlay ${uboot_overlay_addr4}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr5; then setenv overlay ${uboot_overlay_addr5}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr6; then setenv overlay ${uboot_overlay_addr6}; run bela_loadoverlay; fi; if env exists uboot_overlay_addr7; then setenv overlay ${uboot_overlay_addr7}; run bela_loadoverlay; fi; load mmc ${mmcid}:1 ${loadaddr} /boot/vmlinuz-${uname_r}; setenv bootargs console=${console} root=/dev/mmcblk${mmcid}p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet; bootz ${loadaddr} - ${fdtaddr}; | |
bela_loadoverlay=echo loading ${overlay}; load mmc ${mmcid}:1 ${rdaddr} ${overlay}; fdt addr $fdtaddr; fdt resize 0x60000; fdt apply ${rdaddr}; fdt resize 0x60000; | |
#uboot_overlay_addr1=/lib/firmware/<xxx>.dtbo | |
# add more uboot_overlay_addrX here, with X comprised between 0 and 7 (see command above). | |
console=ttyS0,115200n8 | |
uname_r=4.4.62+ | |
mmcid=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment