forked from ebutera/meta-sunxi
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf: sunxi.inc: add wks file for arm
Signed-off-by: Maciej Pijanowski <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# short-description: Create SD card image with a boot partition | ||
# long-description: | ||
# Create an image that can be written onto a SD card using dd for use | ||
# with Allwinner arm (32-bit) SoC family | ||
# | ||
# The disk layout used is: | ||
# - --------------------------- -------------- -------------- | ||
# | | u-boot-sunxi-with-spl.bin | boot | rootfs | | ||
# - --------------------------- -------------- -------------- | ||
# ^ ^ ^ ^ ^ | ||
# | | | | | | ||
# 0 | 2MiB ${SUNXI_BOOT_SPACE}MiB ${SUNXI_BOOT_SPACE}MiB + rootfs + IMAGE_EXTRA_SPACE | ||
# 8KiB | ||
# | ||
|
||
part u-boot --source rawcopy --sourceparams="file=${SPL_BINARY}" --ondisk mmcblk0 --no-table --align 8 | ||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 2048 --fixed-size ${SUNXI_BOOT_SPACE} | ||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --align 2048 |