Skip to content

SM8550/SM8650: Add generate boot.img file#2257

Merged
spycat88 merged 1 commit intoROCKNIX:nextfrom
tiopex:boot-img
Mar 2, 2026
Merged

SM8550/SM8650: Add generate boot.img file#2257
spycat88 merged 1 commit intoROCKNIX:nextfrom
tiopex:boot-img

Conversation

@tiopex
Copy link
Contributor

@tiopex tiopex commented Jan 29, 2026

No description provided.

@tiopex tiopex requested a review from spycat88 January 29, 2026 22:15
Copy link
Contributor

@spycat88 spycat88 left a comment

Choose a reason for hiding this comment

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

grub,dtb would no longer be required in config.xml

update.sh will need updating

I can see more changes being in mkimage to only copy SYSTEM and boot.img, everything else becomes redundant

@tiopex tiopex marked this pull request as draft January 30, 2026 07:23
@tiopex tiopex force-pushed the boot-img branch 9 times, most recently from fcc9be7 to 5f46603 Compare January 30, 2026 14:09
@tiopex
Copy link
Contributor Author

tiopex commented Jan 30, 2026

done

rm -rf ${TARGET_IMG}/${IMAGE_NAME}.kernel

# Copy kernel to target dir
cp -PR $(get_install_dir linux)/.image/${KERNEL_TARGET} ${TARGET_IMG}/${IMAGE_NAME}.kernel
Copy link
Contributor

Choose a reason for hiding this comment

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

as per my comment/change recommendation above, these changes would no longer be necessary

@tiopex tiopex force-pushed the boot-img branch 3 times, most recently from bf8636b to 6b3d849 Compare February 9, 2026 08:21
Copy link
Contributor

@loki666 loki666 left a comment

Choose a reason for hiding this comment

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

LGTM

--kernel_offset 0x00000000 --ramdisk_offset 0x00000000 --tags_offset 0x00000000 \
--os_version 12.0.0 --os_patch_level "$(date '+%Y-%m')" --header_version 0 \
--cmdline "boot=LABEL=${DISTRO_BOOTLABEL} disk=LABEL=${DISTRO_DISKLABEL} grub_portable ${EXTRA_CMDLINE}" \
-o "${INSTALL}/.image//${KERNEL_TARGET}" || { exit 1; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Extra / here

@tiopex tiopex force-pushed the boot-img branch 2 times, most recently from 3b6be8f to 68f750a Compare February 10, 2026 06:21
@tiopex tiopex self-assigned this Feb 10, 2026
@loki666 loki666 assigned loki666 and unassigned tiopex Feb 10, 2026
@loki666
Copy link
Contributor

loki666 commented Feb 14, 2026

working fine on SM8650
15482.7Mb vs 14753.0Mb

@spycat88
Copy link
Contributor

working fine on SM8650 15482.7Mb vs 14753.0Mb

What does it show in Android?

@loki666
Copy link
Contributor

loki666 commented Feb 15, 2026

working fine on SM8650 15482.7Mb vs 14753.0Mb

What does it show in Android?

15270M

Copy link
Contributor

@loki666 loki666 left a comment

Choose a reason for hiding this comment

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

LGTM


makeinstall_host() {
mkdir -p ${TOOLCHAIN}/mkbootimg
cp -r gki/ mkbootimg.py $TOOLCHAIN/mkbootimg/
Copy link
Contributor

Choose a reason for hiding this comment

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

Last change, can this be installed to $TOOLCHAIN/bin

We are all good then

@spycat88 spycat88 marked this pull request as ready for review March 2, 2026 21:51
@spycat88 spycat88 merged commit 180b0b3 into ROCKNIX:next Mar 2, 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