On Tue, 29 Dec 2020 04:47:25 +0100 Denis 'GNUtoo' Carikli wrote: > > "/libexec/MLO")) (u-boot (string-append bootloader > > "/libexec/u-boot.img"))) (write-file-on-device mlo (* 256 512) > > image (* 256 512)) > > (write-file-on-device u-boot (* 1024 512) > > image (* 768 512))))) Ah my bad, theses are in bytes (write-file-on-device uses seek which looks like lseek). So if u-boot.img is 600k, that's over the 512k. MLO[1] is about 108k (108740 bytes), so that's under 128KiB. So we could move u-boot.img at 256KiB instead of 384KiB. This way we'll still have some margin for MLO but and increase the space for u-boot.img to 768k. References: ----------- [1]/gnu/store/83rpk8q9bww0phl6z6zgpf06qhqs8cw6-u-boot-am335x-boneblack-2020.10/libexec/MLO Denis.