fix: 设置qemu默认userfs大小/修改qemu驱动目录
驱动目录位置不合理,需要调整到/device/qemu/drivers下面 close #I3XW96 #I3XWXD Change-Id: Ied6b90d2d0631c99f2209f5b72bbd12cdff6b1d5 Signed-off-by: Guangyao Ma <guangyao.ma@outlook.com>
This commit is contained in:
parent
5db839acef
commit
1d952a254a
|
@ -39,7 +39,7 @@ LOCAL_INCLUDE := \
|
||||||
-I $(LITEOSTOPDIR)/../../device/hisilicon/drivers/include/mtd/common/include
|
-I $(LITEOSTOPDIR)/../../device/hisilicon/drivers/include/mtd/common/include
|
||||||
|
|
||||||
ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
|
ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
|
||||||
LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/arm_virt/config/cfiflash
|
LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/drivers/cfiflash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
|
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
|
||||||
|
|
|
@ -37,7 +37,7 @@ LOCAL_INCLUDE := \
|
||||||
-I $(LITEOSTOPDIR)/kernel/common \
|
-I $(LITEOSTOPDIR)/kernel/common \
|
||||||
|
|
||||||
ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
|
ifeq ($(LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7), y)
|
||||||
LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/arm_virt/config/cfiflash
|
LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/../../device/qemu/drivers/cfiflash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
|
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#include "cfiflash.h"
|
#include "cfiflash.h"
|
||||||
#define DEV_STORAGE_PATH "/dev/cfiflash1"
|
#define DEV_STORAGE_PATH "/dev/cfiflash1"
|
||||||
#define SECOND_MTD_PART_NUM 1
|
#define SECOND_MTD_PART_NUM 1
|
||||||
|
#define STORAGE_SIZE 0x1400000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LOSCFG_STORAGE_SPINOR
|
#ifdef LOSCFG_STORAGE_SPINOR
|
||||||
|
|
Loading…
Reference in New Issue