RK3506板卡全编译报错
forlinx@ubuntu:~/work/OK3506_Linux_Source$ ./build.sh chipLog 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
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
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
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? : 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)
问题已经解决,需要把软件资料\2-镜像及源码\1-源码\OK3506_Linux_Source.tar.bz2里面两个文件都拷贝到Linux然后才可以编译
不爱学习的吉力 发表于 2025-7-13 08:53
问题已经解决,需要把软件资料\2-镜像及源码\1-源码\OK3506_Linux_Source.tar.bz2里面两个文件都拷贝到Linu ...
uboot有源码么?
页:
[1]