You are not logged in.
1. slitaz-arm?
Kernel version: 3.1.9
Architecture: armv6
2.
# uname -a
Linux slitaz 3.1.9-slitaz #1 Thu Mar 22 12:33:31 UTC 2012 armv6l unknown
3.
# du -sh /
1.6M
4.
# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 348.97
Features : swp half thumb fastmult edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : ARM-Versatile PB
Revision : 0000
Serial : 0000000000000000
5.
# dmesg | head
Linux version 3.1.9-slitaz (root@slitaz) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #1 Thu Mar 22 12:33:31 UTC 2012
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: VIPT aliasing data cache, unknown instruction cache
Machine: ARM-Versatile PB
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c0622808, node_mem_map c0640000
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8128 pages, LIFO batch:0
6.
# busybox | head -2
BusyBox v1.12.0 (2012-03-21 23:44:08 UTC) multi-call binary
Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
[attachment=7985,377] [attachment=7985,378]
Offline
Hi pankso,
slitaz-arm.img : kernel+initramfs
1. download
# wget http://dl.dropbox.com/u/1024195/qemu-1.0.1.tazpkg
# wget http://dl.dropbox.com/u/1024195/qemu-arm-1.0.1.tazpkg
# wget http://dl.dropbox.com/u/1024195/slitaz-arm.img (3.3M)
2. install qemu & qemu-arm
# tazpkg install qemu-1.0.1.tazpkg
# tazpkg install qemu-arm-1.0.1.tazpkg
3. boot
# qemu-system-arm -M versatilepb -cpu arm1176 -kernel slitaz-arm.img &
Enjoy it.
Offline
so we can dream about SliTaz for arm soon? My Seagate FreeAgent is waiting for it -
and pankso, I have also one for you, if you want it.....
when I see the processor load of tank server - I think you could use the dockstar for it???
Offline
Impressive work , any specific platform you used for this work ? How much ram is there on your system ?
I'm running a cortex A8, which can be compiled with Hard Float. Could I recompile the system with the packages you provided? I'm somewhat new to slitaz.
Offline
network
1.
# ifconfig lo 127.0.0.1
# ifconfig eth0 10.0.2.15
# route add default gw 10.0.2.2
2.
# ping -c 3 10.0.2.2
PING 10.0.2.2 (10.0.2.2): 56 data bytes
64 bytes from 10.0.2.2: seq=0 ttl=255 time=7.460 ms
64 bytes from 10.0.2.2: seq=1 ttl=255 time=0.308 ms
64 bytes from 10.0.2.2: seq=2 ttl=255 time=0.311 ms
--- 10.0.2.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.308/2.693/7.460 ms
3.
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.0.0.0
inet6 addr: fe80::5054:ff:fe12:3456/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:358 (358.0 B) TX bytes:804 (804.0 B)
Interrupt:25 DMA chan:ff
@ngcoders
-Computer-
Processor : 2x Pentium(R) Dual-Core CPU E6300 @ 2.80GHz
Memory : 3339MB (424MB used)
Operating System : Slitaz GNU/Linux cooking
User Name : tux (Linux User)
Date/Time : 西元2012年03月24日 (週六) 12時48分35秒
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Software Rasterizer
Offline
Hi techzilla,
Ref:
Cortex A8 ARM features
http://www.elinux.org/BeagleBoard#Cortex_A8_ARM_features
ARM Cortex-A8 in OMAP3 is a high performance dual-issue applications processor which reaches a performance of 2.0 DMIPS/MHz (compared to ARM11 at 1.2 DMIPS/MHz). It is ARM v7 architecture, which is fully backwards compatible with application code for previous ARM processors.
Offline
slitaz-arm-20120324.img
http://dl.dropbox.com/u/1024195/slitaz-arm-20120324.img (3.4M)
update
busybox: 1.18.4
network
hostname
top
[attachment=8130,379]
Offline
Greetings from standalone Raspberry Pi
1. slitaz_emergency.img is based on kernel_emergency.img
Additional files supplied by the foundation
http://elinux.org/RPi_Advanced_Setup#Additional_files_supplied_by_the_foundation
kernel_emergency.img : kernel with busybox rootfs. You can use this to repair the main linux partition using e2fsck if the linux partition gets corrupted.
2. download
# wget http://dl.dropbox.com/u/1024195/slitaz_emergency.img (5.2M)
3. boot
# qemu-system-arm -m 256 -M versatilepb -cpu arm1176 -kernel slitaz_emergency.img &
[attachment=8542,403]
Offline
What format is the slitaz-arm-*.img in? I want to extract it so I can boot it on my RaspberryPi.
Also, the slitaz_emergency.img link is dead - Error 404: Not found. Please could that be reuploaded?
Offline
Hi kvarley,
From the time this post was made we have done a huge work on SliTaz ARM port and it have it's own cooker/builder as well as around 60 packages. I also code a new tool called sat (Slitaz ARM Tool) to create bootable rootfs. If you ok with cmdline you can create your own SliTaz ARM distro in a few commands, then boot the rootfs (you can extract it but you can also boot the kernel/rootfs as it to get a live session). Sat create cpio initramfs compressed with gzip (less compression but faster) or xz (more compression but slower to uncompress). Sat will use all packages in a dir, create a distro and the compressed initramfs, the distro tree can also be copied on a sd card to be used as an installed system (not live mode). In short: clone slitaz-arm repo, get packages from our build host and gen a distro:
$ hg clone http://hg.slitaz.org/slitaz-arm
$ cd slitaz-arm
$ ./sat mirror
Copy the packages you want to include in the distro from mirror/ to packages/ then become root and generate the distro (use --kmap to include our current keymap config or you will get default US)
# ./sat gen --kmap --spk
I use spk to manage packages, in the repo we have ssh, text editor, web browser, web server and file manager = minimum to work. When booted you can install packages with:
# spk-up
# spk-add clex
Here is the slitaz-arm and sat README: http://hg.slitaz.org/slitaz-arm/raw-file/tip/README
And here is the ARM cooker: http://cook.slitaz.org/cross/arm/
[attachment=10798,502]
If creating your own distro with sat is too complicated, no problem I can upload a kernel and rootfs.gz on SliTaz mirror (I will do it in time but now we need test on real harware, since I only booted SliTaz ARM via Qemu-system-arm).
PS: the SliTaz ARM kernel is patched for Qemu but NOT the RaspberryPy, we still need to create a custom package
Offline
I've tried launching SliTaz ARM on Wondermedia WM8650 netbook with kernel built from vendor sources. Unfortunately, ARM cooker seems to be targeted to ARMv6, while it's ARMv5. Replacing busybox helped me to "boot" the system (no init found otherwise), but I still need to recook everything with "-march=armv5t".
I'm trying to build a toolchain using cross tool now. Also, it would be nice to have native ARM gcc on target system to slowly compile packages not cross-compiling yet.
Offline
I have successfully booted slitaz on my raspberry pi, using sat and the wheezy kernel from the debian image. I'll upload the .img and other data shortly, but this is basically how I did it:
-clone the repo
-create a rootfs using sat with all packages
-dd the boot partition of http://downloads.raspberrypi.org/images/debian/7/2012-06-18-wheezy-beta.zip to SD card
-fill the rest of the SD card with an ext4 partition and extract the rootfs on it
Known problems are:
-setting the hardware clock fails because the raspberry pi doesn't have one
-sound isn't configured because there's no driver
-the raspberry pi logo stays on the top left corner after boot (solved by executing "clear")
Offline
Great news ; congratulations. SliTaz should make these ( http://goo.gl/E9STu ) 'headless servers' even more useful ...
Looking forward to the img and other data
Offline
As I'm typing this message, the image is being uploaded to my dropbox account. the image is a bit less than 2GB. After dd-ing it to your SD-card, be sure to resize the root fs, because it is very small by default, so even people with less then 2Gb can use it, although dd will complain there's not enough room.
Unfortunately, there's also bad news:
The Slitaz Cross Cooker (http://cook.slitaz.org/cross/arm/) hasn't cooked anything for nearly 2 months. Also, I've been unable to get "cook" to compile anything on the raspberry pi:It keeps complaining that the package cross isn't installed. The problem is cross is completely useless when your build system is the same is the host system. I'll try to fix this as soon as I can.
Offline
The first alpha image is ready! You can download the image file from http://sourceforge.net/projects/pitaz/files/Images/pitaz.img
note that the image has very little free space, so you should resize the ext4 partition after dd-ing it.
Offline
The booting problems are now gone after I used a Class 4 SD card. ( RPi appears to have problems with ultra high speed SD cards)
Worked as expected for an alpha image.
after logging in with root/root, confirmed that the network connection was working.
'tazpkg recharge' gave 'segmentation fault' & ' Main is up to date'.
'starx' did not work , so no GUI.
df gave that only 3% (117,480 1k blocks) of a 4GB card was in use. RAM (1k) use was 9980 out of 188,104.
Looking forward to the next release ( alpha 2 ?)
Thanks
Offline
Thanks for the reply, I was beginning to think that this topic had been forgotten. The arm cooker build bot is still doing nothing at all, and I can't get cook to compile anything for arm. I have been trying hard for a couple of days now to turn the raspberry pi into an arm cooker, but I can't compile the slitaz-toolchain for it. Maybe a Slitaz developer can upload the precompiled toolchain, which has been compiled by the arm cooker, but isn't publicly available?
Offline
Yes, that would be nice. Tried & failed to fetch sat using 'tazpkg get-install sat'
Saw this earlier in the thread , from pankso, "If you ok with cmdline you can create your own SliTaz ARM distro in a few commands, then boot the rootfs (you can extract it but you can also boot the kernel/rootfs as it to get a live session)" . From where can I get sat (Slitaz ARM Tool)to have a go at a SliTax for MK802+ ?
Also, SliTaz for Raspberry Pi, listed here http://elinux.org/index.php?title=RPi_Distributions&oldid=157724 , appears to be unavailable .
So the wait continues .....
Offline
you can build your own rootfs (without raspberry pi boot partition).
Execute these commands on a regular slitaz install (not on your raspberry pi)
hg clone http://hg.slitaz.org/slitaz-arm #this command downloads sat
cd slitaz-arm
./sat mirror
cp mirror/* packages/
./sat gen --kmap
this creates a rootfs with a seperate kernel for qemu.
You can extract the rootfs and add an appropriate kernel to boot on your system or load the rootfs as initrd and pass "root=/dev/ram" to the kernel.
To boot slitaz-arm on a system other than raspberry pi make sure it's armv6, not armv5 or the newer armv7
Offline
Thank you.
May be I am doing something wrong, there are some problems. The first one ./sat mirror
( 'line 8:' can't open /lib/libtaz.sh' ) went away after removing the the first dot on line 8 of 'sat'.
Here is the look of the screen now:
----------------------------------------------------------------------
root@slitaz:~/slitaz-arm# ./sat mirror
./sat: line 8: /lib/libtaz.sh: not found
wget: can't connect to remote host (213.3.10.214): No route to host
Mirror is unreachable./sat: line 211: status: not found
cat: can't open 'ID': No such file or directory
Fetching: packages.listwget: can't connect to remote host (213.3.10.214): No route to host
./sat: line 211: status: not found
Fetching: packages.descwget: can't connect to remote host (213.3.10.214): No route to host
./sat: line 211: status: not found
Fetching: packages.md5wget: can't connect to remote host (213.3.10.214): No route to host
./sat: line 211: status: not found
Checking packages ...cat: can't open '/root/slitaz-arm/mirror/packages.list': No such file or directory
./sat: line 211: status: not found
root@slitaz:~/slitaz-arm#
-------------------------------------------------------------------------------
Is 213.3.10.214 the remote host ip ?
Offline
Found the missing bits & guess the mirror is down
-----------------------------------------------
wget: can't connect to remote host (213.3.10.214): No route to host
Mirror is unreachable. [Fauiled]
------------------------------------------------
Offline
Read the sticky post @ http://forum.slitaz.org/topic/what-to-do-if-tazpkg-or-slitaz-panel-wont-download-and-install-packages - It tells you how to select and use an alternative mirror.
Offline
I've got cross compiling working now. Yesterday I compiled glibc-base, which is one of the dependencies of binutils. I was trying to compile the toolchain for arm, but got stuck at glibc-dev. When I looked at the receipt of the package, I noticed that it should copy some files over from the install to the fs folder, but install is a nonexistent directory. This results in an empty package.
I'll try to contact pankso, as he is the maintainer of glibc-dev.
Offline
[ Generated in 0.019 seconds, 8 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]