[OE-core] wic debug suggestions

Maciej Borzecki maciej.borzecki at open-rnd.pl
Wed Oct 22 07:03:03 UTC 2014


On Monday 20 of October 2014 13:45:37 Philip Balister wrote:
> I'm trying to make an sd card using the sdimage-bootpart.wks file. I've
> made an image and dd'ed it to a card. The card has a good vfat
> partition, but the ext4 partition won't mount. Looks like bad
> superblock. I can format the partition manually, so partitions seem OK
> and card works.
> 
> Does anyone have any suggestions for debugging this?
In default wks, the vfat partition is /boot, ext4 is /. If I understood you 
correctly / fails to mount, is that right?

I've rebuilt an image with poky rev 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3. 
Loading via loopback and mounting partition 2 (/ in this case) works fine.

Can you post the output this command?
  wic create -D -e core-image-minimal sdimage-bootpart

Ext4 image is built by image.bbclass (Tom, please correct me if I'm wrong on 
this). It should be possible to do the loopback/mount thing with the image 
file as well. Can you check if you can mount it this way?

-- 

Maciej Borzęcki 
Senior Software Engineer Open-RnD Sp. z o.o. 
www.open-rnd.pl, Facebook, Twitter 
mobile: +48 telefon, fax: +48 42 657 9079 

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub 
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do 
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo 
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku 
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie 
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy. 

This message, including any attachments hereto, may contain privileged or 
confidential information and is sent solely for the attention and use of the 
intended addressee(s). If you are not an intended addressee, you may neither 
use this message nor copy or deliver it to anyone. In such case, you should 
immediately destroy this message and kindly notify the sender by reply email. 
Thank you. 



More information about the Openembedded-core mailing list