Skip to content
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

Streamlining support for eMMC boot #72

Open
wants to merge 2 commits into
base: yocto_5
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
inherit adsp-sc5xx-minimal

IMAGE_INSTALL += "kernel kernel-devicetree"
DEPENDS += "adsp-sc5xx-ramdisk-emmc-tools"

IMAGE_INSTALL:append = " parted"

#We do not need these files in the rootfs -- remove them to reduce the minimal rootfs size
fakeroot do_rootfs_cleanup(){
Expand All @@ -16,8 +18,10 @@ fakeroot do_rootfs_cleanup(){

rm -rf ${IMAGE_ROOTFS}/usr/lib/libX11.so.6
rm -rf ${IMAGE_ROOTFS}/usr/lib/libX11.so.6.3.0

cp ${DEPLOY_DIR_IMAGE}/fitImage ${IMAGE_ROOTFS}/boot
}

addtask rootfs_cleanup after do_rootfs before do_image
addtask rootfs_cleanup after do_assemble_fitimage before do_image_ext4

IMAGE_FSTYPES:append = " wic.gz ext4 "