From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 X-Virus-Scanned: amavisd-new at velesys.com Date: Mon, 28 Jan 2008 14:23:51 +0200 From: "Kirill A. Shutemov" To: devel-ports@lists.altlinux.org Message-ID: <20080128122351.GA11399@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline X-Operating-System: ALT Linux Sisyphus (20071221) (Kernel 2.6.24-rc8) User-Agent: Mutt/1.5.17 (2007-11-01) Subject: [devel-ports] ALT ARM Build HOWTO X-BeenThere: devel-ports@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux arch porting List-Id: ALT Linux arch porting List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 12:21:58 -0000 Archived-At: List-Archive: --ibTvN161/egqYuK8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 0. Prerequires =D0=94=D0=BB=D1=8F =D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8 =D0=BF=D0=BE=D0=B4 = ARM =D1=81 =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0= =BD=D0=B8=D0=B5=D0=BC QEmu =D1=82=D1=80=D0=B5=D0=B1=D1=83=D0=B5=D1=82=D1=81= =D1=8F: - qemu-user-static - =D1=87=D0=B5=D0=BC =D0=BD=D0=BE=D0=B2=D0=B5=D0=B5, = =D1=82=D0=B5=D0=BC =D0=BB=D1=83=D1=87=D1=88=D0=B5 - =D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9 hashe= r >=3D 1.2.6-alt1 - rpm >=3D 4.0.4-alt80 - =D1=80=D0=B5=D0=BF=D0=BE=D0=B7=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D0=B9 =D0= =BF=D0=BE=D0=B4 ARM. =D0=9C=D0=BE=D0=B6=D0=BD=D0=BE =D0=B2=D0=B7=D1=8F=D1= =82=D1=8C =D1=82=D1=83=D1=82:=20 ftp://ftp.altlinux.org/pub/people/kas/arm - =D1=8F=D0=B4=D1=80=D0=BE =D1=81 =D0=BF=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0= =B6=D0=BA=D0=BE=D0=B9 binfmt_misc(=D0=B2=D0=BE =D0=B2=D1=81=D0=B5=D1=85 =D1= =8F=D0=B4=D1=80=D0=B0=D1=85 =D0=B2 =D0=A1=D0=B8=D0=B7=D0=B8=D1=84=D0=B5 =D0= =B5=D1=81=D1=82=D1=8C =D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8C) 1. Configuring binfmt_misc =D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=B0=D0=B8=D0=B2=D0=B0=D0=B5=D0=BC binfmt_m= isc: - =D0=BC=D0=BE=D0=BD=D1=82=D0=B8=D1=80=D1=83=D0=B5=D0=BC =D1=84=D0=B0=D0=B9= =D0=BB=D0=BE=D0=B2=D1=83=D1=8E =D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D1=83 b= infmt_misc(=D0=B5=D1=81=D0=BB=D0=B8 =D0=B5=D1=89=D1=91 =D0=BD=D0=B5 =D0=BF= =D1=80=D0=B8=D0=BC=D0=BE=D0=BD=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0= =B0) # mount -t binfmt_misc none /proc/sys/fs/binfmt_misc - =D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B8=D1=80=D1=83=D0=B5=D0=BC = qemu-arm, =D0=BA=D0=B0=D0=BA =D0=B8=D0=BD=D1=82=D0=B5=D1=80=D0=BF=D1=80=D0= =B5=D1=82=D0=B0=D1=82=D0=BE=D1=80 ARM'=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D1=85 = ELF'=D0=BE=D0=B2: # echo ":arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02= \x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\x= ff\xfe\xff\xff\xff:/.host/qemu-arm:" > /proc/sys/fs/binfmt_misc/register =D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C =D0=BF=D1=80=D0=B8 =D0=BF=D0=BE=D0=BF= =D1=8B=D1=82=D0=BA=D0=B5 =D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8=D1=82= =D1=8C ELF =D0=B4=D0=BB=D1=8F ARM, =D1=8F=D0=B4=D1=80=D0=BE =D0=B1=D1=83=D0= =B4=D0=B5=D1=82 =D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0=D1=82=D1=8C /.ho= st/qemu-arm. =D0=98=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE =D0=BF=D0=BE =D1=8D=D1=82=D0=BE=D0=BC= =D1=83 =D0=BF=D1=83=D1=82=D0=B8 =D0=B1=D1=83=D0=B4=D0=B5=D1=82 =D0=BB=D0=B5= =D0=B6=D0=B0=D1=82=D1=8C =D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=87=D0=B5=D1=81= =D0=BA=D0=B8 =D1=81=D0=BE=D0=B1=D1=80=D0=B0=D0=BD=D0=BD=D1=8B=D0=B9 qemu-ar= m =D0=B2=D0=BD=D1=83=D1=82=D1=80=D0=B8 =D1=87=D1=80=D1=83=D1=82=D0=B0, =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B9 =D1=81=D0=BE=D0=B7=D0=B4=D0=B0= =D1=81=D1=82 hasher. 2. APT sources.list =D0=9F=D0=B8=D1=88=D0=B5=D0=BC sources.list. =D0=A7=D1=82=D0=BE-=D1=82=D0= =BE =D1=82=D0=B8=D0=BF=D0=B0: rpm ftp://ftp.altlinux.org/pub/people/kas/arm/sisyphus arm hasher rpm ftp://ftp.altlinux.org/pub/people/kas/arm/patched arm hasher rpm ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch class= ic =D0=9C=D0=BE=D0=B6=D0=BD=D0=BE =D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D1=82= =D1=8C =D0=BF=D1=80=D1=8F=D0=BC=D0=BE =D0=B2 /etc/apt/sources.list, =D0=BD= =D0=BE =D0=BB=D1=83=D1=87=D1=88=D0=B5 =D0=BF=D0=BE=D0=BB=D0=BE=D0=B6=D0=B8= =D1=82=D1=8C =D0=B2 =D1=81=D1=82=D0=BE=D1=80=D0=BE=D0=BD=D0=BA=D0=B5, =D0=B8 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D1=82=D1=8C =D0=BE=D1=82=D0=B4=D0=B5= =D0=BB=D1=8C=D0=BD=D1=8B=D0=B9 apt.conf, =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1= =8B=D0=B9 =D0=BF=D0=BE=D0=B4=D1=81=D0=BE=D0=B2=D1=8B=D0=B2=D0=B0=D1=82=D1= =8C hasher'=D1=83. =D0=9C=D0=BE=D0=B6=D0=BD=D0=BE =D0=B7=D0=B0=D0=BC=D0=B5=D1=82=D0=B8=D1=82= =D1=8C, =D1=87=D1=82=D0=BE =D1=80=D0=B5=D0=BF=D0=BE=D0=B7=D0=B8=D1=82=D0=BE= =D1=80=D0=B8=D1=8F =D0=B4=D0=B2=D0=B0. =D0=92 sisyphus =D0=BF=D0=BE=D0=BF= =D0=B0=D0=B4=D0=B0=D1=8E=D1=82 =D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D1=8B, =D0=BA= =D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B5 =D0=BF=D0=B5=D1=80=D0=B5=D1=81=D0=BE=D0=B1=D1=80=D0=B0=D0=BD=D1=8B =D0=B8= =D0=B7 =D0=A1=D0=B8=D0=B7=D0=B8=D1=84=D0=B0 "=D0=BA=D0=B0=D0=BA =D0=B5=D1= =81=D1=82=D1=8C". =D0=92 patched, =D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D1=8B =D0= =B2 =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B5 =D0=B2=D0=BD=D0=BE=D1=81=D0= =B8=D0=BB=D0=B8=D1=81=D1=8C=20 =D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F. 3. Hasher =D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C =D0=B2=D1=81=D1=91 =D0=B3=D0=BE=D1=82= =D0=BE=D0=B2=D0=BE. =D0=9C=D0=BE=D0=B6=D0=BD=D0=BE =D0=B8=D1=81=D0=BF=D0=BE= =D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C hasher: hsh --with-qemu=3Darm --target=3Darm --apt-config=3D/path/to/apt-arm.conf f= oo.src.rpm --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys Ltd, http://www.velesys.com/ + ALT Linux Team, http://www.altlinux.com/ --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkedyVcACgkQbWYnhzC5v6qcMACfdHA+t9O1AZVoQ1hT5bui9van 9l8An2pMPQm3ZwFEspAYb/gNM6bwLzzm =jWuz -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--