OLinuXino-A20_MICRO 4G olinuxinoa20-3.4_defconfig file

Started by Mapua, August 17, 2014, 09:24:47 PM

Previous topic - Next topic

Mapua

Hello,

I was wondering if anybody could tell me how and where to get the "olinuxinoa20-3.4_defconfig"-file which is mentioned in the Howto...
It seems to be no longer on Google docs.

Thanks for your help,
Mapua

cedric

Hi Mapua,
I'm now not at my machine, so I write this from the top of my head. Please post the exact steps when you have figured it out.

The file you are looking for is in the git tree oflinux-sunxi. After you do the step "git clone http/sunex-linux/-b 4.3" then there's a file called ...a20defconfig in the tree. To find it you can do something like "find -iname *config*"

you can then copy this file to .config, and then run make menuconfig.

If you use this file to generate an arch linux image, be aware you need to change the following lines, otherwise you don't get an image on the hdmi:
http://linux-sunxi.org/Category:Tutorial
http://linux-sunxi.org/Display
CONFIG_FB_SUNXI=y
CONFIG_FB_SUNXI_LCD=y
CONFIG_FB_SUNXI_HDMI=y

CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

Let me know how it went.
Kind regards,
Cedric


Mapua

Hi Cedric,

Thank's for your reply!
I couldn't find the file on github/linux-sunxi, but I got it from
https://github.com/hehopmajieh/OLinuXino-A20/blob/master/olinuxinoA20-3.4_defconfig.
There is also a "how to compile" instruction without "cutted command lines".

But when compiling I get fatal  errors:
1) PWM Patch: The pwm-patch from the Howto doesn't work.
2) CROSS_COMPILE: mach/system.h not found
3) module configuration support off in config file -> no module configuration support

I will post a "Mint/Ubuntu" complete step-by-step Howto when I got it running!

Kind regards

cedric

Hi Mapua,

I could not get a cross compile to work, so I've done all my compiling on the A20 itself. This takes about 4-5 hours of compiling.

I started with the official debian image:
https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux
https://drive.google.com/file/d/0B-bAEPML8fwlX2tYS2FmNXV5OUU/edit?usp=sharing

I have followed this guide:
http://alarma20.wordpress.com/2013/09/13/howto-build-arch-linux-arm-for-a20-olinuxino-micro/

You can save some time during download of the kernel by using a so-called shallow clone (untested by me)
http://linux-sunxi.org/Linux_Kernel#Compilation
git clone -b sunxi-3.4 --depth 1 https://github.com/linux-sunxi/linux-sunxi.git

Please let met know how you have done the cross compiling on mint.

Kind regards,
Cedric