Le 28/05/2015 15:27, Alexander Graf a écrit :
Am 28.05.2015 um 15:13 schrieb Guillaume Gardet <guillaume.gardet@free.fr>:
Hi Marcus,
now, u-boot lists all bootable partitions to look for boot scripts. If no partition has a bootflag, it falls back to 1st partition. This break Chromebook (and maybe Raspberry Pi?) images, since 1st partition is hidden and we use partition 2 for our boot script, kernel and initrd.
Could we add the boot flag to partition number 2 when vboot is used? We should be able to do this in out u-boot-install and first boot script, no?
Maybe, but you need parted or fdisk tool (not sure they are always available). If it is done during build with kiwi, we should be fine and no need for another hack. ;) For MBR partitions, 1st partition is already flagged as bootable. So, I guess so there is not much work to flag partition #2 bootable when CGPT/vboot is used. Guillaume
Alex
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org