[Buildroot] [PATCH 2/2] support/testing: add atop test
ricardo.martincoski at gmail.com
Wed Jan 30 02:37:31 UTC 2019
On Tue, Jan 29, 2019 at 07:25 PM, Thomas Petazzoni wrote:
> On Mon, 28 Jan 2019 00:14:06 -0200
> Ricardo Martincoski <ricardo.martincoski at gmail.com> wrote:
>> +class TestAtop(infra.basetest.BRTest):
>> + config = \
>> + """
>> + BR2_arm=y
>> + BR2_cortex_a9=y
>> + BR2_ARM_ENABLE_NEON=y
>> + BR2_ARM_ENABLE_VFP=y
>> + BR2_TOOLCHAIN_EXTERNAL=y
>> + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
>> + BR2_SYSTEM_DHCP="eth0"
>> + BR2_LINUX_KERNEL=y
>> + BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7"
>> + BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
>> + BR2_LINUX_KERNEL_DTS_SUPPORT=y
>> + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9"
> Is there a good reason to build the kernel as part of this test case,
> instead of using the prebuilt kernel, like most other package test
> cases are doing ?
No. My mistake, sorry.
I should had used the prebuilt armv7 kernel.
I guess I can remove all lines from BR2_TARGET_GENERIC_GETTY_PORT to
I was (wrongly) pretty sure we always use prebuilt kernel 3.11.0 .
That's because all *-run.log for the python test cases.
This new version of atop needs kernel headers >= 3.14.
So I decided to not take the risk of having weird behaviors using an older (than
Then I saw that the rust test case compiles kernel 4.x and decided to do the
same. I just copied the current kernel version from qemu_arm_vexpress_defconfig.
What I missed is that only the armv5 prebuilt kernel is 3.11.0 . The armv7 one
is 4.0.0 (as we can see on all *-run.log for the perl test cases) and therefore
it should work here.
Should I send a followup patch switching to prebuilt kernel?
More information about the buildroot