From owner-freebsd-arm@freebsd.org Fri Aug 5 20:25:11 2016 Return-Path: Delivered-To: freebsd-arm@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 15636BAF45C for ; Fri, 5 Aug 2016 20:25:11 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (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 C0ECF17CC for ; Fri, 5 Aug 2016 20:25:10 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22c.google.com with SMTP id s189so199931431vkh.1 for ; Fri, 05 Aug 2016 13:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AhRN8KkuLDdaHCrDAKh/K9a7bqxDvWmhuamMlcZhO3M=; b=GBPs6gwhAssJF0g3mS3HqSQzHVEkiyPpWQWhxPkvq6SytFHeSL1geunz8nudHyuWxS 7jAcS8J9wbDIokAGK6HppjJW/4KvhnCDkidKafaf80t0TUjVoGd6j6bol015D9+1KpPn G7vtn2ZGwARX6OqpZc5TerjWzSehsSx05DWnAV3BSF0oXUPHcK8axKIeW1vWfnHL/kg6 j1gAaUDpn8cEKu9wXvb1JHWQjm0gmp95d1iFav2gBWTKPFo2RiTkbcilPn8Cib8zctyq G2KP4uujcooTyrwmv0oyAAsyt6IkFlBXaUTm0FvwZpU0iai3rs3e1e9T3AQqHyWucENm kOgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AhRN8KkuLDdaHCrDAKh/K9a7bqxDvWmhuamMlcZhO3M=; b=HlWSDwcTZ4uGrSxHM1VM55YvM1lm7b6dHyq3NjtovlgZU+BCUVxK2Idp9e4so16acO CY2xPOl3XfmVWVVt9vryJ4uEme0xp9qrSyf+FZU3whEjAecsn780ZJEbuctLpeZdvc8P Vd/lTf+X8323nN19BcCDEvOKyUo8hmlE4QXL+Pqv6zplZ3QXe6OyLM2jAUGC35MLjo6g VXgHvpOwtwQeRVhaweivJETr4WPtd4YroXAWmKXYoFmeMs9KvhJ3e8ukVGpJIGvMz9eU +FIlCV4DCNdAQNO96EL/zJp7RlgB9z3jImHlRuaK9np1ZylEUeMEA3a+oy70hZrMCHKX l8Iw== X-Gm-Message-State: AEkooutOUAXzi2jaX7qe9zGKsVyzmkst1jk5l37AMqibMPYKtjO3Z63g5a77qDIsyJEWphjRen9peSGdWMlb1w== X-Received: by 10.31.185.9 with SMTP id j9mr41797878vkf.144.1470428709796; Fri, 05 Aug 2016 13:25:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.54.75 with HTTP; Fri, 5 Aug 2016 13:25:09 -0700 (PDT) In-Reply-To: References: From: Russell Haley Date: Fri, 5 Aug 2016 13:25:09 -0700 Message-ID: Subject: Re: Fwd: Paid Support for iMX6 Port To: Ronald Klop Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 20:25:11 -0000 On Wed, Aug 3, 2016 at 8:27 AM, Ronald Klop wrote: > On Wed, 03 Aug 2016 00:16:55 +0200, Russell Haley > wrote: > >> Sorry, reply instead of reply all... >> >> >> ---------- Forwarded message ---------- >> From: Russell Haley >> Date: Tue, Aug 2, 2016 at 3:16 PM >> Subject: Re: Paid Support for iMX6 Port >> To: Michel Kohanim >> >> >> On Tue, Aug 2, 2016 at 2:39 PM, Michel Kohanim >> wrote: >>> >>> Hi Russell, >>> >>> Thanks so very much for getting in touch. Hopefully the experienced iMX6 >>> developer will chime in. Again, I am willing to pay for services and then >>> share the results with the community. >>> >>> 1. Would love to read your notes on Hummingboard. I am using Wandboard >>> and Wandboard Dual for testing purposes and have been able to get FreeBSD >>> binary image (from the website) loaded and functioning albeit it's way too >>> slow even for rudimentary tasks such as vi (on the Solo). I suspect 512MB is >>> not sufficient. Ultimately, I would like to be able to make a smaller image >>> ourselves but have been having a hell of a time with Crochet >> >> >> Give me a few days, I just got back from vacation and kids don't sleep >> well during summer hours so I have very limited time right now, but I >> will get you what I have so far. >> >> >> >>> 6. NAND flash/eMMC ... our main goal is that - at the minimum - the >>> kernel should be on a flash chip of some sort so that boot up does NOT >>> require an SD Card. Are you aware of any flash chip that can be used by >>> uboot to boot FreeBSD? >> >> It's possible to run u-boot from NAND and then run ubldr/kernel from a >> different source. It may even be possible to manually load ubldr from >> NAND (or even manually load the kernel from NAND in u-boot) but you >> would need to find an alternative for the kernel and rootfs, >> especially if you want to update your kernel ever. Not what I would >> call desirable, but I have *heard* of production systems running like >> this. > > > > My Sheevaplug loads the kernel from NAND which mounts the rootfs from > USB-stick. And does this for a couple of years already. I used to have a > rootfs on nandfs(5) also, but nandfs is not stable enough. > > # nandtool erase dev=/dev/gnand0s.fbsd-boot > # dd if=/tmp/kernel.bin of=/dev/gnand0s.fbsd-boot bs=2k conv=sync Hi Ronald, So does this mean you used an freebsd slice for nandfs on the entire nand unit and placed u-boot and the kernel within the nandfs slice (I'll look at nandfs documentation when I get a chance)? It's probably implementation specific, but I wonder if the partition table and nandfs would affect the "hardware boot loaders" ability to find the u-boot binary (I don't understand the pre-u-boot boot process yet)? Also, are you saying that nandfs is "stable enough" to be used in a write-rarely/read-often scheme? Russ