From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2840 invoked by alias); 3 Mar 2016 15:58:25 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 2829 invoked by uid 89); 3 Mar 2016 15:58:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=A53, a53, cortex, blind X-HELO: mail-pa0-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 03 Mar 2016 15:58:22 +0000 Received: by mail-pa0-f45.google.com with SMTP id fl4so16873437pad.0 for ; Thu, 03 Mar 2016 07:58:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=BUrUbdLnhPSS6HXPSmJuHZz8vQEcoe0zeidZrv2vct0=; b=Kc3fkehwTBJo0lyMUln9hFeb+3DlvMcoNct8cpA/NpSlKBZJ8Fy4mra0HIpWV2cMlX eLwMK9K03+0W9HXLBGm7PQCbD8VVgto6sfPwy9K+YCTwNWLZr/J9V3pg23oFwM1TByek L/pzK7KS9MBV9923Pk48eLD2UeS8mU4a2EOcGhWGENcFS8NW7gzAKtYqgpktFW4J3tS0 8CnyHcwZlCMIipOorks6GLJJ89x4k0eVpfQC+LhsKeZkpIzHiGiurkhXGevo6cOW1b/h Aj58ndT3KiOreDN1/W6QsZflcwOYY4E8JxOZnWyh5GGel378rbbNOK8N3i/TgTXPxa8O v7Fg== X-Gm-Message-State: AD7BkJJYSEJwL84w9IqYERfRubEVJ0kvBTn7VVYWBMjQM8pf77p3dVrred13JWEJMJlMow== X-Received: by 10.66.129.130 with SMTP id nw2mr4726805pab.80.1457020700586; Thu, 03 Mar 2016 07:58:20 -0800 (PST) Received: from ?IPv6:2601:603:500:c9:e147:3afd:d246:205e? ([2601:603:500:c9:e147:3afd:d246:205e]) by smtp.gmail.com with ESMTPSA id y15sm61516242pfi.16.2016.03.03.07.58.19 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Mar 2016 07:58:19 -0800 (PST) Subject: Re: [crosstool-ng/crosstool-ng] bc9ed3: Adds Raspberry Pi 3 sample config Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C9453CDB-0D96-44B3-A6FC-C18592D76BEC"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.6b2 From: Bryan Hundven In-Reply-To: <56D85DBB.5040802@raspberryvi.org> Date: Thu, 03 Mar 2016 15:58:00 -0000 Cc: crossgcc@sourceware.org Message-Id: <5F16F837-8600-46CD-9267-34C06E615BB4@gmail.com> References: <56d749014b573_18513ffd5c4f72b8239711@hookshot-fe2-cp1-prd.iad.github.net.mail> <56D77C91.9010202@raspberryvi.org> <962659A2-72C0-40B2-8C16-E800EFF01337@gmail.com> <56D7D853.2020306@raspberryvi.org> <426CA27D-9258-4CF7-877A-C0F53E37CD2A@gmail.com> <836B878B-7477-460D-916B-8EA03807298A@gmail.com> <56D85DBB.5040802@raspberryvi.org> To: mike@raspberryvi.org X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00010.txt.bz2 --Apple-Mail=_C9453CDB-0D96-44B3-A6FC-C18592D76BEC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Content-length: 5486 > On Mar 3, 2016, at 7:52 AM, Mike Ray wrote: >=20 > Hello Bryan. >=20 > I'll see if I can tweak the config myself at the same time. But because > I'm blind I don't find menuconfig (or other curses apps) all that easy > to use. Incidentally apologies for top-posting but that's another thing > with not being able to see...and a bit lazy. I think the toolchain built here should work fine, I=E2=80=99m just saying = that the platform itself might need a little love. When I get my rpi3, I=E2= =80=99ll definitely be wanting to running the test-suite on it asap. >=20 > But there's plenty of ARM Cortex A53 stuff online so I might be able to > just use one of the other configs to hack it. >=20 > Mike PS: it=E2=80=99s hard to keep context of the message when you top post. Ple= ase don=E2=80=99t top post. :) https://en.wikipedia.org/wiki/Posting_style >=20 > On 03/03/2016 15:19, Bryan Hundven wrote: >>=20 >>> On Mar 3, 2016, at 4:45 AM, Bryan Hundven wrot= e: >>>=20 >>>=20 >>>> On Mar 2, 2016, at 10:23 PM, Mike Ray wrote: >>>>=20 >>>> Hello. >>>>=20 >>>> Good to know it's not just me being an idiot! I was hoping to use a >>>> toolchain generated with ct-ng to build a 64-bit root file-system using >>>> buildroot or just using the toolchain with cross-LFS. >>>=20 >>> Indeed! That=E2=80=99s the spirit! :) >>>=20 >>>>=20 >>>> I will continue to tinker and at the same time wait to see if there are >>>> changes to this sample. >>>=20 >>> There may only be one change to the sample, one line added, but the rea= l change will happen in two files (maybe 3). And really, they aren=E2=80=99= t big changes. >>>=20 >>>>=20 >>>> It's true that at the moment there are only 32-bit images available. I >>>> expect ArchARM to come up with a 64-bit image soon enough though. >>>=20 >>> Indeed, but someone has to push the edge and give it a go? >>>=20 >>> I need to get myself a PI3. I have to wait till the 15th to order mine,= but that doesn=E2=80=99t mean I can=E2=80=99t start getting ct-ng there. I= know there are others out there waiting for aarch64 support, so let=E2=80= =99s do this. >>>=20 >>>>=20 >>>> Mike >>>=20 >>> Cheers, >>>=20 >>> -Bryan >>=20 >> Well, I feel like I totally missed the mark yesterday. I didn=E2=80=99t = realize RPI3 was a 64-bit cpu, and I assumed ct-ng did not have aarch64 sup= port. 0/2=E2=80=A6 >>=20 >> On the plus side, I have something to test: >> https://github.com/crosstool-ng/crosstool-ng/pull/362 >>=20 >> Now, the hard part. You can=E2=80=99t run 64-bit binaries on 32-bit. >> Also, I=E2=80=99m not sure if you can boot aarch64 from a 32-bit bootloa= der? >> So you may have to start with making u-boot? >>=20 >> I wish I had an RPI3, so I could help with that, but for now I=E2=80=99l= l just have to be patient and wait to hear your progress. If you do make pr= ogress, and need help, post a git repo somewhere and I=E2=80=99ll try to he= lp if I can. >>=20 >> -Bryan >>=20 >>>=20 >>>>=20 >>>>=20 >>>> On 03/03/2016 00:28, Stefan Hallas Mulvad wrote: >>>>> Hi Bryan, >>>>>=20 >>>>> I did test this, but at this time there=E2=80=99s (to my knowledge) n= o os images available which supports 64 bit. Mine came with 32 bit raspbian, >>>>>=20 >>>>> The chip is capable of running in both 32/64 bit mode - but 64 bit mu= st come down the road as software becomes available. >>>>>=20 >>>>> Best regards, >>>>> Stefan Mulvad >>>>>=20 >>>>>=20 >>>>>> On Mar 2, 2016, at 4:22 PM, Bryan Hundven w= rote: >>>>>>=20 >>>>>> Hello Mike, >>>>>>=20 >>>>>>=20 >>>>>>> On Mar 2, 2016, at 3:51 PM, Mike Ray wrote: >>>>>>>=20 >>>>>>> Hello. >>>>>>>=20 >>>>>>> I have used this sample to build a toolchain. >>>>>>>=20 >>>>>>> However I get 32-bit executables and the '-m64' switch is not recog= nized. >>>>>>=20 >>>>>> Sometimes, I expect that when people open pull-requests that they ac= tually test what they submit and I don=E2=80=99t have to do any work. >>>>>>=20 >>>>>> Today I failed at that. Yeay! >>>>>>=20 >>>>>> Arm64/aarch64 is kind of a new thing in crosstool-NG, and isn=E2=80= =99t well supported. >>>>>>=20 >>>>>> I took the pull-request for the sample without looking at the specs = for the new raspberry pi 3. I had no clue it was 64-bit. >>>>>>=20 >>>>>> Looks like I will have to take some time and get this going. >>>>>>=20 >>>>>>>=20 >>>>>>> There is obviously a gap in my knowledge which I can't seem to find= an >>>>>>> answer for on Google. >>>>>>>=20 >>>>>>> Can I compile a 64-bit executable? If so, how? >>>>>>>=20 >>>>>>> Thanks for any help. >>>>>>>=20 >>>>>>> Mike >>>>>>>=20 >>>>>>>=20 >>>>>>=20 >>>>>> Thanks for reporting this issue! >>>>>>=20 >>>>>> https://github.com/crosstool-ng/crosstool-ng/issues/361 >>>>>>=20 >>>>>> Cheers, >>>>>>=20 >>>>>> -Bryan >>>>>=20 >>>>=20 >>>>=20 >>>> -- >>>> Michael A. Ray >>>> Analyst/Programmer >>>> Witley, Surrey, South-east UK >>>>=20 >>>> Eyes-free Linux: >>>> http://eyesfreelinux.ninja/ >>>>=20 >>>> Raspberry VI: >>>> http://www.raspberryvi.org/ >>>>=20 >>>>=20 >>>> -- >>>> For unsubscribe information see http://sourceware.org/lists.html#faq >>>>=20 >>>=20 >>=20 >=20 >=20 > -- > Michael A. Ray > Analyst/Programmer > Witley, Surrey, South-east UK >=20 > Eyes-free Linux: > http://eyesfreelinux.ninja/ >=20 > Raspberry VI: > http://www.raspberryvi.org/ >=20 >=20 > -- > For unsubscribe information see http://sourceware.org/lists.html#faq >=20 --Apple-Mail=_C9453CDB-0D96-44B3-A6FC-C18592D76BEC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail Content-length: 496 -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJW2F8aAAoJEMrXyPw1uHHRlFkH/0Pa8yMSuztvnXRZyTrDwfZc GXlVNudqYlFv6JenDPq3ytIgW8Dbi9OpfyJOo2zwAkimTDjnzgSoJhUc+VdKgiQl 7uosiwqluQowZij2Z8eb0egA6umMdzo48byppBlFJppneIcflOSRHLxwt9yat5QR YDmjWV838/XsYMPvnuXVG6gz3aRkIDwdCyjVS/x1KCInB5w844AhkWrVV0PGez7v W0vjBc4Z8YU0P0DfTL6CVCfr7xrDSJ3Y2NaIulqpWDiIzE+KdHU+2O4WVvH9JSYZ zcjg4PlSyRXV9zHwd2RJTuz247E5yQdusalC1dT4j1ZIdFcx841HLvgZ8ZJ+LjA= =m96v -----END PGP SIGNATURE----- --Apple-Mail=_C9453CDB-0D96-44B3-A6FC-C18592D76BEC--