UrJTAG new bus HOWTO 

Preface: I will call new bus "foo" in this example, so replace the foo with your bus name in the examples case sensitive.

1. Write the bus code. (Implement the necessary functions, and members for the URJ_BUS_DRIVER structure. see. include/urjtag/bus_driver.h)

2. Add the bus to the URJ_DRIVER_SET([bus], []) array in the urjtag/configure.ac

3. Add the following code the urjtag/src/bus/buses_list.h:

#ifdef ENABLE_BUS_FOO
_URJ_BUS(foo)
#endif

Please keep this list sorted alphabetically as it noted in the header.

4. Add the following snipplet to the urjtag/src/bus/Makefile.am:

if ENABLE_BUS_FOO
libbus_la_SOURCES += foo.c
endif

5. Now you are ready to make the UrJTAG with the new bus. Run ./autogen.sh && make in the source directory.
[ hozzászólás ] ( 24 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 172 )
Never ever use colorgcc if you are using buildroot, openembedded or... 

Or anything else what is modifying somehow the output of the GCC.
Otherwise you will suck like a gluttonous badger* like I did.

A.k.a torkos borz in hungarian.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 173 )
[Project announce] Linux kernelmodul az NI DAQCard-4050-hez 

Ma sikerrel portoltam az National Instruments 4050 PCMCIA DMM-hez gányolt gyári példaprogramokat egy Linux kernelmodullá.

Kód a szokásos helyen a googlekódon figyel:
http://code.google.com/p/ni4050/

Nem bírhattam ki hogy ne hegesszek hozá valami GUI-t Qt-ban természetesen:




[ hozzászólás ] ( 14 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 115 )
Running EAGLE 5.91.1 under Ubuntu 

A few libraries had been left from the new V6 Beta package, so installing it on nonSuse Linux Distributions could be a bit painful.

To install the missing stuff manually follow the steps below:

Download the beta package from here:
http://www.cadsoft.de/betatest/

Extract the contents from the installer by running:


sed -e '1,/^__DATA__$/d' eagle-lin-5.91.1-beta.run > eagle-lin-5.91.1-beta.tar.bz2


Then untar the archive wherever you would like to (to /opt for e.g.):


tar -xvjf eagle-lin-5.91.1-beta.tar.bz2


Then download the dependendant libraries which are not present neither in the installer nor in the distribution provided packages:

http://dl.dropbox.com/u/4295670/eagle_libs.tar.bz2

Extract the files to the eagle bin dir.

To run the program set the LD_LIBRARY_PATH to contain the directory containing the libraries extracted above.


[ 1 hozzászólás ] ( 22 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 272 )
U-boot: undefined reference to `get_mtd_device_nm' 

When you facing something similar compile error, make sure that you have been defined the CONFIG_MTD_DEVICE in your config header nt just the CONFIG_CMD_MTDPARTS.
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 174 )

<< <Előző | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | Következő> >>

 
számláló