03-13-2019 11:34 PM
I want to change Endian to BigEndian .
But I can't .
Because build error occured.
Error log is log.do_compile.22140.(rename to compile.log)
My Petalinux version is 2017.4.
| ERROR: Function failed: do_compile (log file is located at /home/jrce/zc706/JRCE/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/log.do_compile.22140)
ERROR: Task (/home/jrce/zynq/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2782 tasks of which 2752 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
I did below.
1. petalinux-config -c kernel
03-20-2019 07:41 AM
We're also trying to switch to big endian due to a very large application that we are porting from PowerPC to ARM.
I set the CFGEND bits in the CONFIG_0 register in my PMU code while the ARMs are in reset (I'm using the MPSoC). My baremetal code doesn't appear to indicate that we have switched to big endian. I'm still looking into it.
I know you're using Zynq-7000 and it is different, but I was wondering if you got Petalinux to run big endian? If so, how did you get the FSBL and U-boot to run on the ARM in big endian mode?