inindev / nanopi-r5

stock debian arm64 linux for the nanopi r5c & r5s
GNU General Public License v3.0
100 stars 17 forks source link

U-Boot build error - cant find default configuration #20

Closed HeyMeco closed 10 months ago

HeyMeco commented 1 year ago

Sorry if this is a beginner mistake but I get this error while trying to build u-boot with your script

root@debian:/home/debian/Desktop/nanopi-r5/uboot# sh make_uboot.sh 
branch: 2023.07
make: Entering directory '/home/debian/Desktop/nanopi-r5/uboot/u-boot'
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
make: Leaving directory '/home/debian/Desktop/nanopi-r5/uboot/u-boot'

configuring nanopi-r5c
make: Entering directory '/home/debian/Desktop/nanopi-r5/uboot/u-boot'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
***
*** Can't find default configuration "arch/../configs/nanopi-r5c-rk3568_defconfig"!
***
make[1]: *** [scripts/kconfig/Makefile:96: nanopi-r5c-rk3568_defconfig] Error 1
make: *** [Makefile:576: nanopi-r5c-rk3568_defconfig] Error 2
make: Leaving directory '/home/debian/Desktop/nanopi-r5/uboot/u-boot'
root@debian:/home/debian/Desktop/nanopi-r5/uboot# 

I tried using my M2 Max Mac with Arm64 Debian 12 do do fast compiles. And offer my help in that regard if there's any need

inindev commented 11 months ago

It is meant to be built from linux, not darwin.

I need to put a check in to report this as an error.

HeyMeco commented 11 months ago

I was running Linux inside a VM for this

inindev commented 11 months ago

*** Can't find default configuration "arch/../configs/nanopi-r5c-rk3568_defconfig"!


what is the output of this?

cd /home/debian/Desktop/nanopi-r5/uboot/u-boot
make nanopi-r5c-rk3568_defconfig
inindev commented 10 months ago

closing due to inactivity