Skip to content

Commit

Permalink
Update ubinize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony91590 authored Jun 2, 2024
1 parent 01b0bde commit 99ca32e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ubinize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ image=$KERNEL
vol_id=0
vol_type=dynamic
vol_name=kernel
vol_alignment=1
[rootfs]
[ubi_rootfs]
mode=ubi
image=$ROOTFS
vol_id=1
vol_type=dynamic
vol_name=ubi_rootfs
vol_alignment=1
CFGEND

# generate an empty rootfs_data volume if requested
Expand All @@ -56,7 +58,7 @@ vol_name=rootfs_data
vol_flags=autoresize
CFGEND2

ubinize -m 2048 -p 128KiB -o "$OUTPUT" "$UBICFG"
ubinize -o "$OUTPUT" -m 2048 -p 128KiB -O 2048 "$UBICFG"

echo "done."

0 comments on commit 99ca32e

Please sign in to comment.