2014-08-11

slitaz-roll-core64 VS. slitaz-x86_64


slitaz-roll-core64 VS. slitaz-x86_64
Diff slitaz-roll-core64 * slitaz-x86_64 **
Core (kernel,modules) 64bits 64bits
packages 32bits 64bits (32bits TODO)
toolchain uclibc-cross-compiler-x86_64 slitaz-x86_64-toolchain (gcc-4.6.3)
INITRAMFS_SOURCE initrd.cpio ""
.config linux-slitaz.config64 config-3.2.0-4-amd64

Note:
* slitaz-roll-core64
1. Distro: rolling-core64
http://cook.slitaz.org/cookiso.cgi?distro=rolling-core64

Description: 64 bits kernel with a fully featured 32 bits desktop.


2. receipt
http://cook.slitaz.org/cooker.cgi?receipt=linux
[..]
# The Linux receipt handle cross compilation. For x86_64 we actually use
# the uclibc-cross-compiler-x86_64
[..]
# Build bzImage64 with modules
cp -f $stuff/$PACKAGE-slitaz.config64 .config
echo -e "\n* Configure bzImage64 with modules...\n"
yes '' | make ARCH=x86_64 oldconfig

echo -e "\n* Building bzImage64 with modules...\n"
make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage &&
make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- modules &&


3. linux-slitaz.config64
http://cook.slitaz.org/cooker.cgi?stuff=linux/stuff/linux-slitaz.config64

[..]
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="initrd.cpio"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0



** slitaz-x86_64

1. slitaz-x86_64
http://alanyih.blogspot.com/2014/05/slitaz-x8664.html
root@slitaz:~# uname -a
Linux slitaz 3.2.53-slitaz #1 SMP Wed Jan 1 18:22:13 UTC 2014 x86_64 GNU/Linux

[ 0.000000] Linux version 3.2.53-slitaz (root@slitaz) (gcc version 4.6.3 (SliTaz) ) #1 SMP Wed Jan 1 18:22:13 UTC 2014

root@slitaz:~# file /lib/libc-2.13.so
/lib/libc-2.13.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped

2. config-3.2.0-4-amd64:
extract from Debian linux-image-3.2.0-4-amd64