ext4load failed in the uboot

Kali kali.wu at himedia.cn
Fri Oct 14 07:38:47 CEST 2022


Hi guys:

    Do you have some patchs to protect this  global vars?

kali


 
From: Kali
Date: 2022-10-14 11:35
To: u-boot; wd
Subject: ext4load failed in the uboot
Hi guys:
    I'm kali.

We used  this uboot(PDX-License-Identifier:GPL-2.0+) on the rtl11619b soc.

We find sometimes  ext4load failed.  cmd is "ext4load mmc 0:4 0x1400000 emmc.uImage".

I guss  global vars cause this problem. Maybe,global vars  are modified by other app.

for example:

    static block_dev_desc_t *fs_dev_desc;  static disk_partition_t fs_partition;( they are included fs.c)

    struct ext2_data *ext4fs_root;struct ext2fs_node *ext4fs_file; uint32_t *ext4fs_indir1_block;( they are included ext4fs_common.c)

    Please check it. Thank you!

kali





More information about the U-Boot mailing list