From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 7 05:42:05 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EF2E8DB9 for ; Sun, 7 Jul 2013 05:42:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id A7CA111B1 for ; Sun, 7 Jul 2013 05:42:05 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id n1so1762891qcx.22 for ; Sat, 06 Jul 2013 22:42:05 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YchB0a2MrLL7dUjDJKMHyTuVJ96Tc/xz/DC2b7TzTJY=; b=px3FtpH8FUSmq/yRl1OkVsOXBnWzznhO4I7WRsHOMJK/DGIUzsexvGjbwog/MLvYTc S+rT3+4ZgIv02zxg/5SWVeP15D5wB17eZCHAIWLYWuxOd2FQhIMAt2v2PeLboK+uVY4e wS6TjqPAUxJrlKMhomPmk1TvOoFVqo5cb7HupMZVrX+T510mXdurP8zsJE4o/41MZDOH uC7lzJCyikf/nXaJte61ou02IvqDngB/j21GiVjVGsQbudbg8oNRA+BhB8cnQjKDWVlD YBdfwr8viUp3xStzNtJ0Izcm4aozIrnjw4INegBHKStHZpUNpdITldj53azC1rPlymz0 aIKg== MIME-Version: 1.0 X-Received: by 10.224.13.19 with SMTP id z19mr13429702qaz.12.1373175725223; Sat, 06 Jul 2013 22:42:05 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Sat, 6 Jul 2013 22:42:05 -0700 (PDT) In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> Date: Sat, 6 Jul 2013 22:42:05 -0700 X-Google-Sender-Auth: 8UQ8Bre1eNPR-TbYi0l0qFx7-XE Message-ID: Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: Adrian Chadd To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 05:42:06 -0000 Ugh, -HEAD bloat. Sorry, someone's going to have to help out slimming things down. I can't take care of all of it all the time. :( -adrian On 6 July 2013 13:19, Nenhum_de_Nos wrote: > > On Wed, July 3, 2013 10:21, Adrian Chadd wrote: >> FreeBSD runs on the TL-WR1043nd. It was my first Atheros SoC port. >> >> https://wiki.freebsd.org/FreeBSD/mips/TL-WR1043ND > > adrian, > > I tried and got: > > *** Target Done. > *** Target : mfsroot > *** Deleting old file system.. > *** Creating new filesystem... > *** Populating filesystem... > install: /home/matheus/work/freebsd/head/src/../root/mipseb/sbin/switchctl: No such file or directory > *** Target Done. > *** Target : fsimage > *** Running makefs to build compressed image .. > Calculated size of `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img': 19308544 > bytes, 1223 inodes > Extent size set to 4096 > /home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img: 18.4MB (37712 sectors) block size > 4096, fragment size 512 > using 2 cylinder groups of 12.96MB, 3319 blks, 896 inodes. > super-block backups (for fsck -b #) at: > 32, 26584, > Populating `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' > Image `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' complete > *** Running mkuzip to create a compressed filesystem .. > *** Target Done. > *** Target : tplink > 4093+2 records in > 4093+1 records out > 2096035 bytes transferred in 1.316779 secs (1591789 bytes/sec) > [mktplinkfw] *** error: rootfs image is too big > > and: > > ls /tftpboot/ > kernel.TP-WN1043ND mfsroot-tl-wr1043nd.img.uzip > kernel.TP-WN1043ND.symbols > > I guess this is not expected. > > how can I troubleshoot this ? > > and, can I just upload it on the tp-link firmware upload page ? > > Luiz said that the main issue is that I can't see the boot and solve problems if they appear (if I > understand him right). Is this ? > > thanks, > > matheus > > >> -adrian >> >> On 2 July 2013 04:41, Nenhum_de_Nos wrote: >>> >>> On Tue, July 2, 2013 02:52, Zeus Panchenko wrote: >>>> Luiz Otavio O Souza wrote: >>>>> >>>>> I've successfully used TP-Link MR3220 and MR3420 this way. >>>>> >>>> >>>> thanks for the point >>>> >>>> what I in general want from the issue is more or less "common" >>>> necessities of small (2-10 workplaces) office >>>> >>>> and it includes: >>>> >>>> - vi >>>> - pf >>>> - PPPoE >>>> - hostapd >>>> - OpenVPN >>>> - bsnmpd >>>> - network utilities >>>> netstat, ifconfig, route, tcpdump >>>> - some optional tools >>>> -- mtr >>>> -- nrpe >>>> -- sendmail >>>> -- tmux/screen >>>> - anything I missed :) >>>> >>>> so, what are the chances to build image with these? >>> >>> Hi all, >>> >>> I've talked to Luiz some time ago, but I had no time to invest in struggling with the serial >>> interface. >>> >>> As I said before, I have a 1043ND and would really like to see it running FreeBSD. Imagine this >>> hardware running pfSense ? this would be the dlink killer ;) >>> >>> do I need to upload it to the hardware to tinkle with the build script ? First of all I'd like >>> to >>> help this way, as my shell skills are better then my coding skills :) >>> >>> att, >>> >>> matheus >>> >>> -- >>> We will call you Cygnus, >>> The God of balance you shall be >>> >>> A: Because it messes up the order in which people normally read text. >>> Q: Why is top-posting such a bad thing? >>> >>> http://en.wikipedia.org/wiki/Posting_style >>> _______________________________________________ >>> freebsd-embedded@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded >>> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" >> > > > -- > We will call you Cygnus, > The God of balance you shall be > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > http://en.wikipedia.org/wiki/Posting_style > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 8 11:40:59 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2AA20490 for ; Mon, 8 Jul 2013 11:40:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1CEE013A2 for ; Mon, 8 Jul 2013 11:40:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r68BeXdI053981 for ; Mon, 8 Jul 2013 11:40:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r68B6YKC046083 for freebsd-embedded@FreeBSD.org; Mon, 8 Jul 2013 11:06:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jul 2013 11:06:34 GMT Message-Id: <201307081106.r68B6YKC046083@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 11:40:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/177878 embedded [rtl8366rb] [patch] Update rtl8366rb switch driver to o bin/177873 embedded [patch] etherswitchcfg(): Change the per port vlangrou o bin/177872 embedded [patch] etherswitchcfg(8) crashes if called with no ar o bin/177871 embedded [patch] etherswitchcfg(8): uninitialized variable whil o kern/172968 embedded [arge] probe/attach occasionally fails to find a PHY o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 7 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 8 17:17:00 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A029A7C for ; Mon, 8 Jul 2013 17:17:00 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5AD1D8C for ; Mon, 8 Jul 2013 17:16:59 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id ACCDB1CC59; Mon, 8 Jul 2013 14:16:48 -0300 (BRT) Received: from 200.164.157.132 (SquirrelMail authenticated user matheus) by arroway.org with HTTP; Mon, 8 Jul 2013 14:16:48 -0300 Message-ID: <4efdc56af3257cd376d763a00cc0ebb7.squirrel@arroway.org> In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> Date: Mon, 8 Jul 2013 14:16:48 -0300 Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: "Nenhum_de_Nos" To: freebsd-embedded@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 17:17:00 -0000 On Sun, July 7, 2013 02:42, Adrian Chadd wrote: > Ugh, -HEAD bloat. > > Sorry, someone's going to have to help out slimming things down. I > can't take care of all of it all the time. :( Thanks Adrian. Before asking in head@, is there any rev from SVN that I could checkout to test, that is known to be ok ? thanks, matheus > -adrian > > On 6 July 2013 13:19, Nenhum_de_Nos wrote: >> >> On Wed, July 3, 2013 10:21, Adrian Chadd wrote: >>> FreeBSD runs on the TL-WR1043nd. It was my first Atheros SoC port. >>> >>> https://wiki.freebsd.org/FreeBSD/mips/TL-WR1043ND >> >> adrian, >> >> I tried and got: >> >> *** Target Done. >> *** Target : mfsroot >> *** Deleting old file system.. >> *** Creating new filesystem... >> *** Populating filesystem... >> install: /home/matheus/work/freebsd/head/src/../root/mipseb/sbin/switchctl: No such file or >> directory >> *** Target Done. >> *** Target : fsimage >> *** Running makefs to build compressed image .. >> Calculated size of `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img': 19308544 >> bytes, 1223 inodes >> Extent size set to 4096 >> /home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img: 18.4MB (37712 sectors) block >> size >> 4096, fragment size 512 >> using 2 cylinder groups of 12.96MB, 3319 blks, 896 inodes. >> super-block backups (for fsck -b #) at: >> 32, 26584, >> Populating `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' >> Image `/home/matheus/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' complete >> *** Running mkuzip to create a compressed filesystem .. >> *** Target Done. >> *** Target : tplink >> 4093+2 records in >> 4093+1 records out >> 2096035 bytes transferred in 1.316779 secs (1591789 bytes/sec) >> [mktplinkfw] *** error: rootfs image is too big >> >> and: >> >> ls /tftpboot/ >> kernel.TP-WN1043ND mfsroot-tl-wr1043nd.img.uzip >> kernel.TP-WN1043ND.symbols >> >> I guess this is not expected. >> >> how can I troubleshoot this ? >> >> and, can I just upload it on the tp-link firmware upload page ? >> >> Luiz said that the main issue is that I can't see the boot and solve problems if they appear (if >> I >> understand him right). Is this ? >> >> thanks, >> >> matheus >> >> >>> -adrian >>> >>> On 2 July 2013 04:41, Nenhum_de_Nos wrote: >>>> >>>> On Tue, July 2, 2013 02:52, Zeus Panchenko wrote: >>>>> Luiz Otavio O Souza wrote: >>>>>> >>>>>> I've successfully used TP-Link MR3220 and MR3420 this way. >>>>>> >>>>> >>>>> thanks for the point >>>>> >>>>> what I in general want from the issue is more or less "common" >>>>> necessities of small (2-10 workplaces) office >>>>> >>>>> and it includes: >>>>> >>>>> - vi >>>>> - pf >>>>> - PPPoE >>>>> - hostapd >>>>> - OpenVPN >>>>> - bsnmpd >>>>> - network utilities >>>>> netstat, ifconfig, route, tcpdump >>>>> - some optional tools >>>>> -- mtr >>>>> -- nrpe >>>>> -- sendmail >>>>> -- tmux/screen >>>>> - anything I missed :) >>>>> >>>>> so, what are the chances to build image with these? >>>> >>>> Hi all, >>>> >>>> I've talked to Luiz some time ago, but I had no time to invest in struggling with the serial >>>> interface. >>>> >>>> As I said before, I have a 1043ND and would really like to see it running FreeBSD. Imagine >>>> this >>>> hardware running pfSense ? this would be the dlink killer ;) >>>> >>>> do I need to upload it to the hardware to tinkle with the build script ? First of all I'd like >>>> to >>>> help this way, as my shell skills are better then my coding skills :) >>>> >>>> att, >>>> >>>> matheus >>>> >>>> -- >>>> We will call you Cygnus, >>>> The God of balance you shall be >>>> >>>> A: Because it messes up the order in which people normally read text. >>>> Q: Why is top-posting such a bad thing? >>>> >>>> http://en.wikipedia.org/wiki/Posting_style >>>> _______________________________________________ >>>> freebsd-embedded@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded >>>> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" >>> >> >> >> -- >> We will call you Cygnus, >> The God of balance you shall be >> >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> >> http://en.wikipedia.org/wiki/Posting_style >> _______________________________________________ >> freebsd-embedded@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded >> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" > -- We will call you Cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style From owner-freebsd-embedded@FreeBSD.ORG Wed Jul 10 22:51:48 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3FD613FC for ; Wed, 10 Jul 2013 22:51:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x234.google.com (mail-qe0-x234.google.com [IPv6:2607:f8b0:400d:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 0423C1FF6 for ; Wed, 10 Jul 2013 22:51:47 +0000 (UTC) Received: by mail-qe0-f52.google.com with SMTP id i11so4094968qej.39 for ; Wed, 10 Jul 2013 15:51:47 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=f93GwMi+vL1TErYQgnTkjLQBR2mPwOcPTBUrAbeGIlk=; b=HZRoUyPgnsY0e9YftaPHfTU8oRkG9THnRIEcZYssWN72DpuYbe6QJl3wDplzbHlXKp E/Aq4lD4EsWDy4CofaZ8N/jvtVRrO0aIn8sKajRB/Tqq4DqXtKtCGt17VuVGFgn6olT/ /yN2mfEqWCXUZMR+unWbS7opjmCoSR8BKJhNzQgPXRVHO5P5DYXiyjQKwMnC7CI8DnVY FQsg2EYLxRsICUrp2vVoCFlvKKl4ESrAHxkrabtYnELsbE+/6rydEdSQjugv4E/B8/U5 6LLsx3sNQVZ3ZOjbn/FFjaGX8jJr9VtyMo8c81xHNMAKMg2NErB19zGq0CKQqHnVWHjf 1osg== MIME-Version: 1.0 X-Received: by 10.224.13.19 with SMTP id z19mr30400315qaz.12.1373496707405; Wed, 10 Jul 2013 15:51:47 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Wed, 10 Jul 2013 15:51:47 -0700 (PDT) In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> Date: Wed, 10 Jul 2013 15:51:47 -0700 X-Google-Sender-Auth: vbX2UvSqisK-EFm7Oz3-WlYf58o Message-ID: Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: Adrian Chadd To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 22:51:48 -0000 Sigh, I just got: Populating `/home/adrian/work/freebsd/svn/src/../mfsroot-tl-wr1043nd.img' Image `/home/adrian/work/freebsd/svn/src/../mfsroot-tl-wr1043nd.img' complete *** Running mkuzip to create a compressed filesystem .. *** Target Done. *** Target : tplink 4096+2 records in 4096+1 records out 2097287 bytes transferred in 2.355353 secs (890434 bytes/sec) [mktplinkfw] *** error: kernel image is too big I'll tinker with this a bit more. -adrian From owner-freebsd-embedded@FreeBSD.ORG Wed Jul 10 22:59:35 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 64F64581 for ; Wed, 10 Jul 2013 22:59:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 27BAD1040 for ; Wed, 10 Jul 2013 22:59:35 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id n1so3972334qcw.16 for ; Wed, 10 Jul 2013 15:59:34 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=9wqpxfXG+F8BlYN/KXI+ffcx5IkiuuuX0A1Vs7bDZtY=; b=Q6GqAAiCX4TlKLnVfd/FfY7knXZmeNqijblXpmJca2Jp8C8iM3PufAlAiVv53DckfF DJRGvlnc1/P9JXCRgWnw+m4yDzZ4wnVFKe9YIlz13whUYvdXjn7bX062CJ4mZNQPM1Aq OpPKP9CpQpQiMA4C6U8vUReyzCMdY3Efoi+8XjHvTmpoT95pP7KmMITUvUoivd3TIQXK euW26uD4ey+T9hTamsTePDkFvffzeuTfaTWKKgG91LbHGfO/YH/EJi6GaNRK3jWcT17v TBwXPdt2eWnEOpMlunwHtolZWtxC28m1oVr01lqXLEf6CnAbx8CfzgGIxUdG9QHRgIOf BP/A== MIME-Version: 1.0 X-Received: by 10.224.127.73 with SMTP id f9mr30058022qas.4.1373497174583; Wed, 10 Jul 2013 15:59:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Wed, 10 Jul 2013 15:59:34 -0700 (PDT) In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> Date: Wed, 10 Jul 2013 15:59:34 -0700 X-Google-Sender-Auth: 7uFi40xhZHKcsFhH1L8g8A-0se8 Message-ID: Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: Adrian Chadd To: Nenhum_de_Nos Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 22:59:35 -0000 Yeah: [mktplinkfw] *** error: separate kernel image is too big lucy# ../../build/trunk/build/bin/build tl-wr1043nd tplink *** Configuration file : tl-wr1043nd *** Platform : mipseb *** Target : tplink 4096+2 records in 4096+1 records out 2097287 bytes transferred in 2.249939 secs (932153 bytes/sec) [mktplinkfw] *** error: separate kernel image is too big: 2097287 bytes > 2096640 bytes The kernel image is just plain too big. 5mb for an uncompressed cut-down kernel? Sigh. The downside? We can't build a cut down ath module right now that'll work, as the module API doesn't pull in kernel config options. Sigh. adrian From owner-freebsd-embedded@FreeBSD.ORG Fri Jul 12 20:50:23 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F1F384E7 for ; Fri, 12 Jul 2013 20:50:23 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id 8F50F1E34 for ; Fri, 12 Jul 2013 20:50:23 +0000 (UTC) Received: by mail-ee0-f49.google.com with SMTP id b57so6394848eek.36 for ; Fri, 12 Jul 2013 13:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OgVbmqPCjhMOtheYoUcNXwd7c2W7F9t+HvTadc1tTJ4=; b=h0Suf1c18du/2tGNECbd30uPP+N8wtQjtfRoR/HZ1yDX3rEYC5/xmytjG3wb+EVcgT dsqv6AbiIg3uXjSLJl4/YCqjZfGD9J6s7Fvzs0z7teGm/VZkgw66hMwZIv+PYutSHIZ2 Nb/9/WJl+QJXyyHSekmrCqFPoA2cmZipV4JJCE65WJQoKI4dy63QJu8GuFjVNPENBTwg Lg7RKxdZj3r5m4lDaooqCjOXRfgZXrah5mCfO2P8byORkaB6WXZ4mI0VyJh/fNSRQh1l zHiSemZ8YNwZSu/OpKtzYlU6Erlg9+d4QmLlfMGU0bIhl6hAJdOg32V+NT5VvvzrPfUp 4p3A== MIME-Version: 1.0 X-Received: by 10.14.47.196 with SMTP id t44mr37988242eeb.18.1373662222615; Fri, 12 Jul 2013 13:50:22 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Fri, 12 Jul 2013 13:50:22 -0700 (PDT) Date: Fri, 12 Jul 2013 13:50:22 -0700 Message-ID: Subject: Making Picostation m2HP work From: hiren panchasara To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 20:50:24 -0000 http://www.ubnt.com/picostationm Here is how it looks on boot: U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) Board: Ubiquiti Networks XM board (rev 1.0 e302) DRAM: 32 MB Flash: 8 MB PCIe WLAN Module found (#1). Net: eth0, eth1 Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Image Name: MIPS OpenWrt Linux-3.3.8 Created: 2013-05-31 19:12:55 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 924122 Bytes = 902.5 kB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... Dropping to uboot: U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) Board: Ubiquiti Networks XM board (rev 1.0 e302) DRAM: 32 MB Flash: 8 MB PCIe WLAN Module found (#1). Net: eth0, eth1 Hit any key to stop autoboot: 0 ar7240> printenv bootdelay=1 baudrate=115200 ethaddr=00:15:6d:0d:00:00 mtdids=nor0=ar7240-nor0 partition=nor0,0 mtddevnum=0 mtddevname=u-boot filesize=10000 fileaddr=81000000 serverip=192.168.1.254 ethact=eth0 mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM) bootcmd=bootm 0x9f050000 bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init ipaddr=192.168.1.20 stdin=serial stdout=serial stderr=serial Environment size: 452/65532 bytes ar7240> Currently trying to build image with Adrian's http://freebsd-wifi-build.googlecode.com/svn/trunk/ to put on the board. Now, Adrian is going to guide me from here :-) Thanks, Hiren From owner-freebsd-embedded@FreeBSD.ORG Fri Jul 12 20:58:31 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 46EE87CF for ; Fri, 12 Jul 2013 20:58:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id D6D411E99 for ; Fri, 12 Jul 2013 20:58:30 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so8546701wgg.10 for ; Fri, 12 Jul 2013 13:58:29 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=aim6i+vwvHPW/HxynYoGB7hDNa4cHq30o3E+fEkd24M=; b=NZUuk9efetr+vO/c/1g4Uvta2SCatv583JXm2MXyIWjlV3X54p8fW7AYoK9UV+RUz/ off3xeFr/zy0fDbdGZqntf74tafUOX/+kpEdDXazFtdeKF/VB0Ccr3P46zXCZ2Hoq++x 86IWKLNfFGAYfQ+q6mXUFnouZEy1s+S/CmxBMZV5GNw7x/KgnykApkWeuTNJEvUWQ4Gs KPylmYZ+hNQyb7plpPAGRxovDWFnmgpW1BRHic1i4PVVtRX+xB8KK2fS2wz/gayWSFih eIi+1IJyP36NwazIj9kQI/NmcnZNTpnw3WAwmeNzRitLkJXwGugxNoWdlAoSeVNQ2p83 zvkg== MIME-Version: 1.0 X-Received: by 10.194.11.72 with SMTP id o8mr25759602wjb.0.1373662709802; Fri, 12 Jul 2013 13:58:29 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Fri, 12 Jul 2013 13:58:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 13:58:29 -0700 X-Google-Sender-Auth: dMImPR4y1A6W_RYIz5Mt346QdwM Message-ID: Subject: Re: Making Picostation m2HP work From: Adrian Chadd To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 20:58:31 -0000 cool. So step #1 - what kind of SoC is it (7241) and wifi (ar9280) ? The SoC dictates which base config we "copy" when we build the kernel. The important bits for these SoCs are: * which SoC * for AR91xx/AR71xx - which ethernet switch and how it's wired up; the AR933x and AR724x have an internet switch so there's only one config * how much RAM * what's the flash layout - important for generating the image and populating the hints table with the flash layout But let's focus on getting a kernel netbooting first.. -adrian On 12 July 2013 13:50, hiren panchasara wrote: > http://www.ubnt.com/picostationm > > Here is how it looks on boot: > > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > ## Booting image at 9f050000 ... > Image Name: MIPS OpenWrt Linux-3.3.8 > Created: 2013-05-31 19:12:55 UTC > Image Type: MIPS Linux Kernel Image (lzma compressed) > Data Size: 924122 Bytes = 902.5 kB > Load Address: 80060000 > Entry Point: 80060000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > > Starting kernel ... > > > Dropping to uboot: > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > ar7240> printenv > bootdelay=1 > baudrate=115200 > ethaddr=00:15:6d:0d:00:00 > mtdids=nor0=ar7240-nor0 > partition=nor0,0 > mtddevnum=0 > mtddevname=u-boot > filesize=10000 > fileaddr=81000000 > serverip=192.168.1.254 > ethact=eth0 > mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM) > bootcmd=bootm 0x9f050000 > bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init > ipaddr=192.168.1.20 > stdin=serial > stdout=serial > stderr=serial > > Environment size: 452/65532 bytes > ar7240> > > Currently trying to build image with Adrian's > > http://freebsd-wifi-build.googlecode.com/svn/trunk/ to put on the board. > > Now, Adrian is going to guide me from here :-) > > Thanks, > Hiren > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"