RAUC kernel update failure (Error:FAT-fs bogus number of FAT structure) #311
Unanswered
Rajalakshmi-Ranganathan
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You've configured the the I'd suggest to both:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @ejoerns and others,
I'm using meta-rauc (Honister) where I am able to successfully update the rootfs slots using rauc bundle. But I am facing below issue when trying to update kernel. Also I have provided details like partition table, system.conf & bundle recipe file. Please take a look and provide your suggestions.
Error:
rauc --debug install http://10.42.0.2:8080/kernel_update/update-bundle-zynq-generic.raucb
rauc-Message: 12:37:50.434: Debug log domains: 'rauc'
(rauc:872): rauc-DEBUG: 12:37:50.454: install started
(rauc:872): rauc-DEBUG: 12:37:50.455: input bundle: http://10.42.0.2:8080/kernel_update/update-bundle-zynq-generic.raucb
(rauc:872): rauc-DEBUG: 12:37:50.503: Trying to contact rauc service
installing
0% Installing
0% Determining slot states
20% Determining slot states done.
20% Checking bundle
20% Verifying signature
40% Verifying signature done.
40% Checking bundle done.
40% Checking manifest contents
60% Checking manifest contents done.
60% Determining target install group
80% Determining target install group done.
80% Updating slots
80% Checking slot rootfs.1
85% Checking slot rootfs.1 done.
85% Copying image to rootfs.1
90% Copying image to rootfs.1 done.
90% Checking slot kernel.1
95% Checking slot kernel.1 done.
95% Copying image to kernel.1
99% Copying image to kernel.1 done.
FAT-fs (mmcblk0p6): bogus number of FAT structure
99% Updating slots failed.
100% Installing failed.
LastError: Installation error: Error while writing status file: failed to mount slot: failed to run mount: Child process exited with code 32
Installing
http://10.42.0.2:8080/kernel_update/update-bundle-zynq-generic.raucb
failedMy Disk Partition Table:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 206847 204800 100M c W95 FAT32 (LBA) ======> BOOT
/dev/mmcblk0p2 206848 2303999 2097152 1G c W95 FAT32 (LBA) ======> BOOTENV
/dev/mmcblk0p3 2304000 30930943 28626944 13.7G 5 Extended
/dev/mmcblk0p5 2306048 2510847 204800 100M c W95 FAT32 (LBA) =====> Kernel.0 Image
/dev/mmcblk0p6 2512896 2717695 204800 100M c W95 FAT32 (LBA) =====> Kernel.1 Image
/dev/mmcblk0p7 2719744 15302655 12582912 6G 83 Linux =====> Rootfs.0 files
/dev/mmcblk0p8 15304704 30930943 15626240 7.5G 83 Linux =====> Rootfs.1 files
RAUC system.conf:
[system]
compatible=RAUC Fw Update
bootloader=uboot
bundle-formats=verity
max-bundle-download-size=209715200
[keyring]
path=/etc/rauc/ca.cert.pem
[slot.rootfs.0]
device=/dev/mmcblk0p7
type=ext4
bootname=system0
[slot.rootfs.1]
device=/dev/mmcblk0p8
type=ext4
bootname=system1
[slot.kernel.0]
device=/dev/mmcblk0p5
type=vfat
parent=rootfs.0
[slot.kernel.1]
device=/dev/mmcblk0p6
type=vfat
parent=rootfs.1
My Bundle Recipe:
DESCRIPTION = "RAUC bundle generator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit bundle
RAUC_BUNDLE_FORMAT = "verity"
RAUC_BUNDLE_COMPATIBLE = "RAUC Fw Update"
RAUC_BUNDLE_VERSION = "v20240326"
RAUC_BUNDLE_DESCRIPTION = "RAUC Update Bundle"
RAUC_BUNDLE_SLOTS = "rootfs kernel"
RAUC_SLOT_rootfs = "petalinux-image-minimal"
RAUC_SLOT_rootfs[fstype] = "tar.gz"
RAUC_SLOT_kernel = "linux-xlnx"
RAUC_SLOT_kernel[type] = "file"
RAUC_SLOT_kernel[file] = "fitImage"
RAUC_KEY_FILE = "${THISDIR}/files/development-1.key.pem"
RAUC_CERT_FILE = "${THISDIR}/files/development-1.cert.pem"
Beta Was this translation helpful? Give feedback.
All reactions