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

Enable wic file #7

Open
wants to merge 1 commit into
base: kirkstone
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion conf/machine/wandboard.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ EXTRA_IMAGEDEPENDS += "u-boot"

SERIAL_CONSOLES = "115200;ttymxc0"

IMAGE_FSTYPES = "tar.xz"
IMAGE_FSTYPES = "tar.xz ext4 wic.bz2 wic.bmap"

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "kernel-image kernel-devicetree kernel-modules"

MACHINE_FEATURES = "ext2 serial usbhost vfat"

WKS_FILE ?= "wandboard.wks.in"
13 changes: 13 additions & 0 deletions wic/wandboard.wks.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# The disk layout used is:
# - ----- --------- --------------
# | | SPL | u-boot | rootfs |
# - ----- --------- --------------
# ^ ^ ^ ^
# | | | |
# 0 1kiB 69kiB 4MiB rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
#
part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096

bootloader --ptable msdos