Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vitaliy

Pages: 1 2 [3] 4 5 6 7 8 ... 14
31
GadgetPC / Re: Making a USB device driver
« on: July 27, 2010, 01:45:06 am »
FTDI driver is a part of Linux kernel
GadgetPC realease provides ftdi_sio.ko module

32
GadgetPC / Re: Compiling modules and drivers (and c programs)
« on: May 31, 2010, 08:59:10 am »
Quote
then, when i try "apt-get install gcc" some packages get downloaded and then i get a "file not found" from apt-get, because the files it tries to fetch aren\'t in the repository, and i\'m not sure what to do next.

Try

chmod -R a+w /var/cache/man
mkdir -p /var/log/apt/
apt-get update
apt-get install build-essential

Quote
2) I\'m not clear whether the Ubuntu Virtual Machine that can be downloaded from the ftp (i downloaded UbuntuARM_Rev102_28Oct2009) already has the cross-compiler installed or is separate installation required? The "gcc" in that VM generates regular intel binaries according to the "file" command, and i don\'t know if there\'s a cross-compiler somewhere around already that i\'m missing

A cross-compiler is pre-installed
Of course, if you run gcc it will run a native x86 compiler
To complie for Gadget PC you need to run a cross-compiler for ARM.
Please look at /home/mini/app/hello . This is a test example with a correct make file.
To compile you need to execute the following commands
cd /home/mini/app/hello
make clean
make

Note, you can compile Linux executables for GadgetPC under Windows
using ARM development system from BiPOM. It\'s FREE




33
GadgetPC / Re: Compiling modules and drivers (and c programs)
« on: May 29, 2010, 03:14:55 am »
Quote
I am curious about getting mono installed on the GadgetPC.  How easy was it to cross compile the binaries?
Note, GadgetPC can run Debian installation.
I guess the fastest way is to try to install \'mono\' under Debian using standard methods

apt-get install monodevelop nunit mono-devel
apt-get install monodoc

Also, no needs to cross compile. It is possible to compile
on GadgetPC using a native gcc compiler.

I don\'t know if GPC resources will be enough to run \'mono\' virtual machine. It is only 32 MB system.




34
GadgetPC / Re: Compiling modules and drivers (and c programs)
« on: January 24, 2010, 12:57:12 pm »
For example, to compile a driver for Sierra USB modem
the following screenshot shows a typical scenario
http://www.bipom.com/support/gadgetpc/sierra.png

35
GadgetPC / Re: Compiling modules and drivers (and c programs)
« on: January 15, 2010, 02:23:56 am »
Quote
Also, to the GadgetPC developers, can you outline your driver compilation process for the ARM 9?

Usually, we compile driver sources on a PC wmware ubuntu platform using a cross-compiler



36
GadgetPC / Re: Install Debian from a Debian box?
« on: June 05, 2010, 01:25:03 am »
It seemed the hardware worked. But the wireless interface is not configured. ESSID is empty (ieee 802.11bg  essid:"")

Here are the typical commands you need to add to /etc/network/interfaces. Your network has to support  WPA
encryption

# The wireless network interface
auto wlan1
iface wlan1 inet static
address 192.168.1.212
netmask 255.255.255.0
gateway 192.168.1.1
wpa-psk "your password"
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid "your ESSID"

As the 1st step try to execute the commands by hands.
If everything works you can add to /etc/network/interfaces

37
GadgetPC / Re: Install Debian from a Debian box?
« on: June 04, 2010, 02:39:17 pm »
show logs of ifconfig, iwconfig

38
GadgetPC / Re: Install Debian from a Debian box?
« on: May 31, 2010, 02:10:10 am »
Did you configure GadgetPC loaders to run Debian ?
Please read
http://www.bipom.com/documents/boards/gadgetpc/Commands%20to%20set%20up%20UBOOT%20environment%20to%20boot%20GadgetPC.pdf

Quote
1) To run Debian on GadgetPC, type the following at the U-BOOT prompt:
setenv bootcmd \'usb start; fatload usb 0:1 0x21000000 uImage; bootm 0x21000000\'
setenv bootargs \'mem=32M console=ttyS1,115200 root=/dev/sda2 rw rootwait\'
saveenv
( You do not need any mmfs.gz or gpcfs.gz at all )
2) To run ARM9 Linux on GadgetPC, type the following at the U-BOOT prompt:
setenv bootcmd \'usb start; fatload usb 0:1 0x21000000 uimage; fatload usb 0:1 0x20410000 gpcfs.gz; bootm 0x21000000\'
setenv bootargs \'mem=32M console=ttyS1,115200 root=/dev/ram0 rw initrd=0x20410000,0x800000 ramdisk_size=8200\'
saveenv

39
GadgetPC / Re: Install Debian from a Debian box?
« on: May 30, 2010, 03:16:58 pm »
115200

40
GadgetPC / Re: Install Debian from a Debian box?
« on: May 30, 2010, 01:40:34 am »
Please show a log  your board sends to a console
http://www.bipom.com/cgi-bin/yabb2/YaBB.pl?num=1258826725

Note, the board sends  bootstrap/u-boot debug messages
even without USB flash

41
GadgetPC / Re: Install Debian from a Debian box?
« on: May 19, 2010, 12:00:05 pm »
Please read the latest page of
http://www.bipom.com/documents/boards/gadgetpc/GadgetPC%20Debian%20Installation%20Guide.pdf
"6. Alternative releases for advanced Linux users".
All you need is to download the prepared images and copy a disk hard  drive

Also, you can install Debian on QEMU and then  copy to a real disk hard drive ( USB Flash or microSD).
This link provides a detailed instruction
http://dev.emcelettronica.com/installing-debian-arm-qemu

42
GadgetPC / Re: MD300 Sony Ericsson Modem on GadgetPC
« on: April 26, 2010, 04:27:37 am »
After many experiments we decided not  to use MD300 USB modem with GadgetPC. Unfortunately this modem works badly with USB Full Speed  Host port.
It works nice with USB High Speed  Host port.
We tested both ports on a PC  platform.
On Gadget PC we have a full speed port.
Thus we switched to modems from Sierra.
We tested Sierra Compass855 Aircard device. It worked very well.
http://www.sierrawireless.com/product/compass_885.aspx
Also, this modem is added to GadgetPC release.
So I guess you will not face any problems to configure and use that.
We tested the modem on AT&T network without authorization and with PAP authorization.
In both cases the modem worked reliable.
Please let me know if you need extra help to get started.

43
GadgetPC / Re: Installing a New Wireless Adapter
« on: March 02, 2010, 03:35:53 pm »
1. You can cross-compile under Ubuntu. We provide a virtual machine image on bipomftp.
2. If you have Debian on GadgetPC you can compile using native GCC

44
GadgetPC / Re: Installing a New Wireless Adapter
« on: February 19, 2010, 02:31:42 am »
You can try any model if a corresponding Linux driver is available.
If Linux driver is not available from a manufacturer
as the 1st step it is necessary to check VID/PID of the new adapter. Then, check Internet to see if somebody uses it under Linux.
If so,   there is a big chance to get it working with GadgetPC.

45
GadgetPC / Re: Wifi/WPA2/dhcp on GadgetPC Debian.
« on: February 22, 2010, 02:19:10 am »
To make the WiFi connection faster
it is necessary to add 1 extra line to /etc/network/interfaces

pre-up iwconfig wlan0 rate 54M

Pages: 1 2 [3] 4 5 6 7 8 ... 14