Date: Tue, 1 Feb 2011 10:32:09 +0100 From: Monthadar Al Jaberi <monthadar@gmail.com> To: Youri Adonis <vrtuff@yahoo.com> Cc: freebsd-mips@freebsd.org Subject: Re: RS / RSPRO FreeBSD Message-ID: <AANLkTi=DjAs1QLYN90T4eSAPZCQAR3M_ArLTtiS%2B-nDK@mail.gmail.com> In-Reply-To: <527911.58663.qm@web33203.mail.mud.yahoo.com> References: <AANLkTi=vcLScFS%2BJxj0HSZc8hE9p4=W=hrnvMpMfm2OG@mail.gmail.com> <AANLkTinjupTkkesyY%2B65R8vmYKRpanrOy9C=nRJrPEX=@mail.gmail.com> <AANLkTikE9Fe0P82ADN3%2BV38=eHr3W1bGaYVx9Rg02pEB@mail.gmail.com> <201101200928.45264.freebsd-mips@dino.sk> <AANLkTikWhFUtU_38LgbFf%2B3G8iBTQWW115JSQsmm-%2Bpc@mail.gmail.com> <AANLkTimK7xM5-BQXSAjiAWiY0h_NixpdHD1XFqheFh_D@mail.gmail.com> <527911.58663.qm@web33203.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <vrtuff@yahoo.com> wrote: > Monthadar, > > can you share your kernel config? > > > > ----- Original Message ---- > From: Monthadar Al Jaberi <monthadar@gmail.com> > To: Adrian Chadd <adrian@freebsd.org> > 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 <adrian@freebsd.org> wrote: >> On 20 January 2011 16:28, Milan Obuch <freebsd-mips@dino.sk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=DjAs1QLYN90T4eSAPZCQAR3M_ArLTtiS%2B-nDK>