Hi Brati,
On 4/16/24 10:36, Bratiranjan Acharya via lists.yoctoproject.org wrote:
You don't often get email from [email protected]. Learn
why this is important<https://aka.ms/LearnAboutSenderIdentification>
---------- Forwarded message ---------
From: Bratiranjan Acharya
<[email protected]<mailto:[email protected]>>
Date: Thu, 11 Apr 2024 at 11:12
Subject: Wic Image Generation
To: <[email protected]<mailto:[email protected]>>
Hi,
I want to create a Wic image from total scratch. Like, i have a "gpt.bin" which creates
the partition and put the required images in it. But, i want to reate a wic image which will do the
same. So, for that do i need that "gpt.bin"? like, as per my knowledge wic cannot create
the gpt partition please do correct me if am wrong. And i dont even have any .bbclass file which
can help to create the wic image so please help me to generate this wic image from total scratch,
what are the steps i need to follow, where i need to put the wks file and how i can write in the
wks file.
FOR Eg: I need to have 6 partitions where i have a active and backup
bootloader,kernel,rootfs so for that how we can write the wks file.
Have a look at what is done in meta-rockchip:
https://git.yoctoproject.org/meta-rockchip/tree/wic/rockchip.wks
This creates a wic image with 9 partitions and a GPT partition table.
Maybe https://docs.yoctoproject.org/dev-manual/wic.html could be useful
as well. I'm not entirely sure we provide enough documentation for the
wks file in the docs, so probably something we can improve, patches
welcome :)
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62976): https://lists.yoctoproject.org/g/yocto/message/62976
Mute This Topic: https://lists.yoctoproject.org/mt/105458322/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-