Προς το περιεχόμενο

Προτεινόμενες αναρτήσεις

Δημοσ.

Σε debian 9 & rockpro64 (arm 3399 soc board) εχω το εξης προβλημα στο kernel compile

 make deb-pkg
  CHK     include/config/kernel.release
make clean
  CLEAN   .tmp_versions
  TAR     linux-4.4.167-rt176.tar.gz
make KBUILD_SRC=
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  CC      kernel/bounds.s
gcc: error: unrecognized command line option '-mgeneral-regs-only'
Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[3]: *** [kernel/bounds.s] Error 1
Makefile:1082: recipe for target 'prepare0' failed
make[2]: *** [prepare0] Error 2
scripts/package/Makefile:90: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Error 2
Makefile:1327: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2

τι μπορω να κανω?

Δημοσ.
15 λεπτά πριν, j2k είπε

Σε debian 9 & rockpro64 (arm 3399 soc board) εχω το εξης προβλημα στο kernel compile


 make deb-pkg
  CHK     include/config/kernel.release
make clean
  CLEAN   .tmp_versions
  TAR     linux-4.4.167-rt176.tar.gz
make KBUILD_SRC=
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  CC      kernel/bounds.s
gcc: error: unrecognized command line option '-mgeneral-regs-only'
Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[3]: *** [kernel/bounds.s] Error 1
Makefile:1082: recipe for target 'prepare0' failed
make[2]: *** [prepare0] Error 2
scripts/package/Makefile:90: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Error 2
Makefile:1327: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2

τι μπορω να κανω?

Για ρίξε μια ματιά στο παρακάτω , μάλλον πρέπει να θέσεις το ARCH=arm

-mgeneral-regs-only is an AARCH64 (ARM 64 bits) GCC compiler flag so

https://www.tinkerboarding.co.uk/forum/thread-66-post-328.html#pid328

Δημοσ. (επεξεργασμένο)

το εκανα αυτο.. επισης ΔΕΝ θελω να κανω cross compile το compile τα γινει στο ιδιο το board που θα τρεξει τον kernel

	# uname -rm
4.4.171 aarch64
	# dpkg --print-architecture
armhf
	# dpkg --print-foreign-architectures
aarch64
	# apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://security.debian.org stretch/updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'contrib/binary-aarch64/Packages' as repository 'http://security.debian.org stretch/updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'non-free/binary-aarch64/Packages' as repository 'http://security.debian.org stretch/updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch-updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'contrib/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch-updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'non-free/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch-updates InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'contrib/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch InRelease' doesn't support architecture 'aarch64'
N: Skipping acquire of configured file 'non-free/binary-aarch64/Packages' as repository 'http://http.debian.net/debian stretch InRelease' doesn't support architecture 'aarch64'
	 
	 
	
Επεξ/σία από j2k
Δημοσ.

εβγαλα ακρη με το compile..

Μια ερωτηση ΟΛΑ τα DEBUG πως τα απενεργοποιω στο make menuconfig ?
(σε ποιο μενου υπομενου βρισκοντε ?)

Αναφορά σε κείμενο

 

DEBUG_PREEMPT

Lock Debugging (spinlocks, mutexes, etc. . . )

DEBUG_OBJECTS

 

 

Δημοσ.

ok εκανα πακετα kernel και τα εκανα install αλλα το armbian δεν εχει grub εχει u-boot.

Πως επιλεγω με u-boot να κανει boot απο αυτο το kernel γιατι μπουταρει ακομα με τον παλιο.

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...