Cross Building Linux

Just a quick note since even if is quite easy to read the Makefile sometimes you’d rather have the solution now. This is what I use for the efika images. The layout is the following: /dev/sdc1 on /mnt/efika/boot type vfat (rw) /dev/sdc2 on /mnt/efika/ type ext4 (rw) CROSS_COMPILE and INSTALL_MOD_PATH are described quite well in the linux Makefile. The former tell the configure which toolchain should be used, the latter where to install the modules, pretty easy, isn’t it? You must be careful to not forget the trailing “-” from the CROSS_COMPILE and you can avoid the trailing “/” in the INSTALL_MOD_PATH make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm menuconfig make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm uImage make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=/mnt/efika modules_install In this […]

CentOS and apache

A great part of VPS users run a CentOS, also a lot of real servers run CentOS nowadays. Usually this happens as CentOS users hope that it should be more stable, tested and secure then other distributions as being derived from an enterprise commercial one. This might be true for most cases, but while developing PyHP we found a lot of “unknown mysterious bugs” that happened only on CentOS. After some investigation we found that apr_stat on CentOS always returns 0 as file size (this made quite interesting to allocate buffers or use mmap to read files) and also that bucket brigades had a strange behaviour, and as strange I mean that in some conditions they never considered terminated the […]

Brother mfc5890 on Linux Gentoo 64bit

Actually we bought a new MFC-5890  printer for the office, we have a quite homogeneous environment with mainly Linux systems, a some with Gentoo, a some with Ubuntu, a few OSX systems and two Windows. We have been quite satisfied with the fact that Brother release packages for ubuntu, but we laso had to face the fact that there wasn’t a quick way to install it on Gentoo. So I spent some time to edit the Brother package to install on Gentoo 64bit and create a .tgz to permit to other Gentoo users to install the printer drivers in a quick way. You can download the package from here: http://www.axant.it/static/files/Brother.tgz Simply unpack it in /usr/local (the paths are not relative […]