Skip to content

Instantly share code, notes, and snippets.

@ssvb
Created January 19, 2013 17:36
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 ssvb/4573851 to your computer and use it in GitHub Desktop.
Save ssvb/4573851 to your computer and use it in GitHub Desktop.
#!/bin/sh
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- mrproper
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- sun4i_defconfig
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- menuconfig
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j8 uImage || exit 1
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j8 modules || exit 1
make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- modules_install INSTALL_MOD_PATH=/mnt/arm-nfs-root
scp arch/arm/boot/uImage root@sun4i:/mnt/mmcblk0p1/uImage
../sunxi-tools/fex2bin mele_a1000.fex script.bin
scp script.bin root@sun4i:/mnt/mmcblk0p1/script.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment