[PATCH 2/2] Modify sdcard.sh to support FDT for Beaglebone black.

Sichen Zhao zsc19940506 at outlook.com
Wed Jul 5 07:33:48 UTC 2017


Hi all,
In this patch, i add a binary dtb file to support FDT, if it is ok , and how to add the license and source information?

Best Regards
Sichen Zhao

________________________________________
From: devel <devel-bounces at rtems.org> on behalf of Sichen Zhao <1473996754 at qq.com>
Sent: Wednesday, July 5, 2017 10:52
To: devel at rtems.org
Cc: punitvara at gmail.com; christian.mauderer at embedded-brains.de
Subject: [PATCH 2/2] Modify sdcard.sh to support FDT for Beaglebone black.

---
 c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb | Bin 0 -> 34458 bytes
 c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh    |   6 ++++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb

diff --git a/c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb b/c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb
new file mode 100644
index 0000000000000000000000000000000000000000..babda3c332ea3c0e72cdb57f329c997abcc9efd1
GIT binary patch
literal 34458
zcmeHQdyHIHdB3w>+ax65Bn~8TOeV336YzCr_F=EnkWL(fHzClpgooO+le;r_cc-2g
zb7#HlD73CXG_4{LsZj+jDz2asmG~nCq&`F~tKttT`Uj{;@COn>fZ9JmY9%Ux)S~`=
z-#Op8-#m7AvbLj2<w$qV`Of*y_dbvNoNwIti=RZ%$NwyfqJ=1W4o7q!j+=1o!-2GC
z3H7cx_*?McF67g`%sPeNh_b at RP(ILa98FrYv-2DAQm389OU<NqHX5u{aAU&}R9g2M
zS_e=*@zi6*N8UqP#Zzgr(o9c*V)2wvWY0ovwUec77NaS`Nwbk;X-1edZ^rSC2RgOx
z1C5zlWo|AlEtN_ow&v}p^7e(&Ofu4b#<Z7D)&|;d1)V3PJxhCyq$w;;1{9HjI8P1W
zfX&P(&eOv<bE7!*L7Z}Od=#fSjI%I`(;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ng2<a`Dnnz~j4_H5w$
zBn(Sij~EzNztrh43WAw&vlf3P4yWszIE<S5TGEV#Ab at s?bt%reX$^l+4_hNlh%;Ed
zn#B^F7$*__xY`FmtuEg#z?i{Qqyym4>biuibAbC08{!U%H2TpYde~18U?Na^t%avp
z=u=y>+*t19H5tT at +nq-5!vP6fGR4PE7)AHwBa8_31Bi=-5oGA6EsSqQw(%{H at H|vZ
z{w^XI>s1Wch=1~kDJp7Vvg-8k*HO)WL#79<VV|^{DG2pqjHLhzE6zb0%Nkx1*&&_}
zK{}l+y9ldl2*ad_*HrM)mj*_|QoRcLRZgu at yHj-_Zo1<el^Nv5wL^Xaj~|GM<kCzQ
z;jbJU=hCV`n4Iu04>A$p+tQp9a at Y-h|E)Z at waRIR1Y<v~Q-x}y&MX##$l7oS`w=f`
z?n?aIU;~pEVh^97fv0(fc+{IVl-H9+Uq*a0S;7L~rak|u%^2FQtl(~*!W?cX7MWkB
OUs~Xo7Wn^af&T@*#6Bwk

literal 0
HcmV?d00001

diff --git a/c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh b/c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh
index 83e3807..496d146 100644
--- a/c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh
+++ b/c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh
@@ -40,6 +40,7 @@ case "$2" in
 esac

 app=rtems-app.img
+dtb=bboneblk.dtb

 if [ ! -f "$executable" ]
 then   echo "Expecting RTEMS executable as arg; $executable not found."
@@ -61,14 +62,15 @@ $PREFIX/bin/newfs_msdos -r 1 -m 0xf8 -c 4 -F16  -h 64 -u 32 -S 512 -s $FATSIZE -
 base=`basename $executable`
 $PREFIX/bin/arm-rtems4.12-objcopy $executable -O binary $TMPDIR/$base.bin
 gzip -9 $TMPDIR/$base.bin
-$PREFIX/bin/mkimage -A arm -O rtems -T kernel -a 0x80000000 -e 0x80000000 -n RTEMS -d $TMPDIR/$base.bin.gz $TMPDIR/$app
+$PREFIX/bin/mkimage -A arm -O linux -T kernel -a 0x80000000 -e 0x80000000 -n RTEMS -d $TMPDIR/$base.bin.gz $TMPDIR/$app
 echo "setenv bootdelay 5
 uenvcmd=run boot
-boot=fatload mmc 0 0x80800000 $app ; bootm 0x80800000" >$TMPDIR/$UENV
+boot=fatload mmc 0 0x80800000 $app ; fatload mmc 0 0x88000000 $dtb ; bootm 0x80800000 - 0x88000000" >$TMPDIR/$UENV

 # Copy the uboot and app image onto the FAT image
 $PREFIX/bin/mcopy -bsp -i $FATIMG $PREFIX/uboot/$ubootcfg/MLO ::MLO
 $PREFIX/bin/mcopy -bsp -i $FATIMG $PREFIX/uboot/$ubootcfg/u-boot.img ::u-boot.img
+$PREFIX/bin/mcopy -bsp -i $FATIMG $dtb ::$dtb
 $PREFIX/bin/mcopy -bsp -i $FATIMG $TMPDIR/$app ::$app
 $PREFIX/bin/mcopy -bsp -i $FATIMG $TMPDIR/$UENV ::$UENV

--
2.7.4



_______________________________________________
devel mailing list
devel at rtems.org
http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list