[meta-freescale] Layerscape LS1012A RCW/PBI (PBL image) byte-swapping
C.r. Guo
chunrong.guo at nxp.com
Thu Jun 14 02:29:56 PDT 2018
Hello Tim,
Rcw has been swap .
You can see the below recipes.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/recipes-bsp/rcw/rcw_git.bb
do_install () {
if [ ${M} = ls2088ardb ]; then
oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install
oe_runmake BOARDS=${M}_rev1.1 DESTDIR=${D}/boot/rcw/ install
else
oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install
fi
for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do
if echo $f |grep -q "qspiboot_sben"; then
continue
fi
f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'`
tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8
mv -f $f_swap $f
done
}
thanks
chunrong
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Tim Hammer
Sent: 2018年6月14日 12:56
To: meta-freescale at yoctoproject.org
Subject: [meta-freescale] Layerscape LS1012A RCW/PBI (PBL image) byte-swapping
The RCW/PBI file needs to be byte-swapped before being written into the QSPI flash.
Is there a reason why this step has not been included in the Yocto recipe that builds it?
Thanks!
--
.Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20180614/a1a6b034/attachment.html>
More information about the meta-freescale
mailing list