From cf9292367d23166189cddc9524f5fa0c9eb6d4e1 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jun 13 2017 16:18:56 +0000 Subject: add initial support for 32 and 64 bit Rockchips SoCs/boards --- diff --git a/socs.d/AllWinner-A64 b/socs.d/AllWinner-A64 index 15fadc1..6a629c7 100644 --- a/socs.d/AllWinner-A64 +++ b/socs.d/AllWinner-A64 @@ -1,6 +1,7 @@ # write uboot echo "= Writing sunxi-spl.bin for $TARGET ...." dd if=$PREFIX/usr/share/uboot/$TARGET/sunxi-spl.bin of=$MEDIA bs=8k seek=1; sync +echo "= Writing u-boot FIT image for $TARGET ...." dd if=$PREFIX/usr/share/uboot/$TARGET/u-boot.itb of=$MEDIA bs=8k seek=5; sync; sleep 5 # set console for allwinner SYSCON=ttyS0,115200 diff --git a/socs.d/Rockchips-ARMv7 b/socs.d/Rockchips-ARMv7 new file mode 100644 index 0000000..6028837 --- /dev/null +++ b/socs.d/Rockchips-ARMv7 @@ -0,0 +1,5 @@ +# write uboot +echo "= Writing u-boot ...." +dd if=$PREFIX/usr/share/uboot/$TARGET/rk3288_idb.img of=$MEDIA seek=64; sync; sleep 5 +# set console for Rockchips +SYSCON=ttyS2,115200 diff --git a/socs.d/Rockchips-ARMv8 b/socs.d/Rockchips-ARMv8 new file mode 100644 index 0000000..40f3e9d --- /dev/null +++ b/socs.d/Rockchips-ARMv8 @@ -0,0 +1,7 @@ +# write uboot +echo "= Writing SPL ...." +dd if=$PREFIX/usr/share/uboot/$TARGET/spl.img of=$MEDIA seek=64; sync; sleep 5 +echo "= Writing u-boot FIT image ...." +dd if=$PREFIX/usr/share/uboot/$TARGET/u-boot.itb of=$MEDIA seek=512; sync; sleep 5 +# set console for Rockchips +SYSCON=ttyS2,115200