PacktPublishing / Mastering-Embedded-Linux-Programming-Second-Edition

Mastering Embedded Linux Programming – Second Edition, published by Packt
MIT License
182 stars 76 forks source link

U-boot compilation fails #5

Open loglux opened 3 years ago

loglux commented 3 years ago
vagrant@ubuntu-xenial:~/u-boot$ make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf- am335x_boneb
lack_defconfig
make[1]: 'am335x_boneblack_defconfig' is up to date.
vagrant@ubuntu-xenial:~/u-boot$ make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
scripts/kconfig/conf  --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
scripts/kconfig/Makefile:46: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:478: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.r
elease'.  Stop.
vagrant@ubuntu-xenial:~/u-boot$ 
vagrant@ubuntu-xenial:~/u-boot$ cp am335x_boneblack_defconfig .config
vagrant@ubuntu-xenial:~/u-boot$ make CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
scripts/kconfig/conf  --silentoldconfig Kconfig
*
* Restart config...
*
*
* U-Boot 2017.01 Configuration
*
Architecture select
  1. ARC architecture (ARC) (NEW)
> 2. ARM architecture (ARM)
  3. AVR32 architecture (AVR32) (NEW)
  4. Blackfin architecture (BLACKFIN) (NEW)
  5. M68000 architecture (M68K) (NEW)
  6. MicroBlaze architecture (MICROBLAZE) (NEW)
  7. MIPS architecture (MIPS) (NEW)
  8. NDS32 architecture (NDS32) (NEW)
  9. Nios II architecture (NIOS2) (NEW)
  10. OpenRISC architecture (OPENRISC) (NEW)
  11. PowerPC architecture (PPC) (NEW)
  12. Sandbox (SANDBOX) (NEW)
  13. SuperH architecture (SH) (NEW)
  14. SPARC architecture (SPARC) (NEW)
  15. x86 architecture (X86) (NEW)
  16. Xtensa architecture (XTENSA) (NEW)
choice[1-16]: 
BigSully commented 3 years ago

compiling with soft float works, namely arm-cortex_a8-linux-gnueabi

robamu commented 3 years ago

See https://github.com/PacktPublishing/Mastering-Embedded-Linux-Programming-Second-Edition/issues/6 , might solve the issue