Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after creating an Image the file systems are corrupt #49

Open
EugenWiens opened this issue Dec 21, 2018 · 2 comments
Open

after creating an Image the file systems are corrupt #49

EugenWiens opened this issue Dec 21, 2018 · 2 comments

Comments

@EugenWiens
Copy link

EugenWiens commented Dec 21, 2018

genimage.config
`
image PRODUCT-emmc-dev.img {
hdimage {
disk-signature = 0x741ac374
}

partition firmware-slot-0 {
	image = "PRODUCT-rootfs-dev-board.ext4"
	partition-type = 0x83
	size = 6700M
}

partition firmware-slot-1 {
	image = "PRODUCT-rootfs-dev-board.ext4"
	partition-type = 0x83
	size = 6700M
}

}`

After the file PRODUCT-emmc-dev.img is written to the eMMC the system doesn't start. See attached Log.
crash.txt

The whole workflow is working with the partition size of 1808M. Also if I write the file PRODUCT-rootfs-dev-board.ext4 separately to the partitions the system start correctly.

What am I doing wrong ? Thank you for any suggestion.

@michaelolbrich
Copy link
Member

Hmm, I have no idea what might cause this.
Can you try the current master?
And does the existence of of the second partition make a difference?
What about adding a alignment (e.g. align = 1M) to the hdimage section?

@EugenWiens
Copy link
Author

I will testing this points, but I'm currently busy. I will come back later to this Problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants