2012-08-29

Slitaz -- raspi-kernel -2


root@slitaz:~# slitaz

SliTaz GNU/Linux
==============================================================================================================================================================================================================
Release : cooking
Architecture : arm
Kernel : 3.2.14-slitaz
Boot options : dma.dmachans=0x3c bcm2708_fb.fbwidth=1648 bcm2708_fb.fbheight=1018 bcm2708.boardrev=0x2 bcm2708.serial=0x7b32f4ce smsc95xx.macaddr=B8:27:EB:32:F4:CE dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Home path : /home/slitaz
Configs : /etc/slitaz
Log files : /var/log/slitaz
Packages DB : /var/lib/tazpkg
Installed : 20 packages
Mirror : http://cook.slitaz.org/cross/arm/packages/
==============================================================================================================================================================================================================
Config file: /etc/slitaz/slitaz.conf


2012-08-28

Slitaz -- raspi-kernel


1.
root@slitaz:~# uname -a
Linux slitaz 3.2.14-slitaz #1 PREEMPT Sun Aug 26 10:39:41 UTC 2012 armv6l GNU/Linux


2.
root@slitaz:~# modinfo snd_bcm2835
filename:       kernel/sound/arm/snd-bcm2835.ko
description:    Alsa driver for BCM2835 chip
author:         Dom Cobley
license:        GPL
vermagic:       3.2.14-slitaz preempt mod_unload modversions ARMv6
depends:        snd-pcm,snd

3.
root@slitaz:~# modprobe snd-bcm2835
### snd_bcm2835_alsa_probe c05e0958 ############### PROBING FOR bcm2835 ALSA device (0):(1) ###############
Creating card...
Creating device/chip ..
Adding controls ..
Registering card ....
bcm2835 ALSA CARD CREATED!
### BCM2835 ALSA driver init OK ###

4.
root@slitaz:~# lsmod
Module                  Size  Used by    Tainted: G 
snd_bcm2835            21709  0
snd_pcm                82450  1 snd_bcm2835
snd_page_alloc          5395  1 snd_pcm
snd_timer              21614  1 snd_pcm
snd                    58035  3 snd_bcm2835,snd_pcm,snd_timer
ipv6                  286290 10


5.
root@slitaz:~# ls -l /boot
total 31296
-rwxr-xr-x    1 root     root         18693 Jul 25 08:40 COPYING.linux
-rwxr-xr-x    1 root     root          1447 Jul 25 08:40 LICENCE.broadcom
-rwxr-xr-x    1 root     root       2053968 Jul 25 08:40 arm128_start.elf
-rwxr-xr-x    1 root     root       2053968 Jul 25 08:40 arm192_start.elf
-rwxr-xr-x    1 root     root       2053968 Jul 25 08:40 arm224_start.elf
-rwxr-xr-x    1 root     root         16536 Jul 25 08:40 bootcode.bin
-rwxr-xr-x    1 root     root            97 Aug 28 10:38 cmdline.txt
-rwxr-xr-x    1 root     root          1176 Aug 28 11:25 config.txt
-rwxr-xr-x    1 root     root       3003160 Aug 26 14:05 kernel.img
-rwxr-xr-x    1 root     root       4189540 Jul 25 08:40 kernel_cutdown.img
-rwxr-xr-x    1 root     root      16321844 Jul 25 08:40kernel_emergency.img
-rwxr-xr-x    1 root     root        275235 Jul 25 08:40 loader.bin
-rwxr-xr-x    1 root     root       2053968 Jul 25 08:40 start.elf
root@slitaz:~#
.

2012-07-24

raspi -- hardfloat-2

Extract from:

Raspbian Benchmarking – armel vs armhf

by
[..]

Performance Results

To try to quantify the optimisations in Raspbian I extended my benchmarking tests and ran them on the two different architectures, Debian armel and Raspbian armhf.

The tests were run on a single Raspberry Pi using two different partitions on the same USB hard disk. The same kernel was used for both sets of tests. Tests were performed multiple times until a “best” score was reached. For the GTKPerf tests both Raspbian and Debian were set to the same GTK theme. I chose not to use the raw data, but present it in an easier to understand format, armhf performance is presented relative to armel performance.

Keep in mind the golden rule of benchmarking: All benchmarks are flawed benchmarks.
Performance comparison between Debian armel and Raspbian armhf
Performance comparison between Debian armel and Raspbian armhf

The chart above shows the performance difference in various applications between Debian armel and Raspbian armhf. Performance improvement varied from 4% to 40% depending upon the application.
The performance improvements seen by non-floating point applications like Gzip and Bzip2 and were related to the ARMv6 instructions being used instead of the ARMv4 instructions. We seem to gain 4-10% in these applications.

GTKPerf showed a 19% improvement in X Windows GUI operations, which should make the Raspberry Pi more usable as a desktop. Quake 3 showed a more modest improvement, but that is because it is already limited by the GPU at 1080p resolutions.

The applications with larger performance improvements are those making heavy use of floating point maths, particularly media en/decoding, which see a huge performance increase. I also saw a 600% increase in Mpeg Layer 3 and Layer 2 encoding performance, but I didn’t include that on this chart as it made the other data difficult to read.

Users of the latest OpenSSL packages will see a ~100% performance increase over these numbers, which is related to an ASM optimisation patch applied by the Raspbian team and isn’t relevant to this test. It does demonstrate how important optimisation is though!


Update20121111:
Conclusion

I believe the QtonPi wiki best sums up my experiences:

Given the preponderance of hardfp performance over its register ignorant peers, this will be useful in eking every last drop of performance out of the hardware.

Buildroot
http://qt-project.org/wiki/RaspberryPi


Raspberry Pi Hard Float Benchmarks
http://pastebin.com/2NZqH2yY

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=61497#p61497

As expected, the hardware floating point execution was significantly faster than the software emulation. Perhaps by a factor of 10x or better.

raspi -- hardfloat

hadrfloat VS. softfloat

1.
root@slitaz:/media/raspbian# env GIT_SSL_NO_VERIFY=true git clone https://github.com/raspberrypi/tools tools
Cloning into 'tools'...
remote: Counting objects: 7222, done.
remote: Compressing objects: 100% (3843/3843), done.
remote: Total 7222 (delta 3966), reused 6255 (delta 2999)
Receiving objects: 100% (7222/7222), 155.84 MiB | 319 KiB/s, done.
Resolving deltas: 100% (3966/3966), done.

2.
root@slitaz:/media/raspbian# du -sh tools
473.6M tools

3.
root@slitaz:/media/raspbian# ls -al tools
total 36
drwxr-xr-x 6 root root 4096 Jul 25 07:38 .
drwxr-xr-x 5 root root 4096 Jul 25 07:30 ..
drwxr-xr-x 4 root root 4096 Jul 25 07:38 arm-bcm2708
drwxr-xr-x 8 root root 4096 Jul 25 07:38 .git
drwxr-xr-x 2 root root 4096 Jul 25 07:38 mkimage
drwxr-xr-x 2 root root 4096 Jul 25 07:38 pkg
-rwxr-xr-x 1 root root 10357 Jul 25 07:38 sysidk

4.
root@slitaz:/media/raspbian# du -sh tools/.git/
157.1M tools/.git/

5.
root@slitaz:/media/raspbian# ls -al tools/arm-bcm2708/
total 16
drwxr-xr-x 4 root root 4096 Jul 25 07:38 .
drwxr-xr-x 6 root root 4096 Jul 25 07:38 ..
drwxr-xr-x 7 root root 4096 Jul 25 07:38 arm-bcm2708hardfp-linux-gnueabi
drwxr-xr-x 7 root root 4096 Jul 25 07:38 arm-bcm2708-linux-gnueabi

6.
root@slitaz:/media/raspbian# tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/media/raspbian/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/../libexec/gcc/arm-bcm2708-linux-gnueabi/4.7.1/lto-wrapper
Target: arm-bcm2708-linux-gnueabi
Configured with: /home/extra/crosstool/stagingsf/.build/src/gcc-linaro-4.7-2012.04/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-bcm2708-linux-gnueabi --prefix=/home/dc4/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi --with-sysroot=/home/dc4/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/arm-bcm2708-linux-gnueabi/sysroot --enable-languages=c,c++ --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-float=softfp --with-pkgversion='crosstool-NG 1.15.2' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --with-gmp=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-mpfr=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-mpc=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-ppl=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-cloog=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-libelf=/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/extra/crosstool/stagingsf/.build/arm-bcm2708-linux-gnueabi/buildtools/lib -lpwl' --enable-threads=posix --enable-target-optspace --disable-nls --disable-multilib --with-local-prefix=/home/dc4/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/arm-bcm2708-linux-gnueabi/sysroot --enable-c99 --enable-long-long --with-float=softfp
Thread model: posix
gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2)
root@slitaz:/media/raspbian#

7.
root@slitaz:/media/raspbian# tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/media/raspbian/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/../libexec/gcc/arm-bcm2708hardfp-linux-gnueabi/4.7.1/lto-wrapper
Target: arm-bcm2708hardfp-linux-gnueabi
Configured with: /home/extra/crosstool/staginghf/.build/src/gcc-linaro-4.7-2012.04/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-bcm2708hardfp-linux-gnueabi --prefix=/home/dc4/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi --with-sysroot=/home/dc4/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot --enable-languages=c,c++ --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-float=hard --with-pkgversion='crosstool-NG 1.15.2' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --with-gmp=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-mpfr=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-mpc=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-ppl=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-cloog=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-libelf=/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/extra/crosstool/staginghf/.build/arm-bcm2708hardfp-linux-gnueabi/buildtools/lib -lpwl' --enable-threads=posix --enable-target-optspace --disable-nls --disable-multilib --with-local-prefix=/home/dc4/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot --enable-c99 --enable-long-long --with-float=hard

Thread model: posix
gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2)
root@slitaz:/media/raspbian#

2012-06-26

raspi - locale

vi /etc/environment and /etc/default/locale:

LANG="C"
LANGUAGE="C"

Slitaz - dos2unix

dos2unix

: not foundsh: line 4:

You have somehow added a CR character to each line. Fix by using dos2unix.


1.
root@slitaz:~# sh ./raspbian.sh
: not foundsh: line 4:
test tap...
: not foundsh: line 7:
: not foundsh: line 9:
./raspbian.sh: cd: line 10: can't cd to /media/Audio1/raspi/raspbian
/root
: not foundsh: line 12:


2.
root@slitaz:~# dos2unix -u raspbian.sh


3.
root@slitaz:~# ./raspbian.sh
test tap...
/media/Audio1/raspi/raspbian
root@slitaz:~#


4.
Usage: dos2unix [-ud] [FILE]

Convert FILE in-place from DOS to Unix format.
When no file is given, use stdin/stdout.

Options:
        -u      dos2unix
        -d      unix2dos

raspi case



Punnet Mk1

http://www.raspberrypi.org/phpBB3/viewtopic.php?p=90273#p90273

http://squareitround.co.uk/Resources/Punnet_net_Mk1.pdf



raspi - git


1. error: SSL certificate problem
# env GIT_SSL_NO_VERIFY=true git clone https://github.com/raspberrypi/linux.git --depth 1

root@slitaz:/dev/shm/git# git clone https://github.com/raspberrypi/linux.git --depth 1
Cloning into 'linux'...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/raspberrypi/linux.git/info/refs
fatal: HTTP request failed
root@slitaz:/dev/shm/git#


2. git brach
# env GIT_SSL_NO_VERIFY=true git clone -b rpi-3.2.21 https://github.com/bootc/linux.git

https://github.com/bootc/linux/zipball/rpi-3.2.16  commit 9151b05ea0 bootc authored 2 months ago
https://github.com/bootc/linux/zipball/rpi-3.2.21 commit a1f8d7a26e bootc authored 2 days ago

root@slitaz:/home/tux# env GIT_SSL_NO_VERIFY=true git clone https://github.com/bootc/linux/tree/rpi-3.2.16 --depth 1
Cloning into 'rpi-3.2.16'...
fatal: https://github.com/bootc/linux/tree/rpi-3.2.16/info/refs not found: did you run git update-server-info on the server?

root@slitaz:/dev/shm# env GIT_SSL_NO_VERIFY=true git clone -b rpi-3.2.21 https://github.com/bootc/linux.git
Cloning into 'linux'...
remote: Counting objects: 2561446, done.
remote: Compressing objects: 100% (752654/752654), done.
remote: Total 2561446 (delta 2109624), reused 2226613 (delta 1783679)
Receiving objects: 100% (2561446/2561446), 827.00 MiB | 749 KiB/s, done.
Resolving deltas: 100% (2109624/2109624), done.
root@slitaz:/dev/shm# du -sh linux
1.4G    linux


SliTaz-ARM.20120529.235157


Update:  20121205

slitaz-armhf
http://arm.balinor.net/slitaz/armhf

 

SliTaz Images for the Raspberry Pi

http://www.kvarley.co.uk/RaspberryPi/SliTaz/




rootfs: linux-3.2.14,  modules ??
-rwxr-xr-x    1 root     root       3890436 Apr 13 11:35 kernel.img    linux-3.1.9
-rwxr-xr-x    1 root     root       3890436 May 31 08:27 kernel.img   linux-??


1. SliTaz-ARM.20120529.235157.img
root@slitaz:~# ls /dev/shm/slitaz-arm
README                           SliTaz-ARM.20120529.235157.md5
SliTaz-ARM.20120529.235157.img   SliTaz-ARM.20120529.235157.sha1


2. README
root@slitaz:~# cat /dev/shm/slitaz-arm/README
Presenting the SliTaz image for the Raspberry Pi

.sha1 and .md5 files are contained within this archive - check the hashes before writing to your SD card!

For the latest image version see: http://kvarley.co.uk/RaspberryPi/SliTaz/

Need help writing this image to your SD card? See: http://elinux.org/RPi_Easy_SD_Card_Setup


3. partition
root@slitaz:~# file /dev/shm/slitaz-arm/SliTaz-ARM.20120529.235157.img
/dev/shm/slitaz-arm/SliTaz-ARM.20120529.235157.img: x86 boot sector; partition 1: ID=0xc, active, starthead 0, startsector 2048, 145408 sectors; partition 2: ID=0x83, starthead 3, startsector 147456, 391168 sectors; partition 3: ID=0x82, starthead 3, startsector 538624, 194560 sectors, code offset 0xb8
root@slitaz:~#


4. partition 2: ID=0x83
root@slitaz:~# mount -o,offset=75497472 /dev/shm/slitaz-arm/SliTaz-ARM.20120529.235157.img /mnt/rasp
root@slitaz:~# cd /mnt/rasp
root@slitaz:/mnt/rasp# ls
bin         etc         lib         mnt         sbin        usr
boot        home        lost+found  proc        sys         var
dev         init        media       root        tmp

root@slitaz:/mnt/rasp# ls lib/modules/3.2.14-slitaz/kernel
drivers
root@slitaz:/mnt/rasp# ls lib/modules/3.2.14-slitaz/kernel/drivers
scsi

root@slitaz:/mnt/rasp# cat var/lib/tazpkg/mirror
http://cook.slitaz.org/cross/arm/packages/

root@slitaz:/mnt/rasp# ls var/lib/tazpkg/installed | wc -l
65


5. partition 1: ID=0xc
root@slitaz:/mnt/rasp# mount -o,offset=1048576 /dev/shm/slitaz-arm/SliTaz-ARM.20120529.235157.img /mnt/fat
root@slitaz:/mnt/rasp# ls -l ../fat
total 28096
-rwxr-xr-x    1 root     root       2029700 May 31 08:27 arm128_start.elf
-rwxr-xr-x    1 root     root       2029700 May 31 08:27 arm192_start.elf
-rwxr-xr-x    1 root     root       2029700 May 31 08:27 arm224_start.elf
-rwxr-xr-x    1 root     root         16528 May 31 08:27 bootcode.bin
-rwxr-xr-x    1 root     root           273 May 31 08:27 boot_enable_ssh.rc
-rwxr-xr-x    1 root     root           124 May 31 08:27 cmdline.txt
-rwxr-xr-x    1 root     root            26 May 31 08:27 issue.txt
-rwxr-xr-x    1 root     root      16412020 May 31 08:27 kernel_emergency.img
-rwxr-xr-x    1 root     root       3890436 May 31 08:27 kernel.img  
-rwxr-xr-x    1 root     root        314691 May 31 08:27 loader.bin
-rwxr-xr-x    1 root     root       2029700 May 31 08:27 start.elf



6. debian6-13-04-2012.img
root@slitaz:/media/Audio1/raspi/debian6-13-04-2012# mount -o,offset=1048576 debian6-13-04-2012.img /mnt/sda1
root@slitaz:/media/Audio1/raspi/debian6-13-04-2012# ls -l /mnt/sda1
total 27972
-rwxr-xr-x    1 root     root       2000828 Apr 13 11:35 arm128_start.elf
-rwxr-xr-x    1 root     root       2000828 Apr 13 11:35 arm192_start.elf
-rwxr-xr-x    1 root     root       2000828 Apr 13 11:35 arm224_start.elf
-rwxr-xr-x    1 root     root         16528 Apr 13 11:35 bootcode.bin
-rwxr-xr-x    1 root     root           141 Apr 13 11:35 cmdline_testmode.txt
-rwxr-xr-x    1 root     root           138 Apr 13 11:35 cmdline.txt
-rwxr-xr-x    1 root     root      16412020 Apr 13 11:35 kernel_emergency.img
-rwxr-xr-x    1 root     root       3890436 Apr 13 11:35 kernel.img  
-rwxr-xr-x    1 root     root        314691 Apr 13 11:35 loader.bin
-rwxr-xr-x    1 root     root           208 Apr 13 11:35 onetime-config.txt
-rwxr-xr-x    1 root     root       2000828 Apr 13 11:35 start.elf



Extract from

http://www.kvarley.co.uk/RaspberryPi/

Resources for the Raspberry Pi.

[..]
http://www.kvarley.co.uk/RaspberryPi/SliTaz/


SliTaz - SD card images for the Raspberry Pi.

Most Recent Image
SliTaz-ARM.20120529.235157

All Builds
SliTaz-ARM.20120529.235157



.

2012-06-25

raspi autologin


raspi autologin

Extract from
TheMagPi http://www.themagpi.com

Raspbian Repository


Extract from

Raspbian Repository



/etc/apt/sources.list 
deb http://archive.raspbian.org/raspbian wheezy main
deb-src http://archive.raspbian.org/raspbian wheezy main

apt-get keyring
wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -

 

Unofficial Raspbian Images


 
Pisces+MATE  
http://archive.raspbian.org/images/rpi_pisces_mate_r1.zip
Username  Password
root  raspbian
raspbian raspbian
Updated to the latest Raspberry Pi firmware and kernel as of June 19th 
Xorg and MATE desktop included 

 
Pisces R2 rpi_pisces_r2.zip
GNU C and C++ compilers included
Xorg and LXDE included, type "startx" to launch this after logging in 
Updated to the latest Raspberry Pi firmware and kernel as of 6th June
Username Password
root  raspbian
raspbian raspbian 
 
Hexxeh
http://distribution.hexxeh.net/raspbian/raspbian-r3.zip 222 MB image
LXDE and Xorg server now included, type "startx" to launch this after logging in
Updated to the latest Raspberry Pi firmware and kernel as of 13th May 
root/hexxeh 
 
Raspbian QEMU Image
raspbian_qemu_image.tar.bz2  
  * Built and tested with QEMU 1.0.1 on Windows 7.
  * QEMU emulated versatilepb with arm1136 (armv6) processor.
  * Image partitioned with 8GB ext3 filesystem with 512MB swap.
  * Suitable armv6 enabled kernel and initrd are provided.
  * Minimal install of Debian armhf.
  * build-essential and openssh packages installed.
  * System boots to networking with DHCP (QEMU config dependent).
  * Two user accounts on system:
    Username/Password: root/root raspbian/raspbian
 

raspi - Raspbian


Extract from

Raspbian


Raspbian is a free operating system based on Debian for the Raspberry Pi. An operating system is the set of basic programs and utilities that make your Rasberry Pi run.
Raspbian provides more than a pure OS: it comes with over 34,000 packages, pre-compiled software bundled in a nice format for easy installation on your Raspberry Pi. 

What is Raspbian?


Raspbian is an unofficial port of Debian Wheezy armhf with compilation settings adjusted to produce optimized "hard float" code that will run on the Raspberry Pi. This should provide significantly faster performance for applications that make heavy use of floating point arithmetic operations. 

The port is necessary because the official Debian Wheezy armhf release is compatible only with versions of the ARM architecture later than the one used on the Raspberry Pi (ARMv7-A CPUs and higher, vs the Raspberry Pi's ARMv6 CPU).

The official Debian Squeeze image issued by the Raspberry Pi foundation uses "soft float" settings. The foundation found it necessary to use the existing
Debian port for less capable ARM devices due to time and resource constraints during development of the Raspberry Pi. Therefore, it does not use of the Pi's processor's floating point hardware - reducing the Pi's performance during floating point intensive applications - or the advanced instructions of the ARMv6 CPU.

[..]

What compilation options should be set Raspbian code?


The compiler tools included in the Raspbian repository are, by default, pre-configured to produce code compatible with Raspbian. However, if you are looking to port compiler tools over to Raspbian, the settings required for most GNU tools are as follows:
  • -march=armv6
  • -mfpu=vfp
  • -mfloat-abi=hard
These settings produce code with armv6 specific instructions, vector floating point instructions and specify the ARM EABI where floating point values are to be passed in floating point registers. Additional information can be found in the Debian hard float documents.


raspi - distributions

Update: 20121029

Update: 20120730

20120624

RPi_Distributions

http://elinux.org/RPi_Distributions


raspi - pisection



Extract from

TheMagPi http://www.themagpi.com

raspi - TheMagPi


TheMagPi A Magazine for Raspberry Pi Users

Official website of The MagPi magazine.
http://www.themagpi.com

The MagPi, a community led magazine keeping you up to date with all things
Raspberry Pi.


ISSUE 01 - MAY 2012
http://issuu.com/themagpi/docs/the_magpi_issue_1_final?mode=window




ISSUE 02 - JUN 2012
http://goo.gl/PpW28




(draft version) ISSUE 3 - JUL 2012




2012-04-19

Slitaz-arm-20120418





slitaz-arm-20120418.img



SliTaz Razor-qt ISO




SliTaz Razor-qt ISO: http://is.gd/TazQT01

http://forum.slitaz.org/topic/your-qt-desktop-in-38mb
[..]
Ok packing KDE in 38Mb was a joke :-) But we seriously can provide a full QT desktop uneder 40Mb using the Razor-qt desktop environement and lightweight QT application. KDE is heavy but QT itself is not, I used KDE long time ago and with the slitaz-razorqt.iso I feel a bit like in clean KDE3 desktop!

By the way, the ISO is built with all latest packages from Tank including new Glibc 2.14.1 and Kernel 3.2.14 for those who want to give it a try before I sync the mirror.
WARNING: This a beta ISO, not yet complet but usable.
[..]


2012-04-09

Slitaz-4.0-RC3




 Update:

SliTaz 4.0 RC3 is out — 18 Mar 2012 (34.5M)
http://mirror.slitaz.org/iso/cooking/slitaz-4.0-RC3.iso

SliTaz 4.0 Releases Notes (draft)
http://doc.slitaz.org/relnotes

Overview/ChangeLog

Welcome to SliTaz 4.0! Modern, secure, stable, fast and flexible the new SliTaz stable version is now out for Desktops and servers in production use.

More than 6500 commits in the wok
More than 1000 packages added to database
Boot in 10 seconds [or less?] on a very recent machine
Centralized configuration with the new control panel
New build tool which lets you create SliTaz packages in a minute
New rolling release ISO is built after each package cook
New installer

2012-04-07

Slitaz-arm-emergency - rcS

rcS

1.
# ls -l /etc/init.d
total 12
-rwxrwxr-x 1 0 0 986 Apr 4 2012 rcS
-rwxrwxr-x 1 0 0 599 Mar 27 2012 rcS~
-rwxrwxr-x 1 0 0 1200 Mar 27 2012 vchiq

2.
# cat /etc/init.d/rcS
#! /bin/sh

/bin/mount -a
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 10.0.2.15 up
/sbin/route add default gw 10.0.2.2
/bin/hostname raspberrypi

echo /sbin/mdev >/proc/sys/kernel/hotplug
# /sbin/mdev -s

/sbin/syslogd # circular buffer - use logread to read
/sbin/klogd # log kernel messages - also available in dmesg

# load kernel modules listed in /etc/modules
if [ -r /etc/modules ]; then
while read mod; do
modprobe $mod
done < /etc/modules
fi

# create vchiq device
# [ -x /etc/init.d/vchiq ] && /etc/init.d/vchiq start

echo
echo Greetings from standalone Raspberry Pi
echo

if [ -f /proc/cmdline -a -x /usr/local/bin/rpitestmode.sh ]; then
if grep rpitestmode /proc/cmdline > /dev/null; then
# wait for USB ennumeration to finish - otherwise test will fail
sleep 3
/usr/local/bin/rpitestmode.sh
fi
fi

# use an artificial SysRq-g to interrupt
# echo Attempting to enter the debugger! ....
# echo g > /proc/sysrq-trigger

2012-04-05

Slitaz-arm-emergency-2

# uname -a
Linux raspberrypi 3.1.9-slitaz #1 Wed Apr 4 15:55:17 UTC 2012 armv6l GNU/Linux

# du -sh /
6.5M /

# nslookup www.raspberrypi.org
Server: 10.0.2.3
Address 1: 10.0.2.3

Name: www.raspberrypi.org
Address 1: 93.93.128.176 www.raspberrypi.org
Address 2: 2a00:1098:0:80:1000:13:0:2

# busybox | head -1
BusyBox v1.18.4 (2012-04-04 05:58:32 UTC) multi-call binary.

# tazpkg | head -4
SliTaz packages manager - Version: 2.3

Usage: tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]
tazpkg shell

About SliTaz
http://www.slitaz.org/

SliTaz is an open source and free operating system providing a fully featured desktop or server in less than 35 MB. SliTaz is simple to use, fast and stable.