vi /etc/environment and /etc/default/locale:
LANG="C"
LANGUAGE="C"
2012-06-26
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
: 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 - 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
2012-06-25
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 - 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