From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 23 19:32:46 2015 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97AE2291; Mon, 23 Mar 2015 19:32:46 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 5CE79C7; Mon, 23 Mar 2015 19:32:46 +0000 (UTC) Received: by igcau2 with SMTP id au2so38863860igc.1; Mon, 23 Mar 2015 12:32:45 -0700 (PDT) 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=Ut3pPDXOqfUQxyxC6oBcRo3HRlshSWiIosCjROqjuTI=; b=JUL+oumn2xtv+/FFr9Z5ecDz6omDtZoPoXhLcBQa2dM3c4K4awNTavK8EOSakxwr7B 5KYNBm8FG8H6oQHYJJMCdNj7BMJBrtV7uXhMPe882sDXJXLV2x1eTCaFTF0XNdyVEQPm Hwat18zqK/drikUbI48IgNbl1O48Yh1v3joNlQlOXWlc8j9j3Axi0C+xfW39tqCFHshB urk+lxLe4WhY7EF3Hg2ARBP4OUpghJZBzbif/8RyN/YFkJ926Wyg35q3PlMvtCm+Ncrt q9XfbMRsyLhVfxeb/SF0rRgJd7TTStPBEv/QC955DaMYJESw1E0YzDLeMSSImVzEBk2U wesQ== MIME-Version: 1.0 X-Received: by 10.50.36.65 with SMTP id o1mr16801067igj.32.1427139165663; Mon, 23 Mar 2015 12:32:45 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Mon, 23 Mar 2015 12:32:45 -0700 (PDT) In-Reply-To: <55106794.9050208@sentex.net> References: <55106794.9050208@sentex.net> Date: Mon, 23 Mar 2015 12:32:45 -0700 X-Google-Sender-Auth: I1qiWkj76sju514H82BoRik6Ehs Message-ID: Subject: Re: New AP: TP-Link TL-WR1043ND v2 From: Adrian Chadd To: Mike Tancsa Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-embedded@freebsd.org" , "freebsd-mips@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 19:32:46 -0000 On 23 March 2015 at 12:20, Mike Tancsa wrote: > On 3/15/2015 6:47 PM, Adrian Chadd wrote: >> >> Hi! >> >> I decided to port to the TP-LINK 1043nd v2, since I did the v1 port >> and it seems only fitting to also port to the v2 platform. >> >> https://wiki.freebsd.org/FreeBSD/mips/TL-WR1043NDv2 > > > Hi, > These scripts look really cool and I am anxious to try them out. I > read through the tftp netboot part and will try that first. But once you > verify the image, is there a way you can skip the tftp boot portion and just > upgrade the hardware to the FreeBSD image through the web interface ? > i.e. > > -r-xr-xr-x 1 root wheel - 6094100 Mar 23 14:30 kernel.TL-WR1043NDv2 > -r-xr-xr-x 1 root wheel - 19583698 Mar 23 14:30 > kernel.TL-WR1043NDv2.symbols > -rwxr-xr-x 1 root wheel - 4449792 Mar 23 14:30 > mfsroot-tl-wr1043ndv2.img.ulzma > -rw-r--r-- 1 root wheel - 5891584 Mar 23 14:30 > tl-wr1043ndv2.factory.bin > > i.e. can I just upgrade the unit with tl-wr1043ndv2.factory.bin through the > web interface ? maybe? :) I haven't tried it. But once you've done that, the only way to update is to reflash it via tftpboot and the manual instructions posted on the wiki page. Also - I see you've built it as root. You very explicitly do not have to build it as root. You can build it as user - just make /tftpboot writable by you. (I'm going to soon shuffle it so it doesn't land in /tftpboot but in ../images or something, so it's 100% kept inside the build directory. I do 100% of my image building as user 'adrian' nowdays. It makes the foot shooting possibilities much less risky. -adrian