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

make using space bigger #10

Open
wants to merge 1 commit into
base: main
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
16 changes: 14 additions & 2 deletions packages/bsp/arm-64/install-aml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,21 @@ dd if="${DEV_EMMC}" of=/root/u-boot-default-aml.img bs=1M count=4

echo "Start create MBR and partittion"

# bootloader|x|reserved|x|cache|x|env|x|logo|x|recovery|x|rsv|x|tee|x|crypt|misc|x|instaboot|x|boot|x|system|x|data
# conservative: [/boot) [/...
# radical: [ /boot ) [/...

parted -s "${DEV_EMMC}" mklabel msdos
parted -s "${DEV_EMMC}" mkpart primary fat32 700M 1212M
parted -s "${DEV_EMMC}" mkpart primary ext4 1213M 100%
# conservative
# /boot = [cache, cache + cache_size)
# / = [rsv, end)
parted -s "${DEV_EMMC}" mkpart primary fat32 108M 620M
parted -s "${DEV_EMMC}" mkpart primary ext4 724M 100%
# radical
# /boot = [reserved + reserved_size, env)
# / = [env + env_size, end)
#parted -s "${DEV_EMMC}" mkpart primary fat32 100MiB 628MiB
#parted -s "${DEV_EMMC}" mkpart primary ext4 636MiB 100%

echo "Start restore u-boot"

Expand Down