We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
I am able to follow the instructions until I reach:
make ARCH=arm CROSS_COMPILE=${CC} wandboard_defconfig
When I execute the above, I get the following error:
HOSTCC scripts/basic/fixdep
/bin/sh: 1: cc: not found
scripts/Makefile.host:97: recipe for target ‘scripts/basic/fixdep’ failed
make[1]: *** [scripts/basic/fixdep] Error 127
Makefile:415: recipe for target ‘scripts_basic’ failed
make: *** [scripts_basic] Error 2
Would someone be able to help me? I can follow simple instructions, but otherwise am a Linux newbie. I am trying to build a new kernel so that my Wandboard Quad will have the latest patches. My current kernel does not fully support my DAC for USB Audio and DSD.
First double check how you exported “cc/CC” as it’s not getting passed to the kernel build scripts… Second, you do have gcc installed for the host machine?
Hi, I changed git checkout v2018.09 -b tmp to git checkout v2018.11 -b tmp
and got the rest of the procedure working. With the SD card that is created, I am able to boot my wandboard, but I am experiencing some issues. For example, it looks like the sound drivers are not installed. Do you have any instructions to get all the peripherals on the Wandboard Quad working? Thank you! Hammer8
@RobertCNelson, I have the same problem here down the road. I’m a HW guy resurrecting an old B1 Wandboard for some work. I’m not good at SW, but your instructions are easy enough till now. I don’t want to go back to the older mentioned by hammer8. I believe I’ve followed the setting of the CC variable correctly. You didn’t provided details on how to confirm. GCC version shows correctly.
hart@ubuntu:~$ export CC=`pwd`/gcc-linaro-6.5.0-2018.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
hart@ubuntu:~$ cd u-boot/
hart@ubuntu:~/u-boot$ git checkout v2019.04 -b tmp (from prior steps so tmp is this already)
fatal: A branch named 'tmp' already exists.
hart@ubuntu:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} distclean
hart@ubuntu:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} wandboard_defconfig
HOSTCC scripts/basic/fixdep
/bin/sh: 1: cc: not found
make[1]: *** [scripts/Makefile.host:97: scripts/basic/fixdep] Error 127
make: *** [Makefile:422: scripts_basic] Error 2
hart@ubuntu:~/u-boot$ ${CC}gcc --version
arm-linux-gnueabihf-gcc (Linaro GCC 6.5-2018.12) 6.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@RobertCNelson - ok serious HW guy, not good at SW. Had to also install bison and flex. Next snag… I installed ubuntu 20.04 on VM. Maybe not a good choice? I can drop back to something else and install a new VM. What would you recommend? I sent the bug report show in this capture.
hart@ubuntu:~/u-boot/armv7-multiplatform$ ./build_kernel.sh
+ Detected build host [Ubuntu 20.04 LTS]
+ host: [x86_64]
+ git HEAD commit: [de50bc4b02ea1db7ed9b0d6da2d49d152b2db1c0]
Dependency check skipped, you are on your own.
-----------------------------
Unrecognized deb based system:
-----------------------------
Please cut, paste and email to: bugs@rcn-ee.com
-----------------------------
git: [de50bc4b02ea1db7ed9b0d6da2d49d152b2db1c0]
git: [url=https://github.com/RobertCNelson/armv7-multiplatform]
uname -m: [x86_64]
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
-----------------------------
* Failed dependency check
Hi @hart, i’ll take a look at this tomorrow… It looks like Debian still hasn’t merged in the etnaviv video driver…
I’ll port the driver i did for Debian Stretch and Ubuntu 18.04… ( i guess now would be a good time to get it working on Ubuntu 20.04 too . ) Should have it working sometime tomorrow…
@RobertCNelson, thank you so much! Loaded right into XFCE4. No other images out there would load and run a monitor using HDMI to DVI converter, but this one does as I had read about and felt worth trying. I still have to configure WIFI, but drivers appear to be working. When that works, all goals have been met.
Do you have a recommended network manager to install that is known to work? Debian documentation suggests NM or Wicd for modern managing of networks. Wasn’t sure what you have tested. Alt is legacy ifupdown().