Re: [linux-yocto] [kernel-cache][RFC PATCH 0/7] MicroBlaze and Zynq BSP configuration

2017-07-15 Thread Nathan Rossi
On 15 July 2017 at 05:42, Bruce Ashfield  wrote:
> On 2017-07-13 1:55 PM, Nathan Rossi wrote:
>>
>> On 13 July 2017 at 05:25, Bruce Ashfield 
>> wrote:
>>>
>>> On 2017-07-04 11:29 AM, Nathan Rossi wrote:


 Most of this configuration has existed in the meta-xilinx layer for
 quite some time for use with linux-yocto and Xilinx's vendor tree
 kernel, linux-xlnx.

 The goal is to enable the use of the MicroBlaze architecture in OE-Core
 including the addition of QEMU machines (qemumicroblazeel,
 qemumicroblazeeb), this relies on having configuration for the BSPs in
 linux-yocto. This series adds the BSP configs for these machines
 including both standard and tiny kernel types, as well as fragments for
 configuring Xilinx Soft IP drivers.

 Also included are Zynq SoC configuration fragments and a generalised
 machine config (targeting the SoC for both standard and tiny kernel
 types).

 Support for MicroBlaze and Zynq has been available in upstream and
 linux-yocto for a number of releases. This series does not require any
 patching of the kernel source to enable any functionality of the target
 BSPs and is purely kernel configuration.

 Additionally included in this series is a fragment for debug purposes
 that enables the kernels DEBUG_DYNAMIC feature.

>>>
>>> These are really clean, and self documenting. I wouldn't have a problem
>>> carrying these along with the main kernel-cache branches.
>>>
>>> I don't have the h/w .. so obviously you'd control all the updates (and
>>> any necessary fixes) that weren't clear to me (i.e. options that have
>>> disappeared, or dependency issues, I can handle).
>>
>>
>> With the qemumicroblaze* targets in the future once all changes have
>> been applied to oe-core you should be able to test them with just qemu
>> if needed.
>
>
> Right. I do recall you mentioning that. That will indeed be
> helpful if I run into something and I want to try a closed loop
> fix for it.
>
>>
>> But I am good to keep a look out on changes to the linux-yocto kernel
>> and test/validate for these configs.
>>
>>>
>>> I had one question about the BE machine, but that is mostly for my
>>> information only.
>>>
>>> I'll queue these up for my 4.10 and master branch (which is now 4.12+
>>> for linux-yocto-dev).
>>
>>
>> I had not yet tested these with 4.10 (which is reason why RFC), though
>> just tested against v4.10/-dev and all looks good.
>
>
> ok, cool.
>
> So if I stage them for 4.9, 4.10 and master (aka 4.12+), that can
> form a baseline.
>
> They'll be pushed shortly, and you can follow up with a tweak for
> master for 4.12.
>

I noticed a missing config for zynq related to tiny kernel type after
doing some more testing with the 4.12 updates. Due to how tiny.scc
includes standard.scc (which includes arm.scc), however it ignores the
.cfg files, which meant CONFIG_ARM_THUMB was not enabled for tiny
kernels. I've sent a patch to add this for the 4.9,4.10,master
branches.

Otherwise all looks good, and I have sent a patch for the 4.12 changes as well.

Thanks,
Nathan
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache][RFC PATCH 0/7] MicroBlaze and Zynq BSP configuration

2017-07-13 Thread Nathan Rossi
On 13 July 2017 at 05:25, Bruce Ashfield  wrote:
> On 2017-07-04 11:29 AM, Nathan Rossi wrote:
>>
>> Most of this configuration has existed in the meta-xilinx layer for
>> quite some time for use with linux-yocto and Xilinx's vendor tree
>> kernel, linux-xlnx.
>>
>> The goal is to enable the use of the MicroBlaze architecture in OE-Core
>> including the addition of QEMU machines (qemumicroblazeel,
>> qemumicroblazeeb), this relies on having configuration for the BSPs in
>> linux-yocto. This series adds the BSP configs for these machines
>> including both standard and tiny kernel types, as well as fragments for
>> configuring Xilinx Soft IP drivers.
>>
>> Also included are Zynq SoC configuration fragments and a generalised
>> machine config (targeting the SoC for both standard and tiny kernel
>> types).
>>
>> Support for MicroBlaze and Zynq has been available in upstream and
>> linux-yocto for a number of releases. This series does not require any
>> patching of the kernel source to enable any functionality of the target
>> BSPs and is purely kernel configuration.
>>
>> Additionally included in this series is a fragment for debug purposes
>> that enables the kernels DEBUG_DYNAMIC feature.
>>
>
> These are really clean, and self documenting. I wouldn't have a problem
> carrying these along with the main kernel-cache branches.
>
> I don't have the h/w .. so obviously you'd control all the updates (and
> any necessary fixes) that weren't clear to me (i.e. options that have
> disappeared, or dependency issues, I can handle).

With the qemumicroblaze* targets in the future once all changes have
been applied to oe-core you should be able to test them with just qemu
if needed.

But I am good to keep a look out on changes to the linux-yocto kernel
and test/validate for these configs.

>
> I had one question about the BE machine, but that is mostly for my
> information only.
>
> I'll queue these up for my 4.10 and master branch (which is now 4.12+
> for linux-yocto-dev).

I had not yet tested these with 4.10 (which is reason why RFC), though
just tested against v4.10/-dev and all looks good.

However there are some minor changes that are needed for 4.12 as these
cfgs were targeting 4.11 and earlier. I will send a follow up patch
once sorted to handle the 4.12 differences.

Thanks,
Nathan
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache][RFC PATCH 0/7] MicroBlaze and Zynq BSP configuration

2017-07-12 Thread Bruce Ashfield

On 2017-07-04 11:29 AM, Nathan Rossi wrote:

Most of this configuration has existed in the meta-xilinx layer for
quite some time for use with linux-yocto and Xilinx's vendor tree
kernel, linux-xlnx.

The goal is to enable the use of the MicroBlaze architecture in OE-Core
including the addition of QEMU machines (qemumicroblazeel,
qemumicroblazeeb), this relies on having configuration for the BSPs in
linux-yocto. This series adds the BSP configs for these machines
including both standard and tiny kernel types, as well as fragments for
configuring Xilinx Soft IP drivers.

Also included are Zynq SoC configuration fragments and a generalised
machine config (targeting the SoC for both standard and tiny kernel
types).

Support for MicroBlaze and Zynq has been available in upstream and
linux-yocto for a number of releases. This series does not require any
patching of the kernel source to enable any functionality of the target
BSPs and is purely kernel configuration.

Additionally included in this series is a fragment for debug purposes
that enables the kernels DEBUG_DYNAMIC feature.



These are really clean, and self documenting. I wouldn't have a problem
carrying these along with the main kernel-cache branches.

I don't have the h/w .. so obviously you'd control all the updates (and
any necessary fixes) that weren't clear to me (i.e. options that have
disappeared, or dependency issues, I can handle).

I had one question about the BE machine, but that is mostly for my
information only.

I'll queue these up for my 4.10 and master branch (which is now 4.12+
for linux-yocto-dev).

Bruce


Nathan Rossi (7):
   arch/microblaze: Add config fragments for the MicroBlaze architecture
   bsp/xilinx/board-common: Add Xilinx common board fragment for BSPs
   bsp/xilinx/soc/drivers: Add Xilinx Soft IP drivers fragment
   bsp/qemumicroblazeel: Add BSP configs for qemumicroblazeel
   bsp/qemumicroblazeeb: Add BSP configs for qemumicroblazeeb
   bsp/xilinx/zynq: Add a general purpose KMACHINE for Zynq targets
   features/debug/debug-dyndbg: Add feature to enable dynamic debug

  arch/microblaze/microblaze.cfg   | 18 ++
  arch/microblaze/microblaze.scc   |  6 ++
  bsp/qemumicroblaze/qemumicroblazeeb-standard.scc | 15 +
  bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc | 12 
  bsp/qemumicroblaze/qemumicroblazeeb.cfg  | 15 +
  bsp/qemumicroblaze/qemumicroblazeel-standard.scc | 15 +
  bsp/qemumicroblaze/qemumicroblazeel-tiny.scc | 12 
  bsp/qemumicroblaze/qemumicroblazeel.cfg  | 15 +
  bsp/xilinx/board-common.cfg  | 71 ++
  bsp/xilinx/board-common.scc  |  7 +++
  bsp/xilinx/soc/drivers-softip-microblaze.cfg |  8 +++
  bsp/xilinx/soc/drivers-softip.cfg| 45 ++
  bsp/xilinx/soc/drivers-softip.scc| 12 
  bsp/xilinx/soc/drivers-zynq.cfg  | 75 
  bsp/xilinx/soc/zynq.cfg  | 43 ++
  bsp/xilinx/soc/zynq.scc  | 10 
  bsp/xilinx/zynq-standard.scc | 15 +
  bsp/xilinx/zynq-tiny.scc |  9 +++
  features/debug/debug-dyndbg.cfg  |  1 +
  features/debug/debug-dyndbg.scc  |  4 ++
  20 files changed, 408 insertions(+)
  create mode 100644 arch/microblaze/microblaze.cfg
  create mode 100644 arch/microblaze/microblaze.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb.cfg
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-standard.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-tiny.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel.cfg
  create mode 100644 bsp/xilinx/board-common.cfg
  create mode 100644 bsp/xilinx/board-common.scc
  create mode 100644 bsp/xilinx/soc/drivers-softip-microblaze.cfg
  create mode 100644 bsp/xilinx/soc/drivers-softip.cfg
  create mode 100644 bsp/xilinx/soc/drivers-softip.scc
  create mode 100644 bsp/xilinx/soc/drivers-zynq.cfg
  create mode 100644 bsp/xilinx/soc/zynq.cfg
  create mode 100644 bsp/xilinx/soc/zynq.scc
  create mode 100644 bsp/xilinx/zynq-standard.scc
  create mode 100644 bsp/xilinx/zynq-tiny.scc
  create mode 100644 features/debug/debug-dyndbg.cfg
  create mode 100644 features/debug/debug-dyndbg.scc



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache][RFC PATCH 0/7] MicroBlaze and Zynq BSP configuration

2017-07-04 Thread Nathan Rossi
Most of this configuration has existed in the meta-xilinx layer for
quite some time for use with linux-yocto and Xilinx's vendor tree
kernel, linux-xlnx.

The goal is to enable the use of the MicroBlaze architecture in OE-Core
including the addition of QEMU machines (qemumicroblazeel,
qemumicroblazeeb), this relies on having configuration for the BSPs in
linux-yocto. This series adds the BSP configs for these machines
including both standard and tiny kernel types, as well as fragments for
configuring Xilinx Soft IP drivers.

Also included are Zynq SoC configuration fragments and a generalised
machine config (targeting the SoC for both standard and tiny kernel
types).

Support for MicroBlaze and Zynq has been available in upstream and
linux-yocto for a number of releases. This series does not require any
patching of the kernel source to enable any functionality of the target
BSPs and is purely kernel configuration.

Additionally included in this series is a fragment for debug purposes
that enables the kernels DEBUG_DYNAMIC feature.

Nathan Rossi (7):
  arch/microblaze: Add config fragments for the MicroBlaze architecture
  bsp/xilinx/board-common: Add Xilinx common board fragment for BSPs
  bsp/xilinx/soc/drivers: Add Xilinx Soft IP drivers fragment
  bsp/qemumicroblazeel: Add BSP configs for qemumicroblazeel
  bsp/qemumicroblazeeb: Add BSP configs for qemumicroblazeeb
  bsp/xilinx/zynq: Add a general purpose KMACHINE for Zynq targets
  features/debug/debug-dyndbg: Add feature to enable dynamic debug

 arch/microblaze/microblaze.cfg   | 18 ++
 arch/microblaze/microblaze.scc   |  6 ++
 bsp/qemumicroblaze/qemumicroblazeeb-standard.scc | 15 +
 bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc | 12 
 bsp/qemumicroblaze/qemumicroblazeeb.cfg  | 15 +
 bsp/qemumicroblaze/qemumicroblazeel-standard.scc | 15 +
 bsp/qemumicroblaze/qemumicroblazeel-tiny.scc | 12 
 bsp/qemumicroblaze/qemumicroblazeel.cfg  | 15 +
 bsp/xilinx/board-common.cfg  | 71 ++
 bsp/xilinx/board-common.scc  |  7 +++
 bsp/xilinx/soc/drivers-softip-microblaze.cfg |  8 +++
 bsp/xilinx/soc/drivers-softip.cfg| 45 ++
 bsp/xilinx/soc/drivers-softip.scc| 12 
 bsp/xilinx/soc/drivers-zynq.cfg  | 75 
 bsp/xilinx/soc/zynq.cfg  | 43 ++
 bsp/xilinx/soc/zynq.scc  | 10 
 bsp/xilinx/zynq-standard.scc | 15 +
 bsp/xilinx/zynq-tiny.scc |  9 +++
 features/debug/debug-dyndbg.cfg  |  1 +
 features/debug/debug-dyndbg.scc  |  4 ++
 20 files changed, 408 insertions(+)
 create mode 100644 arch/microblaze/microblaze.cfg
 create mode 100644 arch/microblaze/microblaze.scc
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb.cfg
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-standard.scc
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-tiny.scc
 create mode 100644 bsp/qemumicroblaze/qemumicroblazeel.cfg
 create mode 100644 bsp/xilinx/board-common.cfg
 create mode 100644 bsp/xilinx/board-common.scc
 create mode 100644 bsp/xilinx/soc/drivers-softip-microblaze.cfg
 create mode 100644 bsp/xilinx/soc/drivers-softip.cfg
 create mode 100644 bsp/xilinx/soc/drivers-softip.scc
 create mode 100644 bsp/xilinx/soc/drivers-zynq.cfg
 create mode 100644 bsp/xilinx/soc/zynq.cfg
 create mode 100644 bsp/xilinx/soc/zynq.scc
 create mode 100644 bsp/xilinx/zynq-standard.scc
 create mode 100644 bsp/xilinx/zynq-tiny.scc
 create mode 100644 features/debug/debug-dyndbg.cfg
 create mode 100644 features/debug/debug-dyndbg.scc

-- 
2.13.2
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto