Skip to content

Instantly share code, notes, and snippets.

@ryonsherman
Last active August 29, 2015 14:12
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 ryonsherman/92df073fd177a998e569 to your computer and use it in GitHub Desktop.
Save ryonsherman/92df073fd177a998e569 to your computer and use it in GitHub Desktop.
Shell script to create and install uboot initcpio image
#!/bin/sh
mkinitcpio -g /boot/uImage.new
mkimage -n initramfs \
-A arm -O linux -T ramdisk -C gzip \
-d /boot/uImage.new /boot/uInitrd \
-a 0x00000000 -e 0x00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment