fex pin/port missmatch

Started by gvi70000, March 01, 2016, 02:59:53 PM

Previous topic - Next topic

gvi70000

Hello all,

In my config.fex i have for UART3 and SPI2 a difefrence in the pins used (from olimex archives for Android 4.2)

[uart_para3]
uart_used = 0
uart_port = 3
uart_type = 4
uart_tx = port:PG06<4><1><default><default>
uart_rx = port:PG07<4><1><default><default>
uart_rts = port:PG08<4><1><default><default>
uart_cts = port:PG09<4><1><default><default>

[spi2_para]
spi_used = 1
spi_cs_bitmap = 1
spi_cs0 = port:PC19<3><default><default><default>
spi_cs1 = port:PI01<2><default><default><default>
spi_sclk = port:PC20<3><default><default><default>
spi_mosi = port:PC21<3><default><default><default>
spi_miso = port:PC22<3><default><default><default>

in the https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.103

[uart_para3]
uart_used = 1
uart_port = 3
uart_type = 4
uart_tx = port:PH00<4><1><default><default>
uart_rx = port:PH01<4><1><default><default>
uart_rts = port:PH02<4><1><default><default>
uart_cts = port:PH03<4><1><default><default>

[spi2_para]
spi_used = 1
spi_cs_bitmap = 1
spi_cs0 = port:PC19<3><default><default><default>
spi_sclk = port:PC20<3><default><default><default>
spi_mosi = port:PC21<3><default><default><default>
spi_miso = port:PC22<3><default><default><default>

Are the pins/port mapping ok? whre can i find the correct fex file?

gvi70000

Can someone with kernel 3.4.39 upload the script.fex and the defconfig for A20-OLinuXino-MICRO please?

I see that there are differences in the fex depending on the kernel

LubOlimex

Hey,

The fex file for each board is in a folder with the board's name in the official repositories. The def config is in the main folder. There are two repositories with source files for the A20 boards - one has sunxi uboot, sunxi kernel 3.4.90 and Debian Wheezy file system; the other has mainline uboot, sunxi kernel 3.4.103, and Debian Jessie file system. These repositories are availabe here:

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.90

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.103

For example, if you have A20-OLinXino-MICRO, the script files can be found in these folders:

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.90/script_a20_OLinuXino-micro_3.4.90_camera_rel_10

https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.103/script_a20_OLinuXino-micro_rel_10

Best regards,
Lub/OLIMEX




Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

gvi70000

Thank you,

I got a reply by e-mail from you advising me to use Dave's blog and shared images to built my Android image.
As as said, i have a rev C board and i see that the fex file is different - see your SDK.

I will use the board schematics to check the mapping, i hope the schematic is ok.