We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,想请教您一个问题: 我在我的yocto工程中添加了meta-rockchip/recipes-bsp, 在uboot配置rk3588_defconfig增加下面这些配置 CONFIG_CMD_NAND=y CONFIG_NAND_ROCKCHIP=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y CONFIG_SYS_NAND_U_BOOT_OFFS=0x8000 CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x10000 再bitbake u-boot时,报了这个错 /home/dw/aliopenbmc/build/rk3588/workspace/sources/u-boot/drivers/mtd/nand/raw/nand_timings.c: In function 'onfi_init_data_interface': | /home/dw/aliopenbmc/build/rk3588/workspace/sources/u-boot/drivers/mtd/nand/raw/nand_timings.c:309:56: error: 'struct nand_chip' has no member named 'onfi_params' | 309 | struct nand_onfi_params *params = &chip->onfi_params;
请问这个问题应该如何解决?
The text was updated successfully, but these errors were encountered:
according to the code, try to enable CONFIG_SYS_NAND_ONFI_DETECTION.
or:
u-boot# git diff diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 571b307e479..0dcdb5878d8 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -912,9 +912,7 @@ struct nand_chip { int onfi_version; int jedec_version; -#ifdef CONFIG_SYS_NAND_ONFI_DETECTION struct nand_onfi_params onfi_params; -#endif
Sorry, something went wrong.
No branches or pull requests
你好,想请教您一个问题:
我在我的yocto工程中添加了meta-rockchip/recipes-bsp,
在uboot配置rk3588_defconfig增加下面这些配置
CONFIG_CMD_NAND=y
CONFIG_NAND_ROCKCHIP=y
CONFIG_SPL_NAND_SUPPORT=y
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
CONFIG_SYS_NAND_U_BOOT_OFFS=0x8000
CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x10000
再bitbake u-boot时,报了这个错
/home/dw/aliopenbmc/build/rk3588/workspace/sources/u-boot/drivers/mtd/nand/raw/nand_timings.c: In function 'onfi_init_data_interface':
| /home/dw/aliopenbmc/build/rk3588/workspace/sources/u-boot/drivers/mtd/nand/raw/nand_timings.c:309:56: error: 'struct nand_chip' has no member named 'onfi_params'
| 309 | struct nand_onfi_params *params = &chip->onfi_params;
请问这个问题应该如何解决?
The text was updated successfully, but these errors were encountered: