From owner-freebsd-mips@FreeBSD.ORG Tue Feb 1 09:32:11 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94BCB1065670 for ; Tue, 1 Feb 2011 09:32:11 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 259B38FC0A for ; Tue, 1 Feb 2011 09:32:10 +0000 (UTC) Received: by wwf26 with SMTP id 26so6547866wwf.31 for ; Tue, 01 Feb 2011 01:32:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0Q/8X5Y3DeoF5bvoFm7IY8l49LPC+OyyZHHa5xvegHA=; b=RJF7w7btYk5awl2BuvUvCbL/7OAFtoCCsPkI97URH0gre11LEEVGpyqDQApoJh3oM6 zXO3ok94OgJY5LRjaj5KKe2bNlAT+umqyikI8Ysm2N5yyBinVst5kinqmSL0mtZVxpN7 82b0QXLBUU99l6ro7SHSo+Z0/f14Pa1+tZgL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GR0cgnFicS2Iw72JwDazN/VkBuT1KnQZcm08t3NBKr9LcYFWVqMQrkJoKbRFROckbm 6200TjIgnSsf9z4aPbebLorBw5aYHihwmDp/ygDcfjP19dpSH6BH3UGUI5ok+WomPhJE bmuz6f0edimcvaSHve4CzP0al0f/RzRvqHCVU= MIME-Version: 1.0 Received: by 10.227.129.17 with SMTP id m17mr7325678wbs.79.1296552729976; Tue, 01 Feb 2011 01:32:09 -0800 (PST) Received: by 10.227.134.137 with HTTP; Tue, 1 Feb 2011 01:32:09 -0800 (PST) In-Reply-To: <527911.58663.qm@web33203.mail.mud.yahoo.com> References: <201101200928.45264.freebsd-mips@dino.sk> <527911.58663.qm@web33203.mail.mud.yahoo.com> Date: Tue, 1 Feb 2011 10:32:09 +0100 Message-ID: From: Monthadar Al Jaberi To: Youri Adonis Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: RS / RSPRO FreeBSD X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2011 09:32:11 -0000 Sure, I used the standard kernel configuration file and modifed this: options MD_ROOT options MD_ROOT_SIZE=40960 options ROOTDEVNAME=\"ufs:md0\" to generate filesystem: makefs -t ffs -B big -s 40m rootfs.img path-to-filesystem/ to embedd the filesystem (script code): addr=($(strings -td kernel | grep "MFS Filesystem" | awk '{print $1}')) #calculate start and end address for mdroot rootfs_start=${addr[0]} rootfs_end=$((${addr[1]}+1)) echo "Generating kernel image" head -c ${rootfs_start} kernel > kernel.new cat rootfs.img >> kernel.new tail -c +${rootfs_end} kernel >> kernel.new gzip -9 kernel.new Sorry for the extreme delay, hope it helps... br, On Fri, Jan 21, 2011 at 9:21 PM, Youri Adonis wrote: > Monthadar, > > can you share your kernel config? > > > > ----- Original Message ---- > From: Monthadar Al Jaberi > To: Adrian Chadd > Cc: freebsd-mips@freebsd.org > Sent: Thu, January 20, 2011 7:55:54 AM > Subject: Re: RS / RSPRO FreeBSD > > Just a note, I used tinybsd to generate a wireless configuration. Its > easy to add extra files and ports to it. My image was around 47 MB > with kernel (filesystem 40 MB), then I compressed it to around 10MB > and run everything from RAM like Adrian noted. > > On Thu, Jan 20, 2011 at 10:17 AM, Adrian Chadd wrote: >> On 20 January 2011 16:28, Milan Obuch wrote: >> >>>> There's two scripts to build an MFS root for my tplink AP. One builds >>>> a normal one, one builds one using bsdbox (and creates symlinks.) >>>> >>> >>> Which TP-Link model, please? I am going to examine some next week and it will >>> be great to know if you succeeded to put FreeBSD on it already... >> >> WR-1043ND. >> >> You'll need a few patches and an alternate kernel config file to make >> it somewhat work. >> USB is broken. The switch PHY isn't yet fully supported so it's a dumb >> switch. Other than that, it seems to work alright. >> >> I've moved back to doing my 11n/mips stuff on the rspro and I've left >> the 1043ND running openwrt+ath9k. >> >> >> Adrian >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >> > > > > -- > //Monthadar Al Jaberi > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > > > > -- //Monthadar Al Jaberi