RSB Couverture-Qemu build queries
Cillian O'Donnell
cpodonnell8 at gmail.com
Tue Jun 20 08:16:33 UTC 2017
> Please try and let me know if it is ok so I can push to master:
It worked! Everything's perfect now. Thanks Chris.
On 19 June 2017 at 23:19, Jiri Gaisler <jiri at gaisler.se> wrote:
>
>
> On 06/17/2017 10:28 AM, Cillian O'Donnell wrote:
>> On 16 June 2017 at 22:00, Jiri Gaisler <jiri at gaisler.se> wrote:
>>> Hi Cillian,
>>>
>>> the gaisler.org server is currently down due to a power problem last
>>> week. I am in the Caribbean at the moment so I can't fix it until
>>> Tuesday next week. I suggest you skip the LEON3 patches until I fix the
>>> server next week. Let me know if you get problems merging the patches,
>>> and I will try to sort it out.
>>>
>>> Jiri.
>>>
>> Ok, thanks for letting me know Jiri. I'll leave the patches till
>> Tuesday and see If I can put them back together and get them merged
>> then. Thanks Joel, I've been talking with Fabien Chouteau from the
>> Couverture project, I'll reach out to him with the patches and cc you
>> and Chris and thanks Gedare for the info.
>
> gaisler.org is up again, so you can download the patches. Let me know if
> you need help merging them.
>
> Jiri.
Great! I'll get to work on the patches today. Thanks Jiri.
>
>>
>>> On 06/16/2017 03:13 PM, Cillian O'Donnell wrote:
>>>> Hi,
>>>>
>>>> I am getting the RSB to build Couverture-Qemu and I just want to check
>>>> a few things I have done so far.
>>>>
>>>> 1. There are about 5 patches applied to the current qemu build. Only
>>>> one of which applies cleanly to the Couverture build. Do you want me
>>>> to try and fix these up, comment them out and leave a note for
>>>> whoever wants to fix them or remove them completely? The patches that
>>>> don't work are:
>>>>
>>>> %patch add qemu
>>>> pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
>>>>
>>>> %patch add qemu
>>>> https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-
>>>> play.patch
>>>>
>>>> %patch add qemu
>>>> https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
>>>>
>>>> %patch add qemu
>>>> https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
>>>>
>>>>
>>>> 2. For this source setting section, is the first part just dealing
>>>> with the case were this a packaged release so a tar of the download is
>>>> already included with it?
>>>>
>>>> %if %{rsb_released} && %{!defined without_release_url}
>>>> %source set qemu
>>>> %{rtems_release_url}/%{rtems_version}/sources/qemu-git-42d58e7.tar.xz
>>>> %else
>>>> %source set qemu
>>>> https://github.com/AdaCore/qemu/archive/%{qemu_version}.tar.gz
>>>> %endif
>>>>
>>>> 3. What does the -q option do in the %prep section of the build, this
>>>> option shows up in examples in the docs but there is no description of
>>>> what it does?
>>>>
>>>> %source setup qemu -q -n qemu-%{qemu_version}
>>>>
>>>> 4. The current qemu build is configured with the default setting to
>>>> build for all architectures but most of the arch's aren't used by
>>>> RTEMS and/or don't have machine support for same bsps, so I've added a
>>>> --target-list to only build the targets that have a corresponding bsp
>>>> (sparc64-softmmu is missing as it runs into build issues, I forgot to
>>>> mention in the initial results). However the list spills over 80 lines
>>>> so should I make a %{qemu_targets} macro and if so where should I put
>>>> it?
>>>>
>>>> --make=%{__make} \
>>>> 72 --target-list=arm-softmmu,i386-softmmu,lm32-softmmu,mips-softmmu,ppc-softmmu,sparc-softmmu
>>>> \
>>>> 73 ${VDE_CONFIG} \
>>>> 74 --disable-smartcard-nss \
>>>>
>>>> Thanks,
>>>>
>>>> Cillian.
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/devel
>
More information about the devel
mailing list