A13 wifi with android and NFC

Started by Vyrix, August 08, 2013, 03:56:52 PM

Previous topic - Next topic

Vyrix

Hello,
I've got a A13 Wifi and it's running with the 800x480 image and the 7" touchscreen.
Is there any possibility to get a USB RFID reader/writer working with it? (i have an ACS ACR122u)
I have an App for it installed on android but it doesn't get recognized.

EDIT:
I tried connecting the acr122u to my Samsung Galaxy note 2, where it also didn't get recognized. When I installed the app that came with the librarys which you can download at the ACS website it got recognized and I was able to read and write on the tags.

On the A13 the app didn't find the reader on every usb port (1,2,3 and otg)
Also I wasn't able to connect a usb-stick on the usb-otg port

A possibility for this could be that in the Kernel of the Image is either no full usb-otg module or no nfc module enabled.

Also, when i try to compile my own android-image for the A13, i get the following output after typing root@markus-G74Sx:~/work/a13/stock/lichee# sh build.sh -p a13_nuclear -k 3.0


###################################
#  skip make buildroot for crane  #
###################################
/root/work/a13/stock/lichee/buildroot
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  Building modules, stage 2.
  Kernel: arch/arm/boot/Image is ready
  SHIPPED arch/arm/boot/compressed/lib1funcs.S
  AS      arch/arm/boot/compressed/lib1funcs.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-3.0.8
Created:      Tue Aug 13 15:24:52 2013
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4510564 Bytes = 4404.85 kB = 4.30 MB
Load Address: 40008000
Entry Point:  40008000
  Image arch/arm/boot/uImage is ready
  MODPOST 56 modules
`arch/arm/boot/uImage' -> `output/uImage'
`arch/arm/boot/zImage' -> `output/zImage'
Building modules
make: Entering directory `/root/work/a13/stock/lichee/linux-3.0/modules/example'
/root/work/a13/stock/lichee/linux-3.0
make -C /root/work/a13/stock/lichee/linux-3.0 M=/root/work/a13/stock/lichee/linux-3.0/modules/example
make[1]: Entering directory `/root/work/a13/stock/lichee/linux-3.0'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/root/work/a13/stock/lichee/linux-3.0'
cp example.ko /root/work/a13/stock/lichee/linux-3.0/output/lib/modules/3.0.8/
make: Leaving directory `/root/work/a13/stock/lichee/linux-3.0/modules/example'
make: Entering directory `/root/work/a13/stock/lichee/linux-3.0/modules/mali'
/root/work/a13/stock/lichee/linux-3.0
make -C DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump CONFIG=ca8-virtex820-m400-1 KDIR=/root/work/a13/stock/lichee/linux-3.0
make[1]: Entering directory `/root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump'
make ARCH=arm -C /root/work/a13/stock/lichee/linux-3.0 M=/root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump modules
make[2]: Entering directory `/root/work/a13/stock/lichee/linux-3.0'
  CC [M]  /root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump/common/ump_kernel_common.o
arm-none-linux-gnueabi-gcc: directory: No such file or directory
arm-none-linux-gnueabi-gcc: directory": No such file or directory
<command-line>:0:16: warning: missing terminating " character
make[3]: *** [/root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump/common/ump_kernel_common.o] Error 1
make[2]: *** [_module_/root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump] Error 2
make[2]: Leaving directory `/root/work/a13/stock/lichee/linux-3.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/work/a13/stock/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump'
make: *** [build] Error 2
make: Leaving directory `/root/work/a13/stock/lichee/linux-3.0/modules/mali'
root@markus-G74Sx:~/work/a13/stock/lichee#

Does anybody have any ideas why the reader doesn't work, how to get the reader working, or why the compilation of the image fails?


Vyrix

edit and push!
Seriously I need help please

murerten

Quote from: Vyrix on August 08, 2013, 03:56:52 PM
...
arm-none-linux-gnueabi-gcc: directory: No such file or directory
arm-none-linux-gnueabi-gcc: directory": No such file or directory
...

Does anybody have any ideas why the reader doesn't work, how to get the reader working, or why the compilation of the image fails?



Are you sure your gcc-arm toolchain (and/or other neccessary packages) is installed?

Vyrix

#3
apt-get install gcc-arm-linux-gnueabi gave me the following output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc-arm-linux-gnueabi is already the newest version.
The following packages were automatically installed and are no longer required:
  libxcb-glx0-dev:i386 libxext-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

Is this the right package? And which else packages might i need?

EDIT:
I also checked the scripts in the lichee/buildroot/scripts folder - the arm-none-linux-gnueabi folder in lichee/output/external-toolchain exists

murerten

Look at the first message of this topic: https://www.olimex.com/forum/index.php?topic=57. I wrote how I setup ubuntu.

Vyrix

I set my ubuntu up like this, still the same error
analyzing the output I found out that the file
a13/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump/common/ump_kernel_common.o
is missing, so it's unable to build the modules.
Does anybody know how to get this file or why it isn't there?

Some good news though:
I found the configuration for the kernel (lichee/linux-3.0/arch/arm/configs/a13_nuclear_defconfig)
where I was able to enable the nfc module.

okebbeko

Hi,
Could you please let me know how you managed to solve your problem with the "arm-none-linux-gnueabi-gcc: error: directory: No such file or directory" issue?

Thanks

Quote from: Vyrix on September 04, 2013, 11:05:08 AM
I set my ubuntu up like this, still the same error
analyzing the output I found out that the file
a13/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel0/src/devicedrv/ump/common/ump_kernel_common.o
is missing, so it's unable to build the modules.
Does anybody know how to get this file or why it isn't there?

Some good news though:
I found the configuration for the kernel (lichee/linux-3.0/arch/arm/configs/a13_nuclear_defconfig)
where I was able to enable the nfc module.