[opensuse-arm] Chromebook SD card layout broken
Hi, here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly. # Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary # Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot Marcus, could you have a look at this, please? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 30.01.2014, at 12:53, Guillaume Gardet
Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please?
Does our cgpt script get executed at all? That one should change the name to U-BOOT. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT.
No, because vbutil_kernel is not found. Which package does provide it? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 30.01.2014, at 12:59, Guillaume Gardet
Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT.
No, because vbutil_kernel is not found. Which package does provide it?
https://build.opensuse.org/package/show/devel:ARM:13.1:Contrib:Chromebook/vb... We definitely need to call all of that magic to put something usable into the u-boot partition. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 30/01/2014 12:59, Guillaume Gardet a écrit :
Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT. No, because vbutil_kernel is not found. Which package does provide it?
Answer to myself: it is in vboot package. It seems it should be preinstalled using Project config: %if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none Prefer: openSUSE-release Preinstall: vboot Preinstall: gptfdisk %endif Will give it a try. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 30/01/2014 13:07, Alexander Graf a écrit :
On 30.01.2014, at 12:59, Guillaume Gardet
wrote: Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT. No, because vbutil_kernel is not found. Which package does provide it? https://build.opensuse.org/package/show/devel:ARM:13.1:Contrib:Chromebook/vb...
We definitely need to call all of that magic to put something usable into the u-boot partition.
Adding Preinstall: vboot Preinstall: gptfdisk in project config did the trick. I added it to 13.1 and Factory chromebook devel projects. Now it does boot until u-boot but fails with a "bad ext2 filesystem" error. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 30.01.2014, at 14:23, Guillaume Gardet
Le 30/01/2014 13:07, Alexander Graf a écrit :
On 30.01.2014, at 12:59, Guillaume Gardet
wrote: Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT. No, because vbutil_kernel is not found. Which package does provide it? https://build.opensuse.org/package/show/devel:ARM:13.1:Contrib:Chromebook/vb...
We definitely need to call all of that magic to put something usable into the u-boot partition.
Adding Preinstall: vboot Preinstall: gptfdisk
in project config did the trick.
I added it to 13.1 and Factory chromebook devel projects.
Now it does boot until u-boot but fails with a "bad ext2 filesystem" error.
Does it try to access the correct partition? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 30/01/2014 15:10, Alexander Graf a écrit :
On 30.01.2014, at 14:23, Guillaume Gardet
wrote: Le 30/01/2014 13:07, Alexander Graf a écrit :
On 30.01.2014, at 12:59, Guillaume Gardet
wrote: Le 30/01/2014 12:56, Alexander Graf a écrit :
On 30.01.2014, at 12:53, Guillaume Gardet
wrote: Hi,
here is a comparison between a working SD card and a broken image for Chromebook using parted. I think kiwi does not build the SD card correctly.
# Working 12.3 image: Sector size (logical/physical): 512B/512B Partition Table: gpt_sync_mbr
Number Start End Size File system Name Flags 1 1049kB 6296kB 5247kB U-BOOT 2 6296kB 216MB 210MB ext3 primary 3 216MB 8073MB 7857MB ext4 primary
# Broken 13.1 image: Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1049kB 34,6MB 33,6MB fat16 UEFI bios_grub 2 35,7MB 245MB 210MB ext3 lxboot 3 247MB 1015MB 767MB ext4 lxroot
Marcus, could you have a look at this, please? Does our cgpt script get executed at all? That one should change the name to U-BOOT. No, because vbutil_kernel is not found. Which package does provide it? https://build.opensuse.org/package/show/devel:ARM:13.1:Contrib:Chromebook/vb...
We definitely need to call all of that magic to put something usable into the u-boot partition. Adding Preinstall: vboot Preinstall: gptfdisk
in project config did the trick.
I added it to 13.1 and Factory chromebook devel projects.
Now it does boot until u-boot but fails with a "bad ext2 filesystem" error. Does it try to access the correct partition?
Fixed in my local repo and pending request. Please accept SR #220363. It tried to access internal memory instead of SD card. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Alexander Graf
-
Guillaume Gardet