[Freedombox-discuss] boot partition full

James Valleroy jvalleroy at mailbox.org
Sat Jan 7 20:01:11 UTC 2017

On 01/07/2017 09:21 AM, permondes - sagen wrote:
> The currently running boot.scr with kernel 4.3:
>> ...:/boot$ cat boot.scr
>> 'V=�ѠV����#�Bi�setenv mmcdev 0
>> setenv mmcpart 1
>> setenv mmcroot /dev/mmcblk0p2 ro
>> setenv mmcrootfstype btrfs rootwait fixrtc
>> setenv mmcrootflags subvol=@
>> setenv console ttyS0,115200n8
>> setenv kernel_file vmlinuz-4.3.0-1-armmp-lpae
>> setenv initrd_file initrd.img-4.3.0-1-armmp-lpae
>> setenv fdtfile sun7i-a20-olinuxino-lime.dtb
>> setenv loadaddr 0x46000000
>> setenv initrd_addr 0x48000000
>> setenv fdtaddr 0x47000000
>> setenv initrd_high 0xffffffff
>> setenv fdt_high 0xffffffff
>> setenv loadkernel load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_file}
>> setenv loadinitrd load mmc ${mmcdev}:${mmcpart} ${initrd_addr} ${initrd_file}\; setenv initrd_size \${filesize}
>> setenv loadfdt load mmc ${mmcdev}:${mmcpart} ${fdtaddr} /dtbs/${fdtfile}
>> setenv loadfiles run loadkernel\; run loadinitrd\; run loadfdt
>> setenv mmcargs setenv bootargs console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} rootflags=${mmcrootflags}
>> run loadfiles; run mmcargs; bootz ${loadaddr} ${initrd_addr}:${initrd_size} ${fdtaddr}

Maybe this will work, as a temporary workaround:

Take the old boot.cmd (for kernel 4.3) and update it for kernel 4.8
(just change the kernel_file and initrd_file to match the files in
/boot). Then you can produce a new boot.scr with the following:

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

We used to do this in freedom-maker, but we switched (last March) to using flash-kernel to set up the boot script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20170107/9106bf61/attachment.sig>

More information about the Freedombox-discuss mailing list