[linux-yocto] [kernel-cache][PATCH 1/2] qemuarma9: remove unused qemuarma9 configs

Bruce Ashfield bruce.ashfield at windriver.com
Mon Jan 7 19:23:22 PST 2019


On 2019-01-07 11:14 a.m., Jon Mason wrote:
> On Sun, Jan 6, 2019 at 7:39 PM Bruce Ashfield <bruce.ashfield at gmail.com> wrote:
>>
>> On Fri, Jan 4, 2019 at 4:39 PM Jon Mason <jdmason at kudzu.us> wrote:
>>>
>>> Nothing in the Yocto Project is currently using the qemuarma9 configs,
>>> and this appears to be cruft.  Also, there are kernel compile warnings
>>> when attempting to compile on v4.18 kernels.  Instead of fixing it,
>>> simply remove this to clean up the repo.
>>
>> These are actually used by some folks, and I know they are in the
>> process of fixing them up.
>> They aren't in the core project, since we could never get full
>> functionality out of the A9 to replace the old versatile emulations.
> 
> My apologies, I thought since they compiled with an warnings in Yocto
> and the output kernel doesn't seem to work with QEMU that they were
> not being actively used/maintained.  If we want to keep them, I can
> spent a little time to get them working again and maybe push a
> qemuarma9 machine conf to Yocto.  I already had one mostly working, so
> it would be little effort to fix it up.  This way, we can avoid the
> issue of it compiling with warnings on newer kernels, since we can
> actually test it.  :)
> 
> Let me know if this is something wanted, and I'll bang it out this week.

Tweaks to the configs would definitely be appreciated. The configuration
lagged some of the newer reference kernels, which is probably what you
ran into.

I have a meta-qemarma9 layer on github that is also a bit out of date,
but had the machine configs and runqemu changes to make sure it at least
booted.

Cheers,

Bruce

> 
> Thanks,
> Jon
> 
>>
>> I'll have a look at the other patches, but will keep the A9 around.
>>
>> Bruce
>>
>>>
>>> Signed-off-by: Jon Mason <jdmason at kudzu.us>
>>> ---
>>>   bsp/qemuarma9/hardware.cfg           |  8 ---
>>>   bsp/qemuarma9/qemuarma9-gfx.cfg      |  7 ---
>>>   bsp/qemuarma9/qemuarma9-standard.scc |  9 ---
>>>   bsp/qemuarma9/qemuarma9.cfg          | 88 ----------------------------
>>>   bsp/qemuarma9/qemuarma9.scc          |  2 -
>>>   5 files changed, 114 deletions(-)
>>>   delete mode 100644 bsp/qemuarma9/hardware.cfg
>>>   delete mode 100644 bsp/qemuarma9/qemuarma9-gfx.cfg
>>>   delete mode 100644 bsp/qemuarma9/qemuarma9-standard.scc
>>>   delete mode 100644 bsp/qemuarma9/qemuarma9.cfg
>>>   delete mode 100644 bsp/qemuarma9/qemuarma9.scc
>>>
>>> diff --git a/bsp/qemuarma9/hardware.cfg b/bsp/qemuarma9/hardware.cfg
>>> deleted file mode 100644
>>> index 8b922c66..00000000
>>> --- a/bsp/qemuarma9/hardware.cfg
>>> +++ /dev/null
>>> @@ -1,8 +0,0 @@
>>> -CONFIG_CC_OPTIMIZE_FOR_SIZE
>>> -CONFIG_CRAMFS
>>> -CONFIG_HIGH_RES_TIMERS
>>> -CONFIG_JFFS2_FS
>>> -CONFIG_NO_HZ
>>> -CONFIG_SERIAL_8250
>>> -CONFIG_SERIAL_AMBA_PL011
>>> -CONFIG_SERIAL_AMBA_PL011_CONSOLE
>>> diff --git a/bsp/qemuarma9/qemuarma9-gfx.cfg b/bsp/qemuarma9/qemuarma9-gfx.cfg
>>> deleted file mode 100644
>>> index f0bfcd79..00000000
>>> --- a/bsp/qemuarma9/qemuarma9-gfx.cfg
>>> +++ /dev/null
>>> @@ -1,7 +0,0 @@
>>> -CONFIG_FB=y
>>> -CONFIG_FB_ARMCLCD=y
>>> -CONFIG_FRAMEBUFFER_CONSOLE=y
>>> -
>>> -CONFIG_INPUT_TABLET=y
>>> -CONFIG_HID_WACOM=y
>>> -CONFIG_INPUT_MISC=y
>>> diff --git a/bsp/qemuarma9/qemuarma9-standard.scc b/bsp/qemuarma9/qemuarma9-standard.scc
>>> deleted file mode 100644
>>> index c71fe1c5..00000000
>>> --- a/bsp/qemuarma9/qemuarma9-standard.scc
>>> +++ /dev/null
>>> @@ -1,9 +0,0 @@
>>> -define KMACHINE qemuarma9
>>> -define KTYPE standard
>>> -define KARCH arm
>>> -
>>> -include ktypes/standard/standard.scc
>>> -branch arm-versatile-926ejs
>>> -
>>> -include qemuarma9.scc
>>> -
>>> diff --git a/bsp/qemuarma9/qemuarma9.cfg b/bsp/qemuarma9/qemuarma9.cfg
>>> deleted file mode 100644
>>> index c8a2aa33..00000000
>>> --- a/bsp/qemuarma9/qemuarma9.cfg
>>> +++ /dev/null
>>> @@ -1,88 +0,0 @@
>>> -CONFIG_ARCH_VEXPRESS=y
>>> -
>>> -#
>>> -# Versatile Express platform type
>>> -#
>>> -CONFIG_ARCH_VEXPRESS_CA9X4=y
>>> -CONFIG_PLAT_VERSATILE=y
>>> -CONFIG_ARM_TIMER_SP804=y
>>> -
>>> -#
>>> -# Bus support
>>> -#
>>> -CONFIG_ARM_AMBA=y
>>> -
>>> -#
>>> -# Kernel Features
>>> -#
>>> -CONFIG_SMP=y
>>> -CONFIG_NR_CPUS=4
>>> -
>>> -#
>>> -# Floating point emulation
>>> -#
>>> -CONFIG_VFP=y
>>> -CONFIG_VFPv3=y
>>> -CONFIG_NEON=y
>>> -
>>> -CONFIG_SMSC911X=y
>>> -
>>> -#
>>> -# Non-8250 serial port support
>>> -#
>>> -CONFIG_SERIAL_AMBA_PL011=y
>>> -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
>>> -
>>> -CONFIG_MTD=y
>>> -CONFIG_MTD_CMDLINE_PARTS=y
>>> -
>>> -#
>>> -# User Modules And Translation Layers
>>> -#
>>> -CONFIG_MTD_BLKDEVS=y
>>> -CONFIG_MTD_BLOCK=y
>>> -#
>>> -# RAM/ROM/Flash chip drivers
>>> -#
>>> -CONFIG_MTD_CFI=y
>>> -CONFIG_MTD_CFI_INTELEXT=y
>>> -
>>> -CONFIG_RTC_HCTOSYS=y
>>> -CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
>>> -
>>> -#
>>> -# on-CPU RTC drivers
>>> -#
>>> -CONFIG_RTC_CLASS=y
>>> -CONFIG_RTC_DRV_PL031=y
>>> -
>>> -#
>>> -# Watchdog Device Drivers
>>> -#
>>> -CONFIG_ARM_SP805_WATCHDOG=y
>>> -CONFIG_WATCHDOG_NOWAYOUT=y
>>> -
>>> -CONFIG_HAVE_ARM_TWD=y
>>> -CONFIG_LOCAL_TIMERS=y
>>> -
>>> -CONFIG_HIGHMEM=y
>>> -
>>> -CONFIG_SCSI=y
>>> -CONFIG_BLK_DEV_SD=y
>>> -
>>> -CONFIG_USB=y
>>> -CONFIG_USB_STORAGE=y
>>> -
>>> -CONFIG_HOTPLUG_CPU=y
>>> -
>>> -CONFIG_I2C=y
>>> -CONFIG_I2C_VERSATILE=y
>>> -
>>> -# This is for the keyboard / mouse
>>> -CONFIG_SERIO_AMBAKMI=y
>>> -
>>> -# SD card interface
>>> -CONFIG_MMC=y
>>> -CONFIG_MMC_BLOCK=y
>>> -CONFIG_MMC_ARMMMCI=y
>>> -
>>> diff --git a/bsp/qemuarma9/qemuarma9.scc b/bsp/qemuarma9/qemuarma9.scc
>>> deleted file mode 100644
>>> index cd135d13..00000000
>>> --- a/bsp/qemuarma9/qemuarma9.scc
>>> +++ /dev/null
>>> @@ -1,2 +0,0 @@
>>> -kconf hardware qemuarma9.cfg
>>> -kconf hardware qemuarma9-gfx.cfg
>>> --
>>> 2.17.2
>>>
>>> --
>>> _______________________________________________
>>> linux-yocto mailing list
>>> linux-yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/linux-yocto
>>
>>
>>
>> --
>> - Thou shalt not follow the NULL pointer, for chaos and madness await
>> thee at its end
>> - "Use the force Harry" - Gandalf, Star Trek II



More information about the linux-yocto mailing list