From owner-freebsd-arm@FreeBSD.ORG Mon Jul 29 17:58:27 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B774CF35; Mon, 29 Jul 2013 17:58:27 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 420F625B9; Mon, 29 Jul 2013 17:58:27 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 311BD7A10F; Mon, 29 Jul 2013 19:58:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 7D6388F08E9; Mon, 29 Jul 2013 19:58:30 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QHqor4BVr9Hw; Mon, 29 Jul 2013 19:58:29 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 73D1A8F08E8; Mon, 29 Jul 2013 19:58:29 +0200 (CEST) Subject: RE: My WLI-UC-GNM up crash From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Warner_Losh?= , =?utf-8?Q?Adrian_Chadd?= Date: Mon, 29 Jul 2013 19:58:29 +0200 Mime-Version: 1.0 In-Reply-To: <8AFE4FCA-BCAA-460C-ABFE-EC7FC2991B8C@bsdimp.com> References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-arm?= , =?utf-8?Q?freebsd-wireless=40freebsd=2Eorg?= X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 17:58:27 -0000 Hi,=0D=0A=0D=0AThe aligned will make sure that the structure gets padded = properly to the size specified. Only on ARM/MIPS etc, structures get auto= matically aligned according to the element in the structure requiring the= greatest alignment. I've test-compiled the USB WLAN drivers, and the ali= gned makes a difference. The problem is that the radiotap header skews so= me following elements, so that they are no longer aligned. The radiotap h= eader itself is packed, and this is not a problem.=0D=0A=0D=0A--HPS=0D=0A= =0D=0A=20=0D=0A-----Original message-----=0D=0A> From:Warner Losh >=0D=0A> Sent: Monday 29th July 2013 17:= 04=0D=0A> To: Adrian Chadd >=0D=0A> Cc: Hans Petter Selasky >; freebsd-arm >; freebsd-wireless@freebsd.org =20=0D=0A> Subject: Re: My WLI-UC-GNM up = crash=0D=0A>=20=0D=0A> Aren't structures already aligned to 4 bytes when = placed inside other structures (unless marked __packed)=3F=0D=0A>=20=0D=0A= > Warner=0D=0A>=20=0D=0A> On Jul 28, 2013, at 11:50 AM, Adrian Chadd wrot= e:=0D=0A>=20=0D=0A> > As long as that results in the radiotap structures = being 4 or 8 byte=0D=0A> > padded when it's embedded in the softc - then = yes, indeed.=0D=0A> >=20=0D=0A> > Xiao, can you try=3F=0D=0A> >=20=0D=0A>= >=20=0D=0A> > -adrian=0D=0A> >=20=0D=0A> > On 28 July 2013 03:35, Hans P= etter Selasky > wrote:=0D=0A> >= > Hi,=0D=0A> >>=20=0D=0A> >> Can you try the attached patch=3F=0D=0A> >>=20= =0D=0A> >> --HPS=0D=0A> > _______________________________________________= =0D=0A> > freebsd-arm@freebsd.org maili= ng list=0D=0A> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm =20=0D=0A> > To unsu= bscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org "=0D=0A>=20=0D=0A>=20=0D=0A=0D=0A From owner-freebsd-arm@FreeBSD.ORG Mon Jul 29 18:19:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B75BB4A3 for ; Mon, 29 Jul 2013 18:19:16 +0000 (UTC) (envelope-from hans.stimer@gmail.com) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FCD926B5 for ; Mon, 29 Jul 2013 18:19:16 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id y11so227576pdj.14 for ; Mon, 29 Jul 2013 11:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=dO4c3+0/zj/eZbkq65YpKV6LQeVnY4HBu2bdOTH7GNo=; b=a8qnu9hTt+D2RNk71WcIBudACVjg6wB8pVFvibLY5oZ5GYdTb4uRz4FQjA7V8yLhMn UFfCc0nkurXKGmCE7rARi70DMrTPQUvzTI9AS3n0/dOYG7RSVbvx7hLr6aLcVTFbLEfx YOrc4N8GZplsEkIUnuMvP7vdsMzhXeAMNIPPzHBwhiZgQSAzQhVSeGftqKmZ52K+ccvQ g/1KveQ5Hqc0LB+1iuUU8qgVlOatwhFq2tZrWlXWIDqOvdmSt5DLBnSpHM4Ue9+0plFt RorZqoaa7L9taeNzLVqCS1SWMDyAlxlrOStHahw1qC6PQW2zotIO4NpeHbSXw2SEyC7t TbUQ== X-Received: by 10.68.29.2 with SMTP id f2mr69623033pbh.184.1375121956161; Mon, 29 Jul 2013 11:19:16 -0700 (PDT) Received: from oli-mp51.local (70-90-170-37-ca.sfba.hfc.comcastbusiness.net. [70.90.170.37]) by mx.google.com with ESMTPSA id eq5sm78303612pbc.15.2013.07.29.11.19.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 29 Jul 2013 11:19:15 -0700 (PDT) Date: Mon, 29 Jul 2013 11:19:14 -0700 From: Hans Stimer To: Cc: Message-ID: In-Reply-To: References: Subject: freebsd-arm-tools vs. crochet-freebsd X-Mailer: Airmail (183) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="51f6b222_19495cff_2b7" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 18:19:16 -0000 --51f6b222_19495cff_2b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What is the difference between freebsd-arm-tools and=C2=A0crochet-freebsd= =3F * Which one is becoming the standard solution for crossbuilding to ARM an= d creating images=3F * Is one =22blessed=22 to become part of the standard freebsd distributio= n=3F * Do they serve different needs=3F --51f6b222_19495cff_2b7--