Skip to content

Instantly share code, notes, and snippets.

@shohei
Last active November 7, 2017 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shohei/93cf5d59b561ab2d65388133f9c5a5e1 to your computer and use it in GitHub Desktop.
Save shohei/93cf5d59b561ab2d65388133f9c5a5e1 to your computer and use it in GitHub Desktop.
Petalinux xapp1078 config file for u-boot
kernel_image=uImage
devicetree_image=system.dtb
netstart=0x10000000
dtbnetstart=0x11800000
bootargs=console=ttyPS0,115200 rw rootwait earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 maxcpus=1 mem=384M
uenvcmd=mmcinfo && echo bootargs ${bootargs} && fatload mmc 0 ${netstart} ${kernel_image} && fatload mmc 0 ${dtbnetstart} ${devicetree_image} && bootm ${netstart} - ${dtbnetstart}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment