enricorossi.org

Enrico Rossi


Avr32 build root

A postit: mmcinit set bootargs 'console=ttyS0 root=/dev/mmcblk0p2 ro rootwait' ext2load mmc 0:1 0x10200000 /uImage bootm 0x10200000 Filesystem stuff fstab to be fixed from root after mount sd card mknod -m 0660 console c 5 1 mknod -m 0666 null c 1 3 chown -R root:root /mnt/ fstab # /etc/fstab: static file system information. # # <file system> <mount pt> <type> <options> <dump> <pass> #/dev/mtdblock3 /usr jffs2 defaults 0 0 proc /proc proc defaults 0 0 /dev/mmcblk0p2 / ext3 noatime,errors=remount-ro 0 1 /dev/mmcblk0p1 /boot ext3 noatime,defaults 0 2

Skype 2.1 debian lenny amd64

Skype Release: 2.1.0.47 beta Known problem: error starting due to problems in ia32-libpulse Fix: Remove /usr/lib32/libpulse* and reload ldconfig rm /usr/lib32/libpulse* ldconfig Known problem cam gspca: Kernel 2.6.30 this module do use video 4 linux 2, but skype still have v4l 1 API. Fix: Install lib32v4l-0 and run skype as LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype

Matlab netcdf

note: c’e’ il mexnc del sourceforge e il netcdf nella csiro Installare NetCDF MexNC in Matlab. Bisogna scaricare 2 tar: mexnc-2.0.24.tar.gz netcdf_toolbox-1.0.12.tar.gz scompatta il mex, copia da matlab il mexopts.sh e modificalo come suggerito nell’INSTALL, modificato per la debian visto che netcdf lo installo da sistema. # Architecture independent lines: # # Set and uncomment any lines which will apply to all architectures. # #---------------------------------------------------------------------------- # CC="$CC" # CFLAGS="$CFLAGS" # COPTIMFLAGS="$COPTIMFLAGS" # CDEBUGFLAGS="$CDEBUGFLAGS" CLIBS="$CLIBS -lnetcdf" Ho creato la dir /opt/matlab_netcdf/ dove metto tutti e due i pacchetti.

Read more...

Git svn track remote repo

How to track a remote master git-svn into my git repo without cloning. git remote add origin https://myuser@myserver.com/davgitrepo git remote update origin git branch --track origin Updating my git-svn repo with git-svn rebase Then update the git copy with git push origin

Firefox search expansion

If you want to change for example wikipedia-en to wikipedia-it then copy into your .mozilla/firefox/[yourid]/searchplugins/ then digit (on a debian system firefox is called iceweasel): cp /usr/share/iceweasel/searchplugins/wikipedia-en.xml wikipedia-it.xml then edit it and change all the references from en.wikipedia.org to it.wikipedia.org

Previous Page 11 of 16 Next Page