嵌入式爱好者

查看: 41|回复: 0

[Linux] RK3506板卡全编译报错

[复制链接]

1

主题

1

帖子

6

积分

RK3506通行证

扫一扫,手机访问本帖
发表于 昨天 23:58 | 显示全部楼层 |阅读模式
forlinx@ubuntu:~/work/OK3506_Linux_Source$ ./build.sh chip
Log colors: message notice warning error fatal

Log saved at /home/forlinx/work/OK3506_Linux_Source/output/sessions/2025-07-10_23-51-35
Pick a chip:

1. ok3506
2. rk3506
Which would you like? [1]: 1
Switching to chip: ok3506
Pick a defconfig:

1. OK3506-S_linux_emmc_defconfig
2. OK3506-S_linux_emmc_tb_defconfig
3. OK3506-S_linux_nand_defconfig
4. OK3506-S_linux_nand_tb_defconfig
5. OK3506-S_linux_sdmmc_defconfig
Which would you like? [1]: 1
Switching to defconfig: /home/forlinx/work/OK3506_Linux_Source/device/rockchip/.chip/OK3506-S_linux_emmc_defconfig
make: *** No rule to make target 'OK3506-S_linux_emmc_defconfig'.  Stop.
ERROR: Running /home/forlinx/work/OK3506_Linux_Source/device/rockchip/common/build-hooks/00-config.sh - switch_defconfig failed!
ERROR: exit code 2 from line 22:
    make $(basename "$DEFCONFIG")
ERROR: call stack:
    00-config.sh: switch_defconfig(22)
    00-config.sh: choose_defconfig(62)
    00-config.sh: choose_chip(98)
    00-config.sh: init_hook(173)
    build-helper: try_func(47)
    build-helper: try_hook(96)
    build-helper: source(155)
    00-config.sh: main(190)

forlinx@ubuntu:~/work/OK3506_Linux_Source$ ./build.sh chip
Log colors: message notice warning error fatal

Log saved at /home/forlinx/work/OK3506_Linux_Source/output/sessions/2025-07-10_23-57-54
Pick a chip:

1. ok3506
2. rk3506
Which would you like? [1]: 1
Switching to chip: ok3506
Pick a defconfig:

1. OK3506-S_linux_emmc_defconfig
2. OK3506-S_linux_emmc_tb_defconfig
3. OK3506-S_linux_nand_defconfig
4. OK3506-S_linux_nand_tb_defconfig
5. OK3506-S_linux_sdmmc_defconfig
Which would you like? [1]: 3
Switching to defconfig: /home/forlinx/work/OK3506_Linux_Source/device/rockchip/.chip/OK3506-S_linux_nand_defconfig
make: *** No rule to make target 'OK3506-S_linux_nand_defconfig'.  Stop.
ERROR: Running /home/forlinx/work/OK3506_Linux_Source/device/rockchip/common/build-hooks/00-config.sh - switch_defconfig failed!
ERROR: exit code 2 from line 22:
    make $(basename "$DEFCONFIG")
ERROR: call stack:
    00-config.sh: switch_defconfig(22)
    00-config.sh: choose_defconfig(62)
    00-config.sh: choose_chip(98)
    00-config.sh: init_hook(173)
    build-helper: try_func(47)
    build-helper: try_hook(96)
    build-helper: source(155)
    00-config.sh: main(190)




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-7-11 13:12

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表