From owner-freebsd-mips@FreeBSD.ORG Wed Aug 28 14:03:54 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A5FCCD4 for ; Wed, 28 Aug 2013 14:03:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x232.google.com (mail-qe0-x232.google.com [IPv6:2607:f8b0:400d:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 382362999 for ; Wed, 28 Aug 2013 14:03:54 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id s14so3484278qeb.9 for ; Wed, 28 Aug 2013 07:03:53 -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=ZoQwRmhr/JPAnJ1VOeRWa3EpXR31rbb9eUDigMO3Ihg=; b=TCcDsKPFHhKBNIa0WKsukXKhljMsjvx+O0uncare94dRspUHwhMcJubeoEodYZnFi3 5qkRTiy5mynqMpsa16n/pxuOQ08f+G9NUbmVxDconnenAuLG1axnGDK1qB+eAcEaqWow q+VDd4rX4PbbUlZzcsCsEGDaJiR+rQ1uit6aQ2iEglL598Fo+el+I1FD3mTGqRVU4hFa 8Jut8hsr5isJpgiP1GOa1oAJ8Ar/sifpfumZm7cA0dlfkuBVE5JCQCkAsEw/DzMaIt9h qkaox29Qicl+HYpGo0oCHWO2MVnKSmPizKsY/IyCJiiRLTJyFPQLQ//gSyvrD/119wdl 0srA== MIME-Version: 1.0 X-Received: by 10.229.103.135 with SMTP id k7mr8077236qco.22.1377698633330; Wed, 28 Aug 2013 07:03:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Wed, 28 Aug 2013 07:03:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Aug 2013 07:03:53 -0700 X-Google-Sender-Auth: xrrnkIt7OE_xlccdfFQkPK3Vd64 Message-ID: Subject: Re: TP-Link 1043ND - its tme :) From: Adrian Chadd To: Luiz Otavio O Souza Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 14:03:54 -0000 We're going to keep chasing this tail. I suggest we focus on actually looking to slim down the kernel size and root size. -adrian On 28 August 2013 06:19, Luiz Otavio O Souza wrote: > On 28 August 2013 07:20, Nenhum_de_Nos wrote: > > > hail, > > > > I'm trying to flash FreeBSD on it, but I can't build it and not get this > > error: > > > > *** Running makefs to build compressed image .. > > *** from /root/work/freebsd/head/src/../mfsroot/tl-wr1043nd .. > > Calculated size of > > `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img': 19300352 bytes, > > 1223 > > inodes > > Extent size set to 4096 > > /root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img: 18.4MB (37696 > > 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 `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' > > Image `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' complete > > *** Running mkuzip to create a compressed filesystem .. > > *** Target Done. > > *** Target : tplink > > 4119+2 records in > > 4119+1 records out > > 2109309 bytes transferred in 1.088462 secs (1937880 bytes/sec) > > [mktplinkfw] *** error: kernel image is too big > > root@dev:~ # > > > > what can I do now ? > > > > sometime ago, this was head to blame. What rev from svn is ok on this > > point ? > > > > I tested yesterday the serial cable, and was successful, now its time to > > make FreeBSD shine on it. > > > > thanks, > > > > matheus > > > > ps: I soldered my DIR-825 also, so when the 1043 is done, I can help > debug > > the other (just need to > > have one working wifi, so the house keeps up on internet access :) > > > > pps: posting to mips@ only, if better suited for embedded, just say so > :) > > > > > Hey Matheus, > > Can you show me the size of your kernel and the rootfs images ? > > The mktplinkfw tool defines some default limits for these sizes: > > .id = "TL-WR1043NDv1", > .hw_id = HWID_TL_WR1043ND_V1, > .hw_rev = 1, > .fw_max_len = 0x7c0000, > .kernel_la = 0x80060000, > .kernel_ep = 0x80060000, > .rootfs_ofs = 0x140000, > > So the maximum allowed kernel size (by default) is 0x140000 (1310720 > bytes). We can change this offset to accommodate a bigger kernel, but it is > going to change a few other settings (like the flash mappings) and i also > want to check if it is going to fit in the flash. > > Regards, > Luiz > _______________________________________________ > 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" >