Skip to contentSkip to conversation

ext4load failed in the uboot

DISCUSSION Kali 1 participant 1 message Oct 14, 2022 1 message not in the archive

lore
Share & tools
lore

Kali

author
#1 lore raw
In reply to a message not in the archive

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