From owner-freebsd-mips@freebsd.org Sun May 21 23:58:39 2017 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 67477D78B02; Sun, 21 May 2017 23:58:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 12976163B; Sun, 21 May 2017 23:58:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id d127so131848211wmf.0; Sun, 21 May 2017 16:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=lEsJYI0bwlYYIJumpbb40t/nwTACYkEQyU06wKBQGW0=; b=A5jPiXTT4MECS6K+oHCv2m9NfKiBehIwrE6qsI2I2oPymY2txmYDinCJii8JmkUSiJ a3Mqd8XgEXf/SkwkPVx6rU25M6cH2NYTZYbtFAo3f2GJ4HgAZQIVaDaSsVH01aNy5mj3 7oyAtilT7N9sxvT7NsDHu30SEsk2yaJrUgygpAe0GFQplX2nJ0iKS8p+fSryOd1dv+12 a5kpGtVrbz33rjAOinM/gJw4cIXVO92dP3rHYZVjB7RuquDlRJdrmQ3kAPqYmZa2Bl0V kZJSNGcT5PbmyrzmT/te2R5se3r64+wD2QmeeivJGL/DQTqiFpss662nGFujNxMqFici TYUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=lEsJYI0bwlYYIJumpbb40t/nwTACYkEQyU06wKBQGW0=; b=IjeX2UcOuepiF6XTfA5QbX2tGeMyhTPX7vSGeIYznaPJgdoIaKFFtSVVop7iTaNLmu TbAmeuCHk1MzUyJ8xTtATjOxOlkgUI1fkFkCJq9d/Mr28rj6gErmcVHboUfgwl+yAFs+ w42/KSFrzuTHM1WqQeBGxdjGSgopapXVHeWD/hIEgtIeTgjW5YdrgNeEpu/VCbKz/483 5dacJ1FQ8wsx2Gr3K5xiHp4YQlLk4CEcP+4xLfgGV0hSjCAHb2CqkrgkBn9EI/wyPKLX XWOxDiFZlk72UqQYL6MwATXazIlEq5Bny5O7xmfZUqfMkWkOUQRrwp/HpIE+H1aH1iRa EVag== X-Gm-Message-State: AODbwcAeUhtaLWJayfOc9JuKohr68boEYW+gI0QqT5VXZDPqunN1GUEw IzL1kIFmLvI2cjZPz8gqPP1cWKuweiii X-Received: by 10.223.152.6 with SMTP id v6mr9257023wrb.60.1495411116665; Sun, 21 May 2017 16:58:36 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.193.134 with HTTP; Sun, 21 May 2017 16:58:35 -0700 (PDT) From: Adrian Chadd Date: Sun, 21 May 2017 16:58:35 -0700 X-Google-Sender-Auth: gEQPVvyhO9sX2lpSU6Hz4MtqMcA Message-ID: Subject: [rfc] moving sys/mips/atheros to sys/mips/ar71xx, and moving sys/mips/atheros/ar531x to sys/mips/ar531x To: "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2017 23:58:39 -0000 hiya, The atheros MIPS stuff is a little badly organised. I'd like to reorganise it a little: * sys/mips/atheros - is the only shared bits (ie, the bus space code) * sys/mips/ar71xx - atheros 71xx and later * sys/mips/ar531x - the earlier generation mips4kc cores It'll require a bit of svn mv'ing things around and will likely upset anyone with branches, but I'd rather do this shuffling before 12.0-RELEASE is cut. Any objections? -adrian From owner-freebsd-mips@freebsd.org Mon May 22 06:34:04 2017 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 573E8D7895D for ; Mon, 22 May 2017 06:34:04 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (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 14BBB1B0B for ; Mon, 22 May 2017 06:34:04 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-yw0-x22a.google.com with SMTP id l74so55423518ywe.2 for ; Sun, 21 May 2017 23:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddteam-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=k+rQWfER6P/6YY42yMms/ekf/+LmDRpRa+Slo49S8IU=; b=QGlxjOMFzvRU5kveumCUdM/Sde3YaQYi7xMZha1LtaplOegiS0ns/ze91lS1a0b9IJ fBVISgXlLgNfJjK9auH3Sy/tuSbuDHhYpxpLeoDpEaohJIk60n0GnFbPvVjXVgn5y6Yk 6Ib33C2ypmZXMDkqAHFZaYbZe92rYlq8A7ZM7J/GQDCfjrvn2BO7cUA4n2BKAjXnQLBM 8cXlbeZZje3zJ3EY4ds+PdU5mW6O5kv0/HYyOY+ALzf5lONoV2mR0EV/JOaInx3k/BsT qqCUXu6h9nkBTKacYgHTFBKGJMN1vG0kVdVR7jyUA0JagUDFYaf/8idHSjDdLXLR7Oih iaQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=k+rQWfER6P/6YY42yMms/ekf/+LmDRpRa+Slo49S8IU=; b=FSvmwJQW0RxSomtIUI+nptmbc4g1vg1sIafEmmogcZOYrl7hIFw5ewupSHWkl8Cpga +FTGug36EDPTgl9ZwdHB6AzoM6CycE7N5iqDoScQSaRiEnn3MUlnhV5igZAkwE3rtFkP jfmm2O8DKotlQXyIn0kfirAlZEqRPkBea/yHcJEdnZTaQCir8eGkKYl3xYKdscBaZ3vW HDsg5iZML04hkGKiphp+PoIvJbFgQ2lnO7Nsfkb7Cj7DmNqugiQLKlzojpbD9q2JTh36 fACa+xWf4lsi7J8xSnE19FQnoQcD0hAsMalTe/rAhxspU2lL1oHCcDrTl30o+e82qbx9 ci2w== X-Gm-Message-State: AODbwcA/A7YbBwwgsQf+8IsyIzhfZPxSyB/toqkyHYsFqfp6fEJtPAPR kPWuKccIgcfjJfvSQvAhVzJgSyms2l2PLOA= X-Received: by 10.13.233.3 with SMTP id s3mr18205825ywe.242.1495434843165; Sun, 21 May 2017 23:34:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.161.194 with HTTP; Sun, 21 May 2017 23:34:02 -0700 (PDT) In-Reply-To: References: From: Aleksandr Rybalko Date: Mon, 22 May 2017 09:34:02 +0300 Message-ID: Subject: Re: [rfc] moving sys/mips/atheros to sys/mips/ar71xx, and moving sys/mips/atheros/ar531x to sys/mips/ar531x To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 06:34:04 -0000 Hi Adrian, maybe better to move inside sys/mips/atheros? sys/mips/atheros/common sys/mips/atheros/ar71xx sys/mips/atheros/ar531x Thanks! 2017-05-22 2:58 GMT+03:00 Adrian Chadd : > hiya, > > The atheros MIPS stuff is a little badly organised. I'd like to > reorganise it a little: > > * sys/mips/atheros - is the only shared bits (ie, the bus space code) > * sys/mips/ar71xx - atheros 71xx and later > * sys/mips/ar531x - the earlier generation mips4kc cores > > It'll require a bit of svn mv'ing things around and will likely upset > anyone with branches, but I'd rather do this shuffling before > 12.0-RELEASE is cut. > > Any objections? > > > > -adrian > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > -- WBW ------- Rybalko Aleksandr From owner-freebsd-mips@freebsd.org Mon May 22 19:21:05 2017 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 D5155D79D8B; Mon, 22 May 2017 19:21:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 7CBAB1053; Mon, 22 May 2017 19:21:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id b84so4411890wmh.0; Mon, 22 May 2017 12:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=GEWucOJRv6tLYVudOwe9r/QUo7aA+7ZQNmtBQmqHSMg=; b=vY6MEKqusOjyBWDZT1CxTEnxR58hz7/75WyKaQ4uhSjRpG+IjZXwm6Om4AnY095zth Ql2s4Q3BsdW/HZhVrhfz3VyrkDIVqUediGXdA11sLGbRxurKqv/Nulvc556PzVTWkz/U k+sDl/gevHB3QATON61KG4jI78ZSqE9JuV4xoWvk3gNP+rJzTK4T6yxe9zsL+DW+ysQw GoUNKbneeh0BTjASQDDVrTERudg40mYFtURPqaWv059D9/UEC7Mp2t+h2PDlEmwFpwst zQvtsSBXbdPI4WoZ27qWgm7e6Ow9bWK1bTcBCMzIa9oc9e562+KsNCY8MefTfJpaGvRD evFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=GEWucOJRv6tLYVudOwe9r/QUo7aA+7ZQNmtBQmqHSMg=; b=K5Fd1Uu0eEreHZaHSmPwC9tbS4BLfqFVyhyC0u6KQsnWztUhiGsVyYhuBc4X4U+lm3 R9DxUDYGf/KE/B/6l65hZjOZC6q9vJN2rAmJYkMbkUxJWSCOd4GBeiXcw5m2SQgQ8noG mK235UWRWMmeG8Q5BJUjr+LwELwEz4PvsQPFusMNWNqgYN2WQmdFbw+8WIkZ7f7/xdgT Up0/oGI+R13d+daBfI28ErOxUIqCWa2Cm1s1B1pFZsOap3oIobfqv2pjbW9F2drNDB7a zsDb7vcSX7dj0vHNfwLHaq6um78GvC6NRUb2LgXQhZ9HrEZDBHSNbVBcDm3YQKOJ4Gi5 /6Lw== X-Gm-Message-State: AODbwcBvvdoF/iUOIgZUWR5T9wp43EYRSJBBdl5DwkXXMuQAJWOjp8HF r+0vAHs3C/5liciGXB8VLXCVfxJJ6LkA X-Received: by 10.28.31.135 with SMTP id f129mr26223421wmf.78.1495480863932; Mon, 22 May 2017 12:21:03 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.193.134 with HTTP; Mon, 22 May 2017 12:21:03 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Mon, 22 May 2017 12:21:03 -0700 X-Google-Sender-Auth: 6QedxC9A-RVJBdj3vgYyqAGAQ98 Message-ID: Subject: Re: [rfc] moving sys/mips/atheros to sys/mips/ar71xx, and moving sys/mips/atheros/ar531x to sys/mips/ar531x To: Aleksandr Rybalko Cc: "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 19:21:05 -0000 On 21 May 2017 at 23:34, Aleksandr Rybalko wrote: > Hi Adrian, > > maybe better to move inside sys/mips/atheros? > sys/mips/atheros/common > sys/mips/atheros/ar71xx > sys/mips/atheros/ar531x I don't mind doing that, it's just a lot of nested directories. :-) What do people think of the above? I can do that and then use it as an excuse to write / tidy up some of the hardware support for other features that only show up on ar934x and later chips (like an SRAM driver..) -adrian From owner-freebsd-mips@freebsd.org Mon May 22 20:39:56 2017 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 B195FD7705E for ; Mon, 22 May 2017 20:39:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 7FA551D5B for ; Mon, 22 May 2017 20:39:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22f.google.com with SMTP id c15so4773941ith.0 for ; Mon, 22 May 2017 13:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=h+v6YxdI/zx/6WuzDAvNL1NcPgysZiODAEBsfHTjMds=; b=gX0T2UjzOLp2Zfl+EvZb1EOa3FUqp0WwgO4XRXwautI08fN2NbdPtAZkM3iJb8gU/G LLE9v1aOLDtC8jOEaRs3ffJ6e9W1jX/BW+I8bpLiq9Cd1a2DFpfzrXVf4KTtdlCi60KF 6X30Zb+nqkqYzj+2RJjF+EMwcqikX+ciNEBdCOGkxGFj5qJA1BT3RqT4LoC8qLbk4Dqy Wj8ZjHhs7zyxQg9oWV4r76VcreandhyMHfzY7ysYq88yCyrBO+0nK9vQPISeL34OvWwe fL5E9VQBsbYi8vPX6Lp+g+7jrOY2FsNRzGGntbXAYeJHsfzE+G7kU6klm9pKp3+Qhc8W sfUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=h+v6YxdI/zx/6WuzDAvNL1NcPgysZiODAEBsfHTjMds=; b=bbSjvzNM2XVHviRzD8v/Gt8nykwHgPKzfeSCiOZjtP0wOtnNfQzYlbSlexWbQMz1OV 38uqP1UHitIIKx7dCNYQmrEgYV3cLJnrfzkjdvst/Qe1DmtMGJ5dNYwjed13wUl+ORRk PUNAIlUp7ncGxFvL+pwdv2ettXCwBCckoX4DWMbC5D3Mtlyh90JzzE4dbBCHjpQTQVgq y1JWkA3jZV/c4Yosx+uhzb8WYPyHE1p5Zbz1o1vfsmKi6n9HxCe5QViOAjirpX70huOO byeHvwxffEBvkFui1jLq5jAuDZp/veeS6eM2ymqWFE+ujLMbVTYDeTMoUnZZXsLYmuYc tlSw== X-Gm-Message-State: AODbwcCebBuIaf4utOwmoxbg06OPnxS2uL0QcuR+gD7fyTt4P9PlcxyQ wYJxfAz+ufArZvQSzytmKvoH7DZKxzHX X-Received: by 10.107.188.132 with SMTP id m126mr26945223iof.148.1495485595781; Mon, 22 May 2017 13:39:55 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.126.6 with HTTP; Mon, 22 May 2017 13:39:55 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:64b3:7ae1:cf64:fe87] In-Reply-To: References: From: Warner Losh Date: Mon, 22 May 2017 14:39:55 -0600 X-Google-Sender-Auth: uoEW9VKTrhPQNy4uGU1IgbeQcas Message-ID: Subject: Re: [rfc] moving sys/mips/atheros to sys/mips/ar71xx, and moving sys/mips/atheros/ar531x to sys/mips/ar531x To: Adrian Chadd Cc: Aleksandr Rybalko , "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 20:39:56 -0000 On Mon, May 22, 2017 at 1:21 PM, Adrian Chadd wrote: > On 21 May 2017 at 23:34, Aleksandr Rybalko wrote: > > Hi Adrian, > > > > maybe better to move inside sys/mips/atheros? > > sys/mips/atheros/common > > sys/mips/atheros/ar71xx > > sys/mips/atheros/ar531x > > I don't mind doing that, it's just a lot of nested directories. :-) > > What do people think of the above? I can do that and then use it as an > excuse to write / tidy up some of the hardware support for other > features that only show up on ar934x and later chips (like an SRAM > driver..) > It's what we're doing with all the other vendors that have multiple directories on both arm and mips. I think it's the right thing to do. It's been the agreed to convention for at least a decade. While there may be some minor variance across all the platforms we support, it's the expected convention... Warner From owner-freebsd-mips@freebsd.org Mon May 22 21:42:32 2017 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 0ADC2D786CF; Mon, 22 May 2017 21:42:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 9325E10D4; Mon, 22 May 2017 21:42:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id e127so7705795wmg.1; Mon, 22 May 2017 14:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3V8ppaJaur2Ctbj1N8y0ZOe8saKVSNUpBpxWj/YLdKY=; b=SsySlmkLc2UpRJPPKERYbsK8aJoZU1ShsvUF4eU8OgCgsz4635q+Oyhc0Jiu+qq/2L b6AsyM104bYWAVS2Wd/kshCGhDK5YFMsC7v36asfLZ7IEwWx5laANeQTJhflW82eP7Ic 18SZKmKSF2ZHmcsq75cvJ6r/M+2opPkal95CIH1JJCjUYC3tX/5bk50aZs6KCs7y5ue0 Ip6Lhjqo93TPR2IDVjSGumbemL6VCQvRUsConRJ8hiCosfvQn91BPhacUGCtvQPfNs8w XTgv1kdhy29LhUCkbAonTczlU2CDclHvxFoBLewV+Y9HtZgnU8BWyVB9T5hFCaC+01qS ze5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3V8ppaJaur2Ctbj1N8y0ZOe8saKVSNUpBpxWj/YLdKY=; b=RnwuDxFxZOSgAG3tIPbk2r4yA+FZ3zya570NvNeHXlo+4En58zoqq31F0eNSayonnz 0cglp5ybDD7AaBGaJishmLohx9vG2VOFUMZJgapkMOpc9D5i2TMJ0AljH1AA8cBILCgJ rF+bj0pL062VFd5cyjiW1Rbkj/4LmzaKYTQ4Z2BDQOdRzX53/Saacl64BVee+8btGA/i VEq9/XOGOxoeuFHxvB42DRuF1SELYohUoDflw1IgTJjllaEqedKwL+3LT44tlaotURW+ yqPzSMx5kxxtvu+K6ew8LvQ8DXAP7a5+XpylRljdoobC/UpNzGk+7rhLuK+r3HBZrjhA ah3g== X-Gm-Message-State: AODbwcBH+3dG0QtrnX4xmnOSCd4IUR1p+HzOHH84TRn2UMDR2AFknWT2 +wBMHQYVKNRKxRoSo2ddeObhOOH4SC7W X-Received: by 10.28.134.3 with SMTP id i3mr28317190wmd.68.1495489349975; Mon, 22 May 2017 14:42:29 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.193.134 with HTTP; Mon, 22 May 2017 14:42:29 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Mon, 22 May 2017 14:42:29 -0700 X-Google-Sender-Auth: 8Zg8A1hYB1Jvg4ifKKcogfqqVO8 Message-ID: Subject: Re: [rfc] moving sys/mips/atheros to sys/mips/ar71xx, and moving sys/mips/atheros/ar531x to sys/mips/ar531x To: Warner Losh Cc: Aleksandr Rybalko , "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2017 21:42:32 -0000 On 22 May 2017 at 13:39, Warner Losh wrote: > > > On Mon, May 22, 2017 at 1:21 PM, Adrian Chadd wrote: >> >> On 21 May 2017 at 23:34, Aleksandr Rybalko wrote: >> > Hi Adrian, >> > >> > maybe better to move inside sys/mips/atheros? >> > sys/mips/atheros/common >> > sys/mips/atheros/ar71xx >> > sys/mips/atheros/ar531x >> >> I don't mind doing that, it's just a lot of nested directories. :-) >> >> What do people think of the above? I can do that and then use it as an >> excuse to write / tidy up some of the hardware support for other >> features that only show up on ar934x and later chips (like an SRAM >> driver..) > > > It's what we're doing with all the other vendors that have multiple > directories on both arm and mips. I think it's the right thing to do. It's > been the agreed to convention for at least a decade. While there may be some > minor variance across all the platforms we support, it's the expected > convention... Sweet. I'll do this then. -adrian From owner-freebsd-mips@freebsd.org Tue May 23 12:21:33 2017 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 12339D78D7A for ; Tue, 23 May 2017 12:21:33 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh605-vm2.bullet.mail.ssk.yahoo.co.jp (nh605-vm2.bullet.mail.ssk.yahoo.co.jp [182.22.90.75]) by mx1.freebsd.org (Postfix) with SMTP id 839C81C6B for ; Tue, 23 May 2017 12:21:32 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 23 May 2017 12:18:36 -0000 Received: from [182.22.91.129] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 23 May 2017 12:18:36 -0000 Received: from [127.0.0.1] by omp602.mail.ssk.yahoo.co.jp with NNFMP; 23 May 2017 12:18:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 552161.84683.bm@omp602.mail.ssk.yahoo.co.jp Received: (qmail 4262 invoked by uid 60001); 23 May 2017 12:18:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1495541916; bh=dhLdAKDBFwHpHxxqxqAXyX4F/y94SOrw2HGtm0jEETk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=F0ipeM/pIZdYYovN8t4TRj1ChtBalAJkeI70/RY3GQJe3VFVSulysuIp7uyMBfjhqpfcpZzH3RW1YaierE2iEC4Wi9pSL1dxOLds5+PyRDePwStXVnLxZoTORonQvU9TzmZOjFPO/P4LPWV6PziH0Z7K8xJ+B5+QVr857HAQb6U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dMlr/bWRFNXYctpmFqhcOm4rOogkE5f8HtL6Z3Rpkxq0alzVfyEOyD07nQEHBChsFHUcDhcCfCVTlOWJRZcJgLgB8+I688qYdI5wVkXdPAG9DBugdrsGYrStVeX7jCOkBgkxzKtifXmOo4issx6FRJtkaLQNr/ljPb0RoRX+iCo=; Message-ID: <501228.94030.qm@web101720.mail.ssk.yahoo.co.jp> X-YMail-OSG: SY49e8IVM1lhXGE44alckOkc7dkV1o6SVTDjSEltfLkGkjJ.BakBP8zmRi3teNYtpwOFNhu9kK2C0pIHbylZProANe35QiNF9Ky6nLEC3LovJDbJx3ndi0HbSJ5g3a_a0oyu_RE9U2kTGmMIy6iRodNNde.Z.vonUq5Un.1C3mSacnrEMJyMBH0LAOGqrhFOM29dYIxulDjaIeeonBLXCqIMvbv6_uICl3F1s.3mnYL8dCmyeokEnRgERu5AytgDqC66xATYjiELoIA02vTC6QP0an4uJncOFaJS3vfWRLB38ZJnph_MHPmqqfvrI5cvkACVr6nZRFtOspZyivCuYWjEKxoJNq6UzuzqsSeURj5GNx0hAKWPhDBQZix.RZqocUqFcg7E_3JsRWPFaWiEhFlYtq6vbQ3nICuLeY8T1K.rHJAOD86LyL7jtr36E5OxsPLvf1lBHtkCyInZjh_S64xA_D9kamNp0MZ5TfFvvVqLFH2CnJS5PQQVuHhqy2SQh6KClC1pUhbtKepY_1AbbTmxx1BVJH19TTz9xji3Ff4SIp1BN58TXRtifkrBJ2w7fgf3lCDXy6q65HxBV026BvoNJlJvbNKDPgTvU8QdLg-- Received: from [61.24.128.67] by web101720.mail.ssk.yahoo.co.jp via HTTP; Tue, 23 May 2017 21:18:36 JST X-Mailer: YahooMailWebService/0.8.111_71 X-YMail-JAS: 4mU.MbQVM1nnNud0JpzTgmTKm2n_nOpNlKBfTgYd6SC6epyvqikpB3wOVanhvx4yrRhUmU2vY7MNoNZJzb7MI_RFGmEbtiHiON_Bcmu9PtWP7nlyb2AuAYKBA.he_U0YIOZV Date: Tue, 23 May 2017 21:18:36 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: U-Boot image Entry address To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 12:21:33 -0000 Hi=0A=0AWe have entry address issue in last onion target talk in=A0this ml.= =0A=0AI made script for entry address in my maintenance version ZRouter.=A0= =0A=0Ahttps://github.com/yamori813/zrouter/blob/add_new_devices/tools/entry= addr.sh=0A=0A=0AThis is use in physical address in mips target. Almost mips= is use=0A0x80000000. But be careful=A0RT2880 is use 0x88000000.=0A=0AARM t= erget is linked by kvm address(0xc0000000). Then convert to=A0=0Aphysical= =A0address.=0A=0AThis script use in Makefile in ZRouter.=0A=0Ahttps://githu= b.com/yamori813/zrouter/blob/add_new_devices/Makefile#L727=0A=0A=0AWhy I st= ill use ZRouter. That reason my ar531x all target is Redboot.=0AI convenien= t ZRouter more than=A0freebsd-wifi-build.=0A=0AThis is remote update ruby s= cript for ZRouter build binary.=0A=0Ahttps://github.com/yamori813/zrouter/b= lob/add_new_devices/tools/redbootup.rb=0A=0A=0AAnd I add cramfs support to = ZRouter.=0A=0Ahttps://github.com/yamori813/zrouter/blob/add_new_devices/sha= re/mk/converters/cramfs.mk=0A=0A=0AThis is used by host's=A0mkcramfs comman= d.=0A=0AThanks=0A=0AHiroki Mori From owner-freebsd-mips@freebsd.org Tue May 23 14:16:51 2017 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 C8D38D7AF9E for ; Tue, 23 May 2017 14:16:51 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE3BE1768 for ; Tue, 23 May 2017 14:16:51 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 48ce8e09-3fc2-11e7-8c46-c35e37f62db1 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 48ce8e09-3fc2-11e7-8c46-c35e37f62db1; Tue, 23 May 2017 14:15:34 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v4NEGg8X003889; Tue, 23 May 2017 08:16:42 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1495549001.89384.97.camel@freebsd.org> Subject: Re: U-Boot image Entry address From: Ian Lepore To: Mori Hiroki , "freebsd-mips@freebsd.org" Date: Tue, 23 May 2017 08:16:41 -0600 In-Reply-To: <501228.94030.qm@web101720.mail.ssk.yahoo.co.jp> References: <501228.94030.qm@web101720.mail.ssk.yahoo.co.jp> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 14:16:51 -0000 On Tue, 2017-05-23 at 21:18 +0900, Mori Hiroki wrote: > Hi > > We have entry address issue in last onion target talk in this ml. > > I made script for entry address in my maintenance version ZRouter.  > > https://github.com/yamori813/zrouter/blob/add_new_devices/tools/entry > addr.sh > > > This is use in physical address in mips target. Almost mips is use > 0x80000000. But be careful RT2880 is use 0x88000000. > > ARM terget is linked by kvm address(0xc0000000). Then convert to  > physical address. > The ARM kernel can be loaded at any 2MB boundary in physical ram regardless of what address it's linked at.  The arm entry point must be within the first 4K of the loaded file.  Thus the entry point is $loadaddr + (elf_phdr.entry & 0x0fff). -- Ian From owner-freebsd-mips@freebsd.org Wed May 24 06:13:02 2017 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 DC11CD7B3FF for ; Wed, 24 May 2017 06:13:02 +0000 (UTC) (envelope-from 179610783@qq.com) Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BF8D1F6D for ; Wed, 24 May 2017 06:13:00 +0000 (UTC) (envelope-from 179610783@qq.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1495606369; bh=+0arDxymIQxLzhsZ49+EafhZ4oZfN/vJ0iirWUqSjtc=; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type; b=vQSWQwTC7whcnz2QMXxBaEWaqyJQxkN36/sdNlC1d4kxZoK6q6SA7o1S5KBnEY/CZ BwkB20DmE+TlPRGR2xJ9oHk26nlrhFPJvlxL4kiN8nthEplOQF+Wk9XUcY6C03ND1t 5EXsaVOJy4YyUFWTgGFEd/GTc35XKSPAxGQ62cSg= X-QQ-mid: esmtp27t1495606367tq3k1bmgy Received: from [10.105.12.161] (unknown [221.0.94.223]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Wed, 24 May 2017 14:12:47 +0800 (CST) X-QQ-SSF: 01000000000000F0F4200800000000N X-QQ-FEAT: GSOvRtudih5XTsS7O6f6n0PAigWLS41QtwHYXmTuwTzRuRl6QZClTerfrshXO qCrHj7NzwQ2O6X4V5lrKUYgb5YIHVvg8TwyADmIXEtc15SZgExyOO4GV3PjUARv1D3SMq5s GXFU39ylKm1N0oJmvJtunGr+9xpzi5DPD0vlFsyq6EpGfWuROw6zTxCDqJYN4rkEf+IguZ9 8EqKbuPMgXFfPk0+sPPBxBy5pQtwdcgGXsR5l72I0YKOdRNgaxM/5xFBqOwswD3fV71YbSF /Ikb1BRjo7x3T90Vh14V624gE= X-QQ-GoodBg: 0 To: "freebsd-mips@freebsd.org" From: =?UTF-8?B?5LqO5ZaE5Lyf?= <179610783@qq.com> Subject: unknown directive: .gnu_attribute 4, 0 Message-ID: <12c5d02a-6644-bce5-dc93-57ae393a2208@qq.com> Date: Wed, 24 May 2017 14:13:07 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:qq.com:bgforeign:bgforeign1 X-QQ-Bgrelay: 1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2017 06:13:03 -0000 cc -target mipsel-unknown-freebsd12.0 --sysroot=/home/ysw/obj/mips.mipsel/usr/home/ysw/freebsd12/tmp -B/home/ysw/obj/mips.mipsel/usr/home/ysw/freebsd12/tmp/usr/bin -O -pipe -I/usr/home/ysw/freebsd12/lib/csu/common -I/usr/home/ysw/freebsd12/lib/libc/include -G0 -EL -mabi=32 -msoft-float -MD -MF.depend.crti.o -MTcrti.o -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/home/ysw/freebsd12/lib/csu/mips/crti.S -o crti.o /usr/home/ysw/freebsd12/lib/csu/mips/crti.S:4:2: error: unknown directive .gnu_attribute 4, 0 ^ *** Error code 1 this line added in: https://svnweb.freebsd.org/base/head/lib/csu/mips/crti.S?r1=205112&r2=308712