Skip to content

Make the risc-v cookbook a generic cookbook - #19

Closed
fhost wants to merge 2 commits into
ubuntu:mainfrom
fhost:fhost/arm64-cookbook
Closed

Make the risc-v cookbook a generic cookbook#19
fhost wants to merge 2 commits into
ubuntu:mainfrom
fhost:fhost/arm64-cookbook

Conversation

@fhost

@fhost fhost commented Jan 26, 2026

Copy link
Copy Markdown

Make the RISC-V Cookbook a generic cookbook, and also add stuff for Qualcomm dragonwing boards.

  • Rename everything (removed risc-v_ prefix).
  • Add kernel packaging instruction from Ubuntu kernel package.
  • Add some tabs to have RISC-V and Dragonwing instructions when they differ.

@fhost
fhost force-pushed the fhost/arm64-cookbook branch 2 times, most recently from 1c8d8d6 to b1d4521 Compare January 26, 2026 15:04
Device tree file
================

Qualcomm Dragonwing platforms use the ``combined-dtb.dtb`` file. This file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qualcomm Dragonwing platforms use the a combined device-tree (CDT), combined-dtb.dtb.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

refer to the corresponding Qualcomm documentation.

To customize how the ``combined-dtb.dtb`` is prepared, please modify the file:
``arch/arm64/boot/dts/qcom/Makefile``.

@xypron xypron Jan 27, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that in the upstream Linux kernel? Can't find it there.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it is in the Qualcomm kernel. Should I add a note to make it explicit?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The information should be sufficient to

  • identify where that Makefile can obtained
  • why or when Makefile should be customized
  • what changes are expected to made

.. SPDX-License-Identifier: CC-BY-SA-4.0

Debian packaging
================

@xypron xypron Jan 27, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you want to use ukpack for packaging vendor kernel? This section should be discussed with @esmil.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We (Canonical) deliver a Qualcomm optimized kernel. I guess people using the Dragonwing platform will start from there.

@xypron

xypron commented Jan 27, 2026

Copy link
Copy Markdown
Collaborator

@fhost Thank you for starting the rework of this documentation to make it more generic.

Please, separate this work into multiple pull requests. The first one should handle the unnecessary references to RISC-V. The second one then may may look into kernel packaging.

@fhost
fhost force-pushed the fhost/arm64-cookbook branch from b1d4521 to 09d38ff Compare January 27, 2026 18:39
@fhost

fhost commented Jan 27, 2026

Copy link
Copy Markdown
Author

@fhost Thank you for starting the rework of this documentation to make it more generic.

Please, separate this work into multiple pull requests. The first one should handle the unnecessary references to RISC-V. The second one then may may look into kernel packaging.

Done: #20 (kernel packaging)

@alexclewontin

Copy link
Copy Markdown

@fhost are you able to further separate the changes into "genericization" and "addition of dragonwing"? Right now it looks like the change to "image cookbook" sits on top of the dragonwing changes, but I will have a much easier time reviewing if I can focus on the structural changes without having to comment on the dragonwing info (which I am not an expert on)

if RTD will not let you do a tab section with only a single tab it then nevermind

fhost added 2 commits February 6, 2026 18:15
Changes:
 * Move directory to image-cookbook.
 * Update references.
 * Move RISC-V specific explanation into reference/risc-v.
 * Reword some part to be more generic.
@fhost
fhost force-pushed the fhost/arm64-cookbook branch from 09d38ff to c8d685d Compare February 6, 2026 17:21
@fhost
fhost requested a review from xypron February 10, 2026 16:53
@xypron

xypron commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator

@fhost

The move to image-cookbook is now implemented. I will next look into updating the structure to accommodate architecture and device specific information.

@fhost fhost closed this Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants