Created
January 19, 2017 14:23
-
-
Save btgoodwin/4080bf834e76d5ce3728d7dae04912c4 to your computer and use it in GitHub Desktop.
MicroZed Target
This file contains hidden or 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
setenv envload 'mmc info && if fatload mmc 0 0x1000 uEnv.txt; then echo Importing uEnv.txt; env import -t 0x1000 $filesize; fi;' | |
setenv bootcmd 'run envload; run $modeboot' | |
saveenv | |
reset |
This file contains hidden or 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
kernel_image=uImage | |
devicetree_image=microzed-zynq7.dtb | |
bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait earlyprintk | |
uenvcmd=echo Copying Linux from SD to RAM... && fatload mmc 0 0x3000000 ${kernel_image} && fatload mmc 0 0x2A00000 ${devicetree_image} && bootm 0x3000000 - 0x2A00000 | |
modeboot=uenvcmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment