[Arm-netbook] 2.7.4 preproduction sample, 1.7 MD, Questions

Pablo Rath pablo at parobalth.org
Sun Jul 19 21:02:07 BST 2020


>On Sun, Jul 19, 2020 at 01:17:21PM +0100, Luke Kenneth Casson Leighton wrote:

[...]

> > For mainline U-Boot I still need a valid config file to do 'make
> > eoma68_foo_defconfig'. There is a .dts file here
> > (http://rhombus-tech.net/allwinner/a20/boot/sun7i-a20-eoma68-a20.dts)
> > but I don't know if it was used for mainline U-Boot and not just for
> > Kernel compilation.
> 
> it would be both (for mainline in each case).

Ok. But what did you use as defconfig in configs/ (U-Boot mainline)?
> 
> > I have realised that on Debian gcc versions are kept installed.
> 
> yes, i have 35 separate different gcc compiler packages installed and
> unfortunately at some point i removed the gnueabihf arm 4.7.2 one.
> damn
> 
> > I have
> > a native armhf installation (initially installed with Jessie) currently
> > upgraded to stretch and gcc-4.9 is still installed. Changed between gcc
> > versions with 'update-alternatives'. I don't know if this also apllies
> > to cross-toolchains because my experience with crossbuilding is limited.
> 
> export the right environment variables and it's not necessary to use
> "update-alternatives".
> 
> export CC=gcc-4.9
> export CROSS_COMPILE=arm-linux-gnueabihf- (or something)
> export ARCH=arm
> 
> or just:
> 
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- CC=gcc-4.9 {insertwhatever}
> 
> yes, here you go, the "make blah blah" lines:
> http://rhombus-tech.net/allwinner/a20/boot/
> 
> just add the extra parameter CC=gcc-4.9 (or gcc-4.7)
> 
I have read about CC=gcc-foo and tried but it did not work as expected. Maybe I did
something wrong. Will try again. 

Pablo



More information about the arm-netbook mailing list