-
Notifications
You must be signed in to change notification settings - Fork 58
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
[db410c] failing to mount rootfs #141
Comments
Nothing obvious comes to mind. What's DISTRO in your build? |
I isolated it to the AWS cloud build. Local build artifacts works just fine, cloud artifacts do not. Same build steps in either case. Lovely. |
I'm finding when I flash the pipeline built image using EDL/QDL it mounts rootfs. The same pipeline image flashed via fastboot exhibits the problem. If I flash the target via fastboot from local build it mounts rootfs fine. The additional pipeline steps are:
When I have time I'll run an md5 of the files in question. In the meanwhile I'll use EDL to flash. |
hmm. it is an 'interesting' issue ;) can you share the XML snippet you use to flash the root file system with QDL? Are you building and splitting the sparse image, or doing a 'raw' copy of the entire file? Which exact file in the deploy_dir folder are you flashing? the rootfs.ext4 file? I suspect the issue is with the generation of the ext4 image. Would be good to mount both the working and non working ext4 images and byte compare their content first of course. What you could try as well, is mount the 'pipeline' image on your local machine, extract the rootfs content, and recreate locally an ext4 image and try to flash. That would confirm my suspicion that the problem lies in the generation of the ext4 image in your Jenkins instance. Which kernel/distro are you running on both machines (local and Jenkins)? |
Run script as part of pipeline build. Extract flat_build_emmc.tar.gz, and cd into it. Transition device to EDL mode, and execute
Transition out of EDL mode, and power cycle In the case of sparse vs not. Running simg2img on the ext4 fails, stating it's not a sparse file. The default for rootfs in rawprogram0.xml is sparse="false". So this is correct.
See above sequence
I'll give that a go.
Identical source. Dunfell rpb/rpb-weston Difference between builds is host environment. Perhaps ext4 generation happens using host tools vs "native" tools. |
I’m building dunfell for db410c. I have 20+ units in a board farm.
db410c Target images
If I build without changing local.conf in any way the resultant image boots and all is well.
When I make the changes below I'm finding rootfs fails to mount.
I use the same flashing procedure for either scenario.
Any ideas?
Console image changes
Weston image changes
The text was updated successfully, but these errors were encountered: