attaching an interrupt in beaglebone bsp
Angelo Fraietta
newsgroups at smartcontroller.com.au
Tue Jun 16 06:14:29 UTC 2015
Thanks for that. I found I also needed other dependencies as it was failing
https://docs.rtems.org/rsb/#_raspbian
However, I am still getting an error at this stage, which is probable
caused by some other dependency I am missing
git: checkout: git://git.linaro.org/qemu/qemu-linaro.git =>
ac0bfdb9c310276521e5b089d7f36c1f610ca60b
git: submodule: git://git.linaro.org/qemu/qemu-linaro.git <= dtc
building: qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
error: building
qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
Build FAILED
See error report:
rsb-report-qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1.txt
error: building
qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
in beagle.txt
** [subdir-arm-softmmu] Error 2
shell cmd failed: /bin/sh -ex
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/doit
error: building
qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
See error report:
rsb-report-qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1.txt
Build Set: Time 0:46:54.663363
RTEMS Tools Project - Source Builder Error Report
Build: error: building
qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
Command Line: ../source-builder/sb-set-builder --log=beagle.txt
--prefix=/home/angelo/development/rtems/4.11 devel/beagle.bset
Python: 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) [GCC 4.4.5]
https://github.com/bengras/rtems-source-builder.git/origin/1fe0d6b17de23b70700ba0decfb092302a1bc312
Linux debian 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686
Tail of the build log:
CC aarch64-softmmu/hw/arm/pxa2xx_gpio.o
CC alpha-softmmu/hw/misc/vfio.o
CC aarch64-softmmu/hw/arm/pxa2xx_pic.o
CC aarch64-softmmu/hw/arm/digic.o
CC aarch64-softmmu/hw/arm/omap1.o
CC alpha-softmmu/hw/net/virtio-net.o
CC alpha-softmmu/hw/net/vhost_net.o
CC aarch64-softmmu/hw/arm/omap2.o
CC alpha-softmmu/hw/scsi/virtio-scsi.o
CC alpha-softmmu/hw/scsi/vhost-scsi.o
CC alpha-softmmu/hw/timer/mc146818rtc.o
CC aarch64-softmmu/hw/arm/omap3.o
CC alpha-softmmu/hw/virtio/virtio.o
CC alpha-softmmu/hw/virtio/virtio-balloon.o
CC alpha-softmmu/hw/virtio/vhost.o
CC aarch64-softmmu/hw/arm/strongarm.o
LINK alpha-softmmu/qemu-system-alpha
CC aarch64-softmmu/hw/arm/beagle.o
CC aarch64-softmmu/hw/arm/allwinner-a10.o
CC aarch64-softmmu/hw/arm/cubieboard.o
CC aarch64-softmmu/target-arm/arm-semi.o
CC aarch64-softmmu/target-arm/machine.o
CC aarch64-softmmu/target-arm/kvm-stub.o
CC aarch64-softmmu/target-arm/translate.o
GEN arm-softmmu/hmp-commands.h
GEN arm-softmmu/qmp-commands-old.h
GEN arm-softmmu/config-target.h
CC arm-softmmu/exec.o
CC arm-softmmu/translate-all.o
CC arm-softmmu/cpu-exec.o
CC arm-softmmu/tcg/tcg.o
CC arm-softmmu/tcg/optimize.o
CC arm-softmmu/fpu/softfloat.o
CC arm-softmmu/disas.o
GEN arm-softmmu/gdbstub-xml.c
CC arm-softmmu/kvm-stub.o
CC arm-softmmu/arch_init.o
CC arm-softmmu/cpus.o
CC aarch64-softmmu/target-arm/op_helper.o
CC arm-softmmu/monitor.o
CC aarch64-softmmu/target-arm/helper.o
CC arm-softmmu/gdbstub.o
CC arm-softmmu/balloon.o
CC arm-softmmu/ioport.o
CC aarch64-softmmu/target-arm/cpu.o
CC arm-softmmu/qtest.o
CC aarch64-softmmu/target-arm/neon_helper.o
CC arm-softmmu/device_tree.o
CC arm-softmmu/memory.o
CC arm-softmmu/savevm.o
CC aarch64-softmmu/target-arm/iwmmxt_helper.o
CC arm-softmmu/cputlb.o
CC arm-softmmu/memory_mapping.o
CC arm-softmmu/dump.o
CC aarch64-softmmu/target-arm/gdbstub.o
CC arm-softmmu/xen-stub.o
CC aarch64-softmmu/target-arm/cpu64.o
CC arm-softmmu/hw/arm/boot.o
CC aarch64-softmmu/target-arm/translate-a64.o
CC arm-softmmu/hw/arm/collie.o
CC arm-softmmu/hw/arm/exynos4_boards.o
CC arm-softmmu/hw/arm/gumstix.o
CC arm-softmmu/hw/arm/highbank.o
CC arm-softmmu/hw/arm/digic_boards.o
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/target-arm/translate-a64.c:
In function 'handle_shri_with_rndacc':
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/target-arm/translate-a64.c:5747:
warning: 'tcg_src_hi' may be used uninitialized in this function
CC arm-softmmu/hw/arm/integratorcp.o
CC arm-softmmu/hw/arm/kzm.o
CC arm-softmmu/hw/arm/mainstone.o
CC arm-softmmu/hw/arm/musicpal.o
CC arm-softmmu/hw/arm/nseries.o
CC arm-softmmu/hw/arm/omap_sx1.o
CC arm-softmmu/hw/arm/overo.o
CC arm-softmmu/hw/arm/palm.o
CC arm-softmmu/hw/arm/realview.o
CC arm-softmmu/hw/arm/spitz.o
CC arm-softmmu/hw/arm/stellaris.o
CC arm-softmmu/hw/arm/tosa.o
CC arm-softmmu/hw/arm/versatilepb.o
CC arm-softmmu/hw/arm/vexpress.o
CC arm-softmmu/hw/arm/virt.o
CC aarch64-softmmu/target-arm/helper-a64.o
CC arm-softmmu/hw/arm/xilinx_zynq.o
CC aarch64-softmmu/target-arm/gdbstub64.o
CC arm-softmmu/hw/arm/z2.o
CC aarch64-softmmu/target-arm/crypto_helper.o
CC aarch64-softmmu/hw/block/virtio-blk.o
CC arm-softmmu/hw/arm/armv7m.o
CC arm-softmmu/hw/arm/exynos4210.o
CC aarch64-softmmu/hw/char/exynos4210_uart.o
CC arm-softmmu/hw/arm/pxa2xx.o
CC aarch64-softmmu/hw/char/omap_uart.o
CC aarch64-softmmu/hw/char/digic-uart.o
CC aarch64-softmmu/hw/char/virtio-serial-bus.o
CC aarch64-softmmu/hw/cpu/arm11mpcore.o
CC arm-softmmu/hw/arm/pxa2xx_gpio.o
CC aarch64-softmmu/hw/cpu/realview_mpcore.o
CC arm-softmmu/hw/arm/pxa2xx_pic.o
CC aarch64-softmmu/hw/cpu/a9mpcore.o
CC arm-softmmu/hw/arm/digic.o
CC aarch64-softmmu/hw/cpu/a15mpcore.o
CC arm-softmmu/hw/arm/omap1.o
CC aarch64-softmmu/hw/display/omap_dss.o
CC aarch64-softmmu/hw/display/omap_lcdc.o
CC arm-softmmu/hw/arm/omap2.o
CC aarch64-softmmu/hw/display/dsi.o
CC aarch64-softmmu/hw/display/pxa2xx_lcd.o
CC arm-softmmu/hw/arm/omap3.o
CC aarch64-softmmu/hw/display/vga.o
CC arm-softmmu/hw/arm/strongarm.o
CC arm-softmmu/hw/arm/beagle.o
CC aarch64-softmmu/hw/dma/omap_dma.o
CC arm-softmmu/hw/arm/allwinner-a10.o
CC arm-softmmu/hw/arm/cubieboard.o
CC arm-softmmu/target-arm/arm-semi.o
CC aarch64-softmmu/hw/dma/soc_dma.o
CC arm-softmmu/target-arm/machine.o
CC arm-softmmu/target-arm/kvm-stub.o
CC aarch64-softmmu/hw/dma/pxa2xx_dma.o
CC arm-softmmu/target-arm/translate.o
CC aarch64-softmmu/hw/gpio/omap_gpio.o
CC aarch64-softmmu/hw/i2c/omap_i2c.o
CC aarch64-softmmu/hw/input/pxa2xx_keypad.o
CC aarch64-softmmu/hw/input/tsc210x.o
CC aarch64-softmmu/hw/intc/armv7m_nvic.o
CC aarch64-softmmu/hw/intc/exynos4210_gic.o
CC aarch64-softmmu/hw/intc/exynos4210_combiner.o
CC aarch64-softmmu/hw/intc/omap_intc.o
CC aarch64-softmmu/hw/intc/allwinner-a10-pic.o
CC aarch64-softmmu/hw/misc/vfio.o
CC aarch64-softmmu/hw/misc/arm_sysctl.o
CC aarch64-softmmu/hw/misc/cbus.o
CC aarch64-softmmu/hw/misc/exynos4210_pmu.o
CC aarch64-softmmu/hw/misc/imx_ccm.o
CC aarch64-softmmu/hw/misc/mst_fpga.o
CC aarch64-softmmu/hw/misc/omap_clk.o
CC aarch64-softmmu/hw/misc/omap_gpmc.o
CC aarch64-softmmu/hw/misc/omap_l4.o
CC aarch64-softmmu/hw/misc/omap_sdrc.o
CC aarch64-softmmu/hw/misc/omap_tap.o
CC aarch64-softmmu/hw/misc/omap3_boot.o
CC aarch64-softmmu/hw/misc/twl4030.o
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/hw/misc/twl4030.c:71:
error: redefinition of typedef 'TWL4030NodeState'
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/hw/misc/twl4030.c:51:
note: previous declaration of 'TWL4030NodeState' was here
make[1]: *** [hw/misc/twl4030.o] Error 1
make: *** [subdir-aarch64-softmmu] Error 2
make: *** Waiting for unfinished jobs....
CC arm-softmmu/target-arm/op_helper.o
CC arm-softmmu/target-arm/helper.o
CC arm-softmmu/target-arm/cpu.o
CC arm-softmmu/target-arm/neon_helper.o
CC arm-softmmu/target-arm/iwmmxt_helper.o
CC arm-softmmu/target-arm/gdbstub.o
CC arm-softmmu/target-arm/crypto_helper.o
CC arm-softmmu/hw/block/virtio-blk.o
CC arm-softmmu/hw/char/exynos4210_uart.o
CC arm-softmmu/hw/char/omap_uart.o
CC arm-softmmu/hw/char/digic-uart.o
CC arm-softmmu/hw/char/virtio-serial-bus.o
CC arm-softmmu/hw/cpu/arm11mpcore.o
CC arm-softmmu/hw/cpu/realview_mpcore.o
CC arm-softmmu/hw/cpu/a9mpcore.o
CC arm-softmmu/hw/cpu/a15mpcore.o
CC arm-softmmu/hw/display/omap_dss.o
CC arm-softmmu/hw/display/omap_lcdc.o
CC arm-softmmu/hw/display/dsi.o
CC arm-softmmu/hw/display/pxa2xx_lcd.o
CC arm-softmmu/hw/display/vga.o
CC arm-softmmu/hw/dma/omap_dma.o
CC arm-softmmu/hw/dma/soc_dma.o
CC arm-softmmu/hw/dma/pxa2xx_dma.o
CC arm-softmmu/hw/gpio/omap_gpio.o
CC arm-softmmu/hw/i2c/omap_i2c.o
CC arm-softmmu/hw/input/pxa2xx_keypad.o
CC arm-softmmu/hw/input/tsc210x.o
CC arm-softmmu/hw/intc/armv7m_nvic.o
CC arm-softmmu/hw/intc/exynos4210_gic.o
CC arm-softmmu/hw/intc/exynos4210_combiner.o
CC arm-softmmu/hw/intc/omap_intc.o
CC arm-softmmu/hw/intc/allwinner-a10-pic.o
CC arm-softmmu/hw/misc/vfio.o
CC arm-softmmu/hw/misc/arm_sysctl.o
CC arm-softmmu/hw/misc/cbus.o
CC arm-softmmu/hw/misc/exynos4210_pmu.o
CC arm-softmmu/hw/misc/imx_ccm.o
CC arm-softmmu/hw/misc/mst_fpga.o
CC arm-softmmu/hw/misc/omap_clk.o
CC arm-softmmu/hw/misc/omap_gpmc.o
CC arm-softmmu/hw/misc/omap_l4.o
CC arm-softmmu/hw/misc/omap_sdrc.o
CC arm-softmmu/hw/misc/omap_tap.o
CC arm-softmmu/hw/misc/omap3_boot.o
CC arm-softmmu/hw/misc/twl4030.o
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/hw/misc/twl4030.c:71:
error: redefinition of typedef 'TWL4030NodeState'
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b/hw/misc/twl4030.c:51:
note: previous declaration of 'TWL4030NodeState' was here
make[1]: *** [hw/misc/twl4030.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [subdir-arm-softmmu] Error 2
shell cmd failed: /bin/sh -ex
/home/angelo/development/rtems/sources/rtems-source-builder/rtems/build/qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1/doit
error: building
qemu-ac0bfdb9c310276521e5b089d7f36c1f610ca60b-i686-linux-gnu-1
Any suggestions
Thanks
On Mon, Jun 15, 2015 at 7:57 PM, Ben Gras <beng at shrike-systems.com> wrote:
> That is a feature, not a bug :-). RSB is telling you it is missing some
> parts on your system that it needs to run. Specifically:
>
> error: exe: not found: (__bison) /usr/bin/bison
> error: exe: not found: (__cvs) /usr/bin/cvs
> error: exe: not found: (__flex) /usr/bin/flex
>
> So you have to install cvs, flex and bison, then re-run sb-check, and
> assuming it says the environment is then OK, continue.
>
> Good luck!
>
>
>
>
>
> On Mon, Jun 15, 2015 at 2:17 AM, Angelo Fraietta <
> newsgroups at smartcontroller.com.au> wrote:
>
>> I got an error on first part of tutorial
>>
>> angelo at debian:~/development/rtems/sources$ git clone -b beagle
>> https://github.com/bengras/rtems-source-builder.git
>> Cloning into rtems-source-builder...
>> remote: Counting objects: 5104, done.
>> remote: Total 5104 (delta 0), reused 0 (delta 0), pack-reused 5104
>> Receiving objects: 100% (5104/5104), 3.22 MiB | 694 KiB/s, done.
>> Resolving deltas: 100% (3163/3163), done.
>> angelo at debian:~/development/rtems/sources$
>> ./rtems-source-builder/source-builder/sb-
>> sb-bootstrap sb-check sb-reports sb-set-builder
>> sb-builder sb-defaults sb-rtems-config
>> angelo at debian:~/development/rtems/sources$
>> ./rtems-source-builder/source-builder/sb-
>> sb-bootstrap sb-check sb-reports sb-set-builder
>> sb-builder sb-defaults sb-rtems-config
>> angelo at debian:~/development/rtems/sources$
>> ./rtems-source-builder/source-builder/sb-check
>> RTEMS Source Builder - Check, v0.5.0
>> error: exe: not found: (__bison) /usr/bin/bison
>> error: exe: not found: (__cvs) /usr/bin/cvs
>> error: exe: not found: (__flex) /usr/bin/flex
>>
>>
>> On Mon, Apr 13, 2015 at 10:14 PM, Andrew Harris <andrew.unit at gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> I'm not sure how to attach an interrupt in the beaglebone ARM bsp. I
>>> learned that the "rtems_interrupt_catch" method of binding an interrupt to
>>> an ISR won't work by noticing that the CPU_SIMPLE_VECTORED_INTERRUPTS is
>>> set to FALSE in cpu.h for the beaglebone BSP. I want to try binding an
>>> interrupt from the I2C Bus 1 into RTEMS, but I'm not sure where to go next
>>> in terms of how to attach the interrupt. Any help would be appreciated.
>>>
>>> -andrew
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>>
>>
>> On Mon, Jun 1, 2015 at 6:06 PM, Ben Gras <beng at shrike-systems.com> wrote:
>>
>>> Hi Angelo,
>>>
>>> Nice to hear of your interest!
>>>
>>> This tutorial covers everything from scratch and I recently verified the
>>> instructions work & the built result works :).
>>>
>>>
>>> http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html
>>>
>>> Personally I've been using Ubuntu 14.04 to build lately. Not my first
>>> choice in working environment but it's what I have at the moment.
>>>
>>>
>>>
>>> On Mon, Jun 1, 2015 at 7:27 AM, angelo fraietta <
>>> newsgroups at smartcontroller.com.au> wrote:
>>>
>>>> I have been given go-ahead to actually start looking at testing
>>>> beaglebone with RTEMS.
>>>>
>>>> Does anyone have the most current instructions for building and running
>>>> on BB.
>>>>
>>>> Also, what platforms are people using for development?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On 13/04/2015 10:14 PM, Andrew Harris wrote:
>>>>
>>>> Hello,
>>>>
>>>> I'm not sure how to attach an interrupt in the beaglebone ARM bsp.
>>>> I learned that the "rtems_interrupt_catch" method of binding an interrupt
>>>> to an ISR won't work by noticing that the CPU_SIMPLE_VECTORED_INTERRUPTS is
>>>> set to FALSE in cpu.h for the beaglebone BSP. I want to try binding an
>>>> interrupt from the I2C Bus 1 into RTEMS, but I'm not sure where to go next
>>>> in terms of how to attach the interrupt. Any help would be appreciated.
>>>>
>>>> -andrew
>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing listusers at rtems.orghttp://lists.rtems.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>> [image: Avast logo] <http://www.avast.com/>
>>>>
>>>> This email has been checked for viruses by Avast antivirus software.
>>>> www.avast.com
>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/users
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150616/775b91ce/attachment-0002.html>
More information about the users
mailing list