From owner-freebsd-mips@freebsd.org Thu Feb 4 22:39:45 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16007A9CEE6 for ; Thu, 4 Feb 2016 22:39:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D78BCD0D for ; Thu, 4 Feb 2016 22:39:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x231.google.com with SMTP id f81so109610745iof.0 for ; Thu, 04 Feb 2016 14:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=1Hg4zDgXvUahHHBh4YVg/QtISW6q3tCobLm00xuMdO8=; b=gTywgb6ZNDkp5B+hTOcRb649+GwlA4fhzngh6CO8TloRuVU6halWliYUNPmfK+P5nQ qOG6qW1ot4cMZPD0oDSyWvgcw3FIn+BbiAmw/x+lSuR+zaPZmzp84/5VSl0KJdpJX/Ch IjcHDlzLNld1GyMEwVizK7mZk9RVgAVfY3vBxAw/AwKtEFYuzcITeeLNmplw3V+xPkuw pCWcyiC9tEIppgNI2q7fpogpnluj4UYvk7abvOshEg2hNUxZQ4bmR9XSBEw1mSAaDWxq O5zS8hFBhkrrYjQJD35U+r9ywJDQaKfeovK0kAmBi2vMKGSqn94Knk/EMtIOIGCwSufT iZfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1Hg4zDgXvUahHHBh4YVg/QtISW6q3tCobLm00xuMdO8=; b=hxfhvFeOPmlFh+RQunbWyp+uZHtb0Go/jBcoVVp5xsbJLmOBBPQcSfoQYz7wn9Vupg Ym9XRIDqCYrwaD3BePoO3iLPoWrA3F6iqZWM8BkXtWIUCw8wtv77vqsE9O3P3FERGIgs FbAuNoGYdpGzOi2zC1W+IveZ2C2wMlbh2+uKBNjU4oRG1cAMwq/E8eL+mKNcxfBq2zaQ BAzxWW6XWXP8zxpZ893+MwOmpCgVAHlqa4m6HxKFs3C7sEyMeUDuvx+aL1s/WifQmWWw 4agJnHfIQh3ZMgwXd+Cc2GubuR+la6UNjjNTnITyHqKXf6nSunnuDTWCprgMoeQnPzlJ RmCw== X-Gm-Message-State: AG10YOTU0ytDv9GyoBjz4Ji5+9+fbpbE1flErXnLUFsUgScTzktfDMWXenNsy/PZ4aaurfcdxnykSN9W6GwV1g== MIME-Version: 1.0 X-Received: by 10.107.132.142 with SMTP id o14mr11447146ioi.75.1454625584262; Thu, 04 Feb 2016 14:39:44 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.14.19 with HTTP; Thu, 4 Feb 2016 14:39:44 -0800 (PST) In-Reply-To: <658790.3177.qm@web101716.mail.ssk.yahoo.co.jp> References: <658790.3177.qm@web101716.mail.ssk.yahoo.co.jp> Date: Thu, 4 Feb 2016 14:39:44 -0800 X-Google-Sender-Auth: XA0_W2oCD-NRLYryehGyKhUzIq0 Message-ID: Subject: Re: CFI Byte order problem From: Adrian Chadd To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 22:39:45 -0000 Committed in 295284. Thanks! -a On 4 February 2016 at 07:31, Mori Hiroki wrote: > Hi. > > I build Current for AR9132. But don't recognize cfi flash memory. > I make debug write and found byte endian issue. I seem AR9132 > is byte swap in cfi flash memory by default. Current cif code is > byte swap on Big Endian machine. This is conflict. > > I make workaound by option for this problem. > > https://github.com/yamori813/freebsd/commit/2da6531d24e0d689763f25055420078a63a08baa > > Thanks. > > Hiroki Mori > Tokyo JAPAN > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"