Topic: Setting up new hard drive
Hi,
I installed a new hard drive in my Novena, and I'm trying to get it to boot. Since it's a new drive, the PARTUUID is different. I believe that means I need to recompile the u-boot SPL with an updated PARTUUID compiled in, and then install u-boot and that new SPL on the new drive. Is that correct?
Because I can't boot my Novena at the moment, I'm cross compiling from my x86_64 machine running Ubuntu 15.10.
I installed cross-compiling tools:
$ sudo apt-get install gcc-arm-linux-gnueabihf
And I get these results from trying to compile u-boot-novena:
$ make novena_config
$ make CROSS_COMPILE=arm-linux-gnueabihf-
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
GEN include/autoconf.mk
In file included from [01m[Kinclude/linux/compiler.h:54:0[m[K,
from [01m[Kinclude/linux/byteorder/little_endian.h:12[m[K,
from [01m[K/home/jsha/u-boot-novena/arch/arm/include/asm/byteorder.h:29[m[K,
from [01m[Kinclude/compiler.h:113[m[K,
from [01m[Kinclude/image.h:19[m[K,
from [01m[K/home/jsha/u-boot-novena/include/common.h:87[m[K:
[01m[Kinclude/linux/compiler-gcc.h:114:30:[m[K [01;31m[Kfatal error: [m[Klinux/compiler-gcc5.h: No such file or directory
compilation terminated.
/home/jsha/u-boot-novena/scripts/Makefile.autoconf:64: recipe for target 'include/autoconf.mk' failed
make[2]: *** [include/autoconf.mk] Error 1
/home/jsha/u-boot-novena/Makefile:464: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
Note: I also tried booting into recovery mode and hitting Ctrl-C to get a uboot command line, but I think my USB keyboard is not recognized so early in the boot process, and I don't have a serial cable handy.
Thanks,
Jacob