-
Notifications
You must be signed in to change notification settings - Fork 6
README.md: Add steps for Ubuntu developer workflow #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
README.md: Add steps for Ubuntu developer workflow #14
Conversation
8e2689b
to
d5b3702
Compare
README.md
Outdated
--output images | ||
``` | ||
|
||
##### dtb.bin can be flashed using fastboot or via copying to a local flatened META. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove fullstop
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/META/Flat META
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated. thanks.
c7dcdd3
to
9953117
Compare
README.md
Outdated
``` | ||
|
||
# Ubuntu Developer workflow | ||
This guide outlines the steps to set up a development environment for building and |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 . |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 | ||
``` |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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.
1929cee
to
231b287
Compare
README.md
Outdated
fastboot boot images/boot.img | ||
``` | ||
|
||
### 10. Build Ubuntu Kernel deb packages |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make or Use ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
231b287
to
4c2446f
Compare
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]>
4c2446f
to
d93d673
Compare
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.