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

lib/configuration.sh | BOOTSIZE= has no effect #660

Closed
Fourdee opened this issue Apr 26, 2017 · 3 comments
Closed

lib/configuration.sh | BOOTSIZE= has no effect #660

Fourdee opened this issue Apr 26, 2017 · 3 comments

Comments

@Fourdee
Copy link
Contributor

Fourdee commented Apr 26, 2017

Always generates 1x EXT4 partitioned image.

sed -i "/REVISION=/a BOOTSIZE=64" lib/configuration.sh
#sed -i "/REVISION=/a BOOTFS_TYPE=fat" lib/configuration.sh #tried both with and without this option
./compile.sh
[ o.k. ] Calling image customization script [ customize-image.sh ]
[ o.k. ] Preparing image file for rootfs [ orangepizeroplus2-h5 jessie ]
[ o.k. ] Current rootfs size [ 891 MiB ]
[ o.k. ] Creating blank image for rootfs [ 1378 MiB ]
1.35GiB [96.8MiB/s] [====================================================>] 100%
[ o.k. ] Creating partitions [ root: ext4 ]
[ .... ] Creating rootfs [ ext4 ]
[ o.k. ] Copying files to image [ sdcard-dev-orangepizeroplus2-h5-jessie-no.raw ]
        804.90M  99%   40.23MB/s    0:00:19 (xfr#43164, to-chk=0/53993)

sent 808.09M bytes  received 867.29K bytes  41.49M bytes/sec
total size is 809.47M  speedup is 1.00
[ o.k. ] Copying files to /boot partition [ sdcard-dev-orangepizeroplus2-h5-jessie-no.raw ]
         22.07M  99%  223.54MB/s    0:00:00 (xfr#30, to-chk=0/37)

sent 22.07M bytes  received 612 bytes  44.15M bytes/sec
total size is 22.07M  speedup is 1.00
[ o.k. ] Free space: [ SD card ]
tmpfs                 1.5G  891M  610M  60% /root/armbian/output/cache/sdcard-dev-orangepizeroplus2-h5-jessie-no
/dev/loop0p1          1.3G  919M  361M  72% /root/armbian/output/cache/mount-dev-orangepizeroplus2-h5-jessie-no
[ o.k. ] Writing U-boot bootloader [ /dev/loop0 ]
[ o.k. ] Done building [ /root/armbian/output/images/Armbian_5.27_Orangepizeroplus2-h5_Debian_jessie_dev_4.10.0.img ]
[ o.k. ] Runtime [ 27 min ]
@ThomasKaiser
Copy link
Contributor

Just half a year ago WARNING: This option is deprecated appeared to inform/prepare 3rd parties that Armbian moved away from FAT partitions on all supported boards for a couple of reasons that were already discussed in detail: e3c0988

And 3 days ago this happened: e203564

@zador-blood-stained
Copy link
Member

@ThomasKaiser
Using FAT /boot partition is still supposed to work (for most boards), just wasn't tested yet after the latest changes.

Setting boot partition type manually should be fixed in 4952d45
Now BOOTFS_TYPE=fat should be used to achieve previous behavior and BOOTSIZE can be used to override the default boot partition size of 64MB.

@Fourdee
Copy link
Contributor Author

Fourdee commented Apr 26, 2017

@zador-blood-stained

Setting boot partition type manually should be fixed

Works a treat, thanks for quick fix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants