Skip to content

Conversation

quicAspratap
Copy link

Outline the steps to set up a development environment for building and deploying the Qualcomm Linux kernel on Ubuntu-based systems using Docker. Steps detail the docker setup, kernel debian build steps and installation of the build kernel deb packages on device.

@quicAspratap quicAspratap force-pushed the quicAspratap-patch-1 branch 2 times, most recently from 8e2689b to d5b3702 Compare October 7, 2025 10:37
README.md Outdated
--output images
```

##### dtb.bin can be flashed using fastboot or via copying to a local flatened META.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove fullstop

Copy link
Author

Choose a reason for hiding this comment

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

updated.

README.md Outdated
Copy ubuntu.img and espefi.bin back to the flat META. Rename them as system.img
and efi.bin respectivly.

3. Flash the above META to boot your device.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/META/Flat META

Copy link
Author

Choose a reason for hiding this comment

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

updated. thanks.

@quicAspratap quicAspratap force-pushed the quicAspratap-patch-1 branch 3 times, most recently from c7dcdd3 to 9953117 Compare October 9, 2025 12:58
README.md Outdated
```

# Ubuntu Developer workflow
This guide outlines the steps to set up a development environment for building and
Copy link
Contributor

Choose a reason for hiding this comment

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

This README captures other packaging as well namely efi.bin and boot.img, handling ubuntu is just an extension.

Copy link
Author

Choose a reason for hiding this comment

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

thanks. removed this.

README.md Outdated
```
git clone [email protected]:qualcomm-linux/kmake-image.git
cd kmake-image
docker build -t kmake-image .
Copy link
Contributor

Choose a reason for hiding this comment

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

there is no need to repeat all this

Copy link
Author

Choose a reason for hiding this comment

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

removed.

kmake mrproper O=../debian
kmake defconfig O=../debian
kmake -j16 O=../debian bindeb-pkg
```
Copy link
Contributor

Choose a reason for hiding this comment

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

this is the main addition that should go under packaging deb package instructions - after efi and boot.img packaging

Copy link
Author

Choose a reason for hiding this comment

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

Done.

README.md Outdated
linux-headers-6.17.0-rc7_6.17.0~rc7-7_arm64.deb - headers
```

### 5. Generate dtb.bin for targets supporting device tree
Copy link
Contributor

Choose a reason for hiding this comment

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

Not required , has been documented before.

Copy link
Author

Choose a reason for hiding this comment

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

removed.

README.md Outdated
fastboot flash dtb_a dtb.bin
```

### 6. How to install the kernel deb packages on top of Ubuntu Distro
Copy link
Contributor

Choose a reason for hiding this comment

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

this is required. Name section as

"Install kernel deb packages"

Copy link
Author

Choose a reason for hiding this comment

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

updated location of this section and renamed.

@quicAspratap quicAspratap force-pushed the quicAspratap-patch-1 branch 3 times, most recently from 1929cee to 231b287 Compare October 13, 2025 16:29
README.md Outdated
fastboot boot images/boot.img
```

### 10. Build Ubuntu Kernel deb packages
Copy link
Contributor

Choose a reason for hiding this comment

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

'Or' Build Ubuntu Kernel deb Package

Inline with section 9 naming.

Copy link
Author

Choose a reason for hiding this comment

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

Done.

README.md Outdated
kmake -j16 O=../debian bindeb-pkg
```

### 11. Install kernel deb packages
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets move updating debian kernel image section under 'Finer Details' as it is laid down in several options

Copy link
Contributor

Choose a reason for hiding this comment

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

and put a reference here to link to updating ubuntu kernel instruction.

Copy link
Author

Choose a reason for hiding this comment

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

moved to Finer Details and added a link to build steps.

README.md Outdated
```
#After reboot your kernel will be booted on device.

#### Method 2: Make Ubuntu distro daily image:
Copy link
Contributor

Choose a reason for hiding this comment

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

Make or Use ?

Copy link
Author

Choose a reason for hiding this comment

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

Updated.

Outline the steps to set up a development environment for
building and deploying the Qualcomm Linux kernel on
Ubuntu-based systems using Docker. Add the build steps
for kernel debian package and its installation on device.

Signed-off-by: Shivendra Pratap <[email protected]>
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