Home
last modified time | relevance | path

Searched refs:ubi_warn (Results 1 – 24 of 24) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Deba.c417 ubi_warn(ubi, "corrupted VID header at PEB %d, LEB %d:%d", in ubi_eba_read_leb()
456 ubi_warn(ubi, "CRC error: calculated %#08x, must be %#08x", in ubi_eba_read_leb()
630 ubi_warn(ubi, "failed to write to PEB %d", new_pnum); in recover_peb()
674 ubi_warn(ubi, "failed to write data to PEB %d", pnum); in ubi_eba_write_leb()
716 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_write_leb()
725 ubi_warn(ubi, "failed to write %d bytes at offset %d of LEB %d:%d, PEB %d", in ubi_eba_write_leb()
839 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_write_leb_st()
847 ubi_warn(ubi, "failed to write %d bytes of data to PEB %d", in ubi_eba_write_leb_st()
959 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in ubi_eba_atomic_leb_change()
967 ubi_warn(ubi, "failed to write %d bytes of data to PEB %d", in ubi_eba_atomic_leb_change()
[all …]
H A Dio.c180 ubi_warn(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read only %zd bytes, retry", in ubi_io_read()
352 ubi_warn(ubi, "error %d while erasing PEB %d, retry", in do_sync_erase()
371 ubi_warn(ubi, "error while erasing PEB %d, retry", in do_sync_erase()
763 ubi_warn(ubi, "no EC header found at PEB %d, only 0xFF bytes", in ubi_io_read_ec_hdr()
778 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_ec_hdr()
792 ubi_warn(ubi, "bad EC header CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_ec_hdr()
1021 ubi_warn(ubi, "no VID header found at PEB %d, only 0xFF bytes", in ubi_io_read_vid_hdr()
1032 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_vid_hdr()
1046 ubi_warn(ubi, "bad CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_vid_hdr()
H A Dmisc.c121ubi_warn(ubi, "number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs fo… in ubi_calculate_reserved()
H A Dkapi.c208 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in ubi_open_volume()
446 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read()
486 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read_sg()
H A Dvtbl.c444 ubi_warn(ubi, "volume table copy #2 is corrupted");
467 ubi_warn(ubi, "volume table copy #1 is corrupted");
606 ubi_warn(ubi, "static volume %d misses %d LEBs - corrupted",
H A Dubi.h52 #define ubi_warn(ubi, fmt, ...) pr_warn(UBI_NAME_STR "%d warning: %s: " fmt "\n", \ macro
1089 ubi_warn(ubi, "switch to read-only mode"); in ubi_ro_mode()
H A Dbuild.c783 ubi_warn(ubi, "EC and VID headers are in the same minimal I/O unit, switch to read-only mode"); in io_init()
823 ubi_warn(ubi, "skip auto-resize because of R/O mode"); in autoresize()
H A Dwl.c1165 ubi_warn(ubi, "no PEBs in the reserved pool, used an available PEB");
1170 ubi_warn(ubi, "last PEB from the reserve was used");
H A Dattach.c1033 ubi_warn(ubi, "valid VID header but corrupted EC header at PEB %d", in scan_peb()
H A Dfastmap.c1639 ubi_warn(ubi, "Unable to write new fastmap, err=%i", ret); in ubi_update_fastmap()
/openbmc/linux/drivers/mtd/ubi/
H A Deba.c657 ubi_warn(ubi, "corrupted VID header at PEB %d, LEB %d:%d", in ubi_eba_read_leb()
713 ubi_warn(ubi, "CRC error: calculated %#08x, must be %#08x", in ubi_eba_read_leb()
880 ubi_warn(ubi, "failed to write to PEB %d", new_pnum); in try_recover_peb()
964 ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d", in try_write_vid_and_data()
972 ubi_warn(ubi, in try_write_vid_and_data()
987 ubi_warn(ubi, "failed to return physical eraseblock %d, error %d", in try_write_vid_and_data()
993 ubi_warn(ubi, "failed to return physical eraseblock %d, error %d", in try_write_vid_and_data()
1043 ubi_warn(ubi, "failed to write data to PEB %d", pnum); in ubi_eba_write_leb()
1391 ubi_warn(ubi, "error %d while reading data from PEB %d", in ubi_eba_copy_leb()
1441 ubi_warn(ubi, "error %d while reading VID header back from PEB %d", in ubi_eba_copy_leb()
[all …]
H A Dmisc.c120ubi_warn(ubi, "number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs fo… in ubi_calculate_reserved()
161 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...) in ubi_warn() function
H A Dio.c174 ubi_warn(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read only %zd bytes, retry", in ubi_io_read()
329 ubi_warn(ubi, "error %d while erasing PEB %d, retry", in do_sync_erase()
732 ubi_warn(ubi, "no EC header found at PEB %d, only 0xFF bytes", in ubi_io_read_ec_hdr()
747 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_ec_hdr()
761 ubi_warn(ubi, "bad EC header CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_ec_hdr()
989 ubi_warn(ubi, "no VID header found at PEB %d, only 0xFF bytes", in ubi_io_read_vid_hdr()
1000 ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x", in ubi_io_read_vid_hdr()
1014 ubi_warn(ubi, "bad CRC at PEB %d, calculated %#08x, read %#08x", in ubi_io_read_vid_hdr()
H A Dkapi.c202 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in ubi_open_volume()
441 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read()
481 ubi_warn(ubi, "mark volume %d as corrupted", vol_id); in ubi_leb_read_sg()
H A Dvtbl.c437 ubi_warn(ubi, "volume table copy #2 is corrupted"); in process_lvol()
460 ubi_warn(ubi, "volume table copy #1 is corrupted"); in process_lvol()
612 ubi_warn(ubi, "static volume %d misses %d LEBs - corrupted", in init_volumes()
H A Dubi.h47 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...);
1159 ubi_warn(ubi, "switch to read-only mode"); in ubi_ro_mode()
H A Dcdev.c126 ubi_warn(vol->ubi, "update of volume %d not finished, volume is damaged", in vol_cdev_release()
366 ubi_warn(ubi, "volume %d on UBI device %d is corrupted", in vol_cdev_write()
H A Dbuild.c741 ubi_warn(ubi, "EC and VID headers are in the same minimal I/O unit, switch to read-only mode"); in io_init()
781 ubi_warn(ubi, "skip auto-resize because of R/O mode"); in autoresize()
H A Dwl.c1203 ubi_warn(ubi, "no PEBs in the reserved pool, used an available PEB");
1208 ubi_warn(ubi, "last PEB from the reserve was used");
H A Dattach.c1172 ubi_warn(ubi, "valid VID header but corrupted EC header at PEB %d", in scan_peb()
H A Dfastmap.c1684 ubi_warn(ubi, "Unable to write new fastmap, err=%i", ret); in ubi_update_fastmap()
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c134 ubi_warn("Vol: %u LEB %d > %d", vol_id, lnum, UBI_MAX_VOL_LEBS); in ubi_add_peb_to_vol()
730 ubi_warn("LEB %d of %d is missing", lnum, last); in ubi_load_block()
739 ubi_warn("Corrupted mapping block %d PB %d\n", lnum, pnum); in ubi_load_block()
752 ubi_warn("Vol: %u LEB %u PEB %u not yet scanned", vol_id, in ubi_load_block()
785 ubi_warn("Vol: %u LEB %u PEB %u data CRC failure", vol_id, in ubi_load_block()
811 ubi_warn("Vol: %u LEB %u PEB %u not yet scanned", in ubi_load_block()
862 ubi_warn("Failed to load volume %u", vol_id); in ipl_load()
920 ubi_warn("Failed"); in ubispl_load_volumes()
H A Dubispl.h131 #define ubi_warn(fmt, ...) printf("UBI warning: " fmt "\n", ##__VA_ARGS__) macro
/openbmc/u-boot/cmd/
H A Dubi.c270 ubi_warn(ubi, "volume %d on UBI device %d is corrupt", in ubi_volume_continue_write()