From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Instruction WFI gives error at build time.
Date: Thu, 22 Sep 2011 15:29:00 +0530 [thread overview]
Message-ID: <4E7B06E4.9090806@ti.com> (raw)
In-Reply-To: <75A1E7F608B992488E5CE8CC49B9A3550912F282@uswinsxch.open-silicon.com>
Hi Sandeep,
On Thursday 22 September 2011 02:47 PM, Sandeep Kumar wrote:
> Hi,
>
>
>
> I am adding support for a MPcore SoC in Uboot. For that secondary cores
> need to execute WFI (wait for interrupt) instruction.
>
> But while building the source I am getting the following error:
>
>
>
> arm-none-eabi-gcc -D__ASSEMBLY__ -g -Os -fno-common -ffixed-r8
> -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x60800000
> -I/media/disk/work/u-boot_ct11mpc_osi_evs/include -fno-builtin
> -ffreestanding -nostdinc -isystem
> /home/sandeepk/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-ea
> bi/4.5.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux
> -mno-thumb-interwork -march=armv5 -o lowlevel_init.o lowlevel_init.S
> -c
>
> lowlevel_init.S: Assembler messages:
>
> lowlevel_init.S:92: Error: missing expression -- `swi'
Are you trying to use WFI or SWI?
>
> make[1]: *** [lowlevel_init.o] Error 1
>
> make[1]: Leaving directory
> `/media/disk/work/u-boot_ct11mpc_osi_evs/board/armltd/versatile_11mpc'
>
> make: *** [board/armltd/versatile_11mpc/libversatile_11mpc.o] Error 2
>
>
>
> How can I implement this instruction or how can I directly insert the
> hex code for this instruction.
A '.word' directive with the hex value of the instruction should work.
See this:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/88649/focus=88667
br,
Aneesh
>
>
>
> Regards,
>
> Sandeep
>
>
>
>
>
>
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
prev parent reply other threads:[~2011-09-22 9:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 9:17 [U-Boot] Instruction WFI gives error at build time Sandeep Kumar
2011-09-22 9:40 ` Nick Thompson
2011-09-22 9:59 ` Aneesh V [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7B06E4.9090806@ti.com \
--to=aneesh@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.