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
GadgetPC realease provides ftdi_sio.ko module
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.
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.
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
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.
Also, to the GadgetPC developers, can you outline your driver compilation process for the ARM 9?
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