Hi Claudius, Sure thing - it is loosely based on the wks excerpt from the documentation:
# short-description: Create an IOT2000 disk image with efibootguard # long-description: Creates a partitioned EFI disk image for the SIMATIC IOT2000 # using efibootguard, that the user can directly dd to boot media. # EFI partition containing efibootguard part --source efibootguard-efi --size 32 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --label efi --part-type=EF00 --align 1024 # Two root partitions for updateability, leave away 2nd if not used part / --source rootfs --size 1024 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --fstype=ext4 --label platform0 --align 1024 part --source rootfs --size 1024 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --fstype=ext4 --label plaftorm1 --align 1024 # Two config partitions to load boot configuration and kernel part --source efibootguard-boot --size 32 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --label boot0 --align 1024 --part-type=0700 --sourceparams "watchdog=60,revision=2" part --source efibootguard-boot --size 32 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --label boot1 --align 1024 --part-type=0700 --sourceparams "watchdog=60,revision=1" # Other partitions part --size 1024 --extra-space 0 --overhead-factor 1 --ondisk mmcblk0 --label persistent --align 1024 --fstype=ext4 part swap --ondisk mmcblk0 --size 512 --fstype=swap --label swap --align 1024 # Important for type of partition table bootloader --ptable gpt --append="console=ttyS1,115200n8 reboot=efi,warm rw debugshell=5 rootwait initrd=acpi-upgrades-iot2000.cpio" On Wednesday, September 6, 2017 at 12:34:34 PM UTC+2, Claudius Heine wrote: > > Hi Cedric, > > On 09/06/2017 11:41 AM, Cedric Hombourger wrote: > > The 2nd issue (efibootguard binary missing from the 1st partition): it > must > > have been a local issue. The binary was found present after running a > clean > > build. > > It would be helpful to see the wks file you used for this image. > > Cheers, > Claudius > > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: [email protected] > <javascript:> > -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/da90e5dc-40e8-445f-8071-28482fc1d283%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
