Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: bruceuk on June 25, 2014, 02:28:12 PM

Title: SOLVED! A20-SOM-EVK: What board and config to use?
Post by: bruceuk on June 25, 2014, 02:28:12 PM
Hello

I can't find any reference to A20-SOM or A20-SOM-EVB in any Kernel or uboot Makefiles?


Should we be using the old (sun7i-a20-olinuxino-micro) config when building kernel and uboot for A20-SOM?


I am asking about the names/config because I am unable to boot a kernel when using a dtb blob (just hangs after Starting Kernel)


Fantastic board.....is perfect!!!!! when will A3352-SOM/EVB stock be ready?


Cheers
Bruce
Title: Re: A20-SOM-EVK: What board and config to use?
Post by: JohnS on June 25, 2014, 04:36:34 PM
It's very recent board!

Maybe this has enough https://olimex.wordpress.com/tag/a20/

Otherwise try linux-sunxi.org and its & its members' repos

John
Title: Re: A20-SOM-EVK: What board and config to use?
Post by: bruceuk on June 25, 2014, 07:26:55 PM

Using FEX I can boot 3.16.0-rc2 ..... but anything involving dtb just hangs after Starting Kernel.....

I'll pop over to Linux-sunxi and see if anybody is using dtb on A20-SOM

Thanks anyway!
Title: Re: SOLVED! A20-SOM-EVK: What board and config to use?
Post by: bruceuk on July 04, 2014, 03:00:26 PM

As JohnS mentioned, this is a new board and as such it doesn't have any defconfigs yet.

Uboot:
Has been patched, use A20-SOM when building uboot

Mainline kernel:
Use ./arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts  as a template to create sun7i-a20-som.dts. Make sure your gmac define looks like:
      gmac: ethernet@01c50000 {
         pinctrl-names = "default";
         pinctrl-0 = <&gmac_pins_rgmii_a>;
         phy = <&phy1>;
         phy-mode = "rgmii";
         status = "okay";

         phy1: ethernet-phy@1 {
            reg = <1>;
         };
      };


Bruce