From owner-freebsd-arm@FreeBSD.ORG Mon Nov 12 02:49:00 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C324031A for ; Mon, 12 Nov 2012 02:49:00 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 64D968FC0C for ; Mon, 12 Nov 2012 02:48:59 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so7488891vba.13 for ; Sun, 11 Nov 2012 18:48:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=hyDFPoOOkCBXkKCql73ut2owHUjHPa2VdApZNQ97+EE=; b=OcRVkHiwrHriEdc8gbNy7ueWMQm+PF6GhPo1rg1XSCysVI6RxWatz4XTWhaI5p2EKl IaD1i6GkT3MaYLebWDUSBMjHvpkWnAeJxrvyFH9SyqbuAhqj9JfgREvMs8p3gUrhni7i 8QbzP4j3fkPwQ+TyFX5wTx3S05mL84TW2b5iXteAOY7fMWaPxcv6pmB5jZB9dMZC+70B MdJptmNnd6mdfX1fQmdEgbDVONDdBlQAI9+SUygUogOQWjUTgm5BuEwlt5+ns1SQcekB o9rNfHYYj0inA5QdgYXzutyIcPr6sbXtXtBQOGca4a9NvXpPnjwFc9dH7AY9g1VEkI0A gPKA== MIME-Version: 1.0 Received: by 10.52.26.81 with SMTP id j17mr20262762vdg.63.1352688539120; Sun, 11 Nov 2012 18:48:59 -0800 (PST) Received: by 10.58.178.234 with HTTP; Sun, 11 Nov 2012 18:48:59 -0800 (PST) Date: Mon, 12 Nov 2012 10:48:59 +0800 Message-ID: Subject: Re: Proposed patchset to support DreamPlug on freebsd 9 and 10. From: Alie Tan To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQnpfXEoYVziZ5s7D4bzb3SdZUINM+9TA6qXKBNut93RZ8lYn/EjQAUFp1orMZAmJ1eQjqV3 Content-Type: text/plain; charset=ISO-8859-1 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, 12 Nov 2012 02:49:00 -0000 > > After exchanging a few emails with Richard yesterday we realized why I > had to put some tweaks on top of the patches he had posted... there are > two different flavors of a DreamPlug v10. One of my co-workers has a > unit marked "1001" and it has NOR SPI flash, as does Richard's. My unit > is marked "1001N" and has NAND flash (which makes it a bit like an > expanded GuruPlug). > > This is going to drive the need for two separate .dts files and two > separate kernel configs. I reworked the patchset I've been using for > 9-stable and -current to move in this direction, and I'm attaching what > I've got so far as a proposal for handling this difference. > > The attached patches don't include Hiroki's led driver, this is just > minimal dreamplug support on top of a fresh checkout of 9 or 10. > > I've also heard there are differences in the v0901 dreamplug units, but > I don't know what the differences are. That might require yet another > set of config. > > I broke the kernel config into 3 pieces... a DREAMPLUG-BASE that has > config for things that are dreamplug-specific and common to all > dreamplugs, and notably is not a GENERIC or kitchen-sink type config > file. Then there are DREAMPLUG-1001 and -1001N config files that > include the -BASE file, and add other options to make a more fully > usable system. I think there's plenty of room for changes and additions > to these -1001[N] files, such as IPFW and other things that you might > want right out of the box -- I do mainly embedded systems work, so I > don't know what most folks might want. > > The config for the 1001N needs more work, notably more support for the > NAND flash in the .dts and kernel configs. Since the whole reason I'm > playing with a dreamplug is to get some experience using nand flash, > I'll be working on that in the days to come. I just wanted to get this > out there and see if folks think this is a workable direction for > supporting different dreamplug flavors. > > -- Ian > Is there any plan to merge this patch to HEAD? Its already 3 months but still now news about this news. Regards, Alie T